1 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/kernel-features.h
4 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6 [ADJ_OFFSET_SS_READ]: Make code unconditional.
7 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13 Fix calculation of the symbol's value.
14 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
19 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
21 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22 (modules-names): Add `tst-armtlsdescmod',
23 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
27 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30 ($(objpfx)tst-armtlsdescloc): New dependency.
31 ($(objpfx)tst-armtlsdescextnow): Likewise.
32 ($(objpfx)tst-armtlsdescextlazy): Likewise.
33 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35 * sysdeps/arm/configure: Regenerate.
37 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39 * include/fcntl.h (__atfct_seterrno): Remove prototype.
40 (__atfct_seterrno_2): Likewise.
41 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43 (__ASSUME_ATFCTS): Do not undefine and redefine.
44 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
45 (__have_atfcts): Remove conditional definition.
46 (__fxstatat([__NR_fstatat64]: Make code unconditional.
47 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48 unreachable if [__ASSUME_ATFCTS].
49 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50 not undefine and redefine.
51 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
53 (faccessat) [__NR_faccessat]: Make code unconditional.
54 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
55 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
57 (fchmodat) [__NR_fchmodat]: Make code unconditional.
58 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
59 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
61 (fchownat) [__NR_fchownat]: Make code unconditional.
62 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
63 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
65 (futimesat) [__NR_futimesat]: Make code unconditional.
66 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
67 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
69 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
70 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
71 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
73 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
74 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
75 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
76 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
78 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
79 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
80 * sysdeps/unix/sysv/linux/linkat.c: Do not include
82 (linkat) [__NR_linkat]: Make code unconditional.
83 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
84 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
85 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
87 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
88 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
89 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
91 (mkdirat) [__NR_mkdirat]: Make code unconditional.
92 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
93 * sysdeps/unix/sysv/linux/openat.c: Do not include
95 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
96 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
97 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
98 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
99 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
100 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
102 (readlinkat) [__NR_readlinkat]: Make code unconditional.
103 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
104 result of INLINE_SYSCALL directly, not via int variable.
105 * sysdeps/unix/sysv/linux/renameat.c: Do not include
107 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
108 (renameat) [__NR_renameat]: Make code unconditional.
109 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
110 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
111 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
112 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
113 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
114 (__ASSUME_ATFCTS): Do not undefine and redefine.
115 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
117 (symlinkat) [__NR_symlinkat]: Make code unconditional.
118 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
119 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
121 (unlinkat) [__NR_unlinkat]: Make code unconditional.
122 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
124 (__ASSUME_ATFCTS): Do not undefine and redefine.
125 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
127 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
128 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
129 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
131 (__xmknodat) [__NR_mknodat]: Make code unconditional.
132 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
134 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
136 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
138 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
141 * posix/regcomp.c (parse_reg_exp): Deallocate partially
142 constructed tree before returning error.
143 * posix/bug-regexp36.c: Expand test case.
145 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
148 * math/libm-test.inc (scalbln_test_date):
149 Add errno expectations.
150 * math/w_scalblnf.c: New File.
151 Add wrapper which checks for setting errno to ERANGE.
152 Add weak_alias for corresponding scalbln function.
153 * math/w_scalbln.c: Likewise.
154 * math/w_scalblnl.c: Likewise.
155 * math/Makefile (libm-calls): Add w_scalbln.
156 * sysdeps/ieee754/flt-32/s_scalblnf.c:
157 Remove weak_alias for corresponding scalbln function.
158 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
159 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
161 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
162 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
163 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
164 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
165 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
166 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
167 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
168 Remove long_double_symbol for scalblnl function in libm, libc.
169 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
170 Add wrapper which checks for setting errno to ERANGE.
171 Add long_double_symbol for scalblnl function in libm, libc.
172 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
173 Remove long_double_symbol for scalblnl in libm.
174 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
175 Add wrapper which checks for setting errno to ERANGE.
176 Add long_double_symbol for scalblnl function in libm.
177 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
178 Do not use wrapper because of own implementation.
180 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
182 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
183 3 bytes for __pad1 for x32.
184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
186 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
187 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
190 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
191 * sysdeps/x86_64/multiarch/memset.S: Likewise.
192 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
193 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
195 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
198 * posix/regcomp.c (parse_expression): Deallocate partially
199 constructed tree before returning error.
200 * posix/Makefile.c (tests): Add bug-regex36.
201 (generated): Add bug-regex36.mtrace.
202 (tests-special): Add $(objpfx)bug-regex36-mem.out
203 (bug-regex36-ENV): New variable.
204 ($(objpfx)bug-regex36-mem.out): New rule.
205 * posix/bug-regex36.c: New file.
207 2014-06-19 Will Newton <will.newton@linaro.org>
209 * malloc/malloc.c (systrim): If extra is zero then return
212 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
214 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
216 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
218 * sysdeps/aarch64/strchr.S: New file.
220 2014-06-18 Joseph Myers <joseph@codesourcery.com>
223 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
224 from arguments -2 or below.
225 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
226 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
228 2014-06-18 Andreas Schwab <schwab@suse.de>
231 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
232 of a bracket expr not to run off the end of the string.
233 * posix/Makefile (tests): Add tst-fnmatch3.
234 * posix/tst-fnmatch3.c: New file.
236 2014-06-18 Joseph Myers <joseph@codesourcery.com>
238 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
239 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
240 [$(cross-compiling) = no]: Likewise.
241 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
242 [$(cross-compiling) = no]: Likewise.
244 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
247 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
248 double, adjusted for any remainder from the high double.
249 * math/libm-test.inc (nearbyint): Add tests.
252 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254 * nptl/sysdeps/powerpc/Makefile: Moved ...
255 * sysdeps/powerpc/nptl/Makefile: ... here.
256 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
257 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
258 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
259 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
260 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
261 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
262 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
263 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
264 * nptl/sysdeps/powerpc/tls.h: Moved ...
265 * sysdeps/powerpc/nptl/tls.h: ... here.
267 2014-06-16 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
271 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
272 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
273 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
274 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
275 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
276 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
277 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
278 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
280 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
282 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
284 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
286 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
289 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
292 2014-06-16 Florian Weimer <fweimer@redhat.com>
295 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
296 non-executed part of the test.
298 2014-06-16 Andreas Schwab <schwab@suse.de>
300 * string/bits/string2.h (strdup, strndup): Update feature guard.
302 2014-06-14 David S. Miller <davem@davemloft.net>
304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
306 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
308 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
309 that was previously under [RESET_PID].
310 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
312 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
313 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
314 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
315 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
316 (__libc_vfork): New strong alias.
317 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
319 2014-06-14 Andi Kleen <ak@linux.intel.com>
321 * sysdeps/generic/elide.h: New file.
323 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
325 * Makefile (installed-headers): Adjust path of pthread.h header.
327 2014-06-13 Roland McGrath <roland@hack.frob.com>
329 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
330 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
331 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
332 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
334 * nptl/sysdeps/s390/Makefile: Moved ...
335 * sysdeps/s390/nptl/Makefile: ... here.
336 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
337 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
338 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
339 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
340 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
341 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
342 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
343 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
344 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
345 * sysdeps/s390/nptl/pthreaddef.h: ... here.
346 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
347 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
348 * nptl/sysdeps/s390/tls.h: Moved ...
349 * sysdeps/s390/nptl/tls.h: ... here.
351 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
352 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
354 2014-06-13 David S. Miller <davem@davemloft.net>
356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
359 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
363 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
364 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
365 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
366 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
367 Remove RESET_PID cpp guards.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
369 Remove RESET_PID cpp guards.
370 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
372 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
374 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
377 2014-06-13 Andi Kleen <ak@linux.intel.com>
379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
393 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
398 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
400 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
401 (pthread_rwlock_rdlock): Add elision.
402 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
403 (pthread_rwlock_wrlock): Add elision.
404 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
405 (pthread_rwlock_trywrlock): Add elision.
406 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
407 (pthread_rwlock_tryrdlock): Add elision.
408 * nptl/pthread_rwlock_unlock.c: Include elide.h.
409 (pthread_rwlock_tryrdlock): Add elision unlock.
410 * nptl/sysdeps/pthread/pthread.h:
411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
412 (PTHREAD_RWLOCK_INITIALIZER,
413 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
414 Handle new elision field.
415 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
416 * sysdeps/arm/nptl/bits/pthreadtypes.h
417 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
418 * sysdeps/sh/nptl/bits/pthreadtypes.h
419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
420 * sysdeps/tile/nptl/bits/pthreadtypes.h
421 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
422 * sysdeps/a/nptl/bits/pthreadtypes.h
423 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
424 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
425 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
426 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
427 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
428 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
429 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
430 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
431 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
432 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
433 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
434 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
435 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
436 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
437 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
438 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
439 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
440 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
441 (elision_init): Set try_xbegin to zero when no RTM.
442 * sysdeps/x86/nptl/bits/pthreadtypes.h
443 (pthread_rwlock_t): Change __pad1 to __rwelision.
444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
446 2014-06-13 Andi Kleen <ak@linux.intel.com>
448 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
449 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
450 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
451 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
453 2014-06-13 Meador Inge <meadori@codesourcery.com>
456 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
457 that the cached result has been set before returning it.
459 2014-06-12 Roland McGrath <roland@hack.frob.com>
461 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
462 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
463 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
464 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
465 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
466 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
468 * nptl/sysdeps/sparc/Makefile: Moved ...
469 * sysdeps/sparc/nptl/Makefile: ... here.
470 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
471 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
472 * nptl/sysdeps/sparc/tls.h: Moved ...
473 * sysdeps/sparc/nptl/tls.h: ... here.
474 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
475 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
476 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
477 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
478 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
479 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
480 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
481 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
482 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
483 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
484 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
485 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
486 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
487 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
488 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
489 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
490 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
491 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
493 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
496 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
497 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
499 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
500 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
503 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
505 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
506 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
508 * sysdeps/pthread/posix-timer.h: Include <list.h>.
509 (struct list_links): Type removed.
510 (struct thread_node, struct timer_node): Replace struct list_links
511 with struct list_head.
512 (list_unlink_ip): Likewise.
513 * sysdeps/pthread/timer_routines.c
514 (timer_free_list, thread_free_list, thread_active_list): Likewise.
515 (list_append, list_insbefore): Likewise.
516 (list_init): Function removed.
517 (thread_init, init_module): Use INIT_LIST_HEAD instead.
518 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
519 * sysdeps/pthread/Makefile: ... here, new file.
521 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
522 * sysdeps/nptl/Implies: ... here.
523 * sysdeps/unix/sysv/linux/Implies: Add nptl.
524 * nptl/sysdeps/pthread/list.h: Moved ...
525 * include/list.h: ... here.
526 * nptl/sysdeps/pthread/createthread.c: Moved ...
527 * nptl/createthread.c: ... here.
528 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
529 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
530 * nptl/pt-longjmp.c: ... here.
531 * nptl/sysdeps/pthread/Makefile: Moved ...
532 * sysdeps/nptl/Makefile: ... here.
533 * nptl/sysdeps/pthread/Subdirs: Moved ...
534 * sysdeps/nptl/Subdirs: ... here.
535 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
536 * sysdeps/nptl/aio_misc.h: ... here.
537 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
538 * sysdeps/nptl/bits/libc-lock.h: ... here.
539 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
540 * sysdeps/nptl/bits/libc-lockP.h: ... here.
541 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
542 * sysdeps/nptl/bits/stdio-lock.h: ... here.
543 * nptl/sysdeps/pthread/configure: Moved ...
544 * sysdeps/nptl/configure: ... here.
545 * nptl/sysdeps/pthread/configure.ac: Moved ...
546 * sysdeps/nptl/configure.ac: ... here.
547 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
548 * sysdeps/nptl/gai_misc.h: ... here.
549 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
550 * sysdeps/nptl/librt-cancellation.c: ... here.
551 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
552 * sysdeps/nptl/malloc-machine.h: ... here.
553 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
554 * sysdeps/nptl/pthread-functions.h: ... here.
555 * nptl/sysdeps/pthread/pthread.h: Moved ...
556 * sysdeps/nptl/pthread.h: ... here.
557 * nptl/sysdeps/pthread/setxid.h: Moved ...
558 * sysdeps/nptl/setxid.h: ... here.
559 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
560 * sysdeps/nptl/sigfillset.c: ... here.
561 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
562 * sysdeps/nptl/tcb-offsets.h: ... here.
563 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
564 * sysdeps/nptl/tst-mqueue8x.c: ... here.
565 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
566 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
567 * nptl/sysdeps/pthread/allocalim.h: Moved ...
568 * sysdeps/pthread/allocalim.h: ... here.
569 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
570 * sysdeps/pthread/bits/sigthread.h: ... here.
571 * nptl/sysdeps/pthread/flockfile.c: Moved ...
572 * sysdeps/pthread/flockfile.c: ... here.
573 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
574 * sysdeps/pthread/ftrylockfile.c: ... here.
575 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
576 * sysdeps/pthread/funlockfile.c: ... here.
577 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
578 * sysdeps/pthread/posix-timer.h: ... here.
579 * nptl/sysdeps/pthread/timer_create.c: Moved ...
580 * sysdeps/pthread/timer_create.c: ... here.
581 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
582 * sysdeps/pthread/timer_delete.c: ... here.
583 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
584 * sysdeps/pthread/timer_getoverr.c: ... here.
585 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
586 * sysdeps/pthread/timer_gettime.c: ... here.
587 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
588 * sysdeps/pthread/timer_routines.c: ... here.
589 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
590 * sysdeps/pthread/timer_settime.c: ... here.
591 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
592 * sysdeps/pthread/tst-timer.c: ... here.
593 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
594 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
596 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
597 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
599 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
600 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
601 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
602 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
603 Update #include target.
604 * nptl/sysdeps/i386/i686/Makefile: Moved ...
605 * sysdeps/i386/i686/nptl/Makefile: ... here.
606 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
607 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
608 Update #include target.
609 * nptl/sysdeps/i386/i686/tls.h: Moved ...
610 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
611 * nptl/sysdeps/i386/Makefile: Moved ...
612 * sysdeps/i386/nptl/Makefile: ... here.
613 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
614 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
615 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
616 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
617 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
618 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
619 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
620 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
621 * sysdeps/i386/nptl/pthreaddef.h: ... here.
622 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
623 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
624 * nptl/sysdeps/i386/tls.h: Moved ...
625 * sysdeps/i386/nptl/tls.h: ... here.
627 * sysdeps/sh/Makefile [$(subdir) = csu]
628 (gen-as-const-headers): Add tcb-offsets.sym.
629 * nptl/sysdeps/sh/Makefile: File removed.
630 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
631 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
632 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
633 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
634 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
635 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
636 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
637 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
638 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
639 * sysdeps/sh/nptl/pthreaddef.h: ... here.
640 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
641 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
642 * nptl/sysdeps/sh/tls.h: Moved ...
643 * sysdeps/sh/nptl/tls.h: ... here.
644 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
645 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
646 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
647 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
648 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
649 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
650 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
651 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
652 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
653 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
654 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
655 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
656 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
657 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
658 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
659 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
660 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
661 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
662 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
663 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
664 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
665 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
666 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
667 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
668 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
673 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
674 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
675 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
676 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
677 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
678 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
679 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
680 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
681 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
682 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
683 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
684 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
685 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
686 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
687 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
688 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
689 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
690 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
691 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
693 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
695 * posix/spawn_faction_addopen.c: Include string.h.
697 2014-06-11 Roland McGrath <roland@hack.frob.com>
699 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
700 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
701 * nptl/sysdeps/x86_64/Makefile: Moved ...
702 * sysdeps/x86_64/nptl/Makefile: ... here.
703 * nptl/sysdeps/x86_64/configure: Moved ...
704 * sysdeps/x86_64/nptl/configure: ... here.
705 * nptl/sysdeps/x86_64/configure.ac: Moved ...
706 * sysdeps/x86_64/nptl/configure.ac: ... here.
707 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
708 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
709 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
710 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
711 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
712 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
713 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
714 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
715 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
716 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
717 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
718 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
719 * nptl/sysdeps/x86_64/tls.h: Moved ...
720 * sysdeps/x86_64/nptl/tls.h: ... here.
721 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
722 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
723 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
724 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
726 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
728 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
732 2014-06-11 Joseph Myers <joseph@codesourcery.com>
734 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
736 [POSIX] (off_t): Likewise.
737 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
738 [POSIX] (S_ISBLK): Require macro.
739 [POSIX] (S_ISCHR): Likewise.
740 [POSIX] (S_ISDIR): Likewise.
741 [POSIX] (S_ISFIFO): Likewise.
742 [POSIX] (S_ISREG): Likewise.
743 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
745 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
747 [POSIX] (time_t): Likewise.
748 [POSIX] (timer_t): Likewise.
750 2014-06-11 Florian Weimer <fweimer@redhat.com>
753 * posix/spawn_int.h (struct __spawn_action): Make the path string
754 non-const to support deallocation.
755 * posix/spawn_faction_addopen.c
756 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
757 * posix/spawn_faction_destroy.c
758 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
759 path in all spawn_do_open actions.
760 * posix/tst-spawn.c (do_test): Exercise the copy operation in
761 posix_spawn_file_actions_addopen.
763 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
765 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
766 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
767 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
768 conditional code always true.
769 (__libc_vfork): New alias.
771 2014-06-11 Roland McGrath <roland@hack.frob.com>
773 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
774 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
776 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
778 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
779 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
781 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
782 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
784 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
785 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
787 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
789 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
790 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
791 multiarch strcmp for PPC64.
792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
793 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
795 multiarch optimizations.
796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
797 (__libc_ifunc_impl_list): Likewise.
799 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
801 * benchtests/scripts/validate_benchout.py: New script.
802 * benchtests/Makefile (bench-func): Call it.
803 * benchtests/scripts/benchout.schema.json: New file.
805 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
807 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
808 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
809 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
810 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
811 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
812 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
813 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
814 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
815 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
816 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
817 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
818 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
819 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
820 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
821 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
822 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
926 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
927 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
929 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
930 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
932 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
934 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
935 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
936 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
937 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
938 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
940 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
941 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
942 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
943 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
944 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
945 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
946 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
948 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
951 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
952 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
953 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
954 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
956 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
957 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
958 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
959 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
960 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
961 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
962 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
964 2014-06-10 Wilco <wdijkstr@arm.com>
966 * math/test-fenv-return.c: New file.
967 * math/Makefile: Add new test test-fenv-return.
969 2014-06-10 Joseph Myers <joseph@codesourcery.com>
972 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
974 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
975 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
976 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
977 0.0L for an argument of 1.0L.
978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
980 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
981 value when x - 1 is zero.
982 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
983 * sysdeps/i386/fpu/libm-test-ulps: Update.
984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
986 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
989 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
991 2014-06-09 Roland McGrath <roland@hack.frob.com>
993 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
994 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
996 2014-06-09 Roland McGrath <roland@hack.frob.com>
998 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
999 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1001 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1002 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1004 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1005 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1007 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1008 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1010 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1011 if not already defined.
1012 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1013 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1014 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1015 (TLS_INIT_TP): Use it.
1016 (TLS_DEFINE_INIT_TP): New macro.
1017 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1019 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1021 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1023 [POSIX] (IXANY): Likewise.
1024 [POSIX] (OLCUC): Likewise.
1025 [POSIX || POSIX2008] (CBAUD): Do not allow.
1026 [POSIX || POSIX2008] (DEFECHO): Likewise.
1027 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1028 [POSIX || POSIX2008] (ECHOKE): Likewise.
1029 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1030 [POSIX || POSIX2008] (EXTA): Likewise.
1031 [POSIX || POSIX2008] (EXTB): Likewise.
1032 [POSIX || POSIX2008] (FLUSHO): Likewise.
1033 [POSIX || POSIX2008] (LOBLK): Likewise.
1034 [POSIX || POSIX2008] (PENDIN): Likewise.
1035 [POSIX || POSIX2008] (SWTCH): Likewise.
1036 [POSIX || POSIX2008] (VDISCARD): Likewise.
1037 [POSIX || POSIX2008] (VDSUSP): Likewise.
1038 [POSIX || POSIX2008] (VLNEXT): Likewise.
1039 [POSIX || POSIX2008] (VREPRINT): Likewise.
1040 [POSIX || POSIX2008] (VSTATUS): Likewise.
1041 [POSIX || POSIX2008] (VWERASE): Likewise.
1042 (B*): Change to B[0123456789]*.
1043 * conform/data/time.h-data [POSIX || UNIX98]
1044 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1045 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1046 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1047 [POSIX] (tm_*): Do not allow.
1049 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1051 * Makefile (install): Don't set LANGUAGE.
1052 * Makefile.in (install): Likewise.
1053 * assert/Makefile (test-assert-ENV): Remove variable.
1054 (test-assert-perr-ENV): Likewise.
1055 * elf/Makefile (neededtest4-ENV): Likewise.
1056 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1057 [$(cross-compiling) = no]: Don't set LANGUAGE.
1058 * io/ftwtest-sh (LANG): Remove variable.
1059 * libio/Makefile (tst-widetext-ENV): Likewise.
1060 * manual/install.texi (Running make install): Don't refer to
1061 environment settings for make install.
1062 * INSTALL: Regenerated.
1063 * nptl/tst-tls6.sh: Don't set LANG.
1064 * posix/globtest.sh (LANG): Remove variable.
1065 * string/Makefile (tester-ENV): Likewise.
1066 (inl-tester-ENV): Likewise.
1067 (noinl-tester-ENV): Likewise.
1068 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1069 [$(cross-compiling) = no]: Don't set LANGUAGE.
1070 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1071 without explicit environment settings.
1073 2014-06-06 Roland McGrath <roland@hack.frob.com>
1075 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1076 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1077 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1078 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1080 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1082 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1083 other files in the crypt directory.
1084 * crypt/crypt.c: Remove duplicate includes.
1085 * crypt/crypt-entry.c: Likewise.
1086 * crypt/crypt_util.c: Likewise.
1088 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1090 * Makeconfig (run-program-env): New variable.
1091 (run-program-prefix-before-env): Likewise.
1092 (run-program-prefix-after-env): Likewise.
1093 (run-program-prefix): Define in terms of new variables.
1094 (built-program-cmd-before-env): New variable.
1095 (built-program-cmd-after-env): Likewise.
1096 (built-program-cmd): Define in terms of new variables.
1097 (test-program-prefix-before-env): New variable.
1098 (test-program-prefix-after-env): Likewise.
1099 (test-program-prefix): Define in terms of new variables.
1100 (test-program-cmd-before-env): New variable.
1101 (test-program-cmd-after-env): Likewise.
1102 (test-program-cmd): Define in terms of new variables.
1103 * Rules (make-test-out): Use $(run-program-env).
1104 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1105 (help): Do not mention environment variables. Mention
1106 --timeoutfactor option.
1107 (timeoutfactor): New variable.
1108 (blacklist_exports): Remove function.
1109 (exports): Remove variable.
1110 (command): Do not include ${exports}.
1111 * manual/install.texi (Configuring and compiling): Do not mention
1112 test wrappers preserving environment variables. Mention that last
1113 assignment to a variable must take precedence.
1114 * INSTALL: Regenerated.
1115 * benchtests/Makefile (run-bench): Use $(run-program-env).
1116 * catgets/Makefile ($(objpfx)test1.cat): Use
1117 $(built-program-cmd-before-env), $(run-program-env) and
1118 $(built-program-cmd-after-env).
1119 ($(objpfx)test2.cat): Do not specify environment variables
1121 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1122 $(run-program-env) and $(built-program-cmd-after-env).
1123 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1124 $(run-program-env) and $(test-program-cmd-after-env).
1125 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1127 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1128 run_program_env and test_program_cmd_after_env arguments.
1129 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1130 * elf/tst-pathopt.sh: Use run_program_env argument.
1131 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1132 $(test-wrapper-env) and $(run-program-env).
1133 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1134 run_program_env arguments.
1135 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1136 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1137 $(test-program-prefix-before-env), $(run-program-env) and
1138 $(test-program-prefix-after-env).
1139 ($(objpfx)tst-gettext2.out): Likewise.
1140 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1141 run_program_env and test_program_prefix_after_env arguments.
1142 * intl/tst-gettext2.sh: Likewise.
1143 * intl/tst-gettext4.sh: Do not set environment variables
1145 * intl/tst-gettext6.sh: Likewise.
1146 * intl/tst-translit.sh: Likewise.
1147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1148 $(test-program-prefix-before-env), $(run-program-env) and
1149 $(test-program-prefix-after-env).
1150 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1151 run_program_env and test_program_prefix_after_env arguments.
1152 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1153 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1154 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1155 explicitly with each use of ${test_wrapper_env}.
1156 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1157 $(test-program-prefix-before-env), $(run-program-env) and
1158 $(test-program-prefix-after-env).
1159 * posix/tst-getconf.sh: Do not set environment variables
1161 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1162 run_program_env and test_program_prefix_after_env arguments.
1163 * stdio-common/tst-printf.sh: Do not set environment variables
1165 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1166 $(test-program-prefix-before-env), $(run-program-env) and
1167 $(test-program-prefix-after-env).
1168 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1169 run_program_env and test_program_prefix_after_env arguments.
1170 Split $test calls into $test_pre and $test.
1171 * timezone/Makefile (build-testdata): Use
1172 $(built-program-cmd-before-env), $(run-program-env) and
1173 $(built-program-cmd-after-env).
1175 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1177 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1178 strlen for non SHARED builds.
1180 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1182 * nptl/allocatestack.c (check_list): Inlined function...
1183 (__reclaim_stacks): ... here.
1185 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1188 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1191 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1193 * Rules (make-test-out): Include
1194 LOCPATH=$(common-objpfx)localedata in default environment.
1195 * debug/Makefile (tst-chk1-ENV): Remove variable.
1196 (tst-chk2-ENV): Likewise.
1197 (tst-chk3-ENV): Likewise.
1198 (tst-chk4-ENV): Likewise.
1199 (tst-chk5-ENV): Likewise.
1200 (tst-chk6-ENV): Likewise.
1201 (tst-lfschk1-ENV): Likewise.
1202 (tst-lfschk2-ENV): Likewise.
1203 (tst-lfschk3-ENV): Likewise.
1204 (tst-lfschk4-ENV): Likewise.
1205 (tst-lfschk5-ENV): Likewise.
1206 (tst-lfschk6-ENV): Likewise.
1207 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1208 (tst-iconv7-ENV): Likewise.
1209 * intl/Makefile (LOCPATH-ENV): Likewise.
1210 (tst-codeset-ENV): Likewise.
1211 (tst-gettext3-ENV): Likewise.
1212 (tst-gettext5-ENV): Likewise.
1213 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1214 (tst-fopenloc-ENV): Likewise.
1215 (tst-fgetws-ENV): Remove variable.
1216 (tst-ungetwc1-ENV): Likewise.
1217 (tst-ungetwc2-ENV): Likewise.
1218 (bug-ungetwc2-ENV): Likewise.
1219 (tst-swscanf-ENV): Likewise.
1220 (bug-ftell-ENV): Likewise.
1221 (tst-fgetwc-ENV): Likewise.
1222 (tst-fseek-ENV): Likewise.
1223 (tst-ftell-partial-wide-ENV): Likewise.
1224 (tst-ftell-active-handler-ENV): Likewise.
1225 (tst-ftell-append-ENV): Likewise.
1226 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1227 (tst-regexloc-ENV): Likewise.
1228 (bug-regex1-ENV): Likewise.
1229 (tst-regex-ENV): Likewise.
1230 (tst-regex2-ENV): Likewise.
1231 (bug-regex5-ENV): Likewise.
1232 (bug-regex6-ENV): Likewise.
1233 (bug-regex17-ENV): Likewise.
1234 (bug-regex18-ENV): Likewise.
1235 (bug-regex19-ENV): Likewise.
1236 (bug-regex20-ENV): Likewise.
1237 (bug-regex22-ENV): Likewise.
1238 (bug-regex23-ENV): Likewise.
1239 (bug-regex25-ENV): Likewise.
1240 (bug-regex26-ENV): Likewise.
1241 (bug-regex30-ENV): Likewise.
1242 (bug-regex32-ENV): Likewise.
1243 (bug-regex33-ENV): Likewise.
1244 (bug-regex34-ENV): Likewise.
1245 (bug-regex35-ENV): Likewise.
1246 (tst-rxspencer-ENV): Likewise.
1247 (tst-rxspencer-no-utf8-ENV): Likewise.
1248 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1249 (tst-sscanf-ENV): Likewise.
1250 (tst-swprintf-ENV): Likewise.
1251 (tst-swscanf-ENV): Likewise.
1252 (test-vfprintf-ENV): Likewise.
1253 (scanf13-ENV): Likewise.
1254 (bug14-ENV): Likewise.
1255 (tst-grouping-ENV): Likewise.
1256 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1257 (tst-strtod3-ENV): Likewise.
1258 (tst-strtod4-ENV): Likewise.
1259 (tst-strtod5-ENV): Likewise.
1260 (testmb2-ENV): Likewise./
1261 * string/Makefile (tst-strxfrm-ENV): Likewise.
1262 (tst-strxfrm2-ENV): Likewise.
1263 (bug-strcoll1-ENV): Likewise.
1264 (test-strcasecmp-ENV): Likewise.
1265 (test-strncasecmp-ENV): Likewise.
1266 * time/Makefile (tst-strptime-ENV): Likewise.
1267 (tst-ftime_l-ENV): Likewise.
1268 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1269 (tst-mbrtowc-ENV): Likewise.
1270 (tst-wcrtomb-ENV): Likewise.
1271 (tst-mbrtowc2-ENV): Likewise.
1272 (tst-c16c32-1-ENV): Likewise.
1273 (tst-mbsnrtowcs-ENV): Likewise.
1275 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1277 * manual/resource.texi (How to get information about the memory
1278 subsystem?): Fix typo.
1279 Reported by Peon de la Parra Ivan <peon@keba.com>
1281 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1284 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1285 (pthread_spin_lock): Branch out of spin loop to proper location.
1286 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1287 (pthread_spin_lock): Likewise.
1289 * nptl/tst-spin4.c: New test.
1290 * nptl/Makefile (tests): Add tst-spin4.
1292 2014-06-03 Andreas Schwab <schwab@suse.de>
1295 * resolv/res_send.c (send_dg): Reload file descriptor after
1298 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1300 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1302 2014-06-03 Richard Henderson <rth@redhat.com>
1304 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1305 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1306 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1307 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1308 in the SAVE_PID block.
1309 (__libc_vfork): New alias.
1310 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1312 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1313 child in registers, not on the stack. Remove RESET_PID conditionals.
1314 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1316 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1318 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1320 2014-06-03 Wilco <wdijkstr@arm.com>
1322 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1323 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1324 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1325 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1326 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1329 2014-06-03 Wilco <wdijkstr@arm.com>
1331 * sysdeps/aarch64/fpu/math_private.h
1332 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1333 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1334 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1335 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1338 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1340 * crypt/crypt-private.h: Include ufc-crypt.h.
1341 (__b64_from_24bit): Declare extern.
1342 * crypt/crypt_util.c(__b64_from_24bit): New function.
1343 (b64t): New static const variable.
1344 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1345 (b64t): Remove variable.
1346 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1347 * crypt/sha256-crypt.c: Include crypt-private.h.
1348 (b64t): Remove variable.
1349 (__sha256_crypt_r): Remove b64_from_24bit and replace
1350 with __b64_from_24bit.
1351 * crypt/sha512-crypt.c: Likewise.
1353 2014-06-02 Roland McGrath <roland@hack.frob.com>
1355 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1356 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1357 Label the code __libc_vfork rather than __vfork.
1358 [!NOT_IN_libc] (vfork): Define as weak alias.
1359 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1360 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1361 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1363 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1365 * malloc/malloc.c (malloc_info): Fix format specifier for
1368 2014-06-02 Wilco <wdijkstr@arm.com>
1370 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1373 2014-06-02 Wilco <wdijkstr@arm.com>
1376 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1377 Rewrite to reduce FPCR/FPSR accesses.
1379 2014-06-01 David S. Miller <davem@davemloft.net>
1381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1383 2014-05-31 David S. Miller <davem@davemloft.net>
1385 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1386 to occur in round to nearest mode when |x| >= 2.0
1388 2014-05-30 Richard Henderson <rth@twiddle.net>
1390 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1391 (PSEUDO_RET_NOERRNO): Remove.
1392 (ret): Don't redefine.
1393 (ret_NOERRNO): Define in terms of ret.
1394 (ret_ERRVAL): Likewise.
1396 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1397 use of PSEUDO_RET; perform the error check directly.
1399 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1401 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1404 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1406 * malloc/malloc (malloc_info): Fix formatting.
1408 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 Roland McGrath <roland@hack.frob.com>
1411 * malloc/malloc (malloc_info): Also print mmapped statistics.
1413 2014-05-30 Roland McGrath <roland@hack.frob.com>
1415 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1416 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1418 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1420 * malloc/malloc.c (malloc_info): Inline mi_arena.
1422 2014-05-29 Richard Henderson <rth@twiddle.net>
1424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1425 Remove comma before expanding ASM_ARGS_##nr.
1426 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1427 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1429 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1430 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1431 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1432 (ASM_ARGS_1): Add leading comma.
1434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1435 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1436 to __errno_location.
1437 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1438 Remove the expected plt for __errno_location.
1440 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1441 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1444 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1445 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1446 it and break it down.
1447 (DOCARGS_0, DOCARGS_1): Do nothing.
1448 (DOCARGS_2): Update to store into the new stack frame.
1449 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1450 (UNDOCARGS_1): Update to restore from the new stack frame.
1451 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1452 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1454 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1455 (SINGLE_THREAD_P): New parameter for result regno.
1456 (PSEUDO): Update to match; use cbz instead of beq.
1458 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1459 Use ENTRY to define the _nocancel entry point. Share the syscall
1460 and syscall error check paths with the cancel path.
1463 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1464 whitespace; tabs before and after asm mnemonics.
1466 2014-05-29 Eric Wong <normalperson@yhbt.net>
1469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1470 Call fstat64 or stat64 internally, depending on arguments passed.
1471 Replace stat buffer argument with file descriptor argument.
1472 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1473 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1474 Pass fd to __internal_statvfs instead of calling fstat64.
1475 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1476 Pass fd to __internal_statvfs64 instead of calling fstat64.
1477 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1478 Pass -1 to __internal_statvfs instead of calling stat64.
1479 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1480 Pass -1 to __internal_statvfs64 instead of calling stat64.
1482 2014-05-28 Roland McGrath <roland@hack.frob.com>
1484 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1485 that was previously under [RESET_PID].
1486 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1488 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1489 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1491 2014-05-27 Roland McGrath <roland@hack.frob.com>
1493 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1495 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1496 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1498 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1500 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1502 2014-05-27 Andreas Schwab <schwab@suse.de>
1504 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1506 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1507 * elf/rtld.c (init_tls, dl_main): Likewise.
1508 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1509 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1510 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1511 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1512 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1513 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1514 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1515 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1516 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1517 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1518 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1519 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1520 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1521 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1522 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1523 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1524 * sysdeps/generic/tls.h: Update description.
1526 2014-05-27 Will Newton <will.newton@linaro.org>
1529 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1530 and restore r2 rather than just restoring.
1532 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1535 * libio/tst-ftell-append.c: New test case.
1536 * libio/Makefile (tests): Add test case.
1537 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1539 * libio/wfileops.c (do_ftell_wide): Likewise.
1541 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1545 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1549 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1550 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1551 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1552 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1553 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1554 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1561 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1562 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1563 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1564 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1567 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1568 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1570 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1572 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1574 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1575 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1576 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1578 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1579 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1580 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1581 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1604 conditional [RESET_PID].
1605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1613 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1614 (__libc_vfork): New strong alias.
1615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1622 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1623 (__libc_vfork): New strong alias.
1624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1629 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1631 * malloc/malloc.c (mi_arena): New function.
1632 (malloc_info): Remove nested function mi_arena. Call non-nosted
1635 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1637 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1639 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1640 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1641 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1642 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1643 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1644 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1647 2014-05-26 Andreas Schwab <schwab@suse.de>
1650 * locale/programs/repertoire.c (repertoire_read): Add slash
1651 between I18NPATH element and file name.
1652 * locale/programs/locfile.c (locfile_read): Likewise.
1654 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1656 * nptl/pthread_mutexattr_settype.c
1657 (__pthread_mutexattr_settype):
1658 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1660 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1662 * nptl/tst-mutex5 (do_test):
1663 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1665 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * benchtests/README: Document 'init' directive.
1668 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1670 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1671 (parse_file): Recognize 'init' directive.
1673 2014-05-26 Kyle McMartin <kyle@redhat.com>
1676 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1677 alignment of struct pthread.
1679 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1682 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1683 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1684 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1685 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1687 2014-05-25 Richard Henderson <rth@twiddle.net>
1689 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1690 (SINGLE_THREAD_P_PIC): Remove.
1691 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1692 (SINGLE_THREAD_P_PIC): Remove.
1694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1695 branch to syscall error ...
1697 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1698 from __local_syscall_error to .Lsyscall_error.
1699 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1700 (SYSCALL_ERROR): Update label name.
1702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1703 Do not use DOARGS/UNDOARGS.
1704 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1705 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1706 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1707 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1708 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1713 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1714 define if !NOT_IN_libc.
1715 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1716 define with non-default symbol versions.
1718 2014-05-23 Richard Henderson <rth@twiddle.net>
1720 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1721 (vfork, __vfork): Define via compat_symbol.
1723 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1724 [!HAVE_IFUNC] (vfork_compat): Remove.
1725 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1727 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1730 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1731 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1734 2014-05-23 Richard Henderson <rth@twiddle.net>
1736 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1737 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1738 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1739 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1741 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1742 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1743 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1744 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1745 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1746 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1747 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1748 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1749 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1750 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1751 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1752 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1753 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1756 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1780 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1781 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1782 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1783 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1784 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1785 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1786 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1787 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1788 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1789 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1790 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1791 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1792 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1793 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1794 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1795 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1796 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1798 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1799 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1800 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1801 before exiting on error.
1802 (__libc_vfork): New strong alias.
1803 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1804 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1806 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1807 that was previously under [RESET_PID].
1808 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1810 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1812 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1815 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1816 value when x - 1 is zero.
1817 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1818 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1819 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1820 0.0L for an argument of 1.0L.
1821 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1823 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1824 value when x - 1 is zero.
1825 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1826 * sysdeps/i386/fpu/libm-test-ulps: Update.
1827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1829 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1831 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1832 alphasort and versionsort.
1834 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1838 [copysignf]: Likewise.
1840 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1842 * crypt/md5-crypt.c: Fix formatting.
1844 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1846 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1847 (b64_from_24bit): New function.
1849 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1852 libc_hidden_builtin_def to ifunc.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1854 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1856 2014-05-21 Roland McGrath <roland@hack.frob.com>
1858 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1859 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1861 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1863 * nscd/Depend (linuxthreads): Remove.
1865 * resolv/Depend (linuxthreads): Remove.
1866 * rt/Depend (linuxthreads): Remove.
1868 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1869 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1870 $(common-objpfx)elf/.
1871 (link-libc-before-gnulib): Likewise.
1872 (elfobjdir): Remove variable.
1873 * Makefile (install): Use $(elf-objpfx) instead of
1874 $(common-objpfx)elf/.
1875 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1877 (link-libc-deps): Likewise.
1878 ($(common-objpfx)libc.so): Likewise.
1879 ($(common-objpfx)linkobj/libc.so): Likewise.
1880 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1881 instead of $(common-objpfx)elf/.
1882 (symbolic-link-list): Likewise.
1883 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1884 [$(cross-compiling) = no]: Likewise.
1885 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1887 (static-gnulib-arch): Likewise.
1888 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1889 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1890 $(common-objpfx)elf/.
1892 2014-05-21 Richard Henderson <rth@redhat.com>
1894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1895 (SINGLE_THREAD_P): Use the correct width load. Fold
1896 into the ldr offset.
1898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1899 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1901 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1903 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1904 (libgcc_s_resume): Use __attribute_used__.
1905 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1908 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1911 optimization when used with float constants.
1913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1915 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1918 * locale/nl_langinfo_l.c: Make direct reference to every
1919 _nl_current_CATEGORY symbol.
1920 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1921 (tests-static): Add tst-langinfo-static.
1922 (tests-special): Add tst-langinfo-static.out.
1923 ($(objpfx)tst-langinfo.out): Redirect output.
1924 ($(objpfx)tst-langinfo-static.out): New.
1925 * localedata/tst-langinfo.sh: Send output to stdout.
1926 * localedata/tst-langinfo-static.c: New file.
1929 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1930 when the shift amount is modulo the limb size.
1932 2014-05-20 Richard Henderson <rth@redhat.com>
1935 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1936 Change type of sa_flags from unsigned int to int.
1939 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1941 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1943 2014-05-20 Will Newton <will.newton@linaro.org>
1945 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1946 Test the return value of the system call in the nocancel case.
1948 2014-05-20 Will Newton <will.newton@linaro.org>
1949 Yvan Roux <yvan.roux@linaro.org>
1951 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1952 #include of asm/ptrace.h.
1953 (PTRACE_GET_THREAD_AREA): Remove #undef.
1954 (PTRACE_GETHBPREGS): Likewise.
1955 (PTRACE_SETHBPREGS): Likewise.
1956 (struct user_regs_struct): New structure.
1957 (struct user_fpsimd_struct): New structure.
1958 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1959 #include of asm/ptrace.h and second #include of sys/user.h.
1960 (PTRACE_GET_THREAD_AREA): Remove #undef.
1961 (PTRACE_GETHBPREGS): Likewise.
1962 (PTRACE_SETHBPREGS): Likewise.
1963 (ELF_NGREG): Use new struct user_regs_struct.
1964 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1966 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1971 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1975 membar to avoid block loads/stores to overlap previous stores.
1977 2014-05-17 Richard Henderson <rth@redhat.com>
1979 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1980 Create the __##syscall_name##_nocancel entry point.
1981 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1982 Remove; let the sysdep-cancel.h code create it.
1984 2014-05-17 David S. Miller <davem@davemloft.net>
1986 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1987 Protect with __USE_GNU.
1988 (TIOCSET_TEMPT): Likewise.
1989 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1990 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1991 these are already provided in bits/ioctl-types.h
1993 2014-05-16 Roland McGrath <roland@hack.frob.com>
1995 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1996 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1998 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1999 Use wait4 regardless of [__NR_waitpid].
2001 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2004 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2005 (_FP_NANSIGN_Q): Set the quiet bit.
2007 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2009 * benchtests/Makefile
2010 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2011 not $(common-objpfx)math/libm.so.
2012 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2013 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2014 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2015 $(common-objpfx)dlfcn/libdl.so.
2016 ($(objpfx)tst-audit8): Depend on $(libm), not
2017 $(common-objpfx)math/libm.so.
2018 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2019 not $(common-objpfx)dlfcn/libdl.so.
2021 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2022 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2023 [$(build-shared) = yes].
2024 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2025 $(common-objpfx)nptl/libpthread.so.
2026 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2027 $(common-objpfx)math/libm.so$(libm.so-version) or
2028 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2029 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2030 $(common-objpfx)dlfcn/libdl.so.
2031 * setjmp/Makefile (link-libm): Remove variable.
2032 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2033 * stdio-common/Makefile (link-libm): Remove variable.
2034 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2035 * stdlib/Makefile (link-libm): Remove variable.
2036 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2037 ($(objpfx)tst-strtod-round): Likewise.
2038 ($(objpfx)tst-tininess): Likewise.
2039 ($(objpfx)tst-strtod-underflow): Likewise.
2040 ($(objpfx)tst-strtod6): Likewise.
2041 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2042 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2043 $(common-objpfx)dlfcn/libdl.so.
2045 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2048 BSD terminal modes definitions.
2050 2014-05-16 Roland McGrath <roland@hack.frob.com>
2052 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2053 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2055 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2056 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2057 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2058 Don't do #include_next.
2059 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2060 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2061 Don't do #include_next.
2062 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2063 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2064 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2065 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2067 2014-05-16 Allan McRae <allan@archlinux.org>
2069 * po/sv.po: Update Swedish translation from translation project.
2071 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2074 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2077 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2078 errno if the TIOCGPTN ioctl fails with an error different than
2080 * login/tst-ptsname.c: New file.
2081 * login/Makefile (tests): Add tst-ptsname.
2084 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2087 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2091 herrno to return EAI_AGAIN.
2093 2014-05-14 Roland McGrath <roland@hack.frob.com>
2095 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2096 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2097 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2098 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2099 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2100 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2101 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2102 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2104 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2105 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2106 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2107 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2108 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2109 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2110 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2111 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2112 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2114 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2115 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2116 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2117 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2118 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2119 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2120 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2121 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2122 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2123 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2124 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2126 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2128 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2131 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2133 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2135 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2137 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2139 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2141 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2143 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2147 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2149 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2151 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2153 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2155 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2157 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2160 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2164 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2168 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2170 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2172 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2178 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2181 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2185 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2186 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2187 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2188 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2189 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2190 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2191 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2192 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2193 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2194 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2195 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2196 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2197 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2198 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2199 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2200 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2201 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2202 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2203 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2204 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2205 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2207 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2208 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2209 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2210 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2211 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2212 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2213 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2214 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2215 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2217 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2218 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2220 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2221 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2222 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2223 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2224 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2225 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2228 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2230 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2231 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2233 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2237 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2238 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2239 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2241 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2242 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2243 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2245 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2247 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2250 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2253 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2255 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2256 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2258 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2265 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2266 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2267 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2268 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2269 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2270 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2272 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2273 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2275 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2276 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2278 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2282 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2283 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2284 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2286 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2287 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2288 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2289 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2290 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2292 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2295 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2300 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2301 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2303 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2306 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2310 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2312 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2314 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2315 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2316 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2317 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2318 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2324 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2325 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2327 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2328 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2330 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2331 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2332 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2334 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2337 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2342 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2343 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2344 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2346 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2349 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2351 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2352 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2354 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2362 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2363 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2364 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2365 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2366 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2367 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2368 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2369 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2371 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2373 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2374 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2377 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2379 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2380 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2384 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2398 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2403 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2405 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2407 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2409 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2412 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2415 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2417 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2419 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2421 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2423 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2425 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2427 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2429 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2430 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2431 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2434 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2435 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2436 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2437 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2439 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2440 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2442 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2443 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2444 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2445 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2446 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2447 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2448 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2453 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2454 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2456 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2457 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2458 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2459 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2460 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2461 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2462 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2463 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2464 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2465 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2466 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2469 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2473 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2477 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2503 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2504 that was previously under [RESET_PID].
2505 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2506 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2507 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2509 * sysdeps/i386/nptl/Implies: New file.
2510 * sysdeps/x86_64/nptl/Implies: New file.
2511 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2512 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2514 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2516 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2517 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2518 (__libc_vfork): New strong alias.
2519 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2520 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2522 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2523 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2524 (__libc_vfork): New strong alias.
2525 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2526 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2528 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2529 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2530 (__libc_vfork): New strong alias.
2531 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2532 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2533 * nptl/pt-vfork.c: New file.
2534 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2535 (libpthread: GLIBC_2.20): New version set (empty).
2537 2014-05-14 Will Newton <will.newton@linaro.org>
2539 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2542 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2545 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2546 arguments with exponent 65 or above.
2547 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2548 arguments 0x1p113L or above.
2549 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2550 to arguments 0x1p107L or above.
2551 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2552 positive arguments with exponent 65 or above.
2553 * math/auto-libm-test-in: Add more tests of log1p.
2554 * math/auto-libm-test-out: Regenerated.
2557 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2558 non-finite arguments is +0.
2559 * math/s_cacosf.c (__cacosf): Likewise.
2560 * math/s_cacosl.c (__cacosl): Likewise.
2561 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2562 * sysdeps/i386/fpu/libm-test-ulps: Update.
2563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2568 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2569 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2570 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2571 for explicit high bit of mantissa when testing for argument equal
2573 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2574 * sysdeps/i386/fpu/libm-test-ulps: Update.
2575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2579 (__erf): Scale by 16 instead of 8 in potentially underflowing
2580 case. Ensure exception if result actually underflows.
2581 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2582 (__erff): Scale by 16 instead of 8 in potentially underflowing
2583 case. Ensure exception if result actually underflows.
2584 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2585 (efx8): Remove variable.
2586 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2587 case. Ensure exception if result actually underflows.
2588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2589 (efx8): Remove variable.
2590 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2591 case. Ensure exception if result actually underflows.
2592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2593 (efx8): Remove variable.
2594 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2595 case. Ensure exception if result actually underflows.
2596 * math/auto-libm-test-in: Add more tests of erf.
2597 * math/auto-libm-test-out: Regenerated.
2599 2014-05-14 Andreas Schwab <schwab@suse.de>
2601 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2602 Remove code conditionalized on USE___THREAD.
2604 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2605 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2608 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2611 Define unconditionally.
2612 (__ASSUME_O_CLOEXEC): Likewise.
2613 (__ASSUME_SOCK_CLOEXEC): Likewise.
2614 (__ASSUME_IN_NONBLOCK): Likewise.
2615 (__ASSUME_PIPE2): Likewise.
2616 (__ASSUME_EVENTFD2): Likewise.
2617 (__ASSUME_SIGNALFD4): Likewise.
2618 (__ASSUME_DUP3): Likewise.
2619 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2620 (__ASSUME_DUP3): Do not define.
2621 (__ASSUME_EVENTFD2): Likewise.
2622 (__ASSUME_IN_NONBLOCK): Likewise.
2623 (__ASSUME_O_CLOEXEC): Likewise.
2624 (__ASSUME_PIPE2): Likewise.
2625 (__ASSUME_SIGNALFD4): Likewise.
2626 (__ASSUME_SOCK_CLOEXEC): Likewise.
2627 (__ASSUME_UTIMES): Undefine.
2628 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2629 (__ASSUME_UTIMES): Do not define.
2630 (__ASSUME_O_CLOEXEC): Likewise.
2631 (__ASSUME_SOCK_CLOEXEC): Likewise.
2632 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2633 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2635 (__ASSUME_PIPE2): Likewise.
2636 (__ASSUME_EVENTFD2): Likewise.
2637 (__ASSUME_SIGNALFD4): Likewise.
2638 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2639 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2641 (__ASSUME_EVENTFD2): Likewise.
2642 (__ASSUME_SIGNALFD4): Likewise.
2643 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2644 (__ASSUME_32BITUIDS): Likewise.
2645 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2646 (__ASSUME_IPC64): Likewise.
2647 (__ASSUME_ST_INO_64_BIT): Likewise.
2648 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2649 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2650 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2651 (__ASSUME_UTIMES): Do not define.
2652 (__ASSUME_PSELECT): Likewise.
2653 (__ASSUME_PPOLL): Likewise.
2654 (__ASSUME_O_CLOEXEC): Likewise.
2655 (__ASSUME_SOCK_CLOEXEC): Likewise.
2656 (__ASSUME_IN_NONBLOCK): Likewise.
2657 (__ASSUME_PIPE2): Likewise.
2658 (__ASSUME_EVENTFD2): Likewise.
2659 (__ASSUME_SIGNALFD4): Likewise.
2660 (__ASSUME_DUP3): Likewise.
2661 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2662 (__ASSUME_UTIMES): Likewise.
2663 (__ASSUME_O_CLOEXEC): Likewise.
2664 (__ASSUME_SOCK_CLOEXEC): Likewise.
2665 (__ASSUME_IN_NONBLOCK): Likewise.
2666 (__ASSUME_PIPE2): Likewise.
2667 (__ASSUME_EVENTFD2): Likewise.
2668 (__ASSUME_SIGNALFD4): Likewise.
2669 (__ASSUME_DUP3): Likewise.
2670 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2671 (__ASSUME_UTIMES): Likewise.
2672 (__ASSUME_O_CLOEXEC): Likewise.
2673 (__ASSUME_SOCK_CLOEXEC): Likewise.
2674 (__ASSUME_IN_NONBLOCK): Likewise.
2675 (__ASSUME_PIPE2): Likewise.
2676 (__ASSUME_EVENTFD2): Likewise.
2677 (__ASSUME_SIGNALFD4): Likewise.
2678 (__ASSUME_DUP3): Likewise.
2679 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2681 (__ASSUME_UTIMES): Likewise.
2682 (__ASSUME_EVENTFD2): Likewise.
2683 (__ASSUME_SIGNALFD4): Likewise.
2684 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2685 (__ASSUME_O_CLOEXEC): Likewise.
2686 (__ASSUME_SOCK_CLOEXEC): Likewise.
2687 (__ASSUME_IN_NONBLOCK): Likewise.
2688 (__ASSUME_PIPE2): Likewise.
2689 (__ASSUME_EVENTFD2): Likewise.
2690 (__ASSUME_SIGNALFD4): Likewise.
2691 (__ASSUME_DUP3): Likewise.
2692 (__ASSUME_UTIMES): Undefine.
2694 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2695 feclearexcept. Remove symbol versioning code.
2696 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2697 symbol versioning code.
2698 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2699 symbol versioning code.
2700 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2701 feupdateenv. Remove symbol versioning code.
2702 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2703 fegetexceptflag. Remove symbol versioning code.
2704 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2705 fesetexceptflag. Remove symbol versioning code.
2706 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2707 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2708 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2709 (__posix_fadvise64_l32): Remove prototype.
2710 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2713 2014-05-13 Roland McGrath <roland@hack.frob.com>
2715 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2716 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2717 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2718 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2720 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2722 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2723 current working directory
2725 2014-05-13 Roland McGrath <roland@hack.frob.com>
2727 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2728 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2729 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2730 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2731 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2732 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2733 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2734 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2735 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2736 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2737 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2738 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2739 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2740 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2741 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2742 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2743 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2744 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2745 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2746 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2747 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2748 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2749 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2750 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2751 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2752 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2753 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2754 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2756 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2758 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2759 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2760 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2761 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2762 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2763 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2764 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2765 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2766 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2767 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2768 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2770 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2771 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2773 * sysdeps/unix/sysv/linux/arm/Makefile
2774 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2775 Add rt-aeabi_unwind_cpp_pr1.
2776 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2777 Add nptl-aeabi_unwind_cpp_pr1.
2778 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2779 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2780 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2781 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2782 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2783 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2785 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2786 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2787 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2788 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2790 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2791 Deconditionalize the code that was previously under [RESET_PID].
2792 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2794 * sysdeps/generic/exit-thread.h: New file.
2795 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2796 * include/unistd.h (__exit_thread): Remove declaration.
2797 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2798 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2799 * csu/libc-start.c: Include <exit-thread.h>.
2800 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2801 * nptl/pthread_create.c: Include <exit-thread.h>.
2802 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2803 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2804 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2805 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2806 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2807 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2808 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2809 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2810 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2811 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2812 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2813 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2814 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2815 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2816 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2817 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2818 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2820 2014-05-13 Andreas Schwab <schwab@suse.de>
2822 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2824 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2826 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2827 (__ASSUME_UTIMES): Do not condition on kernel version.
2828 (__ASSUME_PSELECT): Define unconditionally.
2829 (__ASSUME_PPOLL): Likewise.
2830 (__ASSUME_ATFCTS): Likewise.
2831 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2832 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2833 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2834 (__ASSUME_UTIMENSAT): Define unconditionally.
2835 (__ASSUME_PRIVATE_FUTEX): Likewise.
2836 (__ASSUME_FALLOCATE): Likewise.
2837 (__ASSUME_O_CLOEXEC): Likewise.
2838 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2839 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2840 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2841 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2842 (__ASSUME_IN_NONBLOCK): Likewise.
2843 (__ASSUME_PIPE2): Likewise.
2844 (__ASSUME_EVENTFD2): Likewise.
2845 (__ASSUME_SIGNALFD4): Likewise.
2846 (__ASSUME_DUP3): Likewise.
2847 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2848 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2849 (__ASSUME_AT_RANDOM): Likewise.
2850 (__ASSUME_PREADV): Likewise.
2851 (__ASSUME_PWRITEV): Likewise.
2852 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2853 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2854 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2855 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2856 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2857 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2858 (__ASSUME_O_CLOEXEC): Define unconditionally.
2859 (__ASSUME_PSELECT): Do not undefine conditionally.
2860 (__ASSUME_PPOLL): Likewise.
2861 (__ASSUME_ATFCTS): Likewise.
2862 (__ASSUME_SET_ROBUST_LIST): Likewise.
2863 (__ASSUME_UTIMENSAT): Likewise.
2864 (__ASSUME_FDATASYNC): Define unconditionally.
2865 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2866 (__ASSUME_SIGFRAME_V2): Likewise.
2867 )__ASSUME_EVENTFD2): Likewise.
2868 (__ASSUME_SIGNALFD4): Likewise.
2869 (__ASSUME_PSELECT): Do not undefine conditionally.
2870 (__ASSUME_PPOLL): Likewise.
2871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2872 (__ASSUME_PSELECT): Define unconditionally.
2873 (__ASSUME_PPOLL): Likewise.
2874 (__ASSUME_O_CLOEXEC): Likewise.
2875 (__ASSUME_SOCK_CLOEXEC): Likewise.
2876 (__ASSUME_IN_NONBLOCK): Likewise.
2877 (__ASSUME_PIPE2): Likewise.
2878 (__ASSUME_EVENTFD2): Likewise.
2879 (__ASSUME_SIGNALFD4): Likewise.
2880 (__ASSUME_DUP3): Likewise.
2881 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2882 (__ASSUME_O_CLOEXEC): Likewise.
2883 (__ASSUME_SOCK_CLOEXEC): Likewise.
2884 (__ASSUME_IN_NONBLOCK): Likewise.
2885 (__ASSUME_PIPE2): Likewise.
2886 (__ASSUME_EVENTFD2): Likewise.
2887 (__ASSUME_SIGNALFD4): Likewise.
2888 (__ASSUME_DUP3): Likewise.
2889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2890 (__ASSUME_EVENTFD2): Likewise.
2891 (__ASSUME_SIGNALFD4): Likewise.
2892 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2894 2014-05-12 Andreas Schwab <schwab@suse.de>
2897 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2898 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2899 than maximum RPC packet size.
2900 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2901 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2902 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2903 (_nss_nis_getservbyport_r): Likewise.
2905 2014-05-12 Will Newton <will.newton@linaro.org>
2907 * malloc/Makefile (tests): Add tst-mallopt.
2908 * malloc/tst-mallopt.c: New file.
2910 2014-05-09 Roland McGrath <roland@hack.frob.com>
2912 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2913 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2915 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2917 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2918 (tst-tlsmod6.so): Likewise.
2920 2014-05-09 Roland McGrath <roland@hack.frob.com>
2922 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2924 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2928 and <dl-procinfo.h>.
2929 (__fegetenv): Save SSE state in envp->__eip if supported.
2930 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2931 envp->__eip if supported.
2932 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2933 and <dl-procinfo.h>.
2934 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2935 __data_offset and __data_selector in environment to 0. Set SSE
2937 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2939 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2941 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2943 2014-05-09 Will Newton <will.newton@linaro.org>
2945 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2946 and libc_relro_required for ARM.
2947 * sysdeps/arm/preconfigure: Regenerate.
2949 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2950 Stefan Liebler <stli@linux.vnet.ibm.com>
2952 * config.make.in (enable-lock-elision): New Makefile variable.
2953 * configure.ac: Likewise.
2954 * configure: Regenerate.
2955 * sysdeps/s390/configure.ac:
2956 Add check for gcc transactions support.
2957 * sysdeps/s390/configure: Regenerate.
2958 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2959 Build elision files if enabled.
2960 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2961 Add lock elision support for s390.
2962 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2963 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2964 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2965 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2966 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2967 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2968 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2970 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2972 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2974 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2976 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2977 (__lll_timedlock_elision, __lll_lock_elision)
2978 (__lll_unlock_elision, __lll_trylock_elision)
2979 (lll_timedlock_elision, lll_lock_elision)
2980 (lll_unlock_elision, lll_trylock_elision): Add.
2981 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2982 (pthread_mutex_t): Add lock elision support for s390.
2984 2014-05-14 Wilco <wdijkstr@arm.com>
2986 * sysdeps/arm/fclrexcpt.c: Cleanup.
2987 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2988 * sysdeps/arm/feenablxcpt.c: Cleanup.
2989 * sysdeps/arm/fegetenv.c: Cleanup.
2990 * sysdeps/arm/fegetexcept.c: Cleanup.
2991 * sysdeps/arm/fegetround.c: Cleanup.
2992 * sysdeps/arm/feholdexcpt.c: Cleanup.
2993 * sysdeps/arm/fesetenv.c: Cleanup.
2994 * sysdeps/arm/fesetround.c: Cleanup.
2995 * sysdeps/arm/feupdateenv.c: Cleanup.
2996 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2997 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2998 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2999 * sysdeps/arm/ftestexcept.c: Cleanup.
3000 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3001 * sysdeps/arm/setfpucw.c: Cleanup.
3003 2014-05-09 Will Newton <will.newton@linaro.org>
3005 * sysdeps/arm/armv7/strcmp.S: New file.
3006 * NEWS: Mention addition of ARMv7 optimized strcmp.
3008 2014-05-08 Roland McGrath <roland@hack.frob.com>
3010 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3011 look for %.ac rather than %.in.
3013 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3014 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3015 * sysdeps/mach/hurd/configure: Regenerated.
3016 * sysdeps/unix/sysv/linux/configure: Regenerated.
3018 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3020 2014-05-07 Steve Ellcey <sellcey@mips.com>
3023 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3027 2014-05-07 Andreas Schwab <schwab@suse.de>
3029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3030 when skipping over non-matching result from nscd.
3032 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3035 * nptl/sockperf.c (client): Check socket return value.
3038 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3039 nscd security class.
3041 2014-05-06 Roland McGrath <roland@hack.frob.com>
3043 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3044 * sysdeps/arm/unwind.h: ... here.
3046 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3049 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3052 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3054 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3055 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3056 multiarch strncpy for PPC64.
3057 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3058 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3060 multiarch optimizations.
3061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3062 (__libc_ifunc_impl_list): Likewise.
3063 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3064 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3065 multiarch stpncpy for PPC64.
3066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3067 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3069 2014-05-06 Andreas Schwab <schwab@suse.de>
3072 * gmon/mcount.c (_MCOUNT_DECL): Use
3073 atomic_compare_and_exchange_bool_acq instead of
3074 catomic_compare_and_exchange_bool_acq.
3076 2014-05-05 Roland McGrath <roland@hack.frob.com>
3078 * elf/Makefile (others, install-bin): Remove pldd.
3079 (pldd-modules): Variable removed.
3080 ($(objpfx)pldd): Target removed.
3081 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3082 (others, install-bin): Append pldd here.
3083 ($(objpfx)pldd): New target.
3085 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3086 to 0, so the first #if test emitted later doesn't see it undefined.
3087 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3088 * sysdeps/gnu/errlist.c: Regenerated.
3090 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3092 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3093 [libc_hidden_builtin_def]: Define to empty value.
3094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3095 [libc_hidden_builtin_def]: Likewise.
3096 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3097 [libc_hidden_builtin_def]: Likewise.
3098 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3099 [libc_hidden_builtin_def]: Likewise.
3100 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3101 __redirect_memcpy and define ifunc as default hidden symbol.
3102 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3103 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3105 2014-05-04 Adam Conrad <adconrad@0c3.net>
3107 * locale/iso-4217.def: Reintroduce XDR currency.
3109 2014-05-04 Allan McRae <allan@archlinux.org>
3111 * po/eo.po: Update Esperanto translation from translation project.
3113 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3115 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3116 and FEATURE_INDEX_MAX to 1.
3117 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3119 2014-05-01 Steve Ellcey <sellcey@mips.com>
3121 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3122 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3123 * iconvdata/big5.c (ONE_DIRECTION): Define.
3124 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3125 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3126 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3127 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3128 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3129 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3130 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3131 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3132 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3133 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3134 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3135 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3136 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3137 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3138 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3139 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3140 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3141 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3142 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3143 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3144 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3145 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3146 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3147 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3148 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3149 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3150 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3151 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3152 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3153 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3154 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3155 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3156 * iconvdata/johab.c (ONE_DIRECTION): Define.
3157 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3158 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3159 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3160 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3161 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3162 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3163 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3164 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3165 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3166 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3168 2014-05-01 Roland McGrath <roland@hack.frob.com>
3170 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3171 (_IO_JUMPS_OFFSET): Define to 0.
3173 * nptl/sysdeps/pthread/bits/libc-lock.h
3174 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3175 (__libc_lock_define_initialized_recursive): Always define using
3176 initializer. Modern compilers treat uninitialized (implicit zero) and
3177 explicit zero initializers the same (i.e. put the datum in bss).
3179 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3181 * nscd/nscd-client.h: Include <string.h>.
3183 2014-05-01 David S. Miller <davem@davemloft.net>
3186 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3187 multiple zero bytes exist at the end of a string.
3188 Reported by Aurelien Jarno <aurelien@aurel32.net>
3190 * string/test-strcmp.c (check): Add explicit test for situations where
3191 there are multiple zero bytes after the first.
3193 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3196 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3197 when compiling wprintf.
3198 * stdio-common/tstdiomisc.c (t3): New function.
3201 2014-05-01 Steve Ellcey <sellcey@mips.com>
3203 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3204 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3205 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3206 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3208 2014-05-01 Steve Ellcey <sellcey@mips.com>
3210 * stdlib/longlong.h: Updated from GCC.
3212 2014-05-01 Will Newton <will.newton@linaro.org>
3213 Bernard Ogden <bernie.ogden@linaro.org>
3215 * NEWS: Update fixed bug list.
3218 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3220 2014-04-30 David S. Miller <davem@davemloft.net>
3222 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3223 (libc_feholdexcept_setround_sparc_ctx): New function.
3224 (libc_fesetenv_sparc_ctx): Likewise.
3225 (libc_feupdateenv_sparc_ctx): Likewise.
3226 (libc_feholdsetround_sparc_ctx): Likewise.
3227 (libc_feholdexcept_setround_ctx): Define.
3228 (libc_feholdexcept_setroundf_ctx): Likewise.
3229 (libc_feholdexcept_setroundl_ctx): Likewise.
3230 (libc_fesetenv_ctx): Likewise.
3231 (libc_fesetenvf_ctx): Likewise.
3232 (libc_fesetenvl_ctx): Likewise.
3233 (libc_feupdateenv_ctx): Likewise.
3234 (libc_feupdateenvf_ctx): Likewise.
3235 (libc_feupdateenvl_ctx): Likewise.
3236 (libc_feresetround_ctx): Likewise.
3237 (libc_feresetroundf_ctx): Likewise.
3238 (libc_feresetroundl_ctx): Likewise.
3239 (libc_feholdsetround_ctx): Likewise.
3240 (libc_feholdsetroundf_ctx): Likewise.
3241 (libc_feholdsetroundl_ctx): Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3244 with __USE_GNU instead of XOPEN cpp guards.
3246 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3250 with XOPEN cpp guards.
3252 2014-04-30 Julian Brown <julian@codesourcery.com>
3255 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3258 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3261 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3263 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3264 * sysdeps/unix/sysv/linux/configure: Regenerated.
3265 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3266 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3267 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3268 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3269 * README: Update reference to required Linux kernel version.
3270 * manual/install.texi (Linux): Update reference to required Linux
3271 kernel headers version.
3272 * INSTALL: Regenerated.
3274 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3276 [POSIX] (limits.h): Likewise.
3277 [POSIX] (math.h): Likewise.
3278 [POSIX] (sys/wait.h): Likewise.
3279 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3281 [POSIX] (stddef.h): Do not allow header inclusion.
3283 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3285 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3287 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3289 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3290 Return immediately after lll_futex_wake.
3292 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3295 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3297 (datahead_init_pos): Call datahead_init_common early.
3298 (datahead_init_neg): Likewise.
3300 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3301 datahead_init_neg): New functions.
3302 * nscd/aicache.c (addhstaiX): Use them.
3303 * nscd/grpcache.c (cache_addgr): Likewise.
3304 * nscd/hstcache.c (cache_addhst): Likewise.
3305 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3306 * nscd/netgroupcache.c (do_notfound): Likewise.
3307 (addgetnetgrentX): Likewise.
3308 (addinnetgrX): Likewise.
3309 * nscd/pwdcache.c (cache_addpw): Likewise.
3310 * nscd/servicescache.c (cache_addserv): Likewise.
3312 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3313 Atsushi Onoe <atsushi@onoe.org>
3318 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3319 one response is valid.
3320 * resolv/res_send.c (send_dg): Check for validity of other
3321 response if the current response is a referral.
3323 2014-04-29 Steve Ellcey <sellcey@mips.com>
3325 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3327 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3330 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3331 Always divide by positive zero when computing -Inf result.
3332 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3333 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3335 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3338 FPSCR if value do not change.
3339 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3340 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3341 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3342 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3343 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3344 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3347 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3349 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3350 * sysdeps/unix/sysv/linux/hppa: Move directory from
3351 ports/systeps/unix/sysv/linux/hppa.
3352 * README: Update listing for hppa-*-linux-gnu.
3354 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3357 * manual/stdio.texi (Hook functions): Fix types of stream hook
3360 * socket/sys/socket.h: Fix typo in comment.
3362 2014-04-28 Wilco <wdijkstr@arm.com>
3364 * sysdeps/arm/fenv_private.h: New file.
3365 * sysdeps/arm/math_private.h: New file.
3366 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3368 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3372 (La_x86_64_retval): Likewise.
3374 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3376 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3377 fpsr if value didn't change.
3378 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3379 to fpcr if value didn't change.
3380 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3381 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3382 fpsr or fpcr if value didn't change.
3383 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3384 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3385 fpcr if value didn't change.
3386 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3387 to fpsr if value didn't change.
3389 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3391 * nptl/tst-sem3.c: Use test-skeleton.c
3392 (main): Rename to do_test. Use return instead of
3394 * nptl/tst-sem4.c: Use test-skeleton.c
3395 (main): Rename to do_test.
3397 2014-04-22 David S. Miller <davem@davemloft.net>
3399 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3400 (struct sigaction): New struct member __glibc_reserved0, change
3401 type of sa_flags to int.
3403 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3405 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3406 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3408 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3410 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3411 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3413 2014-04-22 Will Newton <will.newton@linaro.org>
3414 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3416 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3417 (__longjmp): Add longjmp and longjmp_target SystemTap
3419 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3420 (__sigsetjmp): Add setjmp SystemTap probe.
3422 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3424 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3427 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3429 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3431 * sysdeps/powerpc/fpu/fenv_private.h
3432 (libc_feholdexcept_setroundl_ctx): Define to
3433 libc_feholdexcept_setround_ppc_ctx.
3434 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3435 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3436 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3437 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3439 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3441 * sysdeps/aarch64/math-tests.h: New file.
3443 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3445 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3448 Check and set bit_AVX2_Usable.
3449 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3451 (bit_AVX2): Likewise.
3452 (index_AVX2_Usable): Likewise.
3453 (CPUID_AVX2): Likewise.
3454 (HAS_AVX2): Likewise.
3456 2014-04-17 Will Newton <will.newton@linaro.org>
3458 * manual/setjmp.texi (System V contexts): Add note that
3459 calling setcontext on a context created by a call to a
3460 signal handler is undefined. Update text to note that
3461 setcontext from a signal handler is possible but not
3465 * stdlib/tst-setcontext.c: Include signal.h.
3466 (main): Check that the signal stack before and
3467 after swapcontext is the same.
3469 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3470 Re-implement to restore registers in user code and avoid
3471 rt_sigreturn system call.
3473 2014-04-17 Wilco <wdijkstr@arm.com>
3475 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3476 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3477 * math/test-fenv.c: Skip exception trap tests on targets which only
3478 support non-stop mode.
3480 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3481 Wilco Dijkstra <wilco.dijkstra@arm.com>
3483 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3484 (libc_feholdsetround_aarch64_ctx)
3485 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3486 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3487 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3488 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3489 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3490 (libc_feresetround_noexl_ctx): Define.
3492 2014-04-16 Richard Henderson <rth@redhat.com>
3494 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3496 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3499 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3500 const from the non-libc, non-ldso copy.
3502 * sysdeps/alpha/libm-test-ulps: Regenerate.
3504 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3505 Wilco Dijkstra <wilco.dijkstra@arm.com>
3507 * sysdeps/aarch64/fpu/math_private.h: New file.
3509 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3511 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3513 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3515 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3516 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3518 Intel MPX bound registers before _dl_profile_fixup.
3519 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3520 registers after _dl_profile_fixup. Save and restore bound
3521 registers bnd0/bnd1 when calling _dl_call_pltexit.
3522 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3523 (LR_BND_OFFSET): Likewise.
3524 (LRV_BND0_OFFSET): Likewise.
3525 (LRV_BND1_OFFSET): Likewise.
3527 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3529 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3531 * sysdeps/mach/hurd/i386/tls.h: ... here.
3532 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3533 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3536 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3538 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3540 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3542 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3544 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3547 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3548 * sysdeps/s390/configure: Regenerate.
3551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3552 Set round-to-nearest internally to reduce error accumulation.
3554 2014-04-16 Alan Modra <amodra@gmail.com>
3558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3559 * math/libm-test.inc (frexp_test_data): Add tests.
3560 * NEWS: Update fixed bug list.
3562 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3564 * benchtests/Makefile: Depend on libraries in build directory.
3565 (bench-math): Separate out math tests.
3566 (bench-pthread): Separate out pthread tests.
3567 (bench): Include math and pthread tests.
3569 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3572 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3573 _dl_debug_initialize.
3575 * configure.ac: Remove SELinux header check.
3576 * configure: Regenerate.
3577 * nscd/selinux.c (perms): Array of const char* to permission names.
3578 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3579 default policy. Call string_to_security_class and string_to_av_perm to
3580 translate strings. Enforce default policy and call avs_has_perm with
3581 results of translated strings.
3583 2014-04-13 David S. Miller <davem@davemloft.net>
3585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3587 2014-04-12 Allan McRae <allan@archlinux.org>
3590 * manual/string.texi (Collation Functions): Fix qsort argument
3592 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3594 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3596 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3597 Make the test a no-op if there are no exceptions defined.
3599 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3601 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3602 enable-hardcoded-path-in-tests
3604 2014-04-11 Will Newton <will.newton@linaro.org>
3606 * benchtests/Makefile (extra-objs): Add json-lib.o.
3607 (bench-func): Tidy up JSON output.
3608 * benchtests/bench-skeleton.c: Include json-lib.h.
3609 (main): Use JSON library functions to do output of
3611 * benchtests/bench-timing-type.c (main): Output the
3612 timing type simply, leaving formatting to the user.
3613 * benchtests/json-lib.c: New file.
3614 * benchtests/json-lib.h: Likewise.
3616 2014-04-11 Torvald Riegel <triegel@redhat.com>
3619 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3620 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3621 memory barriers. Add comments.
3622 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3623 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3624 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3625 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3626 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3627 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3629 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3631 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3632 * sysdeps/s390/s390-64/configure.ac: ... this ...
3633 * sysdeps/s390/configure.ac: ... to here.
3634 * sysdeps/s390/s390-32/configure: Delete file.
3635 * sysdeps/s390/s390-64/configure: Delete file.
3636 * sysdeps/s390/configure: Regenerate.
3638 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3640 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3642 2014-04-11 Will Newton <will.newton@linaro.org>
3644 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3645 to zero if it is not defined elsewhere. (mtrim): Test
3646 the value of MALLOC_DEBUG with #if rather than #ifdef.
3648 2014-04-10 Torvald Riegel <triegel@redhat.com>
3650 * benchtests/pthread_once-inputs: New file.
3651 * benchtests/pthread_once-source.c: New file.
3652 * benchtests/README: Update documentation.
3654 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3655 H.J. Lu <hongjiu.lu@intel.com>
3657 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3658 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3659 * sysdeps/x86_64/configure: Regenerated.
3660 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3662 (REGISTER_SAVE_RAX): Likewise.
3663 (REGISTER_SAVE_RCX): Likewise.
3664 (REGISTER_SAVE_RDX): Likewise.
3665 (REGISTER_SAVE_RSI): Likewise.
3666 (REGISTER_SAVE_RDI): Likewise.
3667 (REGISTER_SAVE_R8): Likewise.
3668 (REGISTER_SAVE_R9): Likewise.
3669 (REGISTER_SAVE_BND0): Likewise.
3670 (REGISTER_SAVE_BND1): Likewise.
3671 (REGISTER_SAVE_BND2): Likewise.
3672 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3673 bound registers when calling _dl_fixup.
3675 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3677 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3678 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3680 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3681 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3682 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3683 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3684 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3685 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3686 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3688 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3691 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3692 pathconf(_PC_NAME_MAX).
3694 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3698 (__PTHREAD_SPINS): Move definition to ...
3699 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3700 (__PTHREAD_SPINS): ... here.
3701 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3702 (__PTHREAD_SPIN): Likewise.
3703 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3704 (__PTHREAD_SPIN): Likewise.
3705 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3706 (__PTHREAD_SPIN): Likewise.
3707 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3708 (__PTHREAD_SPIN): Likewise.
3709 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3710 (__PTHREAD_SPIN): Likewise.
3711 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3712 (__PTHREAD_SPIN): Likewise.
3713 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3714 (__PTHREAD_SPIN): Likewise.
3715 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3716 (__PTHREAD_SPIN): Likewise.
3717 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3718 (__PTHREAD_SPIN): Likewise.
3719 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3720 (__PTHREAD_SPIN): Likewise.
3721 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3722 (__PTHREAD_SPIN): Likewise.
3723 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3724 (__PTHREAD_SPIN): Likewise.
3726 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3727 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3728 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3729 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3732 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3733 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3734 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3736 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3737 strlen symbol for non multi-arch builds.
3738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3739 missing hidden_def and weak_alias.
3741 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3743 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3745 2014-04-07 Will Newton <will.newton@linaro.org>
3747 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3748 and contents. [!_LIBC] Remove #ifndef and contents.
3749 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3750 * string/memccpy.c (__memccpy): Use ANSI prototype.
3751 * string/memfrob.c (memfrob): Likewise.
3752 * string/strcoll.c (STRCOLL): Likewise.
3753 * string/strlen.c (strlen): Likewise.
3754 * string/strtok.c (STRTOK): Likewise.
3755 * string/strcat.c: Remove unused #include of memcopy.h.
3756 (strcat): Use ANSI prototype.
3757 * string/strchr.c: Remove unused #include of memcopy.h.
3758 (strchr): Use ANSI prototype.
3759 * string/strcmp.c: Remove unused #include of memcopy.h.
3760 (strcmp): Use ANSI prototype.
3761 * string/strcpy.c: Remove unused #include of memcopy.h.
3762 (strcpy): Use ANSI prototype.
3764 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3767 * config.make.in (config-extra-cppflags): Set it from
3768 libc_extra_cppflags.
3769 * configure.ac (libc_extra_cflags): Make it accumulate over
3770 configure fragments.
3771 (libc_extra_cppflags): New flag.
3772 * configure. Regenerate.
3773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3774 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3775 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3780 result for FE_DOWNWARD rounding mode.
3781 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3785 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3787 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3788 in function argument name.
3790 2014-04-03 David Svoboda <svoboda@cert.org>
3793 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3796 2014-04-03 Roland McGrath <roland@hack.frob.com>
3798 * elf/dl-unmap-segments.h: New file.
3799 * sysdeps/generic/ldsodefs.h
3800 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3801 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3802 * elf/dl-fptr.c: Likewise.
3803 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3804 * sysdeps/aarch64/tlsdesc.c: Likewise.
3805 * sysdeps/arm/tlsdesc.c: Likewise.
3806 * sysdeps/i386/tlsdesc.c: Likewise.
3807 * sysdeps/tile/dl-runtime.c: Likewise.
3808 * sysdeps/x86_64/tlsdesc.c: Likewise.
3809 * elf/dl-load.h: New file.
3810 * elf/dl-load.c: Include it.
3811 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3812 Macros moved to dl-load.h.
3813 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3814 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3815 Use _dl_unmap_segments in place of __munmap.
3816 Break out segment-mapping loop into ...
3817 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3819 2014-04-03 Will Newton <will.newton@linaro.org>
3821 * elf/dl-lookup.c (do_lookup_x): Remove comment
3822 referring to nested function and move variable
3823 declarations down to before first use.
3825 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3829 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3831 * math/s_catanf.c (__catanf): Likewise.
3832 * math/s_catanh.c (__catanh): Likewise.
3833 * math/s_catanhf.c (__catanhf): Likewise.
3834 * math/s_catanhl.c (__catanhl): Likewise.
3835 * math/s_catanl.c (__catanl): Likewise.
3836 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3837 by positive zero when computing -Inf result.
3838 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3839 (catanh_test): Likewise.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3845 instead of using underflowing value in computing result.
3846 * math/s_clog10.c (__clog10): Likewise.
3847 * math/s_clog10f.c (__clog10f): Likewise.
3848 * math/s_clog10l.c (__clog10l): Likewise.
3849 * math/s_clogf.c (__clogf): Likewise.
3850 * math/s_clogl.c (__clogl): Likewise.
3851 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3852 (clog10_test): Likewise.
3853 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3856 2014-04-02 Alan Modra <amodra@gmail.com>
3859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3860 output when value is near a power of two. Use int64_t for lx and
3861 remove casts. Use decimal rather than hex exponent constants.
3862 Don't use long double multiplication when double will suffice.
3863 * math/libm-test.inc (nextafter_test_data): Add tests.
3864 * NEWS: Add 16739 and 16786 to bug list.
3866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3868 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3870 2014-04-01 Will Newton <will.newton@linaro.org>
3872 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3873 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3875 2014-04-01 Florian Weimer <fweimer@redhat.com>
3878 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3879 * nptl/tst-setuid2.c: New file.
3880 * nptl/Makefile (xtests): Add tst-setuid2.
3882 2014-04-01 Alan Modra <amodra@gmail.com>
3885 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3887 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3891 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3892 set errno as appropriate.
3893 * math/w_scalbf.c (__scalbf): Likewise.
3894 * math/w_scalbl.c (__scalbl): Likewise.
3895 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3896 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3897 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3901 * math/w_atan2.c: Include <errno.h>.
3902 (__atan2): Set errno for result underflowing to zero.
3903 * math/w_atan2f.c: Include <errno.h>.
3904 (__atan2f): Set errno for result underflowing to zero.
3905 * math/w_atan2l.c: Include <errno.h>.
3906 (__atan2l): Set errno for result underflowing to zero.
3907 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3909 * math/auto-libm-test-out: Regenerated.
3911 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3913 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3914 Encode instruction correctly in little endian.
3915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3917 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3921 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3924 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3927 * sysdeps/unix/sysv/linux/kernel-features.h
3928 [__sparc__ && !__arch64__ && !__sparc_v9__]
3929 (__ASSUME_SET_ROBUST_LIST): Do not define.
3930 [__sparc__ && !__arch64__ && !__sparc_v9__]
3931 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3932 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3934 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3935 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3936 (__ASSUME_REQUEUE_PI): Likewise.
3937 (__ASSUME_SET_ROBUST_LIST): Likewise.
3938 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3939 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3941 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3942 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3944 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3946 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3949 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3951 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3952 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3956 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3958 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3960 2014-03-31 Will Newton <will.newton@linaro.org>
3962 * benchtests/Makefile (bench): Add ffs and ffsll to list
3964 * benchtests/ffs-inputs: New file.
3965 * benchtests/ffsll-inputs: Likewise.
3967 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3970 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3971 too large before casting to int.
3972 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3973 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3974 * math/libm-test.inc (scalb_test_data): Add more tests.
3976 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3978 * benchtests/Makefile (DETAILED_OPT): New make option.
3979 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3981 * benchtests/bench-skeleton.c: Include stdbool.h.
3982 (main): Store and print timings per input.
3983 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3984 member to each argument value.
3985 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3986 (_print_arg_data): Initialize per-input timing to 0.
3988 * benchtests/Makefile (timing-type): New binary.
3989 (bench-clean): Also remove bench-timing-type.
3990 (bench): New target for timing-type.
3991 (bench-func): Print output in JSON format.
3992 * benchtests/bench-skeleton.c (main): Print output in JSON
3994 * benchtests/bench-timing-type.c: New file.
3995 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3996 (TIMING_PRINT_STATS): Remove.
3997 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4000 * benchtests/bench-modf.c: Remove.
4001 * benchtests/modf-inputs: New inputs file.
4003 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4006 * math/s_clog10.c (M_PI_LOG10E): New macro.
4007 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4008 imaginary parts are 0.
4009 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4010 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4011 imaginary parts are 0.
4012 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4013 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4014 imaginary parts are 0.
4015 * math/libm-test.inc (clog10_test_data): Update expected results
4016 for when real and imaginary parts are 0.
4018 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4020 * elf/dl-load.c: Finish conversion of __builtin_expect into
4023 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4026 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4027 1+x for argument with exponent below -67.
4028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4030 * math/auto-libm-test-in: Add more tests of exp.
4031 * math/auto-libm-test-out: Regenerated.
4033 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4036 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4037 (nscd_getnetgrent): Use it.
4040 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4043 2014-03-27 Andi Kleen <ak@linux.intel.com>
4045 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4046 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4047 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4048 (lll_robust_unlock): Remove out of line section. Use cfi
4050 (LLL_STUB_UNWIND_INFO*): Remove.
4051 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4052 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4053 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4054 (lll_robust_unlock): Remove out of line section. Use cfi
4056 (LLL_STUB_UNWIND_INFO*): Remove.
4058 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4061 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4064 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4066 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4068 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4071 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4073 * math/test-fenv-preserve.c: New file.
4074 * math/Makefile (tests): Add test-fenv-preserve.
4076 2014-03-26 Will Newton <will.newton@linaro.org>
4078 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4080 2014-03-25 Roland McGrath <roland@hack.frob.com>
4082 * scripts/versionlist.awk: Partition the version sets and emit all
4083 GLIBC_* (sorted) before all others (sorted).
4085 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4087 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4088 GLIBC_2.2.5 version.
4090 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4095 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4100 2014-03-25 Andreas Schwab <schwab@suse.de>
4102 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4103 label to be used after in6ailist is initialized.
4105 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4108 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4110 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4114 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4116 (fp_formats): Update initializers.
4117 (init_fp_formats): Initialize new field.
4118 (output_for_one_input_case): Allow underflow for results up to
4120 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4121 * math/auto-libm-test-in: Don't mark some underflows from asin and
4123 * math/auto-libm-test-out: Regenerated.
4124 * sysdeps/i386/fpu/libm-test-ulps: Update.
4125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127 2014-03-25 Andreas Schwab <schwab@suse.de>
4129 * libio/Makefile (tst-ftell-partial-wide-ENV)
4130 (tst-ftell-active-handler-ENV): Define.
4132 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4134 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4136 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4138 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4140 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4142 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4143 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4144 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4146 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4149 * elf/dl-load.c (open_verify): Add mode parameter.
4150 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4151 (open_path): Change from boolean 'secure' to complete flag 'mode'
4152 (_dl_map_object): Adjust.
4153 * elf/Makefile (tests): Add tst-dlopen-aout.
4154 * elf/tst-dlopen-aout.c: New test.
4156 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4159 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4160 (struct stat): Rename member pad0 to __glibc_reserved0.
4163 * sysdeps/s390/s390-32/bits/wordsize.h
4164 (__WORDSIZE32_SIZE_ULONG): New define.
4165 * sysdeps/s390/s390-64/bits/wordsize.h
4166 (__WORDSIZE32_SIZE_ULONG): Likewise.
4167 * sysdeps/generic/stdint.h (SIZE_MAX):
4168 Define as UL if __WORDSIZE32_SIZE_ULONG.
4171 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4172 (__glibc_reserved0): New variable.
4173 (sa_flags): Change type to int.
4175 * posix/Makefile (before-compile): Use += before-compile instead
4178 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4179 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4181 2014-03-20 Andreas Schwab <schwab@suse.de>
4184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4185 non-matching result from nscd.
4187 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4189 * scripts/bench.py: Moved to ...
4190 * benchtests/scripts/bench.py: ... here.
4191 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4193 2014-03-24 Andreas Schwab <schwab@suse.de>
4196 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4197 alloca_account and account alloca use for struct in6ailist.
4199 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4202 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4203 rounding mode to recompute results that overflow to infinity or
4205 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4207 * math/auto-libm-test-out: Regenerated.
4208 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4209 (ccosh_test): Likewise.
4210 (csin_test_data): Use plus_oflow.
4211 (csin_test): Use ALL_RM_TEST.
4212 (csinh_test_data): Use plus_oflow.
4213 (csinh_test): Use ALL_RM_TEST.
4214 * sysdeps/i386/fpu/libm-test-ulps: Update.
4215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4217 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4219 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4220 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4221 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4224 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4226 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4227 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4228 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4231 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4232 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4234 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4235 * sysdeps/i386/fpu/libm-test-ulps: Update.
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4240 * scripts/bench.pl: Remove file.
4241 * scripts/bench.py: New benchmark script.
4242 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4243 * benchtests/README: Mention python dependency.
4244 * scripts/pylintrc: New file.
4245 * scripts/pylint: New file.
4247 * bits/mathdef.h: Use #ifdef instead of #if.
4248 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4249 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4250 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4251 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4252 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4253 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4255 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4256 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4258 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4260 and strpbrk-ppc64 objects.
4261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4262 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4263 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4264 multiarch strpbrk for POWER7.
4265 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4266 multiarch strpbrk for PPC64.
4267 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4269 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4272 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4274 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4275 (atan_test): Likewise.
4276 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4277 (atanh_test): Use ALL_RM_TEST.
4278 (atan2_test_data): Likewise.
4279 (cabs_test): Likewise.
4280 (cacosh_test): Likewise.
4281 (carg_test): Likewise.
4282 (casin_test): Likewise.
4283 (casinh_test): Likewise.
4284 (cbrt_test): Likewise.
4285 (csqrt_test): Likewise.
4286 (erf_test): Likewise.
4287 (erfc_test): Likewise.
4288 (pow10_test): Likewise.
4289 (exp2_test): Likewise.
4290 (hypot_test): Likewise.
4291 (j0_test): Likewise.
4292 (j1_test): Likewise.
4293 (lgamma_test): Likewise.
4294 (gamma_test): Likewise.
4295 (sincos_test): Likewise.
4296 (tanh_test): Likewise.
4297 (y0_test): Likewise.
4298 (y1_test): Likewise.
4299 * sysdeps/i386/fpu/libm-test-ulps: Update.
4300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4306 and strcspn-ppc64 objects.
4307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4308 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4309 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4310 multiarch strcspn for POWER7.
4311 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4312 multiarch strcspn for PPC64.
4313 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4315 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4318 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4320 * math/gen-libm-test.pl (generate_testfile): Expect only function
4321 name as argument to AUTO_TESTS_* and pass results for all rounding
4322 modes to parse_args.
4323 (parse_auto_input): Separate inputs of automatic tests from
4324 outputs before storing in %auto_tests.
4325 * math/libm-test.inc (acos_test_data): Update call to
4327 (acos_test): Use ALL_RM_TEST.
4328 (acos_tonearest_test_data): Remove.
4329 (acos_test_tonearest): Likewise.
4330 (acos_towardzero_test_data): Likewise.
4331 (acos_test_towardzero): Likewise.
4332 (acos_downward_test_data): Likewise.
4333 (acos_test_downward): Likewise.
4334 (acos_upward_test_data): Likewise.
4335 (acos_test_upward): Likewise.
4336 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4337 (asin_test_data): Likewise.
4338 (asin_test): Use ALL_RM_TEST.
4339 (asin_tonearest_test_data): Remove.
4340 (asin_test_tonearest): Likewise.
4341 (asin_towardzero_test_data): Likewise.
4342 (asin_test_towardzero): Likewise.
4343 (asin_downward_test_data): Likewise.
4344 (asin_test_downward): Likewise.
4345 (asin_upward_test_data): Likewise.
4346 (asin_test_upward): Likewise.
4347 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4348 (atan_test_data): Likewise.
4349 (atanh_test_data): Likewise.
4350 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4351 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4352 (carg_test_data): Likewise.
4353 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4354 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4355 (ccosh_test_data): Likewise.
4356 (cexp_test_data): Likewise.
4357 (clog_test_data): Likewise.
4358 (clog10_test_data): Likewise.
4359 (cos_test_data): Update call to AUTO_TESTS_f_f.
4360 (cos_test): Use ALL_RM_TEST.
4361 (cos_tonearest_test_data): Remove.
4362 (cos_test_tonearest): Likewise.
4363 (cos_towardzero_test_data): Likewise.
4364 (cos_test_towardzero): Likewise.
4365 (cos_downward_test_data): Likewise.
4366 (cos_test_downward): Likewise.
4367 (cos_upward_test_data): Likewise.
4368 (cos_test_upward): Likewise.
4369 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4370 (cosh_test): Use ALL_RM_TEST.
4371 (cosh_tonearest_test_data): Remove.
4372 (cosh_test_tonearest): Likewise.
4373 (cosh_towardzero_test_data): Likewise.
4374 (cosh_test_towardzero): Likewise.
4375 (cosh_downward_test_data): Likewise.
4376 (cosh_test_downward): Likewise.
4377 (cosh_upward_test_data): Likewise.
4378 (cosh_test_upward): Likewise.
4379 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4380 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4381 (ctan_test_data): Likewise.
4382 (ctan_test): Use ALL_RM_TEST.
4383 (ctan_tonearest_test_data): Remove.
4384 (ctan_test_tonearest): Likewise.
4385 (ctan_towardzero_test_data): Likewise.
4386 (ctan_test_towardzero): Likewise.
4387 (ctan_downward_test_data): Likewise.
4388 (ctan_test_downward): Likewise.
4389 (ctan_upward_test_data): Likewise.
4390 (ctan_test_upward): Likewise.
4391 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4392 (ctanh_test): Use ALL_RM_TEST.
4393 (ctanh_tonearest_test_data): Remove.
4394 (ctanh_test_tonearest): Likewise.
4395 (ctanh_towardzero_test_data): Likewise.
4396 (ctanh_test_towardzero): Likewise.
4397 (ctanh_downward_test_data): Likewise.
4398 (ctanh_test_downward): Likewise.
4399 (ctanh_upward_test_data): Likewise.
4400 (ctanh_test_upward): Likewise.
4401 (erf_test_data): Update call to AUTO_TESTS_f_f.
4402 (erfc_test_data): Likewise.
4403 (exp_test_data): Likewise.
4404 (exp_test): Use ALL_RM_TEST.
4405 (exp_tonearest_test_data): Remove.
4406 (exp_test_tonearest): Likewise.
4407 (exp_towardzero_test_data): Likewise.
4408 (exp_test_towardzero): Likewise.
4409 (exp_downward_test_data): Likewise.
4410 (exp_test_downward): Likewise.
4411 (exp_upward_test_data): Likewise.
4412 (exp_test_upward): Likewise.
4413 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4414 (exp10_test): Use ALL_RM_TEST.
4415 (exp10_tonearest_test_data): Remove.
4416 (exp10_test_tonearest): Likewise.
4417 (exp10_towardzero_test_data): Likewise.
4418 (exp10_test_towardzero): Likewise.
4419 (exp10_downward_test_data): Likewise.
4420 (exp10_test_downward): Likewise.
4421 (exp10_upward_test_data): Likewise.
4422 (exp10_test_upward): Likewise.
4423 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4424 (expm1_test_data): Likewise.
4425 (expm1_test): Use ALL_RM_TEST.
4426 (expm1_tonearest_test_data): Remove.
4427 (expm1_test_tonearest): Likewise.
4428 (expm1_towardzero_test_data): Likewise.
4429 (expm1_test_towardzero): Likewise.
4430 (expm1_downward_test_data): Likewise.
4431 (expm1_test_downward): Likewise.
4432 (expm1_upward_test_data): Likewise.
4433 (expm1_test_upward): Likewise.
4434 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4435 (fma_test): Use ALL_RM_TEST.
4436 (fma_towardzero_test_data): Remove.
4437 (fma_test_towardzero): Likewise.
4438 (fma_downward_test_data): Likewise.
4439 (fma_test_downward): Likewise.
4440 (fma_upward_test_data): Likewise.
4441 (fma_test_upward): Likewise.
4442 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4443 (j0_test_data): Update call to AUTO_TESTS_f_f.
4444 (j1_test_data): Likewise.
4445 (jn_test_data): Update call to AUTO_TESTS_if_f.
4446 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4447 (log_test_data): Update call to AUTO_TESTS_f_f.
4448 (log10_test_data): Likewise.
4449 (log1p_test_data): Likewise.
4450 (log2_test_data): Likewise.
4451 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4452 (pow_tonearest_test_data): Likewise.
4453 (sin_test_data): Update call to AUTO_TESTS_f_f.
4454 (sin_test): Use ALL_RM_TEST.
4455 (sin_tonearest_test_data): Remove.
4456 (sin_test_tonearest): Likewise.
4457 (sin_towardzero_test_data): Likewise.
4458 (sin_test_towardzero): Likewise.
4459 (sin_downward_test_data): Likewise.
4460 (sin_test_downward): Likewise.
4461 (sin_upward_test_data): Likewise.
4462 (sin_test_upward): Likewise.
4463 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4464 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4465 (sinh_test): Use ALL_RM_TEST.
4466 (sinh_tonearest_test_data): Remove.
4467 (sinh_test_tonearest): Likewise.
4468 (sinh_towardzero_test_data): Likewise.
4469 (sinh_test_towardzero): Likewise.
4470 (sinh_downward_test_data): Likewise.
4471 (sinh_test_downward): Likewise.
4472 (sinh_upward_test_data): Likewise.
4473 (sinh_test_upward): Likewise.
4474 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4475 (sqrt_test): Use ALL_RM_TEST.
4476 (sqrt_tonearest_test_data): Remove.
4477 (sqrt_test_tonearest): Likewise.
4478 (sqrt_towardzero_test_data): Likewise.
4479 (sqrt_test_towardzero): Likewise.
4480 (sqrt_downward_test_data): Likewise.
4481 (sqrt_test_downward): Likewise.
4482 (sqrt_upward_test_data): Likewise.
4483 (sqrt_test_upward): Likewise.
4484 (tan_test_data): Update call to AUTO_TESTS_f_f.
4485 (tan_test): Use ALL_RM_TEST.
4486 (tan_tonearest_test_data): Remove.
4487 (tan_test_tonearest): Likewise.
4488 (tan_towardzero_test_data): Likewise.
4489 (tan_test_towardzero): Likewise.
4490 (tan_downward_test_data): Likewise.
4491 (tan_test_downward): Likewise.
4492 (tan_upward_test_data): Likewise.
4493 (tan_test_upward): Likewise.
4494 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4495 (tgamma_test_data): Likewise.
4496 (y0_test_data): Likewise.
4497 (y1_test_data): Likewise.
4498 (yn_test_data): Update call to AUTO_TESTS_if_f.
4499 (main): Do not call removed functions.
4501 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4503 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4504 (ldexp_test_data): Remove.
4505 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4507 (scalb_test): Use ALL_RM_TEST.
4509 2014-03-19 Andreas Schwab <schwab@suse.de>
4511 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4513 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4518 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4519 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4520 (__ASSUME_PREADV): Undefine.
4521 (__ASSUME_PWRITEV): Likewise.
4523 2014-03-18 Roland McGrath <roland@hack.frob.com>
4525 * bits/mman-linux.h: Add comment about non-Linux use.
4526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4527 bits/mman-linux.h resting place.
4529 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4530 * bits/mman-linux.h: ... here.
4532 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4534 * conform/conformtest.pl: Add standard definition when calling C
4535 preprocessor on data files.
4536 (checknamespace): Remove unused variable.
4538 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4540 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4541 minus_oflow, plus_uflow and minus_uflow in expected results.
4542 * math/libm-test.inc (scalbn_test_data): Add more tests of
4543 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4545 (scalbn_test): Use ALL_RM_TEST.
4546 (scalbln_test_data): Add more tests of negative arguments. Use
4547 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4548 (scalbln_test): Use ALL_RM_TEST.
4550 2014-03-18 Roland McGrath <roland@hack.frob.com>
4552 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4554 2014-03-18 Will Newton <will.newton@linaro.org>
4556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4559 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4561 * Makerules [!subdir] (check-abi): Exit with error status if a
4564 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4566 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4567 for rint. Include results for all rounding modes.
4568 (nearbyint_test): Use ALL_RM_TEST.
4569 (rint_test_data): Include all tests used for nearbyint.
4571 2014-03-17 Will Newton <will.newton@linaro.org>
4573 * nptl/sysdeps/pthread/pthread.h: Revert previous
4576 * sysdeps/generic/ldsodefs.h: Revert previous
4579 * libio/genops.c: Revert previous change.
4580 * libio/libioP.h: Likewise.
4581 * stdio-common/vfprintf.c: Likewise.
4583 * sysdeps/generic/math_private.h: Revert previous
4586 * sysdeps/generic/math_private.h: Check whether
4587 HAVE_RM_CTX is defined with #ifdef rather
4590 * argp/argp-fmtstream.h: Check whether
4591 __STRICT_ANSI__ is defined with #ifdef rather
4593 * argp/argp.h: Likewise.
4595 * libio/genops.c: Check whether
4596 _IO_JUMPS_OFFSET is defined with #ifdef rather
4598 * libio/libioP.h: Likewise.
4599 * stdio-common/vfprintf.c: Likewise.
4601 * sysdeps/generic/ldsodefs.h: Check whether
4602 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4605 * nptl/sysdeps/pthread/pthread.h: Check
4606 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4609 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4611 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4613 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4617 * libio/fileops.c (_IO_file_open): Seek to end of file but
4618 don't cache the offset.
4619 (get_file_offset): Remove function.
4620 (do_ftell): Use cached offset when available.
4621 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4622 don't cache the offset.
4623 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4625 (do_one_test): Call it.
4626 (do_ftell_test): Fix up expected old offset for a+ mode.
4627 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4630 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4631 up test status with function return status.
4632 (do_write_test): Likewise.
4633 (do_append_test): Likewise.
4635 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4636 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4639 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4641 * math/gen-libm-test.pl (parse_args): Handle results specified for
4642 each rounding mode separately.
4643 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4644 tests and results from lrint_tonearest_test_data,
4645 lrint_towardzero_test_data, lrint_downward_test_data and
4646 lrint_upward_test_data.
4647 (lrint_test): Use ALL_RM_TEST.
4648 (lrint_tonearest_test_data): Remove.
4649 (lrint_test_tonearest): Likewise.
4650 (lrint_towardzero_test_data): Likewise.
4651 (lrint_test_towardzero): Likewise.
4652 (lrint_downward_test_data): Likewise.
4653 (lrint_test_downward): Likewise.
4654 (lrint_upward_test_data): Likewise.
4655 (lrint_test_upward): Likewise.
4656 (llrint_test_data): Merge in per-rounding-mode tests and results
4657 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4658 llrint_downward_test_data and llrint_upward_test_data.
4659 (llrint_test): Use ALL_RM_TEST.
4660 (llrint_tonearest_test_data): Remove.
4661 (llrint_test_tonearest): Likewise.
4662 (llrint_towardzero_test_data): Likewise.
4663 (llrint_test_towardzero): Likewise.
4664 (llrint_downward_test_data): Likewise.
4665 (llrint_test_downward): Likewise.
4666 (llrint_upward_test_data): Likewise.
4667 (llrint_test_upward): Likewise.
4668 (rint_test_data): Merge in per-rounding-mode tests and results
4669 from rint_tonearest_test_data, rint_towardzero_test_data,
4670 rint_downward_test_data and rint_upward_test_data. Add
4671 per-rounding-mode results for tests not in those arrays.
4672 (rint_test): Use ALL_RM_TEST.
4673 (rint_tonearest_test_data): Remove.
4674 (rint_test_tonearest): Likewise.
4675 (rint_towardzero_test_data): Likewise.
4676 (rint_test_towardzero): Likewise.
4677 (rint_downward_test_data): Likewise.
4678 (rint_test_downward): Likewise.
4679 (rint_upward_test_data): Likewise.
4680 (rint_test_upward): Likewise.
4681 (main): Don't call removed functions.
4683 2014-03-14 Roland McGrath <roland@hack.frob.com>
4685 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4686 "Compiled on ..." crapola. It is anti-useful.
4688 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4690 * scripts/evaluate-test.sh: Handle fourth argument to determine
4691 whether test run should stop on failure.
4692 * Makeconfig (stop-on-test-failure): New variable.
4693 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4694 $(stop-on-test-failure).
4695 * Makefile (tests): Give a summary of results from testing and
4696 exit with failure status if they include an ERROR or FAIL.
4698 * manual/install.texi (Configuring and compiling): Mention
4699 stop-on-test-failure=y.
4700 * INSTALL: Regenerated.
4702 2014-03-14 Roland McGrath <roland@hack.frob.com>
4704 * scripts/versionlist.awk: New file.
4705 * Makerules [$(build-shared) = yes]
4706 (postclean-generated): Add Versions.def, not Versions.def.v and
4708 ($(common-objpfx)Versions.def.v.i): Target removed.
4709 ($(common-objpfx)Versions.def): New target.
4710 ($(common-objpfx)Versions.all): Depend on that rather that
4711 $(common-objpfx)Versions.def.v.
4712 * Versions.def: File removed.
4714 * Makeconfig (+gccwarn): Add -Wundef.
4715 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4716 a dl-sysdep.h breaking its contract.
4717 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4718 * include/stackinfo.h: New file.
4719 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4720 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4721 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4722 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4723 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4724 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4725 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4726 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4727 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4728 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4729 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4730 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4731 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4732 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4733 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4735 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4738 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4740 * math/libm-test.inc (round_test_data): Add more tests.
4743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4745 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4748 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4750 * math/libm-test.inc (ceil_test_data): Add more tests.
4752 * math/libm-test.inc (trunc_test_data): Add more tests related to
4755 2014-03-14 Roland McGrath <roland@hack.frob.com>
4757 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4758 with #if rather than #ifdef.
4759 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4761 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4763 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4764 first. Disable AVX-512 GCC support if assembler doesn't support
4766 * sysdeps/x86_64/configure: Regenerated.
4768 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4770 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4771 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4772 (__old_pthread_attr_setstack): Likewise.
4773 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4774 [!_STACK_GROWS_DOWN]: Likewise.
4776 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4778 * config.make.in (have-bash2): Delete.
4779 * configure.ac (libc_cv_have_bash2): Delete.
4780 * configure: Regenerate.
4781 * elf/Makefile (common-ldd-rewrite): Rename to ...
4782 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4783 (sh-ldd-rewrite): Delete.
4784 (bash-ldd-rewrite): Delete.
4785 (have-bash2): Delete checks.
4786 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4789 * config.make.in (have-ksh): Delete.
4791 * configure.ac (libc_cv_have_ksh): Delete.
4792 * configure: Regenerate.
4794 * elf/Makefile: Delete $(have-ksh) check.
4795 ($(objpfx)sotruss): Change KSH to BASH.
4796 * elf/sotruss.ksh: Rename to ...
4797 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4798 function style to match POSIX. Drop ksh vim mode setting.
4800 * manual/time.texi (Specifying the Time Zone with TZ): Change
4801 Tuesday to Thursday.
4803 * debug/tst-longjmp_chk2.c: Update header comment.
4804 (stackoverflow_handler): Add comment. Call assert on pass value.
4806 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4808 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4809 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4810 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4811 (La_x86_64_vector): Add zmm.
4812 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4813 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4814 ($(objpfx)tst-audit10): New target.
4815 ($(objpfx)tst-audit10.out): Likewise.
4816 (tst-audit10-ENV): New.
4817 (AVX512-CFLAGS): Likewise.
4818 (CFLAGS-tst-audit10.c): Likewise.
4819 (CFLAGS-tst-auditmod10a.c): Likewise.
4820 (CFLAGS-tst-auditmod10b.c): Likewise.
4821 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4822 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4823 * sysdeps/x86_64/configure: Regenerated.
4824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4825 AVX-512 zmm register support.
4826 (_dl_x86_64_save_sse): Likewise.
4827 (_dl_x86_64_restore_sse): Likewise.
4828 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4829 size vector registers.
4830 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4831 (ZMM_SIZE): Likewise.
4832 * sysdeps/x86_64/tst-audit10.c: New file.
4833 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4834 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4836 2014-03-13 Roland McGrath <roland@hack.frob.com>
4838 * configure.ac (HAVE_EHDR_START): New check.
4839 * configure: Regenerated.
4840 * config.h.in (HAVE_EHDR_START): New #undef.
4841 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4842 assuming the lowest-addressed segment maps the start of the file.
4844 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4846 * INSTALL: Regenerated.
4848 2014-03-13 Will Newton <will.newton@linaro.org>
4850 * manual/setjmp.texi (System V contexts): Improve
4851 clarity and grammar of documentation.
4853 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4856 * elf/Makefile (tests): Add tst-pie2.
4857 (tests-pie): Add tst-pie2.
4858 * elf/tst-pie2.c: New file.
4859 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4861 * elf/rtld.c (map_doit): Load executable as lt_executable.
4862 (dl_main): Likewise.
4864 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4867 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4868 (__ASSUME_PSELECT): Undefine.
4870 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4873 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4874 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4876 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4877 selector for static builds.
4879 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4882 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4885 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4887 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4888 IFUNC selector for static builds.
4890 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4892 * sysdeps/mips/math_private.h [__mips_hard_float]
4893 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4894 libc_feresetround_mips_ctx.
4895 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4896 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4897 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4900 * math/s_nextafter.c (__nextafter): Do not return value from
4901 overflowing computation.
4902 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4903 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4908 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4909 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4911 2014-03-11 Roland McGrath <roland@hack.frob.com>
4913 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4914 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4915 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4916 the new mov targetting sp.
4918 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4922 Define it for static builds as well.
4923 (NO_BZERO_IMPL): Likewise.
4925 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4928 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4929 multiarch strspn for PPC64.
4930 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4931 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4933 (__libc_ifunc_impl_list): Likewise.
4934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4935 multiarch optimizations
4936 * string/strspn.c (strspn): Using macro to redefine symbol name.
4938 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4939 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4942 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4943 multiarch strncat for PPC64.
4944 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4945 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4947 (__libc_ifunc_impl_list): Likewise.
4948 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4949 multiarch optimizations
4951 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4954 * nscd/nscd.service: Make service type forking.
4956 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4959 sign in non default rounding modes.
4960 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4962 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4964 * math/libm-test.inc (ALL_RM_TEST): New macro.
4965 (ceil_test): Use ALL_RM_TEST.
4966 (cimag_test): Likewise.
4967 (conj_test): Likewise.
4968 (copysign_test): Likewise.
4969 (cproj_test): Likewise.
4970 (creal_test): Likewise.
4971 (fabs_test): Likewise.
4972 (floor_test): Likewise.
4973 (fmax_test): Likewise.
4974 (fmin_test): Likewise.
4975 (fmod_test): Likewise.
4976 (fpclassify_test): Likewise.
4977 (frexp_test): Likewise.
4978 (ilogb_test): Likewise.
4979 (isfinite_test): Likewise.
4980 (finite_test): Likewise.
4981 (isgreater_test): Likewise.
4982 (isgreaterequal_test): Likewise.
4983 (isinf_test): Likewise.
4984 (isless_test): Likewise.
4985 (islessequal_test): Likewise.
4986 (islessgreater_test): Likewise.
4987 (isnan_test): Likewise.
4988 (isnormal_test): Likewise.
4989 (issignaling_test): Likewise.
4990 (isunordered_test): Likewise.
4991 (logb_test): Likewise.
4992 (logb_downward_test_data): Remove.
4993 (logb_test_downward): Likewise.
4994 (lround_test): Use ALL_RM_TEST.
4995 (llround_test): Likewise.
4996 (modf_test): Likewise.
4997 (nexttoward_test): Likewise.
4998 (remainder_test): Likewise.
4999 (drem_test): Likewise.
5000 (remainder_tonearest_test_data): Likewise.
5001 (remainder_test_tonearest): Likewise.
5002 (drem_test_tonearest): Likewise.
5003 (remainder_towardzero_test_data): Likewise.
5004 (remainder_test_towardzero): Likewise.
5005 (drem_test_towardzero): Likewise.
5006 (remainder_downward_test_data): Likewise.
5007 (remainder_test_downward): Likewise.
5008 (drem_test_downward): Likewise.
5009 (remainder_upward_test_data): Likewise.
5010 (remainder_test_upward): Likewise.
5011 (drem_test_upward): Likewise.
5012 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5013 (round_test): Use ALL_RM_TEST.
5014 (signbit_test): Likewise.
5015 (trunc_test): Likewise.
5016 (significand_test): Likewise.
5017 (main): Don't call removed functions.
5019 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5022 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5024 (ILL_ILLOPN): Likewise.
5025 (ILL_ILLADR): Likewise.
5026 (ILL_ILLTRP): Likewise.
5027 (ILL_PRVOPC): Likewise.
5028 (ILL_PRVREG): Likewise.
5029 (ILL_COPROC): Likewise.
5030 (ILL_BADSTK): Likewise.
5031 (FPE_INTDIV): Likewise.
5032 (FPE_INTOVF): Likewise.
5033 (FPE_FLTDIV): Likewise.
5034 (FPE_FLTOVF): Likewise.
5035 (FPE_FLTUND): Likewise.
5036 (FPE_FLTRES): Likewise.
5037 (FPE_FLTINV): Likewise.
5038 (FPE_FLTSUB): Likewise.
5039 (SEGV_MAPERR): Likewise.
5040 (SEGV_ACCERR): Likewise.
5041 (BUS_ADRALN): Likewise.
5042 (BUS_ADRERR): Likewise.
5043 (BUS_OBJERR): Likewise.
5044 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5045 (TRAP_TRACE): Likewise.
5046 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5048 (CLD_KILLED): Likewise.
5049 (CLD_DUMPED): Likewise.
5050 (CLD_TRAPPED): Likewise.
5051 (CLD_STOPPED): Likewise.
5052 (CLD_CONTINUED): Likewise.
5053 (POLL_IN): Likewise.
5054 (POLL_OUT): Likewise.
5055 (POLL_MSG): Likewise.
5056 (POLL_ERR): Likewise.
5057 (POLL_PRI): Likewise.
5058 (POLL_HUP): Likewise.
5059 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5061 (ILL_ILLOPN): Likewise.
5062 (ILL_ILLADR): Likewise.
5063 (ILL_ILLTRP): Likewise.
5064 (ILL_PRVOPC): Likewise.
5065 (ILL_PRVREG): Likewise.
5066 (ILL_COPROC): Likewise.
5067 (ILL_BADSTK): Likewise.
5068 (FPE_INTDIV): Likewise.
5069 (FPE_INTOVF): Likewise.
5070 (FPE_FLTDIV): Likewise.
5071 (FPE_FLTOVF): Likewise.
5072 (FPE_FLTUND): Likewise.
5073 (FPE_FLTRES): Likewise.
5074 (FPE_FLTINV): Likewise.
5075 (FPE_FLTSUB): Likewise.
5076 (SEGV_MAPERR): Likewise.
5077 (SEGV_ACCERR): Likewise.
5078 (BUS_ADRALN): Likewise.
5079 (BUS_ADRERR): Likewise.
5080 (BUS_OBJERR): Likewise.
5081 (BUS_MCEERR_AR): Likewise.
5082 (BUS_MCEERR_AO): Likewise.
5083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5084 (TRAP_TRACE): Likewise.
5085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5087 (CLD_KILLED): Likewise.
5088 (CLD_DUMPED): Likewise.
5089 (CLD_TRAPPED): Likewise.
5090 (CLD_STOPPED): Likewise.
5091 (CLD_CONTINUED): Likewise.
5092 (POLL_IN): Likewise.
5093 (POLL_OUT): Likewise.
5094 (POLL_MSG): Likewise.
5095 (POLL_ERR): Likewise.
5096 (POLL_PRI): Likewise.
5097 (POLL_HUP): Likewise.
5098 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5099 (ILL_ILLOPN): Likewise.
5100 (ILL_ILLADR): Likewise.
5101 (ILL_ILLTRP): Likewise.
5102 (ILL_PRVOPC): Likewise.
5103 (ILL_PRVREG): Likewise.
5104 (ILL_COPROC): Likewise.
5105 (ILL_BADSTK): Likewise.
5106 (FPE_INTDIV): Likewise.
5107 (FPE_INTOVF): Likewise.
5108 (FPE_FLTDIV): Likewise.
5109 (FPE_FLTOVF): Likewise.
5110 (FPE_FLTUND): Likewise.
5111 (FPE_FLTRES): Likewise.
5112 (FPE_FLTINV): Likewise.
5113 (FPE_FLTSUB): Likewise.
5114 (SEGV_MAPERR): Likewise.
5115 (SEGV_ACCERR): Likewise.
5116 (BUS_ADRALN): Likewise.
5117 (BUS_ADRERR): Likewise.
5118 (BUS_OBJERR): Likewise.
5119 (BUS_MCEERR_AR): Likewise.
5120 (BUS_MCEERR_AO): Likewise.
5121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5122 (TRAP_TRACE): Likewise.
5123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5125 (CLD_KILLED): Likewise.
5126 (CLD_DUMPED): Likewise.
5127 (CLD_TRAPPED): Likewise.
5128 (CLD_STOPPED): Likewise.
5129 (CLD_CONTINUED): Likewise.
5130 (POLL_IN): Likewise.
5131 (POLL_OUT): Likewise.
5132 (POLL_MSG): Likewise.
5133 (POLL_ERR): Likewise.
5134 (POLL_PRI): Likewise.
5135 (POLL_HUP): Likewise.
5136 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5138 (ILL_ILLOPN): Likewise.
5139 (ILL_ILLADR): Likewise.
5140 (ILL_ILLTRP): Likewise.
5141 (ILL_PRVOPC): Likewise.
5142 (ILL_PRVREG): Likewise.
5143 (ILL_COPROC): Likewise.
5144 (ILL_BADSTK): Likewise.
5145 (ILL_BADIADDR): Likewise.
5146 (ILL_BREAK): Likewise.
5147 (FPE_INTDIV): Likewise.
5148 (FPE_INTOVF): Likewise.
5149 (FPE_FLTDIV): Likewise.
5150 (FPE_FLTOVF): Likewise.
5151 (FPE_FLTUND): Likewise.
5152 (FPE_FLTRES): Likewise.
5153 (FPE_FLTINV): Likewise.
5154 (FPE_FLTSUB): Likewise.
5155 (FPE_DECOVF): Likewise.
5156 (FPE_DECDIV): Likewise.
5157 (FPE_DECERR): Likewise.
5158 (FPE_INVASC): Likewise.
5159 (FPE_INVDEC): Likewise.
5160 (SEGV_MAPERR): Likewise.
5161 (SEGV_ACCERR): Likewise.
5162 (SEGV_PSTKOVF): Likewise.
5163 (BUS_ADRALN): Likewise.
5164 (BUS_ADRERR): Likewise.
5165 (BUS_OBJERR): Likewise.
5166 (BUS_MCEERR_AR): Likewise.
5167 (BUS_MCEERR_AO): Likewise.
5168 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5169 (TRAP_TRACE): Likewise.
5170 (TRAP_BRANCH): Likewise.
5171 (TRAP_HWBKPT): Likewise.
5172 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5174 (CLD_KILLED): Likewise.
5175 (CLD_DUMPED): Likewise.
5176 (CLD_TRAPPED): Likewise.
5177 (CLD_STOPPED): Likewise.
5178 (CLD_CONTINUED): Likewise.
5179 (POLL_IN): Likewise.
5180 (POLL_OUT): Likewise.
5181 (POLL_MSG): Likewise.
5182 (POLL_ERR): Likewise.
5183 (POLL_PRI): Likewise.
5184 (POLL_HUP): Likewise.
5185 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5186 (ILL_ILLOPN): Likewise.
5187 (ILL_ILLADR): Likewise.
5188 (ILL_ILLTRP): Likewise.
5189 (ILL_PRVOPC): Likewise.
5190 (ILL_PRVREG): Likewise.
5191 (ILL_COPROC): Likewise.
5192 (ILL_BADSTK): Likewise.
5193 (FPE_INTDIV): Likewise.
5194 (FPE_INTOVF): Likewise.
5195 (FPE_FLTDIV): Likewise.
5196 (FPE_FLTOVF): Likewise.
5197 (FPE_FLTUND): Likewise.
5198 (FPE_FLTRES): Likewise.
5199 (FPE_FLTINV): Likewise.
5200 (FPE_FLTSUB): Likewise.
5201 (SEGV_MAPERR): Likewise.
5202 (SEGV_ACCERR): Likewise.
5203 (BUS_ADRALN): Likewise.
5204 (BUS_ADRERR): Likewise.
5205 (BUS_OBJERR): Likewise.
5206 (BUS_MCEERR_AR): Likewise.
5207 (BUS_MCEERR_AO): Likewise.
5208 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5209 (TRAP_TRACE): Likewise.
5210 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5212 (CLD_KILLED): Likewise.
5213 (CLD_DUMPED): Likewise.
5214 (CLD_TRAPPED): Likewise.
5215 (CLD_STOPPED): Likewise.
5216 (CLD_CONTINUED): Likewise.
5217 (POLL_IN): Likewise.
5218 (POLL_OUT): Likewise.
5219 (POLL_MSG): Likewise.
5220 (POLL_ERR): Likewise.
5221 (POLL_PRI): Likewise.
5222 (POLL_HUP): Likewise.
5223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5224 (ILL_ILLOPN): Likewise.
5225 (ILL_ILLADR): Likewise.
5226 (ILL_ILLTRP): Likewise.
5227 (ILL_PRVOPC): Likewise.
5228 (ILL_PRVREG): Likewise.
5229 (ILL_COPROC): Likewise.
5230 (ILL_BADSTK): Likewise.
5231 (FPE_INTDIV): Likewise.
5232 (FPE_INTOVF): Likewise.
5233 (FPE_FLTDIV): Likewise.
5234 (FPE_FLTOVF): Likewise.
5235 (FPE_FLTUND): Likewise.
5236 (FPE_FLTRES): Likewise.
5237 (FPE_FLTINV): Likewise.
5238 (FPE_FLTSUB): Likewise.
5239 (SEGV_MAPERR): Likewise.
5240 (SEGV_ACCERR): Likewise.
5241 (BUS_ADRALN): Likewise.
5242 (BUS_ADRERR): Likewise.
5243 (BUS_OBJERR): Likewise.
5244 (BUS_MCEERR_AR): Likewise.
5245 (BUS_MCEERR_AO): Likewise.
5246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5247 (TRAP_TRACE): Likewise.
5248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5250 (CLD_KILLED): Likewise.
5251 (CLD_DUMPED): Likewise.
5252 (CLD_TRAPPED): Likewise.
5253 (CLD_STOPPED): Likewise.
5254 (CLD_CONTINUED): Likewise.
5255 (POLL_IN): Likewise.
5256 (POLL_OUT): Likewise.
5257 (POLL_MSG): Likewise.
5258 (POLL_ERR): Likewise.
5259 (POLL_PRI): Likewise.
5260 (POLL_HUP): Likewise.
5261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5262 (ILL_ILLOPN): Likewise.
5263 (ILL_ILLADR): Likewise.
5264 (ILL_ILLTRP): Likewise.
5265 (ILL_PRVOPC): Likewise.
5266 (ILL_PRVREG): Likewise.
5267 (ILL_COPROC): Likewise.
5268 (ILL_BADSTK): Likewise.
5269 (FPE_INTDIV): Likewise.
5270 (FPE_INTOVF): Likewise.
5271 (FPE_FLTDIV): Likewise.
5272 (FPE_FLTOVF): Likewise.
5273 (FPE_FLTUND): Likewise.
5274 (FPE_FLTRES): Likewise.
5275 (FPE_FLTINV): Likewise.
5276 (FPE_FLTSUB): Likewise.
5277 (SEGV_MAPERR): Likewise.
5278 (SEGV_ACCERR): Likewise.
5279 (BUS_ADRALN): Likewise.
5280 (BUS_ADRERR): Likewise.
5281 (BUS_OBJERR): Likewise.
5282 (BUS_MCEERR_AR): Likewise.
5283 (BUS_MCEERR_AO): Likewise.
5284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5285 (TRAP_TRACE): Likewise.
5286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5288 (CLD_KILLED): Likewise.
5289 (CLD_DUMPED): Likewise.
5290 (CLD_TRAPPED): Likewise.
5291 (CLD_STOPPED): Likewise.
5292 (CLD_CONTINUED): Likewise.
5293 (POLL_IN): Likewise.
5294 (POLL_OUT): Likewise.
5295 (POLL_MSG): Likewise.
5296 (POLL_ERR): Likewise.
5297 (POLL_PRI): Likewise.
5298 (POLL_HUP): Likewise.
5299 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5300 (ILL_ILLOPN): Likewise.
5301 (ILL_ILLADR): Likewise.
5302 (ILL_ILLTRP): Likewise.
5303 (ILL_PRVOPC): Likewise.
5304 (ILL_PRVREG): Likewise.
5305 (ILL_COPROC): Likewise.
5306 (ILL_BADSTK): Likewise.
5307 (ILL_DBLFLT): Likewise.
5308 (ILL_HARDWALL): Likewise.
5309 (FPE_INTDIV): Likewise.
5310 (FPE_INTOVF): Likewise.
5311 (FPE_FLTDIV): Likewise.
5312 (FPE_FLTOVF): Likewise.
5313 (FPE_FLTUND): Likewise.
5314 (FPE_FLTRES): Likewise.
5315 (FPE_FLTINV): Likewise.
5316 (FPE_FLTSUB): Likewise.
5317 (SEGV_MAPERR): Likewise.
5318 (SEGV_ACCERR): Likewise.
5319 (BUS_ADRALN): Likewise.
5320 (BUS_ADRERR): Likewise.
5321 (BUS_OBJERR): Likewise.
5322 (BUS_MCEERR_AR): Likewise.
5323 (BUS_MCEERR_AO): Likewise.
5324 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5325 (TRAP_TRACE): Likewise.
5326 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5328 (CLD_KILLED): Likewise.
5329 (CLD_DUMPED): Likewise.
5330 (CLD_TRAPPED): Likewise.
5331 (CLD_STOPPED): Likewise.
5332 (CLD_CONTINUED): Likewise.
5333 (POLL_IN): Likewise.
5334 (POLL_OUT): Likewise.
5335 (POLL_MSG): Likewise.
5336 (POLL_ERR): Likewise.
5337 (POLL_PRI): Likewise.
5338 (POLL_HUP): Likewise.
5339 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5340 (ILL_ILLOPN): Likewise.
5341 (ILL_ILLADR): Likewise.
5342 (ILL_ILLTRP): Likewise.
5343 (ILL_PRVOPC): Likewise.
5344 (ILL_PRVREG): Likewise.
5345 (ILL_COPROC): Likewise.
5346 (ILL_BADSTK): Likewise.
5347 (FPE_INTDIV): Likewise.
5348 (FPE_INTOVF): Likewise.
5349 (FPE_FLTDIV): Likewise.
5350 (FPE_FLTOVF): Likewise.
5351 (FPE_FLTUND): Likewise.
5352 (FPE_FLTRES): Likewise.
5353 (FPE_FLTINV): Likewise.
5354 (FPE_FLTSUB): Likewise.
5355 (SEGV_MAPERR): Likewise.
5356 (SEGV_ACCERR): Likewise.
5357 (BUS_ADRALN): Likewise.
5358 (BUS_ADRERR): Likewise.
5359 (BUS_OBJERR): Likewise.
5360 (BUS_MCEERR_AR): Likewise.
5361 (BUS_MCEERR_AO): Likewise.
5362 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5363 (TRAP_TRACE): Likewise.
5364 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5366 (CLD_KILLED): Likewise.
5367 (CLD_DUMPED): Likewise.
5368 (CLD_TRAPPED): Likewise.
5369 (CLD_STOPPED): Likewise.
5370 (CLD_CONTINUED): Likewise.
5371 (POLL_IN): Likewise.
5372 (POLL_OUT): Likewise.
5373 (POLL_MSG): Likewise.
5374 (POLL_ERR): Likewise.
5375 (POLL_PRI): Likewise.
5376 (POLL_HUP): Likewise.
5377 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5378 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5381 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5382 before #include of <time.h>.
5383 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5384 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5385 (test-xfail-UNIX98/sched.h/conform): Likewise.
5387 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5389 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5390 error absence of trapping exception support.
5391 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5393 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5395 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5396 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5397 * timezone/Makefile (testdata): Move definition above include of
5399 (test-zones): New variable.
5400 (tests-special): Add zone files.
5401 (build-testdata): Use $(evaluate-test).
5403 * elf/Makefile (tests-special): Rename tests to end with .out.
5404 ($(objpfx)noload-mem): Likewise.
5405 ($(objpfx)tst-leaks1-mem): Likewise.
5406 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5407 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5408 $(objpfx)test-iconvconfig.out.
5409 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5410 set -e inside subshell and redirect output to file.
5411 * iconvdata/Makefile (generated): Rename tests to end with .out.
5413 (tests-special): Rename tests to end with .out.
5414 ($(objpfx)mtrace-tst-loading): Likewise.
5415 * intl/Makefile (generated): Likewise.
5416 (tests-special): Likewise.
5417 ($(objpfx)mtrace-tst-gettext): Likewise.
5418 * misc/Makefile (generated): Likewise.
5419 (tests-special): Likewise.
5420 ($(objpfx)tst-error1-mem): Likewise.
5421 * nptl/Makefile (tests-special): Likewise.
5422 ($(objpfx)tst-stack3-mem): Likewise.
5423 (generated): Likewise.
5424 * posix/Makefile (generated): Likewise.
5425 (tests-special): Likewise.
5426 (xtests-special): Likewise.
5427 ($(objpfx)tst-fnmatch-mem): Likewise.
5428 ($(objpfx)bug-regex2-mem): Likewise.
5429 ($(objpfx)bug-regex14-mem): Likewise.
5430 ($(objpfx)bug-regex21-mem): Likewise.
5431 ($(objpfx)bug-regex31-mem): Likewise.
5432 ($(objpfx)tst-vfork3-mem): Likewise.
5433 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5434 ($(objpfx)tst-pcre-mem): Likewise.
5435 ($(objpfx)tst-boost-mem): Likewise.
5436 ($(objpfx)bug-ga2-mem): Likewise.
5437 ($(objpfx)bug-glob2-mem): Likewise.
5438 * resolv/Makefile (generate): Likewise.
5439 (tests-special): Likewise.
5440 (xtests-special): Likewise.
5441 (generated): Likewise.
5442 ($(objpfx)mtrace-tst-leaks): Likewise.
5443 ($(objpfx)mtrace-tst-leaks2): Likewise.
5445 * scripts/merge-test-results.sh: New file.
5446 * Makefile (tests-special-notdir): New variable.
5447 (tests): Run merge-test-results.sh.
5449 * Rules (tests-special-notdir): New variable.
5450 (xtests-special-notdir): Likewise.
5451 (tests): Run merge-test-results.sh
5454 * Makeconfig (test-xfail-name): New variable.
5455 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5456 compute variable name for expected failures.
5457 * conform/Makefile (conformtest-headers-data): New variable.
5458 (conformtest-standards): Likewise.
5459 (conformtest-headers-ISO): Likewise.
5460 (conformtest-headers-ISO99): Likewise.
5461 (conformtest-headers-ISO11): Likewise.
5462 (conformtest-headers-POSIX): Likewise.
5463 (conformtest-headers-XPG3): Likewise.
5464 (conformtest-headers-XPG4): Likewise.
5465 (conformtest-headers-UNIX98): Likewise.
5466 (conformtest-headers-XOPEN2K): Likewise.
5467 (conformtest-headers-POSIX2008): Likewise.
5468 (conformtest-headers-XOPEN2K8): Likewise.
5469 (conformtest-header-list-base): Likewise.
5470 (conformtest-header-list-tests): Likewise.
5471 (conformtest-header-base): Likewise.
5472 (conformtest-header-tests): Likewise.
5473 (tests-special): Add $(conformtest-header-list-tests). If
5474 [$(fast-check) && !$(cross-compiling)], add
5475 $(conformtest-header-tests) instead of
5476 $(objpfx)run-conformtest.out.
5477 (generated): Add $(conformtest-header-list-base). If
5478 [$(fast-check) && !$(cross-compiling)], add
5479 $(conformtest-header-base). Remove previous setting.
5480 ($(conformtest-header-list-tests)): New target.
5481 (test-xfail-run-conformtest): Remove variable.
5482 ($(objpfx)run-conformtest.out): Remove target.
5483 (test-xfail-ISO11/complex.h/conform): New variable.
5484 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5485 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5486 (test-xfail-XPG3/varargs.h/conform): Likewise.
5487 (test-xfail-XPG4/varargs.h/conform): Likewise.
5488 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5489 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5490 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5491 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5492 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5493 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5494 (test-xfail-XPG3/ftw.h/conform): Likewise.
5495 (test-xfail-XPG3/grp.h/conform): Likewise.
5496 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5497 (test-xfail-XPG3/limits.h/conform): Likewise.
5498 (test-xfail-XPG3/pwd.h/conform): Likewise.
5499 (test-xfail-XPG3/search.h/conform): Likewise.
5500 (test-xfail-XPG3/signal.h/conform): Likewise.
5501 (test-xfail-XPG3/stdio.h/conform): Likewise.
5502 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5503 (test-xfail-XPG3/string.h/conform): Likewise.
5504 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5505 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5506 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5507 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5508 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5509 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5510 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5511 (test-xfail-XPG3/termios.h/conform): Likewise.
5512 (test-xfail-XPG3/time.h/conform): Likewise.
5513 (test-xfail-XPG3/unistd.h/conform): Likewise.
5514 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5515 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5516 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5517 (test-xfail-XPG4/netdb.h/conform): Likewise.
5518 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5519 (test-xfail-XPG4/signal.h/conform): Likewise.
5520 (test-xfail-XPG4/stdio.h/conform): Likewise.
5521 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5522 (test-xfail-XPG4/stropts.h/conform): Likewise.
5523 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5524 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5525 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5526 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5527 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5528 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5529 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5530 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5531 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5532 (test-xfail-XPG4/termios.h/conform): Likewise.
5533 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5534 (test-xfail-XPG4/unistd.h/conform): Likewise.
5535 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5536 (test-xfail-POSIX/sched.h/conform): Likewise.
5537 (test-xfail-POSIX/signal.h/conform): Likewise.
5538 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5539 (test-xfail-POSIX/tar.h/conform): Likewise.
5540 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5541 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5542 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5543 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5544 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5545 (test-xfail-UNIX98/sched.h/conform): Likewise.
5546 (test-xfail-UNIX98/signal.h/conform): Likewise.
5547 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5548 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5549 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5550 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5551 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5552 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5553 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5554 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5555 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5556 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5557 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5558 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5559 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5560 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5561 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5562 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5563 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5564 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5565 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5566 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5567 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5568 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5569 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5570 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5571 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5572 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5573 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5574 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5575 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5576 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5577 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5578 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5579 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5580 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5581 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5582 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5583 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5584 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5585 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5586 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5587 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5588 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5589 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5590 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5591 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5592 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5593 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5594 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5595 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5596 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5597 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5598 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5599 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5600 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5601 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5602 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5603 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5604 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5605 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5606 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5607 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5608 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5609 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5610 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5611 (conformtest-cc-flags): Likewise.
5612 ($(conformtest-header-tests): New target.
5613 * conform/check-header-lists.sh: New file.
5614 * conform/run-conformtest.sh: Remove.
5616 * conform/conformtest.pl: Allow ' and \ in values given for
5618 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5620 [POSIX] (sys/types.h): Likewise.
5621 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5623 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5625 * conform/data/signal.h-data (SIGIO): Remove expectation.
5626 [XPG3] (SIGBUS): Do not expect.
5627 [POSIX || XPG3] (SIGPOLL): Likewise.
5628 [POSIX || XPG3] (SIGPROF): Likewise.
5629 [POSIX || XPG3] (SIGSYS): Likewise.
5630 [XPG3] (SIGTRAP): Likewise.
5631 [POSIX || XPG3] (SIGURG): Likewise.
5632 [POSIX || XPG3] (SIGVTALRM): Likewise.
5633 [POSIX || XPG3] (SIGXCPU): Likewise.
5634 [POSIX || XPG3] (SIGXFSZ): Likewise.
5635 [POSIX] (SA_SIGINFO): Expect.
5636 [XPG3] (siginfo_t): Do not expect type or contents.
5637 [POSIX] (si_pid): Do not expect element.
5638 [POSIX] (si_uid): Likewise.
5639 [POSIX] (si_addr): Likewise.
5640 [POSIX] (si_status): Likewise.
5641 [POSIX] (si_band): Likewise.
5642 [XPG4] (si_value): Likewise.
5643 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5644 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5645 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5646 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5647 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5648 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5649 [POSIX || XPG3] (ILL_COPROC): Likewise.
5650 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5651 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5652 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5653 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5654 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5655 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5656 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5657 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5658 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5659 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5660 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5661 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5662 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5663 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5664 [POSIX || XPG3] (CLD_EXITED): Likewise.
5665 [POSIX || XPG3] (CLD_KILLED): Likewise.
5666 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5667 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5668 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5669 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5670 [POSIX || XPG3] (POLL_IN): Likewise.
5671 [POSIX || XPG3] (POLL_OUT): Likewise.
5672 [POSIX || XPG3] (POLL_MSG): Likewise.
5673 [POSIX || XPG3] (POLL_ERR): Likewise.
5674 [POSIX || XPG3] (POLL_PRI): Likewise.
5675 [POSIX || XPG3] (POLL_HUP): Likewise.
5676 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5677 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5678 (SIG*): Do not allow.
5679 [XPG3] (si_*): Likewise.
5680 [XPG3] (SI_*): Likewise.
5681 [XPG3 || XPG4] (sigev_*): Likewise.
5682 [XPG3 || XPG4] (SIGEV_*): Likewise.
5683 [XPG3 || XPG4] (sival_*): Likewise.
5684 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5685 [POSIX || XPG3] (BUS_*): Likewise.
5686 [POSIX || XPG3] (CLD_*): Likewise.
5687 [POSIX || XPG3] (FPE_*): Likewise.
5688 [POSIX || XPG3] (ILL_*): Likewise.
5689 [POSIX || XPG3] (POLL_*): Likewise.
5690 [POSIX || XPG3] (SEGV_*): Likewise.
5691 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5692 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5693 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5694 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5695 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5696 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5697 Specify type and value.
5698 (TVERSLEN): Likewise.
5699 (REGTYPE): Likewise.
5700 (AREGTYPE): Likewise.
5701 (LNKTYPE): Likewise.
5702 (SYMTYPE): Likewise.
5703 (CHRTYPE): Likewise.
5704 (BLKTYPE): Likewise.
5705 (DIRTYPE): Likewise.
5706 (FIFOTYPE): Likewise.
5707 (CONTTYPE): Likewise.
5712 (TUWRITE): Likewise.
5715 (TGWRITE): Likewise.
5718 (TOWRITE): Likewise.
5720 [POSIX] (TSVTX): Expect constant.
5722 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5724 * Makefile (tests): Change dependencies to ....
5725 (tests-special): ... additions to this variable.
5726 (tests): Depend on $(tests-special).
5727 * Makerules (check-abi-list): New variable.
5728 (check-abi): Depend on $(check-abi-list).
5729 [$(subdir) = elf] (tests-special): Add
5730 $(objpfx)check-abi-libc.out.
5731 [$(build-shared) = yes && subdir] (tests-special): Add
5733 [$(build-shared) = yes && subdir] (tests): Do not depend on
5735 * Rules (tests): Depend on $(tests-special).
5736 (xtests): Depend on $(xtests-special).
5737 * catgets/Makefile (tests): Change dependencies to ....
5738 (tests-special): ... additions to this variable.
5739 * conform/Makefile (tests): Change dependencies to ....
5740 (tests-special): ... additions to this variable.
5741 * elf/Makefile (tests): Change dependencies to ....
5742 (tests-special): ... additions to this variable.
5743 * grp/Makefile (tests): Change dependencies to ....
5744 (tests-special): ... additions to this variable.
5745 * iconv/Makefile (xtests): Change dependencies to ....
5746 (xtests-special): ... additions to this variable.
5747 * iconvdata/Makefile (tests): Change dependencies to ....
5748 (tests-special): ... additions to this variable.
5749 * intl/Makefile (tests): Change dependencies to ....
5750 (tests-special): ... additions to this variable. Also add
5751 $(objpfx)tst-gettext.out.
5752 * io/Makefile (tests): Change dependencies to ....
5753 (tests-special): ... additions to this variable.
5754 * libio/Makefile (tests): Change dependencies to ....
5755 (tests-special): ... additions to this variable.
5756 * malloc/Makefile (tests): Change dependencies to ....
5757 (tests-special): ... additions to this variable.
5758 * misc/Makefile (tests): Change dependencies to ....
5759 (tests-special): ... additions to this variable.
5760 * nptl/Makefile (tests): Change dependencies to ....
5761 (tests-special): ... additions to this variable.
5762 * nptl_db/Makefile (tests): Change dependencies to ....
5763 (tests-special): ... additions to this variable.
5764 * posix/Makefile (tests): Change dependencies to ....
5765 (tests-special): ... additions to this variable.
5766 (xtests): Change dependencies to ....
5767 (xtests-special): ... additions to this variable.
5768 * resolv/Makefile (tests): Change dependencies to ....
5769 (tests-special): ... additions to this variable.
5770 (xtests): Change dependencies to ....
5771 (xtests-special): ... additions to this variable.
5772 * stdio-common/Makefile (tests): Change dependencies to ....
5773 (tests-special): ... additions to this variable.
5774 (do-tst-unbputc): Remove target.
5775 (do-tst-printf): Likewise.
5776 * stdlib/Makefile (tests): Change dependencies to ....
5777 (tests-special): ... additions to this variable.
5778 * string/Makefile (tests): Change dependencies to ....
5779 (tests-special): ... additions to this variable.
5780 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5781 (tests-special): ... additions to this variable.
5783 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5785 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5787 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5788 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5790 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5791 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5792 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5793 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5794 * conform/data/libgen.h-data [XPG3]: Likewise.
5795 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5796 * conform/data/ndbm.h-data [XPG3]: Likewise.
5797 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5798 * conform/data/netdb.h-data [XPG3]: Likewise.
5799 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5800 * conform/data/poll.h-data [XPG3]: Likewise.
5801 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5802 * conform/data/strings.h-data [XPG3]: Likewise.
5803 * conform/data/stropts.h-data [XPG3]: Likewise.
5804 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5805 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5806 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5808 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5809 * conform/data/sys/time.h-data [XPG3]: Likewise.
5810 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5811 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5812 * conform/data/sys/un.h-data [XPG3]: Likewise.
5813 * conform/data/syslog.h-data [XPG3]: Likewise.
5814 * conform/data/ucontext.h-data [XPG3]: Likewise.
5815 * conform/data/utmpx.h-data [XPG3]: Likewise.
5816 * conform/data/varargs.h-data [UNIX98]: Enable file.
5818 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5820 * math/libm-test.inc (struct test_f_f_data): Move expected results
5821 into structure for each rounding mode.
5822 (struct test_ff_f_data): Likewise.
5823 (struct test_ff_f_data_nexttoward): Likewise.
5824 (struct test_fi_f_data): Likewise.
5825 (struct test_fl_f_data): Likewise.
5826 (struct test_if_f_data): Likewise.
5827 (struct test_fff_f_data): Likewise.
5828 (struct test_c_f_data): Likewise.
5829 (struct test_f_f1_data): Likewise.
5830 (struct test_fF_f1_data): Likewise.
5831 (struct test_ffI_f1_data): Likewise.
5832 (struct test_c_c_data): Likewise.
5833 (struct test_cc_c_data): Likewise.
5834 (struct test_f_i_data): Likewise.
5835 (struct test_ff_i_data): Likewise.
5836 (struct test_f_l_data): Likewise.
5837 (struct test_f_L_data): Likewise.
5838 (struct test_fFF_11_data): Likewise.
5840 (RM_FE_DOWNWARD): Likewise.
5841 (RM_FE_TONEAREST): Likewise.
5842 (RM_FE_TOWARDZERO): Likewise.
5843 (RM_FE_UPWARD): Likewise.
5844 (RUN_TEST_LOOP_f_f): Update references to expected results.
5845 (RUN_TEST_LOOP_2_f): Likewise.
5846 (RUN_TEST_LOOP_fff_f): Likewise.
5847 (RUN_TEST_LOOP_c_f): Likewise.
5848 (RUN_TEST_LOOP_f_f1): Likewise.
5849 (RUN_TEST_LOOP_fF_f1): Likewise.
5850 (RUN_TEST_LOOP_fI_f1): Likewise.
5851 (RUN_TEST_LOOP_ffI_f1): Likewise.
5852 (RUN_TEST_LOOP_c_c): Likewise.
5853 (RUN_TEST_LOOP_cc_c): Likewise.
5854 (RUN_TEST_LOOP_f_i): Likewise.
5855 (RUN_TEST_LOOP_f_i_tg): Likewise.
5856 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5857 (RUN_TEST_LOOP_f_b): Likewise.
5858 (RUN_TEST_LOOP_f_b_tg): Likewise.
5859 (RUN_TEST_LOOP_f_l): Likewise.
5860 (RUN_TEST_LOOP_f_L): Likewise.
5861 (RUN_TEST_LOOP_fFF_11): Likewise.
5862 * math/gen-libm-test.pl (parse_args): Output four copies of
5863 expected results for each test.
5865 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5866 (__ASSUME_UTIMES): Remove.
5867 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5868 (__ASSUME_UTIMES): Likewise.
5870 * math/gen-auto-libm-tests.c: Update comment on output format.
5871 (output_for_one_input_case): Generate before-rounding and
5872 after-rounding information as conditions on output flags not
5873 floating-point format.
5874 * math/auto-libm-test-out: Regenerated.
5875 * math/gen-libm-test.pl (cond_value): New function.
5876 (or_cond_value): Use cond_value.
5877 (generate_testfile): Handle conditional exceptions.
5879 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5881 * math/libm-test.inc (max_valid_error): New variable.
5882 (init_max_error): Take new argument specifying whether function
5883 results are exactly determined. Set max_valid_error and bound
5884 other variables for errors based on this argument.
5885 (set_max_error): Do not record results above max_valid_error.
5886 (check_float_internal): Only accept errors of up to 0.5ulps if
5887 also at most max_valid_error.
5888 (START): Take new argument EXACT and pass it to init_max_error.
5889 (acos_test): Update call to START.
5890 (acos_test_tonearest): Likewise.
5891 (acos_test_towardzero): Likewise.
5892 (acos_test_downward): Likewise.
5893 (acos_test_upward): Likewise.
5894 (acosh_test): Likewise.
5895 (asin_test): Likewise.
5896 (asin_test_tonearest): Likewise.
5897 (asin_test_towardzero): Likewise.
5898 (asin_test_downward): Likewise.
5899 (asin_test_upward): Likewise.
5900 (asinh_test): Likewise.
5901 (atan_test): Likewise.
5902 (atanh_test): Likewise.
5903 (atan2_test): Likewise.
5904 (cabs_test): Likewise.
5905 (cacos_test): Likewise.
5906 (cacosh_test): Likewise.
5907 (carg_test): Likewise.
5908 (casin_test): Likewise.
5909 (casinh_test): Likewise.
5910 (catan_test): Likewise.
5911 (catanh_test): Likewise.
5912 (cbrt_test): Likewise.
5913 (ccos_test): Likewise.
5914 (ccosh_test): Likewise.
5915 (ceil_test): Likewise.
5916 (cexp_test): Likewise.
5917 (cimag_test): Likewise.
5918 (clog_test): Likewise.
5919 (clog10_test): Likewise.
5920 (conj_test): Likewise.
5921 (copysign_test): Likewise.
5922 (cos_test): Likewise.
5923 (cos_test_tonearest): Likewise.
5924 (cos_test_towardzero): Likewise.
5925 (cos_test_downward): Likewise.
5926 (cos_test_upward): Likewise.
5927 (cosh_test): Likewise.
5928 (cosh_test_tonearest): Likewise.
5929 (cosh_test_towardzero): Likewise.
5930 (cosh_test_downward): Likewise.
5931 (cosh_test_upward): Likewise.
5932 (cpow_test): Likewise.
5933 (cproj_test): Likewise.
5934 (creal_test): Likewise.
5935 (csin_test): Likewise.
5936 (csinh_test): Likewise.
5937 (csqrt_test): Likewise.
5938 (ctan_test): Likewise.
5939 (ctan_test_tonearest): Likewise.
5940 (ctan_test_towardzero): Likewise.
5941 (ctan_test_downward): Likewise.
5942 (ctan_test_upward): Likewise.
5943 (ctanh_test): Likewise.
5944 (ctanh_test_tonearest): Likewise.
5945 (ctanh_test_towardzero): Likewise.
5946 (ctanh_test_downward): Likewise.
5947 (ctanh_test_upward): Likewise.
5948 (erf_test): Likewise.
5949 (erfc_test): Likewise.
5950 (exp_test): Likewise.
5951 (exp_test_tonearest): Likewise.
5952 (exp_test_towardzero): Likewise.
5953 (exp_test_downward): Likewise.
5954 (exp_test_upward): Likewise.
5955 (exp10_test): Likewise.
5956 (exp10_test_tonearest): Likewise.
5957 (exp10_test_towardzero): Likewise.
5958 (exp10_test_downward): Likewise.
5959 (exp10_test_upward): Likewise.
5960 (pow10_test): Likewise.
5961 (exp2_test): Likewise.
5962 (expm1_test): Likewise.
5963 (expm1_test_tonearest): Likewise.
5964 (expm1_test_towardzero): Likewise.
5965 (expm1_test_downward): Likewise.
5966 (expm1_test_upward): Likewise.
5967 (fabs_test): Likewise.
5968 (fdim_test): Likewise.
5969 (floor_test): Likewise.
5970 (fma_test): Likewise.
5971 (fma_test_towardzero): Likewise.
5972 (fma_test_downward): Likewise.
5973 (fma_test_upward): Likewise.
5974 (fmax_test): Likewise.
5975 (fmin_test): Likewise.
5976 (fmod_test): Likewise.
5977 (fpclassify_test): Likewise.
5978 (frexp_test): Likewise.
5979 (hypot_test): Likewise.
5980 (ilogb_test): Likewise.
5981 (isfinite_test): Likewise.
5982 (finite_test): Likewise.
5983 (isgreater_test): Likewise.
5984 (isgreaterequal_test): Likewise.
5985 (isinf_test): Likewise.
5986 (isless_test): Likewise.
5987 (islessequal_test): Likewise.
5988 (islessgreater_test): Likewise.
5989 (isnan_test): Likewise.
5990 (isnormal_test): Likewise.
5991 (issignaling_test): Likewise.
5992 (isunordered_test): Likewise.
5993 (j0_test): Likewise.
5994 (j1_test): Likewise.
5995 (jn_test): Likewise.
5996 (ldexp_test): Likewise.
5997 (lgamma_test): Likewise.
5998 (gamma_test): Likewise.
5999 (lrint_test): Likewise.
6000 (lrint_test_tonearest): Likewise.
6001 (lrint_test_towardzero): Likewise.
6002 (lrint_test_downward): Likewise.
6003 (lrint_test_upward): Likewise.
6004 (llrint_test): Likewise.
6005 (llrint_test_tonearest): Likewise.
6006 (llrint_test_towardzero): Likewise.
6007 (llrint_test_downward): Likewise.
6008 (llrint_test_upward): Likewise.
6009 (log_test): Likewise.
6010 (log10_test): Likewise.
6011 (log1p_test): Likewise.
6012 (log2_test): Likewise.
6013 (logb_test): Likewise.
6014 (logb_test_downward): Likewise.
6015 (lround_test): Likewise.
6016 (llround_test): Likewise.
6017 (modf_test): Likewise.
6018 (nearbyint_test): Likewise.
6019 (nextafter_test): Likewise.
6020 (nexttoward_test): Likewise.
6021 (pow_test): Likewise.
6022 (pow_test_tonearest): Likewise.
6023 (pow_test_towardzero): Likewise.
6024 (pow_test_downward): Likewise.
6025 (pow_test_upward): Likewise.
6026 (remainder_test): Likewise.
6027 (drem_test): Likewise.
6028 (remainder_test_tonearest): Likewise.
6029 (drem_test_tonearest): Likewise.
6030 (remainder_test_towardzero): Likewise.
6031 (drem_test_towardzero): Likewise.
6032 (remainder_test_downward): Likewise.
6033 (drem_test_downward): Likewise.
6034 (remainder_test_upward): Likewise.
6035 (drem_test_upward): Likewise.
6036 (remquo_test): Likewise.
6037 (rint_test): Likewise.
6038 (rint_test_tonearest): Likewise.
6039 (rint_test_towardzero): Likewise.
6040 (rint_test_downward): Likewise.
6041 (rint_test_upward): Likewise.
6042 (round_test): Likewise.
6043 (scalb_test): Likewise.
6044 (scalbn_test): Likewise.
6045 (scalbln_test): Likewise.
6046 (signbit_test): Likewise.
6047 (sin_test): Likewise.
6048 (sin_test_tonearest): Likewise.
6049 (sin_test_towardzero): Likewise.
6050 (sin_test_downward): Likewise.
6051 (sin_test_upward): Likewise.
6052 (sincos_test): Likewise.
6053 (sinh_test): Likewise.
6054 (sinh_test_tonearest): Likewise.
6055 (sinh_test_towardzero): Likewise.
6056 (sinh_test_downward): Likewise.
6057 (sinh_test_upward): Likewise.
6058 (sqrt_test): Likewise.
6059 (sqrt_test_tonearest): Likewise.
6060 (sqrt_test_towardzero): Likewise.
6061 (sqrt_test_downward): Likewise.
6062 (sqrt_test_upward): Likewise.
6063 (tan_test): Likewise.
6064 (tan_test_tonearest): Likewise.
6065 (tan_test_towardzero): Likewise.
6066 (tan_test_downward): Likewise.
6067 (tan_test_upward): Likewise.
6068 (tanh_test): Likewise.
6069 (tgamma_test): Likewise.
6070 (trunc_test): Likewise.
6071 (y0_test): Likewise.
6072 (y1_test): Likewise.
6073 (yn_test): Likewise.
6074 (significand_test): Likewise.
6076 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6077 individual tests in comment.
6078 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6079 (prev_max_error): New variable.
6080 (prev_real_max_error): Likewise.
6081 (prev_imag_max_error): Likewise.
6082 (compare_ulp_data): Don't refer to test names in comment.
6083 (find_test_ulps): Remove function.
6084 (find_function_ulps): Likewise.
6085 (find_complex_function_ulps): Likewise.
6086 (init_max_error): Take function name as argument. Look up ulps
6088 (print_ulps): Remove function.
6089 (print_max_error): Use prev_max_error instead of calling
6091 (print_complex_max_error): Use prev_real_max_error and
6092 prev_imag_max_error instead of calling find_complex_function_ulps.
6093 (check_float_internal): Take max_ulp parameter instead of calling
6094 find_test_ulps. Don't call print_ulps.
6095 (check_float): Update call to check_float_internal.
6096 (check_complex): Update calls to check_float_internal.
6097 (START): Pass argument to init_max_error.
6098 * math/gen-libm-test.pl (%results): Don't include "kind"
6100 (parse_ulps): Don't handle ulps of individual tests.
6101 (print_ulps_file): Likewise.
6102 (output_ulps): Likewise.
6103 * math/README.libm-test: Update.
6104 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6106 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6107 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6108 * sysdeps/arm/libm-test-ulps: Likewise.
6109 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6110 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6111 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6112 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6113 * sysdeps/microblaze/libm-test-ulps: Likewise.
6114 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6115 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6116 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6117 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6118 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6119 * sysdeps/sh/libm-test-ulps: Likewise.
6120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6121 * sysdeps/tile/libm-test-ulps: Likewise.
6122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6124 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6126 * math/libm-test.inc (print_complex_max_error): Check separately
6127 whether real and imaginary errors are within allowed range and
6128 pass 0 to print_complex_function_ulps instead of value within
6131 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6133 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6135 (get_handles_fopen): Likewise.
6136 (do_write_test): Likewise.
6138 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6140 * libio/fileops.c (do_ftell): Use cached offset when
6142 * libio/iofwide.c (do_ftell_wide): Likewise.
6143 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6145 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6148 * libio/libioP.h (get_file_offset): New function.
6149 * libio/fileops.c (get_file_offset): Likewise.
6150 (do_ftell): Likewise.
6151 (_IO_new_file_seekoff): Split out ftell logic.
6152 * libio/wfileops.c (do_ftell_wide): Likewise.
6153 (_IO_wfile_seekoff): Split out ftell logic.
6154 * libio/tst-ftell-active-handler.c: New test case.
6155 * libio/Makefile (tests): Add it.
6157 2014-03-03 Roland McGrath <roland@hack.frob.com>
6159 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6160 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6162 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6165 * nscd/connections.c (nscd_init): Call do_exit.
6166 (start_threads): Call do_exit and notify_parent.
6167 (begin_drop_privileges): Call do_exit.
6168 (finish_drop_privileges): Likewise.
6169 * nscd/selinux.c (preserve_capabilities): Likewise.
6170 (install_real_capabilities): Likewise.
6171 (nscd_selinux_enabled): Likewise.
6172 (avc_create_thread): Likewise.
6173 (avc_alloc_lock): Likewise.
6174 (nscd_avc_init): Likewise.
6175 * nscd/nscd.c (parent_fd): New static variable.
6176 (main): Create a pipe between parent and child processes.
6177 Skip closing parent_fd.
6178 (monitor_child): New function.
6179 (do_exit): Likewise.
6180 (notify_parent): Likewise.
6181 * nscd/nscd.h (notify_parent): Likewise.
6182 (do_exit): Likewise.
6184 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6186 * malloc/malloc.c (__libc_calloc): Revert last change.
6188 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6192 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6194 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6198 (__libc_ifunc_impl_list): Likewise.
6199 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6202 * string/strrchr.c: Define STRRCHR.
6204 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6206 * benchtest/bench-strtok.c (simple_strtok): Delete.
6207 (strtok_string): Use as benchmark.
6208 * string/strtok (STRTOK): New macro.
6210 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6212 * manual/threads.texi: Add header and standard comments to all
6215 * elf/dl-lookup.c (check_match): New function.
6216 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6217 (do_lookup_x): Remove nested function check_match. Use non-nested
6218 function check_match.
6220 2014-02-28 Roland McGrath <roland@hack.frob.com>
6222 * csu/Makefile (generated, before-compile): Use += rather than =.
6223 * catgets/Makefile (generated, generated-dirs): Likewise.
6224 * debug/Makefile (generated): Likewise.
6225 * dlfcn/Makefile (generated): Likewise.
6226 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6227 * iconvdata/Makefile (before-compile, generated): Likewise.
6228 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6229 * libio/Makefile (generated): Likewise.
6230 * malloc/Makefile (generated): Likewise.
6231 * manual/Makefile (generated, generated-dirs): Likewise.
6232 * misc/Makefile (generated): Likewise.
6233 * posix/Makefile (generated): Likewise.
6234 * resolv/Makefile (generated): Likewise.
6235 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6236 * timezone/Makefile (generated, generated-dirs): Likewise.
6238 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6240 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6243 power8 implementation.
6244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6245 file: POWER8 llround ifunc implementation.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6247 (__lllround): Add POWER8 implementation.
6248 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6249 POWER8 llround implementation.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6252 power8 implementation.
6253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6254 file: POWER8 llrint ifunc implementation.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6256 Add POWER8 implementation.
6257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6258 POWER8 llrint implementation.
6260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6261 power8 implementation.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6263 file: POWER8 finite ifunc implementation.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6265 Add POWER8 implementation.
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6269 POWER8 finite implementation.
6270 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6273 power8 implementation.
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6275 file: POWER8 isinf ifunc implementation.
6276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6277 POWER8 implementation.
6278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6280 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6281 isinf implementation.
6282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6285 (INIT_ARCH): Add hwcap2 initialization.
6286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6287 power8 implementation.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6289 file: POWER8 isnan ifunc implementation.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6291 POWER8 implementation.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6294 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6295 isnan implementation.
6296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6298 2014-02-27 Joey Ye <joey.ye@arm.com>
6300 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6301 (_FP_NANFRAC_Q): Set to zero.
6303 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6306 * math/auto-libm-test-in: New test inputs.
6307 * math/auto-libm-test-out: Regenerate.
6308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6311 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6313 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6315 * scripts/evaluate-test.sh: Take new argument indicating whether
6316 failure is expected.
6317 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6318 indicating whether failure is expected.
6319 * conform/Makefile (test-xfail-run-conformtest): New variable.
6320 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6322 * posix/Makefile (test-xfail-annexc): New variable.
6323 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6325 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6327 * argp/Makefile: Include Makeconfig immediately after defining
6329 * assert/Makefile: Likewise.
6330 * benchtests/Makefile: Likewise.
6331 * catgets/Makefile: Likewise.
6332 * conform/Makefile: Likewise.
6333 * crypt/Makefile: Likewise.
6334 * csu/Makefile: Likewise.
6335 (all): Remove target.
6336 * ctype/Makefile: Include Makeconfig immediately after defining
6338 * debug/Makefile: Likewise.
6339 * dirent/Makefile: Likewise.
6340 * dlfcn/Makefile: Likewise.
6341 * gmon/Makefile: Likewise.
6342 * gnulib/Makefile: Likewise.
6343 * grp/Makefile: Likewise.
6344 * gshadow/Makefile: Likewise.
6345 * hesiod/Makefile: Likewise.
6346 * hurd/Makefile: Likewise.
6347 (all): Remove target.
6348 * iconvdata/Makefile: Include Makeconfig immediately after
6350 * inet/Makefile: Likewise.
6351 * intl/Makefile: Likewise.
6352 * io/Makefile: Likewise.
6353 * libio/Makefile: Likewise.
6354 (all): Remove target.
6355 * locale/Makefile: Include Makeconfig immediately after defining
6357 * login/Makefile: Likewise.
6358 * mach/Makefile: Likewise.
6359 (all): Remove target.
6360 * malloc/Makefile: Include Makeconfig immediately after defining
6362 (all): Remove target.
6363 * manual/Makefile: Include Makeconfig immediately after defining
6365 * math/Makefile: Likewise.
6366 * misc/Makefile: Likewise.
6367 * nis/Makefile: Likewise.
6368 * nss/Makefile: Likewise.
6369 * po/Makefile: Likewise.
6370 (all): Remove target.
6371 * posix/Makefile: Include Makeconfig immediately after defining
6373 * pwd/Makefile: Likewise.
6374 * resolv/Makefile: Likewise.
6375 * resource/Makefile: Likewise.
6376 * rt/Makefile: Likewise.
6377 * setjmp/Makefile: Likewise.
6378 * shadow/Makefile: Likewise.
6379 * signal/Makefile: Likewise.
6380 * socket/Makefile: Likewise.
6381 * soft-fp/Makefile: Likewise.
6382 * stdio-common/Makefile: Likewise.
6383 * stdlib/Makefile: Likewise.
6384 * streams/Makefile: Likewise.
6385 * string/Makefile: Likewise.
6386 * sunrpc/Makefile: Likewise.
6387 (all): Remove target.
6388 * sysvipc/Makefile: Include Makeconfig immediately after defining
6390 * termios/Makefile: Likewise.
6391 * time/Makefile: Likewise.
6392 * timezone/Makefile: Likewise.
6393 (all): Remove target.
6394 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6396 * wctype/Makefile: Likewise.
6398 2014-02-26 Steve Ellcey <sellcey@mips.com>
6400 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6401 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6402 (libc_feholdexcept_setround_mips): Ditto.
6403 (libc_feholdsetround): New.
6404 (libc_feholdsetroundf): New.
6405 (libc_feholdsetroundl): New.
6406 (libc_feupdateenv_test_mips): New.
6407 (libc_feupdateenv_test): New.
6408 (libc_feupdateenv_testf): New.
6409 (libc_feupdateenv_testl): New.
6410 (libc_feresetround): New.
6411 (libc_feresetroundf): New.
6412 (libc_feresetroundl): New.
6413 (libc_fetestexcept_mips): New.
6414 (libc_fetestexcept): New.
6415 (libc_fetestexceptf): New.
6416 (libc_fetestexceptl): New.
6418 (libc_feholdexcept_setround_mips_ctx): New.
6419 (libc_feholdexcept_setround_ctx): New.
6420 (libc_feholdexcept_setroundf_ctx): New.
6421 (libc_feholdexcept_setroundl_ctx): New.
6422 (libc_fesetenv_mips_ctx): New.
6423 (libc_fesetenv_ctx): New.
6424 (libc_fesetenv_ctxf): New.
6425 (libc_fesetenv_ctxl): New.
6426 (libc_feupdateenv_mips_ctx): New.
6427 (libc_feupdateenv_ctx): New.
6428 (libc_feupdateenvf_ctx): New.
6429 (libc_feupdateenvl_ctx): New.
6430 (libc_feholdsetround_mips_ctx): New.
6431 (libc_feholdsetround_ctx): New.
6432 (libc_feholdsetroundf_ctx): New.
6433 (libc_feholdsetroundl_ctx): New.
6434 (libc_feresetround_mips_ctx): New.
6435 (libc_feresetround_ctx): New.
6436 (libc_feresetroundf_ctx): New.
6437 (libc_feresetroundl_ctx): New.
6439 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6441 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6443 * manual/ipc.texi: New file.
6444 * manual/Makefile (chapters): Add ipc.
6445 * manual/job.texi: Add "Inter-Process Communication" to next.
6446 * manual/process.texi: Add "Inter-Process Communication" to prev.
6448 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6452 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6454 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6456 * manual/arith.texi: Fix spaces after sentences.
6457 * manual/charset.texi: Likewise.
6458 * manual/errno.texi: Likewise.
6459 * manual/install.texi: Likewise.
6460 * manual/llio.texi: Likewise.
6461 * manual/locale.texi: Likewise.
6462 * manual/maint.texi: Likewise.
6463 * manual/math.texi: Likewise.
6464 * manual/memory.texi: Likewise.
6465 * manual/message.texi: Likewise.
6466 * manual/probes.texi: Likewise.
6467 * manual/resource.texi: Likewise.
6468 * manual/signal.texi: Likewise.
6469 * manual/socket.texi: Likewise.
6470 * manual/stdio.texi: Likewise.
6471 * manual/string.texi: Likewise.
6472 * manual/time.texi: Likewise.
6473 * manual/users.texi: Likewise.
6475 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6478 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6479 _DEFAULT_SOURCE is defined.
6481 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6482 Carlos O'Donell <carlos@redhat.com>
6485 * elf/dl-tls.c (_dl_count_modids): New function.
6486 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6487 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6488 audit library and increment generation counter.
6489 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6490 * elf/tst-audit9.c: New file.
6491 * elf/tst-auditmod9a.c: New file.
6492 * elf/tst-auditmod9b.c: New file.
6493 * elf/Makefile: Add rules to build and run tst-audit9.
6495 2014-02-25 Florian Weimer <fweimer@redhat.com>
6498 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6500 2014-02-25 Will Newton <will.newton@linaro.org>
6502 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6503 (__longjmp): Restore sp and lr before restoring callee
6504 saved registers. Add longjmp and longjmp_target
6505 SystemTap probe point.
6506 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6507 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6508 Define to zero to match jmpbuf layout.
6509 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6510 (__sigsetjmp): Save sp and lr before saving callee
6511 saved registers. Add setjmp SystemTap probe point.
6513 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6515 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6517 2014-02-24 Andreas Schwab <schwab@suse.de>
6520 * elf/pldd.c (wait_for_ptrace_stop): New function.
6521 (main): Call it after attaching.
6523 2014-02-22 Roland McGrath <roland@hack.frob.com>
6525 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6526 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6527 Versions files is now verboten.
6528 * hurd/Versions (libc: GLIBC_2.0):
6529 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6530 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6531 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6532 * mach/Versions: Likewise.
6534 * csu/Versions: Remove unused %include.
6535 * resolv/Versions: Likewise.
6537 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6539 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6540 ($(objpfx)check-local-headers.out): Likewise.
6541 ($(objpfx)begin-end-check.out): Likewise.
6542 * Makerules (check-abi-%.out): Likewise.
6543 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6544 ($(objpfx)test2.cat): Likewise.
6545 ($(objpfx)de/libc.cat): Likewise.
6546 ($(objpfx)test-gencat.out): Likewise.
6547 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6548 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6549 ($(objpfx)noload-mem): Likewise.
6550 ($(objpfx)tst-pathopt.out): Likewise.
6551 ($(objpfx)tst-rtld-load-self.out): Likewise.
6552 ($(objpfx)tst-array1-cmp.out): Likewise.
6553 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6554 ($(objpfx)tst-array2-cmp.out): Likewise.
6555 ($(objpfx)tst-array3-cmp.out): Likewise.
6556 ($(objpfx)tst-array4-cmp.out): Likewise.
6557 ($(objpfx)tst-array5-cmp.out): Likewise.
6558 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6559 ($(objpfx)check-textrel.out): Likewise.
6560 ($(objpfx)check-execstack.out): Likewise.
6561 ($(objpfx)check-localplt.out): Likewise.
6562 ($(objpfx)order2-cmp.out): Likewise.
6563 ($(objpfx)tst-leaks1-mem): Likewise.
6564 ($(objpfx)tst-leaks1-static-mem): Likewise.
6565 ($(objpfx)tst-initorder-cmp.out): Likewise.
6566 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6567 ($(objpfx)tst-unused-dep.out): Likewise.
6568 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6569 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6570 * iconv/Makefile (test-iconvconfig): Likewise.
6571 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6572 ($(objpfx)iconv-test.out): Likewise.
6573 ($(objpfx)tst-tables.out): Likewise.
6574 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6575 ($(objpfx)tst-gettext.out): Likewise.
6576 ($(objpfx)tst-translit.out): Likewise.
6577 ($(objpfx)tst-gettext2.out): Likewise.
6578 ($(objpfx)tst-gettext4.out): Likewise.
6579 ($(objpfx)tst-gettext6.out): Likewise.
6580 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6581 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6582 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6583 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6584 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6585 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6586 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6587 ($(objpfx)wordexp-tst.out): Likewise.
6588 ($(objpfx)annexc.out): Likewise.
6589 ($(objpfx)tst-fnmatch-mem): Likewise.
6590 ($(objpfx)bug-regex2-mem): Likewise.
6591 ($(objpfx)bug-regex14-mem): Likewise.
6592 ($(objpfx)bug-regex21-mem): Likewise.
6593 ($(objpfx)bug-regex31-mem): Likewise.
6594 ($(objpfx)tst-vfork3-mem): Likewise.
6595 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6596 ($(objpfx)tst-pcre-mem): Likewise.
6597 ($(objpfx)tst-boost-mem): Likewise.
6598 ($(objpfx)tst-getconf.out): Likewise.
6599 ($(objpfx)bug-ga2-mem): Likewise.
6600 ($(objpfx)bug-glob2-mem): Likewise.
6601 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6602 ($(objpfx)mtrace-tst-leaks2): Likewise.
6603 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6604 ($(objpfx)tst-printf.out): Likewise.
6605 ($(objpfx)tst-setvbuf1.out): Likewise.
6606 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6607 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6608 ($(objpfx)tst-fmtmsg.out): Likewise.
6609 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6610 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6612 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6613 * bits/sigaction.h [__USE_MISC]: Likewise.
6614 * bits/waitstatus.h: Update #endif comments.
6615 * ctype/ctype.h: Likewise.
6616 * dirent/dirent.h: Likewise.
6617 [__USE_MISC]: Remove redundant conditionals.
6618 * grp/grp.h: Update #endif comments.
6619 [__USE_GNU]: Remove redundant conditionals.
6620 [__USE_MISC]: Likewise.
6621 * inet/netinet/in.h [__USE_GNU]: Likewise.
6622 * io/sys/stat.h [__USE_MISC]: Likewise.
6623 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6624 * libio/bits/stdio.h: Update #endif comments.
6625 [__USE_MISC]: Remove redundant conditionals.
6626 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6627 * libio/stdio.h: Update #endif comments.
6628 [__USE_MISC]: Remove redundant conditionals.
6629 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6630 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6631 * math/math.h: Update #else and #endif comments.
6632 [__USE_MISC]: Remove redundant conditionals.
6633 * misc/sys/uio.h: Update #endif comments.
6634 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6635 * posix/glob.h [__USE_MISC]: Likewise.
6636 * posix/sys/types.h: Update #endif comments.
6637 [__USE_MISC]: Remove redundant conditionals.
6638 * posix/sys/wait.h: Update #endif comments.
6639 [__USE_MISC]: Remove redundant conditionals.
6640 * posix/unistd.h: Update #endif comments.
6641 [__USE_MISC]: Remove redundant conditionals.
6642 * pwd/pwd.h [__USE_GNU]: Likewise.
6643 [__USE_MISC]: Likewise.
6644 * resolv/netdb.h [__USE_GNU]: Likewise.
6645 * signal/signal.h: Update #endif comments.
6646 [__USE_MISC]: Remove redundant conditionals.
6647 * stdlib/stdlib.h: Update #else and #endif comments.
6648 [__USE_MISC]: Remove redundant conditionals.
6649 [__USE_GNU]: Likewise.
6650 * string/bits/string2.h [__USE_MISC]: Likewise.
6651 * string/string.h: Update #endif comments.
6652 [__USE_MISC]: Remove redundant conditionals.
6653 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6655 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6656 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6657 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6659 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6663 [__USE_MISC]: Remove redundant conditionals.
6664 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6665 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6666 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6667 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6668 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6670 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6671 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6673 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6674 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6676 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6678 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6681 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6683 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6684 * sysdeps/x86/bits/string.h: Update #endif comments.
6685 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6687 * time/sys/time.h: Update #endif comments.
6688 * time/time.h: Likewise.
6689 [__USE_MISC]: Remove redundant conditionals.
6691 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6694 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6696 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6698 * Versions.def (librt): Add GLIBC_2.17.
6700 2014-02-21 Adam Conrad <adconrad@0c3.net>
6702 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6703 synonym for _SYS_AUXV_H to allow direct inclusion.
6704 * sysdeps/sparc/bits/hwcap.h: Likewise.
6705 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6706 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6707 * sysdeps/sparc/sysdep.h: Likewise.
6709 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6711 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6713 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6715 * benchtests/bench-strrchr.c: Print length instead of position.
6717 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6720 * sysdeps/unix/sysv/linux/kernel-features.h
6721 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6722 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6723 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6724 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6726 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6727 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6728 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6729 (__ASSUME_SENDMMSG): Define instead of using previous
6730 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6731 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6732 (__ASSUME_SENDMMSG_SYSCALL): Define.
6733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6734 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6736 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6739 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6740 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6742 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6743 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6744 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6745 [__ASSUME_SENDMMSG]: Change conditionals to
6746 [__ASSUME_SENDMMSG_SOCKETCALL].
6747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6748 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6750 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6751 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6753 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6754 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6755 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6756 [!__ASSUME_SENDMMSG]: Change conditional to
6757 [!__ASSUME_SENDMMSG_SOCKETCALL].
6758 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6759 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6763 * sysdeps/unix/sysv/linux/kernel-features.h
6764 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6765 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6766 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6767 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6768 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6769 [__i386__ || __sparc__]
6770 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6771 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6772 (__ASSUME_RECVMMSG): Define instead of using previous
6773 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6774 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6775 (__ASSUME_RECVMMSG_SYSCALL): Define.
6776 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6777 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6779 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6785 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6786 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6787 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6788 [__ASSUME_RECVMMSG]: Change condition to
6789 [__ASSUME_RECVMMSG_SOCKETCALL].
6790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6791 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6793 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6794 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6797 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6798 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6799 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6800 [!__ASSUME_RECVMMSG]: Change condition to
6801 [!__ASSUME_RECVMMSG_SOCKETCALL].
6802 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6803 (__ASSUME_RECVMMSG_SYSCALL): Define.
6806 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6807 __powerpc__ || __s390__ || __sh__ || __sparc__]
6808 (__ASSUME_SOCKETCALL): Define.
6809 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6810 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6811 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6812 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6813 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6814 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6815 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6816 (__ASSUME_ACCEPT4): Define instead of using previous
6817 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6818 __powerpc__ || __sparc__ || __s390__)] condition.
6819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6820 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6821 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6822 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6823 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6824 [!__ASSUME_ACCEPT4]: Change condition to
6825 [!__ASSUME_ACCEPT4_SOCKETCALL].
6826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6827 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6828 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6830 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6831 __ASSUME_ACCEPT4_SYSCALL.
6832 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6833 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6835 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6836 __ASSUME_ACCEPT4_SYSCALL.
6837 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6838 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6839 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6840 [__ASSUME_ACCEPT4]: Change condition to
6841 [__ASSUME_ACCEPT4_SOCKETCALL].
6842 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6843 (__ASSUME_SOCKETCALL): Define.
6844 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6846 (__ASSUME_SOCKETCALL): Define.
6847 (__ASSUME_ACCEPT4): Remove.
6848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6850 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6851 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6853 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6854 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6856 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6858 (HWCAP_ARM_LPAE): Likewise.
6859 (HWCAP_ARM_EVTSTRM): Likewise.
6860 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6861 Add vpfd32, lpae and evtstrm.
6862 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6865 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6867 * math/auto-libm-test-in: Add tests of clog10.
6868 * math/auto-libm-test-out: Regenerated.
6869 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6870 * sysdeps/i386/fpu/libm-test-ulps: Update.
6871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6873 2014-02-18 Andreas Schwab <schwab@suse.de>
6876 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6877 Store non-zero if the second buffer was newly allocated.
6878 (send_dg): Likewise.
6879 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6880 to send_vc and send_dg.
6881 (res_nsend): Pass NULL for ansp2_malloced.
6882 * resolv/res_query.c (__libc_res_nquery): Add parameter
6883 answerp2_malloced and pass it down to __libc_res_nsend.
6884 (res_nquery): Pass additional NULL to __libc_res_nquery.
6885 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6886 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6887 second answer buffer if answerp2_malloced was set.
6888 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6889 (__libc_res_nquerydomain): Add parameter
6890 answerp2_malloced and pass it down to __libc_res_nquery.
6891 (res_nquerydomain): Pass additional NULL to
6892 __libc_res_nquerydomain.
6893 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6894 additional NULL to __libc_res_nsend and __libc_res_nquery.
6895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6896 additional NULL to __libc_res_nsearch.
6897 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6898 parameter of __libc_res_nsearch to check for separately allocated
6900 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6902 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6903 additional NULL to __libc_res_nquery.
6904 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6906 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6907 * include/resolv.h: Update prototypes of __libc_res_nquery,
6908 __libc_res_nsearch, __libc_res_nsend.
6910 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6912 * math/auto-libm-test-in: Add tests of fma.
6913 * math/auto-libm-test-out: Regenerated.
6914 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6915 (fma_towardzero_test_data): Likewise.
6916 (fma_downward_test_data): Likewise.
6917 (fma_upward_test_data): Likewise.
6918 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6920 (rounding_modes): Add values for new field.
6921 (func_calc_method): Add value mpfr_fff_f.
6922 (func_calc_desc): Add mpfr_fff_f union field.
6923 (test_function): Add field exact_args.
6924 (FUNC): Add macro argument EXACT_ARGS.
6925 (FUNC_mpfr_f_f): Update call to FUNC.
6926 (FUNC_mpfr_f_f): Likewise.
6927 (FUNC_mpfr_ff_f): Likewise.
6928 (FUNC_mpfr_if_f): Likewise.
6929 (FUNC_mpc_c_f): Likewise.
6930 (FUNC_mpc_c_c): Likewise.
6931 (test_functions): Add fma. Update calls to FUNC.
6932 (handle_input_arg): Add argument exact_args.
6933 (add_test): Update call to handle_input_arg.
6934 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6935 (output_for_one_input_case): Update call to calc_generic_results.
6936 Recalculate exact zero results in each rounding mode.
6938 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6939 non-negative before setting low bit.
6940 * math/auto-libm-test-in: Mark one asin test possibly having
6942 * math/auto-libm-test-out: Regenerated.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6948 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6949 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6950 ports/sysdeps/unix/sysv/linux/microblaze.
6951 * README: Add missing listing for microblaze*-*-linux-gnu.
6953 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6955 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6956 * sysdeps/unix/sysv/linux/ia64: Move directory from
6957 ports/sysdeps/unix/sysv/linux/ia64.
6958 * README: Update listing for ia64-*-linux-gnu.
6960 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6961 Joseph Myers <joseph@codesourcery.com>
6963 * Makeconfig (test-name): New variable.
6964 (evaluate-test): Likewise.
6965 * Makerules (do-test-clean): Remove .test-result files.
6966 (common-mostlyclean): Likewise.
6967 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6968 * scripts/evaluate-test.sh: New file.
6970 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6972 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6973 separate $(objpfx)tst-fopenloc-cmp.out and
6974 $(objpfx)tst-fopenloc-mem.out targets.
6975 (tests): Update dependencies.
6976 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6977 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6978 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6979 (tst-rxspencer-no-utf8-ARGS): New variable.
6980 (tst-rxspencer-no-utf8-ENV): Likewise.
6981 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6982 instead of $(objpfx)tst-rxspencer-mem.
6983 ($(objpfx)tst-rxspencer-mem): Change target to
6984 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6985 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6986 * posix/tst-rxspencer-no-utf8.c: New file.
6988 * elf/Makefile ($(objpfx)order.out): Remove rule.
6989 [$(run-built-tests) = yes] (tests): Depend on
6990 $(objpfx)order-cmp.out.
6991 ($(objpfx)order-cmp.out): New rule.
6992 [$(run-built-tests) = yes] (tests): Depend on
6993 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6994 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6995 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6996 $(objpfx)tst-array5-static-cmp.out.
6997 ($(objpfx)tst-array1.out): Remove rule.
6998 ($(objpfx)tst-array1-cmp.out): New rule.
6999 ($(objpfx)tst-array1-static.out): Remove rule.
7000 ($(objpfx)tst-array1-static-cmp.out): New rule.
7001 ($(objpfx)tst-array2.out): Remove rule.
7002 ($(objpfx)tst-array2-cmp.out): New rule.
7003 ($(objpfx)tst-array3.out): Remove rule.
7004 ($(objpfx)tst-array3-cmp.out): New rule.
7005 ($(objpfx)tst-array4.out): Remove rule.
7006 ($(objpfx)tst-array4-cmp.out): New rule.
7007 ($(objpfx)tst-array5.out): Remove rule.
7008 ($(objpfx)tst-array5-cmp.out): New rule.
7009 ($(objpfx)tst-array5-static.out): Remove rule.
7010 ($(objpfx)tst-array5-static-cmp.out): New rule.
7011 [$(run-built-tests) = yes] (tests): Depend on
7012 $(objpfx)order2-cmp.out.
7013 ($(objpfx)order2.out): Remove rule.
7014 ($(objpfx)order2-cmp.out): New rule.
7015 ($(objpfx)tst-initorder.out): Remove rule.
7016 [$(run-built-tests) = yes] (tests): Depend on
7017 $(objpfx)tst-initorder-cmp.out.
7018 ($(objpfx)tst-initorder-cmp.out): New rule.
7019 ($(objpfx)tst-initorder2.out): Remove rule.
7020 [$(run-built-tests) = yes] (tests): Depend on
7021 $(objpfx)tst-initorder2-cmp.out.
7022 ($(objpfx)tst-initorder2-cmp.out): New rule.
7023 [$(run-built-tests) = yes] (tests): Depend on
7024 $(objpfx)tst-unused-dep-cmp.out.
7025 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7026 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7027 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7028 on $(objpfx)tst-setvbuf1-cmp.out.
7029 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7030 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7031 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7032 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7033 ($(objpfx)tst-svc.out): Remove rule.
7034 ($(objpfx)tst-svc-cmp.out): New rule.
7036 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7038 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7039 * ctype/ctype.h [__USE_MISC]: Likewise.
7040 * dirent/dirent.h [__USE_MISC]: Likewise.
7041 * grp/grp.h [__USE_MISC]: Likewise.
7042 * io/fcntl.h [__USE_MISC]: Likewise.
7043 * io/sys/stat.h [__USE_MISC]: Likewise.
7044 * libio/stdio.h [__USE_MISC]: Likewise.
7045 * posix/unistd.h [__USE_MISC]: Likewise.
7046 * pwd/pwd.h [__USE_MISC]: Likewise.
7047 * stdlib.h [__USE_MISC]: Likewise.
7048 * string/bits/string2.h [__USE_MISC]: Likewise.
7049 * string/string.h [__USE_MISC]: Likewise.
7050 * time/time.h [__USE_MISC]: Likewise.
7052 2014-02-13 Andreas Schwab <schwab@suse.de>
7055 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7056 second answer buffer if it was separately allocated.
7058 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7060 * sysdeps/mips/math-tests.h: Include <features.h>.
7061 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7062 (ROUNDING_TESTS_long_double): Do not define.
7063 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7064 (EXCEPTION_TESTS_long_double): Likewise.
7065 * sysdeps/mips/mips64/libm-test-ulps: Update.
7067 * include/features.h (__USE_BSD): Remove macro definitions.
7068 (__USE_SVID): Likewise.
7069 (_BSD_SOURCE): Likewise.
7070 (_SVID_SOURCE): Likewise.
7071 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7072 from definition of _DEFAULT_SOURCE.
7073 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7075 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7076 * bits/mman.h [__USE_BSD]: Likewise.
7077 * bits/termios.h [__USE_BSD]: Likewise.
7078 * bits/waitstatus.h [__USE_BSD]: Likewise.
7079 * ctype/ctype.h [__USE_SVID]: Likewise.
7080 * dirent/dirent.h [__USE_BSD]: Likewise.
7081 * grp/grp.h [__USE_SVID]: Likewise.
7082 [__USE_BSD]: Likewise.
7083 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7084 * io/fcntl.h [__USE_BSD]: Likewise.
7085 * io/ftw.h [__USE_BSD]: Likewise.
7086 * io/sys/stat.h [__USE_BSD]: Likewise.
7087 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7088 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7089 * libio/stdio.h [__USE_SVID]: Likewise.
7090 [__USE_BSD]: Likewise.
7091 * math/math.h [__USE_SVID]: Likewise.
7092 [__USE_BSD]: Likewise.
7093 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7094 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7095 * misc/search.h [__USE_SVID]: Likewise.
7096 * misc/sys/mman.h [__USE_BSD]: Likewise.
7097 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7098 * misc/sys/uio.h [__USE_BSD]: Likewise.
7099 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7100 * posix/glob.h [__USE_BSD]: Likewise.
7101 * posix/regex.h [__USE_BSD]: Likewise.
7102 * posix/sys/types.h [__USE_BSD]: Likewise.
7103 [__USE_SVID]: Likewise.
7104 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7105 * posix/sys/wait.h [__USE_BSD]: Likewise.
7106 [__USE_SVID]: Likewise.
7107 * posix/unistd.h [__USE_BSD]: Likewise.
7108 [__USE_SVID]: Likewise.
7109 * pwd/pwd.h [__USE_SVID]: Likewise.
7110 * resolv/netdb.h [__USE_BSD]: Likewise.
7111 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7112 * signal/signal.h [__USE_BSD]: Likewise.
7113 [__USE_SVID]: Likewise.
7114 * socket/sys/socket.h [__USE_BSD]: Likewise.
7115 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7116 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7117 [__USE_SVID]: Likewise.
7118 * string/bits/string2.h [__USE_BSD]: Likewise.
7119 [__USE_SVID]: Likewise.
7120 * string/bits/string3.h [__USE_BSD]: Likewise.
7121 * string/endian.h [__USE_BSD]: Likewise.
7122 * string/string.h [__USE_SVID]: Likewise.
7123 [__USE_BSD]: Likewise.
7124 * string/strings.h [__USE_BSD]: Likewise.
7125 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7126 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7127 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7128 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7129 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7130 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7134 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7135 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7137 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7138 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7140 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7142 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7143 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7144 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7148 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7149 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7150 * termios/termios.h [__USE_BSD]: Likewise.
7151 * time/sys/time.h [__USE_BSD]: Likewise.
7152 * time/time.h [__USE_BSD]: Likewise.
7153 [__USE_SVID]: Likewise.
7155 * Makefile (subdir_targets): Remove subdir_lint.out.
7157 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7158 (do-tst-printf): Likewise.
7159 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7160 $(objpfx)tst-printf.out.
7162 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7164 * Makerules (check-abi-%): Change target to
7165 $(objpfx)check-abi-%.out.
7166 (check-abi target): Update dependencies.
7167 (check-abi-pattern variable): Redirect output of diff to $@.
7168 (check-abi variable): Likewise.
7169 * elf/Makefile (check-abi): Update dependencies.
7171 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7173 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7174 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7176 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7177 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7178 value has largest subnormal exponent.
7179 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7180 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7181 * sysdeps/aarch64/soft-fp/sfp-machine.h
7182 (_FP_TININESS_AFTER_ROUNDING): New macro.
7183 * sysdeps/alpha/soft-fp/sfp-machine.h
7184 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7185 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7187 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7188 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7189 * sysdeps/mips/soft-fp/sfp-machine.h
7190 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7191 * sysdeps/powerpc/soft-fp/sfp-machine.h
7192 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7193 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7195 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7196 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7197 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7198 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7199 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7202 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7205 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7208 2014-02-12 Richard Henderson <rth@redhat.com>
7210 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7211 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7212 * sysdeps/unix/sysv/linux/alpha: Move directory from
7213 ports/sysdeps/unix/sysv/linux/alpha.
7214 * README: Update listing for alpha-*-linux-gnu.
7216 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7218 * include/features.h: Update comment documenting feature test
7220 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7222 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7223 (_SVID_SOURCE): Likewise.
7224 (_DEFAULT_SOURCE): Update description of default features.
7225 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7227 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7228 (S_ISVTX): Likewise.
7229 * manual/math.texi (Mathematical Constants): Likewise.
7230 * manual/signal.texi (Interrupted Primitives): Likewise.
7231 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7232 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7233 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7234 Don't refer to _SVID_SOURCE in warning text.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7238 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7240 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7241 * sysdeps/mips/dl-lookup.c: Remove.
7242 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7244 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7247 * math/auto-libm-test-in: Add testcase for expl.
7248 * math/auto-libm-test-out: Regenerate.
7249 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7250 calculation of unsafe.
7251 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7253 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7255 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7256 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7257 ports/sysdeps/unix/sysv/linux/aarch64.
7258 * README: Update listing for aarch64*-*-linux-gnu.
7260 2014-02-11 Will Newton <will.newton@linaro.org>
7262 * manual/probes.texi (Mathematical Function Probes): Use
7263 "triggered" instead of "hit".
7265 * manual/probes.texi (Internal Probes): Add documentation
7266 of setjmp, longjmp and longjmp_target probes.
7268 * include/stap-probe.h: Add comment about probe argument
7271 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7272 definition. (tr_where, tr_freehook, tr_mallochook,
7273 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7275 2014-02-11 David S. Miller <davem@davemloft.net>
7277 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7278 processing int_tests.
7280 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7282 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7283 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7284 * sysdeps/unix/sysv/linux/mips: Move directory from
7285 ports/sysdeps/unix/sysv/linux/mips.
7286 * README: Update listing for mips-*-linux-gnu and
7289 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7291 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7292 * sysdeps/unix/sysv/linux/m68k: Move directory from
7293 ports/sysdeps/unix/sysv/linux/m68k.
7294 * README: Update listing for m68k-*-linux-gnu.
7296 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7298 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7299 * sysdeps/unix/sysv/linux/generic: Move directory from
7300 ports/sysdeps/unix/sysv/linux/generic.
7301 * sysdeps/unix/sysv/linux/tile: Move directory from
7302 ports/sysdeps/unix/sysv/linux/tile.
7303 * README: Update listing for tile*-*-linux-gnu.
7305 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7307 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7309 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7310 * catgets/open_catalog.c (__open_catalog): Likewise.
7311 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7312 * debug/confstr_chk.c: Likewise.
7313 * debug/fread_chk.c (__fread_chk): Likewise.
7314 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7315 * debug/getgroups_chk.c: Likewise.
7316 * debug/mbsnrtowcs_chk.c: Likewise.
7317 * debug/mbsrtowcs_chk.c: Likewise.
7318 * debug/mbstowcs_chk.c: Likewise.
7319 * debug/memcpy_chk.c: Likewise.
7320 * debug/memmove_chk.c: Likewise.
7321 * debug/mempcpy_chk.c: Likewise.
7322 * debug/memset_chk.c: Likewise.
7323 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7324 * debug/strcat_chk.c (__strcat_chk): Likewise.
7325 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7326 * debug/strncat_chk.c (__strncat_chk): Likewise.
7327 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7328 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7329 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7330 * debug/wcpncpy_chk.c: Likewise.
7331 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7332 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7333 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7334 * debug/wcsncpy_chk.c: Likewise.
7335 * debug/wcsnrtombs_chk.c: Likewise.
7336 * debug/wcsrtombs_chk.c: Likewise.
7337 * debug/wcstombs_chk.c: Likewise.
7338 * debug/wmemcpy_chk.c: Likewise.
7339 * debug/wmemmove_chk.c: Likewise.
7340 * debug/wmempcpy_chk.c: Likewise.
7341 * debug/wmemset_chk.c: Likewise.
7342 * dirent/scandirat.c (SCANDIRAT): Likewise.
7343 * dlfcn/dladdr1.c (dladdr1): Likewise.
7344 * dlfcn/dladdr.c (dladdr): Likewise.
7345 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7346 * dlfcn/dlerror.c (__dlerror): Likewise.
7347 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7348 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7349 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7350 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7351 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7352 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7353 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7354 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7356 * elf/dl-conflict.c: Likewise.
7357 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7358 * elf/dl-dst.h: Likewise.
7359 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7360 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7361 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7362 * elf/dl-init.c (call_init, _dl_init): Likewise.
7363 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7364 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7365 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7367 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7369 * elf/dl-minimal.c (__libc_memalign): Likewise.
7370 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7371 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7372 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7373 * elf/dl-sym.c (do_sym): Likewise.
7374 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7375 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7376 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7377 * elf/dl-writev.h (_dl_writev): Likewise.
7378 * elf/ldconfig.c (search_dir): Likewise.
7379 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7380 (dl_main): Likewise.
7381 * elf/setup-vdso.h (setup_vdso): Likewise.
7382 * grp/compat-initgroups.c (compat_call): Likewise.
7383 * grp/fgetgrent.c (fgetgrent): Likewise.
7384 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7385 * grp/putgrent.c (putgrent): Likewise.
7386 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7388 * hurd/hurdinit.c: Likewise.
7389 * iconvdata/8bit-gap.c (struct): Likewise.
7390 * iconvdata/ansi_x3.110.c : Likewise.
7391 * iconvdata/big5.c : Likewise.
7392 * iconvdata/big5hkscs.c : Likewise.
7393 * iconvdata/cp1255.c: Likewise.
7394 * iconvdata/cp1258.c : Likewise.
7395 * iconvdata/cp932.c : Likewise.
7396 * iconvdata/euc-cn.c: Likewise.
7397 * iconvdata/euc-jisx0213.c : Likewise.
7398 * iconvdata/euc-jp.c: Likewise.
7399 * iconvdata/euc-jp-ms.c : Likewise.
7400 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7401 * iconvdata/gb18030.c : Likewise.
7402 * iconvdata/gbbig5.c (const): Likewise.
7403 * iconvdata/gbgbk.c: Likewise.
7404 * iconvdata/gbk.c : Likewise.
7405 * iconvdata/ibm1364.c : Likewise.
7406 * iconvdata/ibm930.c : Likewise.
7407 * iconvdata/ibm932.c: Likewise.
7408 * iconvdata/ibm933.c : Likewise.
7409 * iconvdata/ibm935.c : Likewise.
7410 * iconvdata/ibm937.c : Likewise.
7411 * iconvdata/ibm939.c : Likewise.
7412 * iconvdata/ibm943.c: Likewise.
7413 * iconvdata/iso_11548-1.c: Likewise.
7414 * iconvdata/iso-2022-cn.c : Likewise.
7415 * iconvdata/iso-2022-cn-ext.c : Likewise.
7416 * iconvdata/iso-2022-jp-3.c: Likewise.
7417 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7418 * iconvdata/iso-2022-kr.c : Likewise.
7419 * iconvdata/iso646.c (gconv_end): Likewise.
7420 * iconvdata/iso_6937-2.c : Likewise.
7421 * iconvdata/iso_6937.c : Likewise.
7422 * iconvdata/iso8859-1.c: Likewise.
7423 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7424 * iconvdata/shift_jisx0213.c : Likewise.
7425 * iconvdata/sjis.c : Likewise.
7426 * iconvdata/t.61.c : Likewise.
7427 * iconvdata/tcvn5712-1.c : Likewise.
7428 * iconvdata/tscii.c: Likewise.
7429 * iconvdata/uhc.c : Likewise.
7430 * iconvdata/unicode.c (gconv_end): Likewise.
7431 * iconvdata/utf-16.c (gconv_end): Likewise.
7432 * iconvdata/utf-32.c (gconv_end): Likewise.
7433 * iconvdata/utf-7.c (base64): Likewise.
7434 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7435 * iconv/gconv_close.c (__gconv_close): Likewise.
7436 * iconv/gconv_open.c (__gconv_open): Likewise.
7437 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7438 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7439 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7440 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7441 (ucs4le_internal_loop_single): Likewise.
7442 * iconv/iconv.c (iconv): Likewise.
7443 * iconv/iconv_close.c: Likewise.
7444 * iconv/loop.c (SINGLE): Likewise.
7445 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7446 * include/atomic.h: Likewise.
7447 * inet/inet6_option.c (option_alloc): Likewise.
7448 * intl/bindtextdom.c (set_binding_values): Likewise.
7449 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7450 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7451 * intl/localealias.c (read_alias_file): Likewise.
7452 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7453 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7454 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7455 * libio/fmemopen.c (fmemopen): Likewise.
7456 * libio/iofgets.c (_IO_fgets): Likewise.
7457 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7458 * libio/iofgetws.c (fgetws): Likewise.
7459 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7460 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7461 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7462 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7463 * locale/findlocale.c (_nl_find_locale): Likewise.
7464 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7465 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7467 * locale/setlocale.c (setlocale): Likewise.
7468 * login/programs/pt_chown.c (main): Likewise.
7469 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7470 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7471 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7472 (mmap, mmap64, mremap, munmap): Likewise.
7473 * math/e_exp2l.c: Likewise.
7474 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7475 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7476 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7477 * math/s_catan.c (__catan): Likewise.
7478 * math/s_catanf.c (__catanf): Likewise.
7479 * math/s_catanh.c (__catanh): Likewise.
7480 * math/s_catanhf.c (__catanhf): Likewise.
7481 * math/s_catanhl.c (__catanhl): Likewise.
7482 * math/s_catanl.c (__catanl): Likewise.
7483 * math/s_ccosh.c (__ccosh): Likewise.
7484 * math/s_ccoshf.c (__ccoshf): Likewise.
7485 * math/s_ccoshl.c (__ccoshl): Likewise.
7486 * math/s_cexp.c (__cexp): Likewise.
7487 * math/s_cexpf.c (__cexpf): Likewise.
7488 * math/s_cexpl.c (__cexpl): Likewise.
7489 * math/s_clog10.c (__clog10): Likewise.
7490 * math/s_clog10f.c (__clog10f): Likewise.
7491 * math/s_clog10l.c (__clog10l): Likewise.
7492 * math/s_clog.c (__clog): Likewise.
7493 * math/s_clogf.c (__clogf): Likewise.
7494 * math/s_clogl.c (__clogl): Likewise.
7495 * math/s_csin.c (__csin): Likewise.
7496 * math/s_csinf.c (__csinf): Likewise.
7497 * math/s_csinh.c (__csinh): Likewise.
7498 * math/s_csinhf.c (__csinhf): Likewise.
7499 * math/s_csinhl.c (__csinhl): Likewise.
7500 * math/s_csinl.c (__csinl): Likewise.
7501 * math/s_csqrt.c (__csqrt): Likewise.
7502 * math/s_csqrtf.c (__csqrtf): Likewise.
7503 * math/s_csqrtl.c (__csqrtl): Likewise.
7504 * math/s_ctan.c (__ctan): Likewise.
7505 * math/s_ctanf.c (__ctanf): Likewise.
7506 * math/s_ctanh.c (__ctanh): Likewise.
7507 * math/s_ctanhf.c (__ctanhf): Likewise.
7508 * math/s_ctanhl.c (__ctanhl): Likewise.
7509 * math/s_ctanl.c (__ctanl): Likewise.
7510 * math/w_pow.c: Likewise.
7511 * math/w_powf.c: Likewise.
7512 * math/w_powl.c: Likewise.
7513 * math/w_scalb.c (sysv_scalb): Likewise.
7514 * math/w_scalbf.c (sysv_scalbf): Likewise.
7515 * math/w_scalbl.c (sysv_scalbl): Likewise.
7516 * misc/error.c (error_tail): Likewise.
7517 * misc/pselect.c (__pselect): Likewise.
7518 * nis/nis_callback.c (__nis_create_callback): Likewise.
7519 * nis/nis_call.c (__nisfind_server): Likewise.
7520 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7521 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7522 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7523 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7524 * nis/nis_lookup.c (nis_lookup): Likewise.
7525 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7526 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7527 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7528 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7529 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7530 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7531 * nis/nss_compat/compat-initgroups.c (add_group)
7532 (internal_getgrent_r): Likewise.
7533 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7534 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7535 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7536 (internal_getspnam_r): Likewise.
7537 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7538 (_nss_nis_getaliasbyname_r): Likewise.
7539 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7540 (_nss_nis_getntohost_r): Likewise.
7541 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7542 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7543 (_nss_nis_getgrgid_r): Likewise.
7544 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7545 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7546 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7547 (_nss_nis_gethostbyname4_r): Likewise.
7548 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7549 (initgroups_netid): Likewise.
7550 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7551 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7552 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7553 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7554 (_nss_nis_getprotobynumber_r): Likewise.
7555 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7556 (_nss_nis_getsecretkey): Likewise.
7557 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7558 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7559 (_nss_nis_getpwuid_r): Likewise.
7560 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7561 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7562 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7563 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7564 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7565 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7566 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7568 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7569 (_nss_nisplus_getntohost_r): Likewise.
7570 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7571 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7572 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7573 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7575 * nis/nss_nisplus/nisplus-initgroups.c
7576 (_nss_nisplus_initgroups_dyn): Likewise.
7577 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7578 (_nss_nisplus_getnetbyaddr_r): Likewise.
7579 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7580 (_nss_nisplus_getprotobynumber_r): Likewise.
7581 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7582 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7583 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7585 * nis/nss_nisplus/nisplus-service.c
7586 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7587 (_nss_nisplus_getservbyport_r): Likewise.
7588 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7589 (_nss_nisplus_getspnam_r): Likewise.
7590 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7592 * nscd/aicache.c (addhstaiX): Likewise.
7593 * nscd/cache.c (cache_search, prune_cache): Likewise.
7594 * nscd/connections.c (register_traced_file, send_ro_fd)
7595 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7596 (main_loop_epoll): Likewise.
7597 * nscd/grpcache.c (addgrbyX): Likewise.
7598 * nscd/hstcache.c (addhstbyX): Likewise.
7599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7600 * nscd/mem.c (gc, mempool_alloc): Likewise.
7601 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7602 (addinnetgrX): Likewise.
7603 * nscd/nscd-client.h (__nscd_acquire_maplock)
7604 (__nscd_drop_map_ref): Likewise.
7605 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7606 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7609 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7611 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7612 (__nscd_get_map_ref): Likewise.
7613 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7614 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7616 * nscd/pwdcache.c (addpwbyX): Likewise.
7617 * nscd/selinux.c (preserve_capabilities): Likewise.
7618 * nscd/servicescache.c (addservbyX): Likewise.
7619 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7620 * posix/fnmatch.c (fnmatch): Likewise.
7621 * posix/getopt.c (_getopt_internal_r): Likewise.
7622 * posix/glob.c (glob, glob_in_dir): Likewise.
7623 * posix/wordexp.c (exec_comm_child): Likewise.
7624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7625 (getanswer_r, gaih_getanswer_slice): Likewise.
7626 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7627 * resolv/res_init.c: Likewise.
7628 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7629 * resolv/res_query.c (__libc_res_nquery): Likewise.
7630 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7633 * stdio-common/perror.c (perror): Likewise.
7634 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7635 * stdio-common/tmpnam.c (tmpnam): Likewise.
7636 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7637 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7638 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7640 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7641 * stdlib/putenv.c (putenv): Likewise.
7642 * stdlib/setenv.c (__add_to_environ): Likewise.
7643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7644 * stdlib/strtol_l.c (INTERNAL): Likewise.
7645 * string/memmem.c (memmem): Likewise.
7646 * string/strerror.c (strerror): Likewise.
7647 * string/strnlen.c (__strnlen): Likewise.
7648 * string/test-memmem.c (simple_memmem): Likewise.
7649 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7650 * sunrpc/pm_getport.c (__get_socket): Likewise.
7651 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7652 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7653 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7654 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7656 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7657 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7658 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7659 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7660 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7661 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7663 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7665 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7666 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7667 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7668 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7669 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7671 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7672 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7673 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7680 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7682 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7684 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7686 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7687 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7688 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7691 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7692 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7694 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7695 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7697 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7699 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7701 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7705 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7706 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7707 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7709 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7710 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7711 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7712 * sysdeps/posix/sleep.c: Likewise.
7713 * sysdeps/posix/tempname.c: Likewise.
7714 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7715 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7717 * sysdeps/powerpc/powerpc32/dl-machine.h
7718 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7719 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7721 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7722 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7724 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7725 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7726 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7728 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7729 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7730 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7731 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7732 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7733 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7735 (elf_machine_lazy_rel): Likewise.
7736 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7737 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7738 (elf_machine_lazy_rel): Likewise.
7739 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7740 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7741 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7742 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7743 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7744 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7745 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7749 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7750 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7751 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7752 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7753 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7754 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7755 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7757 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7758 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7760 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7761 (__posix_fallocate64_l64): Likewise.
7762 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7763 (posix_fallocate): Likewise.
7764 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7766 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7767 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7768 (getifaddrs_internal): Likewise.
7769 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7770 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7771 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7772 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7773 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7774 (__posix_fallocate64_l64): Likewise.
7775 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7777 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7779 (__get_clockfreq): Likewise.
7780 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7781 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7782 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7785 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7786 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7789 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7790 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7791 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7792 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7793 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7794 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7795 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7797 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7798 (posix_fallocate): Likewise.
7799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7800 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7801 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7802 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7803 (elf_machine_rela, elf_machine_rela_relative)
7804 (elf_machine_lazy_rel): Likewise.
7805 * time/asctime.c (asctime_internal): Likewise.
7806 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7807 * time/tzset.c (__tzset_parse_tz): Likewise.
7808 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7809 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7810 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7811 * wcsmbs/wcsmbsload.h: Likewise.
7814 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7816 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7817 (arena_get2): Remove THREAD_STATS conditionals.
7818 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7819 (__malloc_stats, int): Likewise.
7821 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7823 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7824 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7826 * manual/setjmp.texi: Fix typos/grammar errors.
7828 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7829 Only return early when n is <= 0. Delete unused return statement.
7831 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7832 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7833 * debug/tst-longjmp_chk3.c: New file.
7835 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7836 (test_main): Replace code with set_fortify_handler call.
7837 * debug/test-strcpy_chk.c: Likewise.
7838 * debug/tst-chk1.c: Likewise.
7839 * debug/tst-longjmp_chk.c: Likewise.
7840 * test-skeleton.c: Include fcntl.h & paths.h
7841 (set_fortify_handler): Define.
7843 * debug/tst-longjmp_chk.c: Add header comment and include
7845 (do_test): Mark static.
7846 (TEST_FUNCTION): Define.
7848 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7849 (IP_PMTUDISC_INTERFACE): Likewise.
7850 (IP_MULTICAST_IF): Likewise.
7851 (IP_MULTICAST_TTL): Likewise.
7852 (IP_MULTICAST_LOOP): Likewise.
7853 (IP_ADD_MEMBERSHIP): Likewise.
7854 (IP_DROP_MEMBERSHIP): Likewise.
7855 (IP_UNBLOCK_SOURCE): Likewise.
7856 (IP_BLOCK_SOURCE): Likewise.
7857 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7858 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7859 (IP_MSFILTER): Likewise.
7860 (MCAST_JOIN_GROUP): Likewise.
7861 (MCAST_BLOCK_SOURCE): Likewise.
7862 (MCAST_UNBLOCK_SOURCE): Likewise.
7863 (MCAST_LEAVE_GROUP): Likewise.
7864 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7865 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7866 (MCAST_MSFILTER): Likewise.
7867 (IP_MULTICAST_ALL): Likewise.
7868 (IP_UNICAST_IF): Likewise.
7870 * timezone/Makefile: Delete $(have-ksh) check.
7871 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7872 * timezone/tzselect.ksh: Add +x mode bits.
7874 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7875 (ANON_INODE_FS_MAGIC): Likewise.
7876 (BDEVFS_MAGIC): Likewise.
7877 (BINFMTFS_MAGIC): Likewise.
7878 (BTRFS_TEST_MAGIC): Likewise.
7879 (CRAMFS_MAGIC_WEND): Likewise.
7880 (DEBUGFS_MAGIC): Likewise.
7881 (ECRYPTFS_SUPER_MAGIC): Likewise.
7882 (EXT3_SUPER_MAGIC): Likewise.
7883 (EXT4_SUPER_MAGIC): Likewise.
7884 (FUTEXFS_SUPER_MAGIC): Likewise.
7885 (HOSTFS_SUPER_MAGIC): Likewise.
7886 (HUGETLBFS_MAGIC): Likewise.
7887 (MINIX3_SUPER_MAGIC): Likewise.
7888 (MTD_INODE_FS_MAGIC): Likewise.
7889 (NILFS_SUPER_MAGIC): Likewise.
7890 (OPENPROM_SUPER_MAGIC): Likewise.
7891 (PIPEFS_MAGIC): Likewise.
7892 (PSTOREFS_MAGIC): Likewise.
7893 (QNX6_SUPER_MAGIC): Likewise.
7894 (RAMFS_MAGIC): Likewise.
7895 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7896 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7897 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7898 (SECURITYFS_MAGIC): Likewise.
7899 (SELINUX_MAGIC): Likewise.
7900 (SMACK_MAGIC): Likewise.
7901 (SOCKFS_MAGIC): Likewise.
7902 (SQUASHFS_MAGIC): Likewise.
7903 (STACK_END_MAGIC): Likewise.
7904 (TMPFS_MAGIC): Likewise.
7905 (USBDEVICE_SUPER_MAGIC): Likewise.
7906 (V9FS_MAGIC): Likewise.
7907 (XENFS_SUPER_MAGIC): Likewise.
7908 (CRAMFS_MAGIC): Fix typo in comment.
7909 (EXT2_SUPER_MAGIC): Update comment.
7910 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7912 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7914 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7915 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7916 * sysdeps/unix/sysv/linux/arm: Move directory from
7917 ports/sysdeps/unix/sysv/linux/arm.
7918 * README: Update listing for arm-*-linux-gnueabi.
7920 * README: Remove mention of am33.
7922 2014-02-07 Roland McGrath <roland@hack.frob.com>
7924 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7925 than the comma operator, to avoid "rhs of comma has no effect"
7927 (__sigfillset, __sigandset, __sigorset): Likewise.
7928 * include/signal.h (__sigemptyset): Likewise.
7929 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7931 2014-02-07 Allan McRae <allan@archlinux.org>
7933 * version.h (RELEASE): Set to "development".
7934 (VERSION): Set to "2.19.90"
7935 * NEWS: Add 2.20 section.
7937 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7940 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7942 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7944 * manual/contrib.texi: Update entry for Carlos O'Donell,
7945 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7947 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7949 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7951 * sysdeps/unix/sysv/linux/kernel-features.h
7952 [__LINUX_KERNEL_VERSION >= 0x020621]
7953 (__ASSUME_PROC_PID_TASK_COMM): Define.
7955 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7958 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7959 conversion when destination buffer does not have enough space.
7960 * libio/tst-ftell-partial-wide.c: New test case.
7961 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7963 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7964 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7965 Leonard and Allan McRae.
7967 2014-02-04 David S. Miller <davem@davemloft.net>
7969 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7972 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8001 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8004 * shlib-versions: Likewise.
8006 2014-02-04 Roland McGrath <roland@hack.frob.com>
8007 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8009 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8010 (abilist-pattern): New variable, set to %-le.abilist.
8012 * Makerules (abilist-pattern): New variable.
8013 (vpath): Use $(abilist-pattern) in place of %.abilist.
8014 (check-abi-% pattern rule): Likewise.
8015 (check-abi, update-abi): Likewise.
8017 2014-02-04 Eric Wong <normalperson@yhbt.net>
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8021 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8023 * manual/startup.texi: Add next, previous, and top entries for
8024 the `Program Arguments' and `Environment Variables' nodes.
8026 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8028 * manual/macros.texi: Add comments before MTASC-safety macros.
8030 * manual/users.texi: Document MTASC-safety properties.
8032 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8033 (pthread_getspecific, pthread_setspecific): Format with
8034 @deftypefun, and add @safety note.
8035 * manual/signal.texi: Move comments that analyze the above
8036 functions to their home place.
8038 2014-02-03 Allan McRae <allan@archlinux.org>
8040 * po/sl.po: Update Slovenian translation from translation project.
8042 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8044 * manual/time.texi (timegm): Add missing blank after @c.
8045 Reported by Joseph Myers <joseph@codesourcery.com>.
8047 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8049 * manual/check-safety.sh: New.
8050 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8052 * manual/terminal.texi: Document MTASC-safety properties.
8054 * manual/filesys.texi: Document MTASC-safety properties.
8056 * manual/errno.texi: Document MTASC-safety properties.
8058 * manual/intro.texi: Document safety identifiers and
8061 * manual/string.texi (wcstok): Fix prototype.
8062 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8064 * manual/time.texi: Document MTASC-safety properties.
8066 * manual/string.texi: Document MTASC-safety properties.
8068 * manual/threads.texi: Document MTASC-safety properties.
8070 * manual/stdio.texi: Document MTASC-safety properties.
8072 * manual/syslog.texi: Document MTASC-safety properties.
8074 * manual/sysinfo.texi: Document MTASC-safety properties.
8076 * manual/startup.texi: Document MTASC-safety properties.
8078 * manual/socket.texi: Document MTASC-safety properties.
8080 * manual/signal.texi: Document MTASC-safety properties.
8082 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8084 * manual/setjmp.texi: Document MTASC-safety properties.
8086 * manual/search.texi: Document MTASC-safety properties.
8088 * manual/resource.texi: Document MTASC-safety properties.
8090 * manual/process.texi: Document MTASC-safety properties.
8092 * manual/platform.texi: Document MTASC-safety properties.
8094 * manual/pipe.texi: Document MTASC-safety properties.
8096 * manual/pattern.texi: Document MTASC-safety properties.
8098 * manual/message.texi: Document MTASC-safety properties.
8101 * manual/memory.texi: Document MTASC-safety properties.
8103 * manual/math.texi: Document MTASC-safety properties.
8105 * manual/locale.texi: Document MTASC-safety properties.
8107 * manual/llio.texi: Document MTASC-safety properties.
8109 * manual/libdl.texi: New.
8111 * manual/lang.texi: Document MTASC-safety properties.
8113 * manual/job.texi: Document MTASC-safety properties.
8115 * manual/getopt.texi: Document MTASC-safety properties.
8117 * manual/ctype.texi: Document MTASC-safety properties.
8119 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8122 * csu/libc-tls.c (static_map): Remove variable.
8123 (__libc_setup_tls): Use main executable's link map for TLS data.
8124 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8125 casing for LM_ID_BASE and GL(dl_nns).
8126 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8127 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8128 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8129 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8130 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8132 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8135 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8137 * manual/debug.texi: Document MTASC-safety properties.
8139 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8142 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8143 of __x86_64__ when disabling x87 inline functions.
8145 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8147 * manual/charset.texi: Document MTASC-safety properties.
8149 * manual/crypt.texi: Document MTASC-safety properties.
8151 * manual/conf.texi: Document MTASC-safety properties.
8153 * manual/arith.texi: Document MTASC-safety properties.
8155 * manual/argp.texi: Document MTASC-safety properties.
8157 * manual/macros.texi: Introduce macros to document multi
8158 thread, asynchronous signal and asynchronous cancellation
8160 * manual/intro.texi: Introduce the properties themselves.
8162 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8164 * sysdeps/sh/sh4/Makefile: New file.
8166 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8168 * math/gen-libm-test.pl ($srcdir): New variable.
8169 ($auto_input): Use it.
8171 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8174 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8175 access beyond array bounds when parsing netgroups file.
8177 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8178 the old buffer before realloc.
8180 2014-01-27 Allan McRae <allan@archlinux.org>
8182 * po/fr.po: Update French translation from translation project.
8184 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8186 * sysdeps/sh/libm-test-ulps: Regenerate.
8188 2014-01-24 David S. Miller <davem@davemloft.net>
8190 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8192 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8194 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8195 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8197 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8200 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8201 string pointers after reallocation.
8203 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8205 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8206 __SH4A__ instead of __SH_FPU_ANY__.
8208 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8210 * sysdeps/sh/fpu_control.h: New file.
8211 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8212 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8213 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8214 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8215 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8216 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8217 * sysdeps/sh/sys/ucontext.h: Remove.
8218 * sysdeps/sh/sys: Remove directory.
8220 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8222 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8223 s390/sys/ucontext.h.
8224 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8227 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8230 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8232 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8236 Adjust the vDSO correctly for internal calls.
8237 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8239 2014-01-20 Allan McRae <allan@archlinux.org>
8241 * po/ca.po: Update Catalan translation from translation project.
8243 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8245 * sysdeps/s390/sotruss-lib.c: New file.
8247 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8251 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8252 local calls issues by not having a PLT stub required for IFUNC calls.
8253 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8255 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8257 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8258 * math/test-fpucw-static.c: Likewise.
8260 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8263 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8265 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8267 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8268 implementation for powerpc.
8270 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8273 * sysdeps/posix/system.c (__libc_system): Do not enable
8274 asynchronous cancellation.
8276 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8279 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8280 handling only for numbers special also in the IEEE case.
8282 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8286 2014-01-11 Allan McRae <allan@archlinux.org>
8288 * po/bg.po: Update Bulgarian translation from translation project.
8290 * po/de.po: Update German translation from translation project.
8292 2014-01-10 Roland McGrath <roland@hack.frob.com>
8294 * sysdeps/generic/gcc-compat.h: New file.
8296 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8298 * benchtests/asin-inputs: Correct slow inputs.
8299 * benchtests/acos-inputs: Likewise.
8301 2014-01-10 Allan McRae <allan@archlinux.org>
8303 * po:sv.po: Update Swedish translation from translation project.
8305 * po/vi.po: Update Vietnamese translation from translation project.
8307 * po/eo.po: Update Esperanto translation from translation project.
8309 * po/cs.po: Update Czech translation from translation project.
8311 * po/nl.po: Update Dutch translation from translation project.
8313 * po/pl.po: Update Polish translation from translation project.
8315 * po/ru.po: Update Russian translation from translation project.
8317 * po/uk.po: Update Ukrainian translation from translation project.
8319 2014-01-08 Brooks Moses <bmoses@google.com>
8321 * elf/dl-load.c: Fix comment typo.
8323 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8325 * po/header.pot: Rename to...
8326 * po/pot.header: ... this.
8327 * po/Makefile: Use pot.header.
8329 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8330 Maxim Kuvyrkov <maxim@kugelworks.com>
8333 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8334 SRC and DEST against LEN.
8336 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8339 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8341 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8343 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8347 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8351 for large positive arguments.
8353 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8355 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8357 * math/auto-libm-test-in: Mark various tests with
8358 xfail-rounding:ldbl-128ibm.
8359 * math/auto-libm-test-out: Regenerated.
8362 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8363 Increase overflow threshold.
8365 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8368 * stdio-common/vfprintf.c: Check for integer overflow.
8370 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8372 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8373 the first argument and return value of __tls_get_addr_internal.
8375 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8377 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8378 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8380 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8382 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8383 * sysdeps/s390/rtld-global-offsets.sym: New file.
8384 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8386 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8391 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8397 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8398 halfs of GPRs for high_gprs contexts.
8399 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8400 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8402 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8406 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8407 for high GPRs (uc_high_gprs) and for future extensions
8409 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8410 for future extensions (__reserved).
8411 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8413 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8414 SC_HIGHGPRS offset definition.
8415 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8416 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8418 * Versions.def: Add GLIBC_2.19 for libpthread.
8419 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8420 siglongjmp for libpthread with GLIBC_2.19 symver.
8421 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8422 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8423 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8424 * sysdeps/s390/__longjmp.c: New file.
8425 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8426 * sysdeps/s390/longjmp.c: New file.
8427 * sysdeps/s390/setjmp.S: New file.
8428 * sysdeps/s390/sigjmp.S: New file.
8429 * sysdeps/s390/v1-longjmp.c: New file.
8430 * sysdeps/s390/v1-setjmp.h: New file.
8431 * sysdeps/s390/v1-sigjmp.c: New file.
8432 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8433 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8435 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8436 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8437 versioned symbols for ____longjmp_chk.
8438 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8448 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8449 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8450 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8451 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8452 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8453 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8454 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8455 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8456 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8457 * sysdeps/s390/rtld-__longjmp.c: New file.
8458 * sysdeps/s390/rtld-setjmp.S: New file.
8460 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8464 Return -__logl (x) for small positive arguments without evaluating
8467 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8469 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8471 (__ptrace_peeksiginfo_args): ... this.
8472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8476 2014-01-06 Allan McRae <allan@archlinux.org>
8478 * inet/netinet/in.h: Fix typo in comment.
8480 2014-01-05 Andreas Jaeger <aj@suse.de>
8482 * sysdeps/i386/fpu/libm-test-ulps: Update.
8484 2014-01-05 Allan McRae <allan@archlinux.org>
8486 * po/libc.pot: Regenerated.
8488 * malloc/memusagestat.c: Fix gettext call formatting.
8490 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8492 * nscd/nscd.c: Improve usage() output.
8494 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8496 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8497 * sysdeps/unix/sysv/linux/configure: Regenerated.
8498 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8499 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8501 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8504 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8505 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8507 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8510 extra tokens at end of #undef directive.
8511 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8512 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8515 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8519 * math/auto-libm-test-in: Mark various tests with
8520 xfail-rounding:ldbl-128ibm.
8521 * math/auto-libm-test-out: Regenerated.
8523 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8527 numbers with subnormal high part when calculating exponent.
8530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8536 (__ieee754_acoshl): Use __log1pl not __log1p.
8538 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8540 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8541 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8542 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8543 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8544 (reused_arena, arena_get2): Convert to GNU style.
8545 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8546 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8547 (memalign_check, __malloc_set_state): Likewise.
8548 * malloc/mallocbug.c (main): Likewise.
8549 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8550 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8551 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8552 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8553 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8554 (__posix_memalign, malloc_info): Likewise.
8555 * malloc/malloc.h: Likewise.
8556 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8557 (mallochook, memalignhook, reallochook, mabort): Likewise.
8558 * malloc/mcheck.h: Likewise.
8559 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8560 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8561 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8562 * malloc/morecore.c (__default_morecore): Likewise.
8563 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8564 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8565 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8566 (print_and_abort): Likewise.
8567 * malloc/obstack.h: Likewise.
8568 * malloc/set-freeres.c (__libc_freeres): Likewise.
8569 * malloc/tst-mallocstate.c (main): Likewise.
8570 * malloc/tst-mtrace.c (main): Likewise.
8571 * malloc/tst-realloc.c (do_test): Likewise.
8573 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8576 * nscd/netgroupcache.c (do_notfound): New function.
8577 (addgetnetgrentX): Use it.
8580 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8581 NSS_STATUS_NOTFOUND.
8583 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8585 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8588 2014-01-01 Allan McRae <allan@archlinux.org>
8590 * scripts/update-copyrights: Update configure input file suffix.
8592 * NEWS: Update copyright year.
8593 * catgets/gencat.c: Likewise.
8594 * csu/version.c: Likewise.
8595 * debug/catchsegv.sh: Likewise.
8596 * debug/pcprofiledump.c: Likewise.
8597 * debug/xtrace.sh: Likewise.
8598 * elf/ldconfig.c: Likewise.
8599 * elf/ldd.bash.in: Likewise.
8600 * elf/pldd.c: Likewise.
8601 * elf/sotruss.ksh: Likewise.
8602 * elf/sprof.c: Likewise.
8603 * iconv/iconv_prog.c: Likewise.
8604 * iconv/iconvconfig.c: Likewise.
8605 * locale/programs/locale.c: Likewise.
8606 * locale/programs/localedef.c: Likewise.
8607 * login/programs/pt_chown.c: Likewise.
8608 * malloc/memusage.sh: Likewise.
8609 * malloc/memusagestat.c: Likewise.
8610 * malloc/mtrace.pl: Likewise.
8611 * manual/libc.texinfo: Likewise.
8612 * nscd/nscd.c: Likewise.
8613 * nss/getent.c: Likewise.
8614 * nss/makedb.c: Likewise.
8615 * posix/getconf.c: Likewise.
8616 * scripts/test-installation.pl: Likewise.
8618 * All files with FSF copyright notices: Update copyright dates
8619 using scripts/update-copyrights.
8620 * intl/plural.c: Regenerated.
8621 * locale/programs/charmap-kw.h: Likewise.
8622 * locale/programs/locfile-kw.h: Likewise.
8624 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8626 * sysdeps/unix/sysv/linux/configure: Regenerated.
8627 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8628 the linux/fanotify.h header.
8629 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8630 HAVE_LINUX_FANOTIFY_H is defined.
8632 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8634 * benchtests/cos-inputs: New inputs.
8635 * benchtests/sin-inputs: Likewise.
8637 * benchtests/atan-inputs: New inputs. Fix name of multiple
8638 precision fallback inputs.
8640 * benchtests/atanh-inputs: New inputs.
8641 * benchtests/tanh-inputs: Likewise.
8643 * benchtests/acosh-inputs: New inputs.
8644 * benchtests/asinh-inputs: Likewise.
8646 * benchtests/cosh-inputs: New inputs.
8647 * benchtests/sinh-inputs: Likewise.
8649 * benchtests/acos-inputs: Add more inputs.
8650 * benchtests/asin-inputs: Likewise.
8652 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8655 * manual/arith.texi: Fix spelling.
8656 * manual/charset.texi: Likewise.
8657 * manual/errno.texi: Likewise.
8658 * manual/filesys.texi: Likewise.
8659 * manual/lang.texi: Likewise.
8660 * manual/llio.texi: Likewise.
8661 * manual/locale.texi: Likewise.
8662 * manual/message.texi: Likewise.
8663 * manual/resource.texi: Likewise.
8664 * manual/search.texi: Likewise.
8665 * manual/setjmp.texi: Likewise.
8666 * manual/stdio.texi: Likewise.
8667 * manual/string.texi: Likewise.
8668 * manual/sysinfo.texi: Likewise.
8669 * manual/time.texi: Likewise.
8671 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8673 * po/sl.po: New file.
8675 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8677 * .gitignore: Add core/.gdbinit/.gdb_history.
8679 2013-12-27 Allan McRae <allan@archlinux.org>
8682 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8683 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8685 2013-12-24 Brooks Moses <bmoses@google.com>
8687 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8688 all compilers that claim C++98 compliance, not just GCC.
8689 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8692 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8694 * NEWS: Restore accidentally deleted bug-fix entries.
8696 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8697 Ondřej Bílka <neleai@seznam.cz>
8700 * malloc/malloc.c (_int_free): Perform sanity check only if we
8703 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8706 * manual/stdio.texi (String Input Conversions): Clarify that character
8707 classes are not supported.
8709 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8713 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8717 Calculate results for small negative arguments directly rather
8718 than using reflection formula with special underflow handling.
8720 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8721 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8722 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8723 (fchflags): Likewise.
8725 (setlogin): Likewise.
8726 (sigaltstack): Likewise.
8729 (sigsetmask): Likewise.
8731 (waitpid): Likewise.
8732 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8733 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8735 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8736 * sysdeps/unix/bsd/Makefile: ... here.
8737 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8738 * sysdeps/unix/bsd/Versions: ... here.
8739 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8740 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8741 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8742 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8743 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8744 * sysdeps/unix/bsd/sigblock.c: ... here.
8745 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8746 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8747 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8748 * sysdeps/unix/bsd/sigvec.c: ... here.
8749 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8750 * sysdeps/unix/bsd/tcdrain.c: ... here.
8751 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8752 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8753 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8754 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8755 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8756 * sysdeps/unix/bsd/wait.c: ... here.
8757 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8758 * sysdeps/unix/bsd/wait3.c: ... here.
8759 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8760 * sysdeps/unix/bsd/waitpid.c: ... here.
8762 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8765 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8766 round-to-nearest for [!USE_AS_EXPM1L].
8767 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8768 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8769 more tests of exp and exp10. Expect some exp10 tests to miss
8770 exceptions or fail in directed rounding modes.
8771 * math/auto-libm-test-out: Regenerated.
8772 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8773 (exp10_test_tonearest): New function.
8774 (exp10_towardzero_test_data): New array.
8775 (exp10_test_towardzero): New function.
8776 (exp10_downward_test_data): New array.
8777 (exp10_test_downward): New function.
8778 (exp10_upward_test_data): New array.
8779 (exp10_test_upward): New function.
8780 (main): Call the new functions.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8784 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8786 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8787 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8788 * math/auto-libm-test-out: Regenerated.
8789 * math/libm-test.inc (acosh_test_data): Add more tests.
8790 (atanh_test_data): Likewise.
8791 (ceil_test_data): Likewise.
8792 (copysign_test_data): Likewise.
8793 * sysdeps/i386/fpu/libm-test-ulps: Update.
8794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8796 * timezone/checktab.awk: Update from tzcode 2013i.
8797 * timezone/private.h: Likewise.
8798 * timezone/scheck.c: Likewise.
8799 * timezone/tzfile.h: Likewise.
8800 * timezone/tzselect.ksh: Likewise.
8801 * timezone/zdump.c: Likewise.
8802 * timezone/zic.c: Likewise.
8804 * math/auto-libm-test-in: Add tests of cpow.
8805 * math/auto-libm-test-out: Regenerated.
8806 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8809 (func_calc_desc): Add mpc_cc_c union field.
8810 (test_functions): Add cpow.
8811 (special_fill_2pi): New function.
8812 (special_real_inputs): Add 2pi.
8813 (calc_generic_results): Handle mpc_cc_c.
8814 * sysdeps/i386/fpu/libm-test-ulps: Update.
8815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8817 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8818 csqrt, ctan and ctanh.
8819 * math/auto-libm-test-out: Regenerated.
8820 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8821 (TEST_COND_x86): Likewise.
8822 (ccos_test_data): Use AUTO_TESTS_c_c.
8823 (ccosh_test_data): Likewise.
8824 (cexp_test_data): Likewise.
8825 (clog_test_data): Likewise.
8826 (csqrt_test_data): Likewise.
8827 (ctan_test_data): Likewise.
8828 (ctan_tonearest_test_data): Likewise.
8829 (ctan_towardzero_test_data): Likewise.
8830 (ctan_downward_test_data): Likewise.
8831 (ctan_upward_test_data): Likewise.
8832 (ctanh_test_data): Likewise.
8833 (ctanh_tonearest_test_data): Likewise.
8834 (ctanh_towardzero_test_data): Likewise.
8835 (ctanh_downward_test_data): Likewise.
8836 (ctanh_upward_test_data): Likewise.
8837 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8839 (func_calc_desc): Add mpc_c_c union field.
8840 (FUNC_mpc_c_c): New macro.
8841 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8842 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8844 (special_fill_min_subnorm_p120): New function.
8845 (special_real_inputs): Add min_subnorm_p120.
8846 (calc_generic_results): Handle mpc_c_c.
8847 * sysdeps/i386/fpu/libm-test-ulps: Update.
8848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8852 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8853 (do_sin_slow): New functions.
8854 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8855 (cslow2, csloww1, csloww2): Use the new functions.
8857 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8858 Use M to change sign of result instead of X. Assume X is
8860 (csloww1): Likewise.
8864 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8869 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8871 (sloww1): Don't adjust sign of DX.
8872 (csloww1): Likewise.
8873 (sloww2): Use X directly and don't adjust sign of DX.
8874 (csloww2): Likewise.
8876 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8878 * math/auto-libm-test-in: Add tests of cabs and carg.
8879 * math/auto-libm-test-out: Regenerated.
8880 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8881 (carg_test_data): Likewise.
8882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8884 (func_calc_desc): Add mpc_c_f union field.
8885 (test_functions): Add cabs and carg.
8886 (calc_generic_results): Handle mpc_c_f.
8888 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8889 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8890 as a macro and a compat symbol.
8891 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8892 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8893 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8894 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8895 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8896 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8898 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8900 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8902 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8904 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8906 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8908 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8909 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8912 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8916 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8918 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8919 trailing whitespace removed.
8920 * scripts/config.guess: Update to version 2013-11-29.
8921 * scripts/config.sub: Update to version 2013-10-01.
8923 * math/auto-libm-test-in: Add tests of sincos.
8924 * math/auto-libm-test-out: Regenerated.
8925 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8926 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8928 (func_calc_desc): Add mpfr_f_11 union field.
8929 (test_functions): Add sincos.
8930 (calc_generic_results): Handle mpfr_f_11.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8934 2013-12-19 Andreas Schwab <schwab@suse.de>
8936 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8938 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8939 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8940 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8942 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8944 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8950 round-to-nearest mode when using frndint.
8951 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8952 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8955 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8957 * math/auto-libm-test-out: Regenerated.
8958 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8959 (TEST_COND_x86): Likewise.
8960 (expm1_tonearest_test_data): New array.
8961 (expm1_test_tonearest): New function.
8962 (expm1_towardzero_test_data): New array.
8963 (expm1_test_towardzero): New function.
8964 (expm1_downward_test_data): New array.
8965 (expm1_test_downward): New function.
8966 (expm1_upward_test_data): New array.
8967 (expm1_test_upward): New function.
8968 (main): Run the new test functions.
8969 * sysdeps/i386/fpu/libm-test-ulps: Update.
8970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8972 * include/features.h: Update comment documenting feature test
8973 macros. Mention _DEFAULT_SOURCE in comment.
8974 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8975 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8976 _BSD_SOURCE and _SVID_SOURCE.
8977 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8978 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8979 !_SVID_SOURCE]: Likewise.
8980 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8981 (__USE_POSIX_IMPLICITLY): Define.
8982 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8983 (_POSIX_SOURCE): Undefine and redefine.
8984 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8985 (_POSIX_C_SOURCE): Likewise.
8986 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8987 (Feature Test Macros): Update documentation of default features.
8989 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8991 * benchtests/Makefile: Add bench-strtok.
8992 * benchtests/bench-strtok.c: New file: strtok benchtest.
8994 2013-12-19 Allan McRae <allan@archlinux.org>
8996 * manual/install.texi: Suppress menu for plain text output.
8997 * INSTALL: Regenerated.
8999 2013-12-18 Brooks Moses <bmoses@google.com>
9002 * misc/getauxval.c: Include errno.h.
9003 (__getauxval): Set errno to ENOENT if the requested type is not
9005 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9006 don't declare with __attribute_const__.
9007 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9008 * manual/startup.texi: Document that getauxval sets errno.
9010 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9012 * math/auto-libm-test-in: Add tests of jn and yn.
9013 * math/auto-libm-test-out: Regenerated.
9014 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9015 (yn_test_data): Likewise.
9016 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9018 (func_calc_desc): Add mpfr_if_f union field.
9019 (FUNC_mpfr_if_f): New macro.
9020 (test_functions): Add jn and yn.
9021 (calc_generic_results): Assert type of second input for
9022 mpfr_ff_f. Handle mpfr_if_f.
9023 (output_for_one_input_case): Disable all checking for arguments
9024 fitting floating-point types in case of an integer argument.
9025 * sysdeps/i386/fpu/libm-test-ulps: Update.
9026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9029 Don't expect fegetround reference in libm.so.
9031 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9033 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9034 $(config-cflags-nofma).
9036 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9038 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9039 * math/auto-libm-test-out: Regenerated.
9042 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9043 to determine exponent and adjust argument to have exponent of -1.
9044 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9046 * math/auto-libm-test-out: Regenerated.
9047 * sysdeps/i386/fpu/libm-test-ulps: Update.
9048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9050 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9052 * manual/probes.texi: Remove cases when per-thread arenas are
9055 2013-12-18 Andreas Schwab <schwab@suse.de>
9057 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9058 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9059 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9060 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9061 * sysdeps/i386/i686/multiarch/Makefile: Update.
9062 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9064 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9066 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9067 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9069 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9072 Support TZ transition times < 00:00:00.
9073 This is needed for version-3 tz-format files; it supports time
9074 stamps past 2037 for America/Godthab (the only entry in the tz
9075 database for which this change is relevant).
9076 * manual/time.texi (TZ Variable): Document transition times
9077 from -167:59:59 through -00:00:01.
9078 * time/tzset.c (tz_rule): Time of day is now signed.
9079 (__tzset_parse_tz): Parse negative time of day.
9081 Document TZ transition times >= 25:00:00.
9082 * manual/time.texi (TZ Variable): Document transition times from
9083 25:00:00 through 167:59:59. These are already supported, and this
9084 support will help with version-3 tz-format files.
9086 * manual/time.texi (TZ Variable): Modernize North America example
9087 to reflect current (i.e., 2007-and-later) daylight saving rules.
9089 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9091 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9093 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9094 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9097 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9098 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9099 * sysdeps/unix/bsd/clock.c: Likewise.
9100 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9101 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9102 * sysdeps/unix/bsd/init-posix.c: Likewise.
9103 * sysdeps/unix/bsd/poll.c: Likewise.
9104 * sysdeps/unix/bsd/ptsname.c: Likewise.
9105 * sysdeps/unix/bsd/seekdir.c: Likewise.
9106 * sysdeps/unix/bsd/setegid.c: Likewise.
9107 * sysdeps/unix/bsd/seteuid.c: Likewise.
9108 * sysdeps/unix/bsd/setgid.c: Likewise.
9109 * sysdeps/unix/bsd/setrgid.c: Likewise.
9110 * sysdeps/unix/bsd/setruid.c: Likewise.
9111 * sysdeps/unix/bsd/setsid.c: Likewise.
9112 * sysdeps/unix/bsd/setuid.c: Likewise.
9113 * sysdeps/unix/bsd/sigaction.c: Likewise.
9114 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9115 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9116 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9117 * sysdeps/unix/bsd/telldir.c: Likewise.
9118 * sysdeps/unix/bsd/times.c: Likewise.
9119 * sysdeps/unix/bsd/usleep.c: Likewise.
9121 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9122 ($(objpfx)libbsd-compat.a): Remove rule.
9124 * include/features.h (__FAVOR_BSD): Do not define.
9125 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9126 features conflicting with POSIX.
9127 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9128 (_BSD_SOURCE): Remove description of not being a subset of other
9129 feature test macros.
9130 * manual/job.texi (getpgrp): Do not document BSD version.
9131 (getpgid): Do not document by reference to BSD getpgrp.
9132 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9133 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9134 * signal/signal.h [__FAVOR_BSD]: Likewise.
9135 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9136 instead of making contents conditional on [__FAVOR_BSD].
9137 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9139 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9143 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9146 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9147 values below 2**-450, not 2**-500.
9148 * math/auto-libm-test-in: Don't allow spurious underflow from
9150 * math/auto-libm-test-out: Regenerated.
9154 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9155 values of ha and hb and sort them after adjusting subnormal
9157 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9160 values of ea and eb and sort them after adjusting subnormal
9162 * math/auto-libm-test-in: Do not expect some hypot tests of
9163 subnormals to fail. Add more hypot tests.
9164 * math/auto-libm-test-out: Regenerated.
9166 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9169 * sysdeps/sh/s_fma.c: New file.
9170 * sysdeps/sh/s_fmaf.c: New file.
9171 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9173 * sysdeps/sh/Implies: Add sh/soft-fp.
9175 2013-12-16 Roland McGrath <roland@hack.frob.com>
9177 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9178 level of indirection to members `objname', `errstring', `malloced'.
9179 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9180 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9181 it as the __longjmp argument (just pass 1 instead).
9182 (_dl_catch_error): Initialize C with argument pointers and address of
9183 volatile local ERRCODE rather than copying values out of C at return.
9185 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9187 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9188 * math/auto-libm-test-out: Regenerated.
9189 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9190 (hypot_test_data): Likewise.
9191 (pow_test_data): Likewise.
9192 (pow_tonearest_test_data): Likewise.
9193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9195 (func_calc_desc): Add mpfr_ff_f union field.
9196 (FUNC_mpfr_ff_f): New macro.
9197 (test_functions): Add atan2, hypot and pow.
9198 (special_fill_min): New function.
9199 (special_fill_minus_min): Likewise.
9200 (special_fill_min_subnorm): Likewise.
9201 (special_fill_minus_min_subnorm): Likewise.
9202 (special_real_inputs): Add min, -min, min_subnorm and
9204 (calc_generic_results): Handle mpfr_ff_f.
9205 * sysdeps/i386/fpu/libm-test-ulps: Update.
9206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9208 2013-12-16 Will Newton <will.newton@linaro.org>
9210 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9211 (Aligned Memory Blocks): Add documentation for aligned_alloc
9212 and suggest it as an alternative to posix_memalign.
9213 (Hooks for Malloc): Document __memalign_hook is also called
9214 for aligned_alloc. (Summary of Malloc): Add summary for
9215 aligned alloc. Document __memalign_hook is also called
9218 2013-12-16 Will Newton <will.newton@linaro.org>
9220 * manual/memory.texi (Malloc Examples): Clarify default
9221 alignment documentation. Suggest posix_memalign rather
9222 than memalign or valloc.
9223 (Aligned Memory Blocks): Remove suggestion to use memalign
9224 or valloc. Remove obsolete comment about BSD.
9225 Document memalign errno values and mark the function obsolete.
9226 Document posix_memalign returned error codes. Mark valloc
9227 as obsolete. (Hooks for Malloc): __memalign_hook is also
9228 called for posix_memalign and valloc.
9229 (Summary of Malloc): Add posix_memalign to function summary.
9230 __memalign_hook is also called for posix_memalign and valloc.
9232 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9234 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9238 (sloww): Use mynumber union. Expand ternary operator into
9240 (cslow): use mynumber union.
9242 2013-12-16 Allan McRae <allan@archlinux.org>
9244 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9245 * configure: Regenerated.
9247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9250 * configure.ac: Added --enable-maintainer-mode. Check for
9251 autoconf when enabled.
9252 * configure: Regenerated.
9254 * nscd/nscd.service: New file.
9255 * nscd/nscd.tmpfiles: New file.
9257 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9260 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9261 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9262 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9263 (strstr): Add __strstr_sse2_unaligned ifunc.
9264 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9265 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9266 (strcasestr): Remove __strcasestr_sse42 ifunc.
9267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9269 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9271 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9273 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9274 * sysdeps/sh/bits/fenv.h: ... here.
9275 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9277 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9279 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9281 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9282 hypotf multiarch implementations.
9283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9285 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9286 multiarch hypot for PPC64.
9287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9289 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9290 multiarch hypotf for PPC64.
9292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9293 modff multiarch implementations.
9294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9297 multiarch modf for PPC64.
9298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9301 multiarch modff for PPC64.
9303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9304 and logl multiarch implementations.
9305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9308 multiarch logb for PPC64.
9309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9312 multiarch logb for PPC64.
9313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9316 multiarch logb for PPC64.
9318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9319 isinff multiarch implementation.
9320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9324 multiarch isinf for PPC64.
9325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9328 multiarch isinff for PPC64.
9330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9331 finitef multiarch implementation.
9332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9336 multiarch finite for PPC64.
9337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9340 multiarch finitef for PPC64.
9342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9343 lrint multiarch implementation.
9344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9348 multiarch llrint for PPC64.
9349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9350 multiarch lrint for PPC64.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9353 copysignf multiarch implementation.
9354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9359 multiarch copysign for PPC64.
9360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9361 multiarch copysignf for PPC64.
9363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9364 multiarch implementation.
9365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9373 multiarch llround for PPC64.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9375 multiarch trunc for PPC64.
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9377 multiarch truncf for PPC64.
9379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9380 multiarch implementation.
9381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9389 multiarch llround for PPC64.
9390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9391 multiarch round for PPC64.
9392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9393 multiarch roundf for PPC64.
9395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9396 multiarch implementation.
9397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9405 multiarch llround for PPC64.
9406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9407 multiarch floor for PPC64.
9408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9409 multiarch floorf for PPC64.
9411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9412 multiarch implementation.
9413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9421 multiarch llround for PPC64.
9422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9423 multiarch ceil for PPC64.
9424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9425 multiarch ceilf for PPC64.
9427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9428 multiarch implementation.
9429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9436 multiarch llround for PPC64.
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9438 multiarch lround for PPC64.
9440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9441 multiarch implementation.
9442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9449 multiarch isnan for PPC64.
9450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9451 multiarch isnanf for PPC64.
9453 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9454 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9455 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9456 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9457 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9460 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9466 multiarch implementations.
9467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9468 (__libc_ifunc_impl_list): Likewise.
9469 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9471 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9472 multiarch stpcpy for PPC64.
9474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9475 multiarch implementations.
9476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9477 (__libc_ifunc_impl_list): Likewise.
9478 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9479 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9480 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9481 multiarch strcpy for PPC64.
9483 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9484 redefine function name.
9485 (_wordcopy_fwd_dest_aligned): Likewise.
9486 (_wordcopy_bwd_aligned): Likewise.
9487 (_wordcopy_bwd_dest_aligned): Likewise.
9488 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9489 multiarch implementations.
9490 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9491 (__libc_ifunc_impl_list): Likewise.
9492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9495 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9496 multiarch wcscpy for PPC64.
9498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9499 multiarch implementations.
9500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9501 (__libc_ifunc_impl_list): Likewise.
9502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9505 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9506 multiarch wcscpy for PPC64.
9508 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9509 multiarch implementations.
9510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9511 (__libc_ifunc_impl_list): Likewise.
9512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9515 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9516 multiarch wcsrchr for PPC64.
9518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9519 multiarch implementations.
9520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9521 (__libc_ifunc_impl_list): Likewise.
9522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9525 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9526 multiarch wcschr for PPC64.
9528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9529 multiarch implementations.
9530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9531 (__libc_ifunc_impl_list): Likewise.
9532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9535 multiarch strchrnul for PPC64.
9537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9540 (__libc_ifunc_impl_list): Likewise.
9541 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9543 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9544 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9550 (__libc_ifunc_impl_list): Likewise.
9551 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9554 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9558 multiarch implementations.
9559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9560 (__libc_ifunc_impl_list): Likewise.
9561 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9562 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9563 strncasecmp for PPC64.
9564 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9565 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9566 multiarch strncasecmp_l for PPC64.
9568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9569 multiarch implementations.
9570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9571 (__libc_ifunc_impl_list): Likewise.
9572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9574 multiarch strcasecmp for PPC64.
9575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9577 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9578 multiarch strcasecmp_l for PPC64.
9580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9583 (__libc_ifunc_impl_list): Likewise.
9584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9585 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9586 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9592 (__libc_ifunc_impl_list): Likewise.
9593 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9594 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9595 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9601 (__libc_ifunc_impl_list): Likewise.
9602 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9604 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9605 rawmemrchr for PPC64.
9607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9610 (__libc_ifunc_impl_list): Likewise.
9611 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9612 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9613 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9619 (__libc_ifunc_impl_list): Likewise.
9620 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9621 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9622 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9628 (__libc_ifunc_impl_list): Likewise.
9629 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9631 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9634 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9635 avoid cretion of __bzero symbol.
9636 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9638 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9640 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9643 multiarch implementations.
9644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9645 (__libc_ifunc_impl_list): Likewise.
9646 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9648 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9649 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9651 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9652 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9653 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9654 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9655 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9657 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9659 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9663 (__libc_ifunc_impl_list): Likewise.
9664 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9666 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9667 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9671 multiarch for POWER/PPC64.
9672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9673 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9679 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9680 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9683 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9684 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9685 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9686 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9687 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9688 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9689 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9690 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9691 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9692 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9693 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9694 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9695 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9696 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9697 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9706 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9710 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9712 * benchtests/Makefile (bench): Add exp2 and log2.
9713 (LDLIBS-bench-exp2): Add -lm.
9714 (LDLIBS-bench-log2): Likewise.
9715 * benchtests/exp2-inputs: New inputs file.
9716 * benchtests/log2-inputs: New inputs file.
9717 * benchtests/log-inputs: Add new inputs.
9718 * benchtests/tan-inputs: Likewise.
9720 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9722 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9724 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9725 (csloww2): ... from here.
9727 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9728 instead of structures.
9729 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9730 (POLYNOMIAL): Likewise.
9731 (TAYLOR_SLOW): Likewise.
9739 (bsloww1): Likewise.
9740 (bsloww2): Likewise.
9743 (csloww1): Likewise.
9744 (csloww2): Likewise.
9746 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9748 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9749 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9750 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9751 * malloc/hooks.c (realloc_check): Likewise.
9753 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9754 * malloc/arena.c: Remove PER_THREAD conditional.
9755 [!PER_THREAD]: Remove code.
9756 (ptmalloc_unlock_all2): Likewise.
9757 (ptmalloc_init): Likewise.
9758 (_int_new_arena): Likewise.
9759 (arena_get2): Likewise.
9760 * malloc/hooks.c (__malloc_get_state): Likewise.
9761 (__malloc_set_state): Likewise.
9762 * malloc/malloc.c: Likewise.
9763 (struct malloc_state): Likewise.
9764 (struct malloc_par): Likewise.
9765 (__libc_realloc): Likewise.
9766 (__libc_mallopt): Likewise.
9768 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9770 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9772 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9774 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9775 macro to a function. Check for zero perturb_byte.
9776 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9778 * malloc/malloc.c: (force_reg): Remove.
9779 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9780 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9781 force_reg by atomic_forced_read.
9782 * malloc/arena.c (ptmalloc_init): Likewise.
9783 * malloc/hooks.c (top_check): Likewise.
9785 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9789 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9791 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9793 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9795 * math/auto-libm-test-in: Add tests of lgamma.
9796 * math/auto-libm-test-out: Regenerated.
9797 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9798 (M_LOG_2_SQRT_PIl): Likewise.
9799 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9800 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9802 (func_calc_desc): Add mpfr_f_f1 union field.
9811 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9812 (test_functions): Add lgamma.
9813 (calc_generic_results): Handle mpfr_f_f1.
9814 * sysdeps/i386/fpu/libm-test-ulps: Update.
9815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9819 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9820 __mpn_add_n for PowerPC64/POWER7.
9821 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9822 __mpn_sub_n for PowerPC64/POWER7.
9824 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9825 __mpn_addmul_1 for PowerPC64.
9826 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9827 __mpn_submul_1 for PowerPC64.
9828 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9830 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9833 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9836 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9838 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9842 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9843 add multiarch folders.
9844 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9845 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9846 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9847 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9848 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9849 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9850 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9851 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9852 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9853 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9854 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9863 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9869 multiarch __ieee754_hypot for PowerPC32.
9870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9875 multiarch __ieee754_hypotf for PowerPC32.
9877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9878 long_double_symbol only if __logbl is defined.
9879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9880 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9882 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9884 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9886 path for implementation.
9887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9888 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9890 logb, and logbl multiarch implementations for PowerPC32.
9891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9896 multiarch logb for PowerPC32.
9897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9902 multiarch logbf for PowerPC32.
9903 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9907 multiarch logbl implementation for PowerPC32.
9909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9910 and modff multiarch implementations.
9911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9916 multiarch modf for PowerPC32.
9917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9922 multiarch modff for PowerPC32.
9924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9925 and lrintf multiarch implementations.
9926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9931 multiarch lrint for PowerPC32.
9932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9933 file: multiarch lrintf for PowerPC32.
9935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9936 and lroundf multiarch implementations.
9937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9944 multiarch lround for PowerPC32.
9945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9946 file: multiarch lroundf for PowerPC32.
9948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9949 copysign and copysignf multiarch implementations.
9950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9955 file: multiarch copysign for PowerPC32.
9956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9957 file: multiarch copysignf for PowerPC32.
9959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9960 and truncf multiarch implementations.
9961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9966 multiarch trunc for PowerPC32.
9967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9972 multiarch truncf for PowerPC32.
9974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9975 and roundf multiarch implementations.
9976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9981 multiarch round for PowerPC32.
9982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9987 multiarch roundf for PowerPC32.
9989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9990 and floorf multiarch implementations.
9991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9996 multiarch floor for PowerPC32.
9997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10002 multiarch floorf for PowerPC32.
10004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10005 and ceilf multiarch implementations.
10006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10011 multiarch ceil for PowerPC32.
10012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10017 multiarch ceilf for PowerPC32.
10019 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10021 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10022 FINITEF is defined.
10023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10024 and finitef multiarch implementations.
10025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10030 multiarch finite for PowerPC32.
10031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10034 file: multiarch finitef for PowerPC32.
10036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10037 and isinff multiarch implementations.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10043 multiarch isinf for PowerPC32.
10044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10047 multiarch isinff for PowerPC32.
10049 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10050 alias when __isnan is defined.
10051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10052 and isnanf multiarch implementations.
10053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10062 multiarch isnan for PowerPC32.
10063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10068 multiarch isnanf for PowerPC32.
10070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10071 and sqrtf multiarch implementations.
10072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10077 multiarch sqrt for PowerPC32.
10078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10083 multiarch sqrtf for PowerPC32.
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10086 and llroundf multiarch implementations.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10094 file: multiarch llround for PowerPC32.
10095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10096 file: multiarch llroundf for PowerPC32.
10098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10099 multiarch PowerPC32 fpu implementations.
10100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10105 multiarch llrint for PowerPC32.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10121 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10122 multiarch wordcopy for PPC32.
10123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10126 (__libc_ifunc_impl_list): Likewise.
10127 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10128 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10129 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10130 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10132 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10134 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10135 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10141 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10142 multiarch wcscpy for PPC32.
10143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10146 (__libc_ifunc_impl_list): Likewise.
10147 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10148 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10149 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10150 sysdeps/powerpc/power6/wcscpy.c.
10152 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10160 multiarch wcsrchr for PPC32.
10161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10164 (__libc_ifunc_impl_list): Likewise.
10165 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10166 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10167 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10168 sysdeps/powerpc/power6/wcsrchr.c.
10170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10175 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10176 multiarch wcschr for PPc32.
10177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10180 (__libc_ifunc_impl_list): Likewise.
10181 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10182 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10183 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10184 sysdeps/powerpc/power6/wcschr.c.
10186 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10187 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10189 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10190 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10191 file: multiarch strchr for PPC32.
10192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10195 (__libc_ifunc_impl_list): Likewise.
10197 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10199 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10201 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10204 multiarch strchrnul for PPC32.
10205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10208 (__libc_ifunc_impl_list): Likewise.
10210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10212 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10213 multiarch strncasecmp for PPC32.
10214 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10216 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10217 multiarch strncasecmp_l for PPC32.
10218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10219 strncasecmp multiarch objects.
10220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10221 (__libc_ifunc_impl_list): Likewise.
10223 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10225 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10226 multiarch strncasecmp for PPC32.
10227 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10229 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10230 multiarch strcasecmp_l for PPC32.
10231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10234 (__libc_ifunc_impl_list): Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10238 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10240 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10241 multiarch strncmp for PPC32.
10242 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10244 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10245 (__libc_ifunc_impl_list): Likewise.
10247 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10248 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10250 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10251 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10255 (__libc_ifunc_impl_list): Likewise.
10257 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10259 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10261 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10265 (__libc_ifunc_impl_list): Likewise.
10267 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10269 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10271 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10272 multiarch rawmemchr for PPC32.
10273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10276 (__libc_ifunc_impl_list): Likewise.
10278 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10280 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10282 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10283 file: memrchr multiarch for PPC32.
10284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10287 (__libc_ifunc_impl_list): Likewise.
10289 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10290 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10293 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10294 multiarch memchr for PPC32.
10295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10298 (__libc_ifunc_impl_list): Likewise.
10300 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10301 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10303 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10305 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10306 file: multiarch mempcpy for PPC32.
10307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10310 (__libc_ifunc_impl_list): Likewise.
10312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10315 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10316 multiarch bzero for PPC32.
10317 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10319 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10321 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10322 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10323 file: multiarch memset for PPC32.
10324 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10326 memset multiarch objects.
10327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10328 (__libc_ifunc_impl_list): Likewise.
10330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10333 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10339 (__libc_ifunc_impl_list): Likewise.
10341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10343 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10350 multiarch memcpy for PPC32.
10351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10354 (__libc_ifunc_impl_list): Likewise.
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10357 support multiarch for POWER/PPC32.
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10360 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10362 Implies file to make multiarch folder appers before the fpu and
10363 default folder for power4 configuration.
10365 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10367 * scripts/bench.pl: Append volatile keyword to type.
10369 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10371 * sysdeps/sh/sotruss-lib.c: New file.
10372 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10374 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10378 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10381 * math/w_tgamma.c: Include <errno.h>.
10382 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10383 * math/w_tgammaf.c: Include <errno.h>.
10384 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10385 * math/w_tgammal.c: Include <errno.h>.
10386 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10387 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10388 underflow. Add more tgamma tests.
10389 * math/auto-libm-test-out: Regenerated.
10390 * sysdeps/i386/fpu/libm-test-ulps: Update.
10391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10393 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10394 sin, sinh, tan, tanh, tgamma, y0 and y1.
10395 * math/auto-libm-test-out: Regenerated.
10396 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10397 (TEST_COND_x86): Likewise.
10398 (M_E2l): Remove macro.
10400 (M_2_SQRT_PIl): Likewise.
10401 (M_SQRT_PIl): Likewise.
10402 (M_1_DIV_El): Likewise.
10403 (log_test_data): Use AUTO_TESTS_f_f.
10404 (log10_test_data): Likewise.
10405 (log1p_test_data): Likewise.
10406 (log2_test_data): Likewise.
10407 (sin_test_data): Likewise.
10408 (sin_tonearest_test_data): Likewise.
10409 (sin_towardzero_test_data): Likewise.
10410 (sin_downward_test_data): Likewise.
10411 (sin_upward_test_data): Likewise.
10412 (sinh_test_data): Likewise.
10413 (sinh_tonearest_test_data): Likewise.
10414 (sinh_towardzero_test_data): Likewise.
10415 (sinh_downward_test_data): Likewise.
10416 (sinh_upward_test_data): Likewise.
10417 (tan_test_data): Likewise.
10418 (tan_tonearest_test_data): Likewise.
10419 (tan_towardzero_test_data): Likewise.
10420 (tan_downward_test_data): Likewise.
10421 (tan_upward_test_data): Likewise.
10422 (tanh_test_data): Likewise.
10423 (tgamma_test_data): Likewise.
10424 (y0_test_data): Likewise.
10425 (y1_test_data): Likewise.
10426 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10427 (special_real_inputs): Add pi/4.
10428 * sysdeps/i386/fpu/libm-test-ulps: Update.
10429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10431 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10433 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10434 "longjmp_target" static probes.
10435 (__longjmp): Rename to __longjmp_symbol.
10436 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10437 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10438 on which longjmp to generate.
10439 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10440 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10442 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10443 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10444 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10445 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10446 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10447 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10449 __longjmp_symbol based on which __longjmp to generate.
10450 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10452 (setjmp): Rename to setjmp_symbol.
10453 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10454 (_setjmp): Rename to _setjmp_symbol.
10455 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10456 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10457 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10458 which setjmp to generate.
10459 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10460 "longjmp_target" static probes.
10462 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10464 * benchtests/README: Add note about output arguments.
10465 * benchtests/bench-sincos.c: Remove file.
10466 * benchtests/sincos-inputs: New file.
10467 * scripts/bench.pl: Identify output arguments and define
10468 static variables for them.
10470 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10473 * Makefile (INSTALL): Add install-plain.texi as the primary
10475 * manual/install-plain.texi: New file.
10476 * manual/install.texi: Include node directive only for
10477 non-plaintext output.
10479 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10481 * stdlib/longlong.h: Update from GCC.
10485 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10486 * math/w_j0f.c (y0f): Likewise.
10487 * math/w_j0l.c (__y0l): Likewise.
10488 * math/w_j1.c (y1): Likewise.
10489 * math/w_j1f.c (y1f): Likewise.
10490 * math/w_j1l.c (__y1l): Likewise
10491 * math/w_jn.c (yn): Likewise.
10492 * math/w_jnf.c (ynf): Likewise.
10493 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10494 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10495 value for Bessel function domain errors outside _SVID_ mode.
10496 Adjust sign of return value for yn (negative integer, 0).
10497 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10498 by zero in return for negative x and set sign appropriately for
10500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10501 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10502 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10503 expectations in error cases.
10504 (y1_test_data): Likewise.
10505 (yn_test_data): Likewise.
10506 * sysdeps/i386/fpu/libm-test-ulps: Update.
10507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10509 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10511 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10512 "64" to "64-v1". Add "64-v2".
10513 (abi-64-options): Rename to ...
10514 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10515 (abi-64-condition): Rename to ...
10516 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10517 (abi-64-ld-soname): Rename to ...
10518 (abi-64-v1-ld-soname): ... this.
10519 (abi-64-v2-options): Define.
10520 (abi-64-v2-condition): Likewise.
10521 (abi-64-v2-ld-soname): Likewise.
10522 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10523 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10528 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10529 Alan Modra <amodra@gmail.com>
10531 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10532 New versions for use with the ELFv2 ABI.
10533 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10534 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10536 (struct La_ppc64v2_retval): Likewise.
10537 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10538 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10539 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10540 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10541 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10542 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10543 Do not save or restore CR.
10544 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10545 (_dl_profile_resolve): Do no save or restore CR. Support extended
10546 return values for ELFv2 ABI. Fix location of FPR return registers.
10547 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10548 updated values for _CALL_ELF == 2.
10549 (La_regs, La_retval, int_retval): Likewise.
10551 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10553 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10554 (FRAME_MIN_SIZE_PARM): Likewise.
10555 (FRAME_BACKCHAIN): Likewise.
10556 (FRAME_CR_SAVE): Likewise.
10557 (FRAME_LR_SAVE): Likewise.
10558 (FRAME_TOC_SAVE): Likewise.
10559 (FRAME_PARM_SAVE): Likewise.
10560 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10561 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10562 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10563 (call_mcount_parm_offset): New macro.
10564 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10565 (PROF): Use symbolic stack frame offsets.
10566 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10567 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10568 Redefine in terms of FRAME_MIN_SIZE.
10569 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10570 (_dl_profile_resolve): Likewise. Update comment.
10571 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10572 symbols stack frame offsets.
10573 (__sigsetjmp): Likewise.
10574 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10575 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10576 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10577 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10580 (FRAME_BACKCHAIN): Remove.
10581 (FRAME_CR_SAVE): Likewise.
10582 (FRAME_LR_SAVE): Likewise.
10583 (FRAME_COMPILER_DW): Likewise.
10584 (FRAME_LINKER_DW): Likewise.
10585 (FRAME_TOC_SAVE): Likewise.
10586 (FRAME_PARM_SAVE): Likewise.
10587 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10588 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10589 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10591 (CHECK_SP): Use symbolic stack frame offsets.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10593 zone" instead of caller's parameter save area for temp storage.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10595 Likewise. Also, use symbolic stack frame offsets.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10597 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10598 our own stack frame instead of the caller's.
10599 (__socket): Use symbolic stack frame offsets.
10601 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10602 Alan Modra <amodra@gmail.com>
10604 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10606 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10607 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10608 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10610 (elf_machine_fixup_plt): Call it.
10611 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10613 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10615 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10616 r2 before calling target.
10618 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10619 Alan Modra <amodra@gmail.com>
10621 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10622 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10623 versions of macros to support ELFv2 ABI.
10624 (LOCALENTRY): New macro.
10625 (ENTRY, EALIGN): Use it.
10626 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10627 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10628 fall through into ENTRY entry point.
10629 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10630 Only define if _CALL_ELF != 2.
10632 (elf_machine_matches_host): Verify ABI version matches.
10633 (RTLD_START): Use LOCALENTRY.
10634 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10635 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10636 (PLT_ENTRY_WORDS): New macro.
10637 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10638 (elf_machine_runtime_setup): Support ELFv2 ABI.
10639 (elf_machine_fixup_plt): Likewise.
10640 (elf_machine_plt_conflict): Likewise.
10641 (resolve_ifunc): Likewise.
10642 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10646 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10648 (makecontext): Support ELFv2 ABI.
10649 * elf/elf.h (EF_PPC64_ABI): Define.
10651 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10653 * sysdeps/powerpc/powerpc64/sysdep.h
10654 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10655 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10656 (ENTRY) [ASSEMBLER]: ... but instead here ...
10657 (EALIGN) [ASSEMBLER]: ... and here.
10658 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10659 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10660 (ENTRY_2) [!ASSEMBLER]: Use it.
10661 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10662 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10663 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10664 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10665 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10667 Use PPC64_LOAD_FUNCPTR.
10669 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10671 2013-12-04 Alan Modra <amodra@gmail.com>
10673 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10674 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10675 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10676 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10678 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10679 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10680 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10681 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10682 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10683 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10685 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10688 (__makecontext): Fix incorrect CFI when backtracing out of
10689 context created via makecontext.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10691 (__setcontext): Fix incorrect CFI during switch to new context.
10692 (__novec_setcontext): Likewise.
10694 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10697 * time/strptime_l.c (__strptime_internal): Allow modifiers
10699 * time/tst-strptime.c (day_tests): Add testcase.
10701 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10703 * scripts/bench.pl: Skip over blank lines.
10705 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10708 * manual/time.texi (Calendar Time): Clarify what timezone functions
10711 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10715 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10717 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10719 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10720 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10721 * debug/memset_chk.c (__memset_chk): Likewise.
10722 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10723 * debug/strncpy_chk.c: Likewise.
10725 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10729 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10730 (__ieee754_exp): For possibly underflowing results, check size of
10731 result and force underflow exception if required.
10732 * math/auto-libm-test-in: Add more tests of exp.
10733 * math/auto-libm-test-out: Regenerated.
10734 * sysdeps/i386/fpu/libm-test-ulps: Update.
10735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10738 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10739 * math/w_exp2f.c (__exp2f): Likewise.
10740 * math/w_exp2l.c (__exp2l): Likewise.
10741 * math/auto-libm-test-in: Do not allow missing errno on exp2
10743 * math/auto-libm-test-out: Regenerated.
10745 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10748 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10749 handle filename validation.
10750 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10753 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10756 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10757 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10758 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10760 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10762 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10764 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10766 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10767 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10768 Add more erfc tests.
10769 * math/auto-libm-test-out: Regenerated.
10770 * sysdeps/i386/fpu/libm-test-ulps: Update.
10771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10773 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10774 exp2, expm1, j0 and j1.
10775 * math/auto-libm-test-out: Regenerated.
10776 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10777 (erfc_test_data): Likewise.
10778 (exp_test_data): Likewise.
10779 (exp_tonearest_test_data): Likewise.
10780 (exp_towardzero_test_data): Likewise.
10781 (exp_downward_test_data): Likewise.
10782 (exp_upward_test_data): Likewise.
10783 (exp10_test_data): Likewise.
10784 (exp2_test_data): Likewise.
10785 (expm1_test_data): Likewise.
10786 (j0_test_data): Likewise.
10787 (j1_test_data): Likewise.
10788 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10789 (input_flag_type): Add flag_xfail_rounding.
10790 (input_flags): Add xfail-rounding.
10791 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10792 (output_for_one_input_case): Handle flag_xfail_rounding.
10793 * sysdeps/i386/fpu/libm-test-ulps: Update.
10794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10799 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10802 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10805 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10806 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10807 (STAP_PROBE0): New macro.
10808 (STAP_PROBE1): Likewise.
10809 (STAP_PROBE2): Likewise.
10810 (STAP_PROBE3): Likewise.
10811 (STAP_PROBE4): Likewise.
10813 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10815 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10817 2013-12-02 Steve Ellcey <sellcey@mips.com>
10819 * benchtests/Makefile (bench): Add sqrt.
10820 (LDLIBS-bench-sqrt): New.
10821 * benchtests/sqrt-input: New.
10823 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10825 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10826 (GAIH_EAI): Likewise.
10827 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10828 (gaih_inet): Likewise.
10829 (getaddrinfo): Don't use GAIH_EAI.
10831 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10832 (struct gaih): Remove definition.
10834 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10836 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10837 Use HERRNOP directly.
10839 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10843 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10845 * math/gen-auto-libm-tests.c (test_functions): Add more
10846 single-argument functions.
10847 (special_fill_pi_2): New function.
10848 (special_fill_minus_pi_2): Likewise.
10849 (special_fill_pi_6): Likewise.
10850 (special_fill_minus_pi_6): Likewise.
10851 (special_fill_pi_3): Likewise.
10852 (special_fill_2pi_3): Likewise.
10853 (special_fill_e): Likewise.
10854 (special_fill_1_e): Likewise.
10855 (special_fill_e_minus_1): Likewise.
10856 (special_real_inputs): Add more special inputs.
10857 (output_for_one_input_case): Do not require ERANGE on underflow to
10858 zero if round-to-nearest result does not underflow to zero, unless
10859 exact results required.
10860 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10861 atan, atanh, cbrt, cos and cosh.
10862 * math/auto-libm-test-out: Regenerated.
10863 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10864 (acos_tonearest_test_data): Likewise.
10865 (acos_towardzero_test_data): Likewise.
10866 (acos_downward_test_data): Likewise.
10867 (acos_upward_test_data): Likewise.
10868 (acosh_test_data): Likewise.
10869 (asin_test_data): Likewise.
10870 (asin_tonearest_test_data): Likewise.
10871 (asin_towardzero_test_data): Likewise.
10872 (asin_upward_test_data): Likewise.
10873 (asinh_test_data): Likewise.
10874 (atan_test_data): Likewise.
10875 (atanh_test_data): Likewise.
10876 (cbrt_test_data): Likewise.
10877 (cos_test_data): Likewise.
10878 (cos_tonearest_test_data): Likewise.
10879 (cos_towardzero_test_data): Likewise.
10880 (cos_downward_test_data): Likewise.
10881 (cos_upward_test_data): Likewise.
10882 (cosh_test_data): Likewise.
10883 (cosh_tonearest_test_data): Likewise.
10884 (cosh_towardzero_test_data): Likewise.
10885 (cosh_downward_test_data): Likewise.
10886 (cosh_upward_test_data): Likewise.
10887 * sysdeps/i386/fpu/libm-test-ulps: Update.
10888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10890 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10893 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10894 * math/w_exp10f.c (__exp10f): Likewise.
10895 * math/w_exp10l.c (__exp10l): Likewise.
10896 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10897 errno settings in existing tests.
10900 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10901 precision control set to double precision.
10902 * sysdeps/i386/fpu/w_sqrt.c: New file.
10903 * math/auto-libm-test-in: Add more tests.
10904 * math/auto-libm-test-out: Update.
10906 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10907 (sqrt_test_tonearest): New function.
10908 (sqrt_towardzero_test_data): New variable.
10909 (sqrt_test_towardzero): New function.
10910 (sqrt_downward_test_data): New variable.
10911 (sqrt_test_downward): New function.
10912 (sqrt_upward_test_data): New variable.
10913 (sqrt_test_upward): New function.
10914 (main): Call the new functions.
10916 * math/gen-auto-libm-tests.c: New file.
10917 * math/auto-libm-test-in: Likewise.
10918 * math/auto-libm-test-out: New generated file.
10919 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10921 (%beautify): Add generated representations of zero.
10922 (top level): Set $auto_input and call parse_auto_input.
10923 (beautify): Remove trailing "f" from hex float constants.
10924 (parse_args): Handle XFAIL_TEST.
10925 (convert_condition): New function.
10926 (or_value): Likewise.
10927 (or_cond_value): Likewise.
10928 (generate_testfile): Handle AUTO_TESTS_* lines.
10929 (parse_auto_input): New function.
10930 * math/libm-test.inc (XFAIL_TEST): New macro.
10931 (ERRNO_UNCHANGED): Update value.
10932 (ERRNO_EDOM): Likewise.
10933 (ERRNO_ERANGE): Likewise.
10934 (IGNORE_RESULT): Likewise.
10935 (TEST_COND_flt_32): New macro.
10936 (TEST_COND_dbl_64): Likewise.
10937 (TEST_COND_ldbl_96_intel): Likewise.
10938 (TEST_COND_ldbl_96_m68k): Likewise.
10939 (TEST_COND_ldbl_128): Likewise.
10940 (TEST_COND_ldbl_128ibm): Likewise.
10941 (TEST_COND_long32): Likewise.
10942 (TEST_COND_long64): Likewise.
10943 (TEST_COND_before_rounding): Likewise.
10944 (TEST_COND_after_rounding): Likewise.
10945 (enable_test): Handle XFAIL_TEST flag.
10946 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10947 with finite results.
10948 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10949 auto-libm-test-out.
10951 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10952 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10955 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10956 __tls_get_addr_internal instead of __tls_get_offset in order to
10957 avoid GOT pointer dependency. Make rtld export
10958 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10959 __tls_get_addr since we are a __tls_get_offset platform.
10960 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10961 GOT pointer being set up before.
10962 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10964 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10966 * manual/math.texi (Errors in Math Functions): Document accuracy
10970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10971 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10987 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10988 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10989 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10990 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10991 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10993 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10995 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10997 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10998 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10999 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11000 atomic-feupdateenv and flt-rounds.
11001 * sysdeps/powerpc/nofpu/Versions (libc): Add
11002 __atomic_feholdexcept, __atomic_feclearexcept,
11003 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11005 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11006 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11007 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11012 * manual/arith.texi (FP Exceptions): Document that exceptions may
11013 not be raised when matherr is used.
11014 (Math Error Reporting): Document overflow in directed rounding
11015 modes. Document that errno may not be set when finite values are
11016 returned on overflow. Document intent to set errno on underflow
11017 only for underflow to zero.
11020 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11021 round-to-nearest then adjust result for other rounding modes.
11022 * include/fenv.h (fegetround): Use libm_hidden_proto.
11023 * math/fegetround.c (fegetround): Use libm_hidden_def.
11024 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11025 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11026 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11029 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11031 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11032 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11034 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11037 * nss/Versions (libnss_files): Add
11038 _nss_files_gethostbyname3_r.
11039 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11041 (HOST_DB_LOOKUP): Remove macro.
11042 (_nss_files_gethostbyname_r): Implement function without the
11043 HOST_DB_LOOKUP macro.
11044 (_nss_files_gethostbyname2_r): Likewise.
11046 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11048 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11050 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11052 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11053 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11056 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11058 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11059 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11060 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11061 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11062 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11063 __fe_nomask_env_priv and attribute_hidden.
11064 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11065 (libc_feupdateenv_test_ppc): Likewise.
11066 (libc_feresetround_ppc): Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11068 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11069 compat_symbol macro.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11071 (__fe_nomask_env): Likewise.
11072 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11074 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11076 * string/Makefile: Remove ifunc tests.
11077 * string/test-string.h: Define TEST_IFUNC.
11078 * string/test-bcopy-ifunc.c: Remove.
11079 * string/test-bzero-ifunc.c: Likewise.
11080 * string/test-memccpy-ifunc.c: Likewise.
11081 * string/test-memchr-ifunc.c: Likewise.
11082 * string/test-memcmp-ifunc.c: Likewise.
11083 * string/test-memcpy-ifunc.c: Likewise.
11084 * string/test-memmem-ifunc.c: Likewise.
11085 * string/test-memmove-ifunc.c: Likewise.
11086 * string/test-mempcpy-ifunc.c: Likewise.
11087 * string/test-memrchr-ifunc.c: Likewise.
11088 * string/test-memset-ifunc.c: Likewise.
11089 * string/test-rawmemchr-ifunc.c: Likewise.
11090 * string/test-stpcpy-ifunc.c: Likewise.
11091 * string/test-stpncpy-ifunc.c: Likewise.
11092 * string/test-strcasecmp-ifunc.c: Likewise.
11093 * string/test-strcasestr-ifunc.c: Likewise.
11094 * string/test-strcat-ifunc.c: Likewise.
11095 * string/test-strchr-ifunc.c: Likewise.
11096 * string/test-strchrnul-ifunc.c: Likewise.
11097 * string/test-strcmp-ifunc.c: Likewise.
11098 * string/test-strcpy-ifunc.c: Likewise.
11099 * string/test-strcspn-ifunc.c: Likewise.
11100 * string/test-strlen-ifunc.c: Likewise.
11101 * string/test-strncasecmp-ifunc.c: Likewise.
11102 * string/test-strncat-ifunc.c: Likewise.
11103 * string/test-strncmp-ifunc.c: Likewise.
11104 * string/test-strncpy-ifunc.c: Likewise.
11105 * string/test-strnlen-ifunc.c: Likewise.
11106 * string/test-strpbrk-ifunc.c: Likewise.
11107 * string/test-strrchr-ifunc.c: Likewise.
11108 * string/test-strspn-ifunc.c: Likewise.
11109 * string/test-strstr-ifunc.c: Likewise.
11111 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11113 * benchtests/Makefile: Remove ifunc tests.
11114 * benchtests/bench-string.h: Define TEST_IFUNC.
11115 * benchtests/bench-bcopy-ifunc.c: Remove.
11116 * benchtests/bench-bzero-ifunc.c: Likewise.
11117 * benchtests/bench-memccpy-ifunc.c: Likewise.
11118 * benchtests/bench-memchr-ifunc.c: Likewise.
11119 * benchtests/bench-memcmp-ifunc.c: Likewise.
11120 * benchtests/bench-memcpy-ifunc.c: Likewise.
11121 * benchtests/bench-memmem-ifunc.c: Likewise.
11122 * benchtests/bench-memmove-ifunc.c: Likewise.
11123 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11124 * benchtests/bench-memrchr-ifunc.c: Likewise.
11125 * benchtests/bench-memset-ifunc.c: Likewise.
11126 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11127 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11128 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11129 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11130 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11131 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11132 * benchtests/bench-strcat-ifunc.c: Likewise.
11133 * benchtests/bench-strchr-ifunc.c: Likewise.
11134 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11135 * benchtests/bench-strcmp-ifunc.c: Likewise.
11136 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11137 * benchtests/bench-strcpy-ifunc.c: Likewise.
11138 * benchtests/bench-strcspn-ifunc.c: Likewise.
11139 * benchtests/bench-strlen-ifunc.c: Likewise.
11140 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11141 * benchtests/bench-strncat-ifunc.c: Likewise.
11142 * benchtests/bench-strncmp-ifunc.c: Likewise.
11143 * benchtests/bench-strncpy-ifunc.c: Likewise.
11144 * benchtests/bench-strnlen-ifunc.c: Likewise.
11145 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11146 * benchtests/bench-strrchr-ifunc.c: Likewise.
11147 * benchtests/bench-strsep-ifunc.c: Likewise.
11148 * benchtests/bench-strspn-ifunc.c: Likewise.
11149 * benchtests/bench-strstr-ifunc.c: Likewise.
11151 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11153 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11155 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11157 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11158 * rt/aio.h: Likewise.
11159 * sysdeps/gnu/bits/utmp.h: Likewise.
11160 * sysdeps/gnu/bits/utmpx.h: Likewise.
11161 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11162 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11163 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11164 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11165 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11166 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11167 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11168 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11173 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11176 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11177 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11178 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11179 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11180 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11181 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11182 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11183 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11185 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11190 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11191 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11192 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11193 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11194 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11195 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11196 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11198 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11199 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11200 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11201 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11202 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11204 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11207 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11208 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11210 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11212 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11216 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11218 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11219 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11220 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11221 (__fesetround): Remove define.
11222 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11223 rounding and exceptions handling.
11224 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11225 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11226 (__fe_nomask_env): Likewise.
11227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11228 __fegetround instead of fegetround.
11229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11232 2013-11-21 Roland McGrath <roland@hack.frob.com>
11234 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11237 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11239 2013-11-21 Meador Inge <meadori@codesourcery.com>
11242 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11243 (encrypt_r): Likewise.
11244 * malloc/obstack.h (obstack_free): Likewise.
11245 * posix/unistd.h (encrypt): Likewise.
11247 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11249 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11250 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11251 DL_CALL_DT_FINI() that call the functions directly.
11252 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11253 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11254 * elf/dl-fini.c: Likewise.
11256 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11258 * malloc/hooks.c (memalign_check): Add alignment rounding.
11259 * malloc/malloc.c (_mid_memalign): New function.
11260 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11261 Implement by calling _mid_memalign.
11262 * manual/probes.texi (Memory Allocation Probes): Remove
11263 memory_valloc_retry and memory_pvalloc_retry.
11265 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11267 * locale/programs/locarchive.c (open_archive): Add const
11268 qualifier to ARCHIVEFNAME and copy default fname to
11272 * libio/tst-widetext.input: Rename Oriya to Odia.
11273 * locale/iso-639.def: Likewise.
11275 * manual/probes.texi (Mathematical Function Probes): Add
11276 documentation for sin, cos, asin and acos probes.
11277 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11278 (__sin32): Add slowasin probe.
11279 (__cos32): Add slowacos probe.
11280 (__mpsin): Add slowsin probe.
11281 (__mpcos): Add slowcos probe.
11283 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11286 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11287 thread-local __sim_exceptions_thread and global
11288 __sim_exceptions_global.
11289 (__sim_disabled_exceptions): Change to thread-local
11290 __sim_disabled_exceptions_thread and global
11291 __sim_disabled_exceptions_global.
11292 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11293 and global __sim_round_mode_global.
11294 (__simulate_exceptions): Use thread-local floating-point state and
11295 set global state from it as needed.
11296 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11297 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11298 __sim_round_mode_thread.
11299 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11300 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11301 and global __sim_exceptions_global.
11302 (__sim_disabled_exceptions): Change to thread-local
11303 __sim_disabled_exceptions_thread and global
11304 __sim_disabled_exceptions_global.
11305 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11306 and global __sim_round_mode_global.
11307 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11308 (SIM_SET_GLOBAL): Likewise.
11309 * sysdeps/powerpc/soft-fp/sfp-machine.h
11310 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11311 __sim_round_mode_thread.
11312 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11313 __sim_disabled_exceptions_thread.
11314 (__sim_exceptions): Change to __sim_exceptions_thread.
11315 (__sim_disabled_exceptions): Change to
11316 __sim_disabled_exceptions_thread.
11317 (__sim_round_mode): Change to __sim_round_mode_thread.
11318 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11319 thread-local floating-point state and set global state from it as
11321 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11322 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11323 (__sim_disabled_exceptions): Remove extern declaration.
11324 (feenableexcept): Use thread-local floating-point state and set
11325 global state from it as needed.
11326 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11327 extern declaration.
11328 (__sim_disabled_exceptions): Likewise.
11329 (__sim_round_mode): Likewise.
11330 (__fegetenv): Use thread-local floating-point state.
11331 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11332 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11333 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11334 floating-point state and set global state from it as needed.
11335 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11336 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11337 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11339 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11340 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11342 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11343 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11344 Use __sim_round_mode_thread.
11345 * math/test-fenv-tls.c: New file.
11346 * math/Makefile (tests): Add test-fenv-tls.
11347 ($(objpfx)test-fenv-tls): Depend on
11348 $(common-objpfx)nptl/libpthread.so.
11350 2013-11-19 Andreas Schwab <schwab@suse.de>
11352 * locale/programs/locale.c (show_info): Decode wordarray elements.
11353 * locale/categories.def (LC_MONETARY): Add element for
11354 _NL_MONETARY_CRNCYSTR.
11355 * locale/C-monetary.c (conversion_rate): New variable.
11356 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11359 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11361 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11362 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11364 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11366 * elf/Makefile (tst-auxv): New test.
11367 * elf/tst-auxv.c: New
11368 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11370 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11372 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11373 (hidden_proto): Caller changed.
11374 (hidden_tls_proto): New macro.
11375 (libc_hidden_tls_proto): Likewise.
11376 (rtld_hidden_tls_proto): Likewise.
11377 (libm_hidden_tls_proto): Likewise.
11378 (libresolv_hidden_tls_proto): Likewise.
11379 (librt_hidden_tls_proto): Likewise.
11380 (libdl_hidden_tls_proto): Likewise.
11381 (libnss_files_hidden_tls_proto): Likewise.
11382 (libnsl_hidden_tls_proto): Likewise.
11383 (libnss_nisplus_hidden_tls_proto): Likewise.
11384 (libutil_hidden_tls_proto): Likewise.
11386 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11389 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11390 (decompose_rpath): Defer expansion to fillin_rpath.
11391 (_dl_init_paths): Pass linkmap to fillin_rpath.
11393 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11395 * benchtests/Makefile: Add strsep.
11396 * benchtests/bench-strsep.c: New file: strsep benchtest.
11397 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11399 2013-11-18 Andreas Schwab <schwab@suse.de>
11401 * locale/programs/locale.c (show_info) [case byte]: Check for
11402 '\377' instead of '\177'.
11403 * locale/C-monetary.c (not_available): Always use "\377".
11404 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11405 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11406 detect unavailable sign_posn locale elements.
11407 * locale/localeconv.c (__localeconv): For grouping and
11408 mon_grouping handle "\177" and "\377" like no grouping.
11409 (INT_ELEM): New macro. Use it to set all numeric members.
11410 * locale/programs/ld-monetary.c (monetary_read)
11411 <tok_mon_grouping>: Normalize single -1 to the empty string.
11412 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11415 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11418 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11419 when we match (nil).
11420 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11422 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11424 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11425 (NO_TEST_INLINE): Update value.
11426 (ERRNO_UNCHANGED): Likewise.
11427 (ERRNO_EDOM): Likewise.
11428 (ERRNO_ERANGE): Likewise.
11429 (IGNORE_RESULT): Likewise.
11430 (check_float_internal): Check signs of NaN results if
11431 TEST_NAN_SIGN used.
11432 (check_complex): Pass TEST_NAN_SIGN flag through to second
11433 check_float_internal call.
11434 (copysign_test_data): Add tests with quiet NaNs as second
11435 argument. Use TEST_NAN_SIGN.
11436 (fabs_test_data): Add test of negative quiet NaN argument. Use
11438 (signbit_test_data): Add tests of quiet NaN argument.
11439 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11441 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11443 (parse_args): Handle function results specified as IGNORE.
11444 * math/libm-test.inc (IGNORE_RESULT): New macro.
11445 (check_float_internal): Do not check numerical result if flag
11447 (check_complex): Pass through IGNORE_RESULT to second
11448 check_float_internal call.
11449 (check_int): Do not check numerical result if flag IGNORE_RESULT
11451 (check_long): Likewise.
11452 (check_bool): Likewise.
11453 (check_longlong): Likewise.
11454 (lrint_test_data): Add tests of infinite and NaN arguments.
11455 (lrint_tonearest_test_data): Likewise.
11456 (lrint_towardzero_test_data): Likewise.
11457 (lrint_downward_test_data): Likewise.
11458 (lrint_upward_test_data): Likewise.
11459 (llrint_test_data): Likewise.
11460 (llrint_tonearest_test_data): Likewise.
11461 (llrint_towardzero_test_data): Likewise.
11462 (llrint_downward_test_data): Likewise.
11463 (llrint_upward_test_data): Likewise.
11464 (lround_test_data): Likewise.
11465 (llround_test_data): Likewise.
11467 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11468 (ERRNO_UNCHANGED): Update value.
11469 (ERRNO_EDOM): Likewise.
11470 (ERRNO_ERANGE): Likewise.
11471 (NO_TEST_INLINE_FLOAT): New macro.
11472 (NO_TEST_INLINE_DOUBLE): Likewise.
11473 (enable_test): New function.
11474 (RUN_TEST_f_f): Check enable_test before running test.
11475 (RUN_TEST_2_f): Likewise.
11476 (RUN_TEST_fff_f): Likewise.
11477 (RUN_TEST_c_f): Likewise.
11478 (RUN_TEST_f_f1): Likewise.
11479 (RUN_TEST_fF_f1): Likewise.
11480 (RUN_TEST_fI_f1): Likewise.
11481 (RUN_TEST_ffI_f1): Likewise.
11482 (RUN_TEST_c_c): Likewise.
11483 (RUN_TEST_cc_c): Likewise.
11484 (RUN_TEST_f_i): Likewise.
11485 (RUN_TEST_f_i_tg): Likewise.
11486 (RUN_TEST_ff_i_tg): Likewise.
11487 (RUN_TEST_f_b): Likewise.
11488 (RUN_TEST_f_b_tg): Likewise.
11489 (RUN_TEST_f_l): Likewise.
11490 (RUN_TEST_f_L): Likewise.
11491 (RUN_TEST_fFF_11): Likewise.
11492 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11494 (cosh_test_data): Likewise.
11495 (exp_test_data): Likewise.
11496 (expm1_test_data): Likewise.
11497 (hypot_test_data): Likewise.
11498 (pow_test_data): Likewise.
11499 (sinh_test_data): Likewise.
11500 (tanh_test_data): Likewise.
11501 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11504 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11505 tests with quiet NaN input and output.
11506 (acosh_test_data): Likewise.
11507 (asin_test_data): Likewise.
11508 (asinh_test_data): Likewise.
11509 (atan_test_data): Likewise.
11510 (atanh_test_data): Likewise.
11511 (atan2_test_data): Likewise.
11512 (cbrt_test_data): Likewise.
11513 (cos_test_data): Likewise.
11514 (cosh_test_data): Likewise.
11515 (erf_test_data): Likewise.
11516 (erfc_test_data): Likewise.
11517 (exp_test_data): Likewise.
11518 (exp10_test_data): Likewise.
11519 (exp2_test_data): Likewise.
11520 (expm1_test_data): Likewise.
11521 (hypot_test_data): Likewise.
11522 (j0_test_data): Likewise.
11523 (j1_test_data): Likewise.
11524 (jn_test_data): Likewise.
11525 (lgamma_test_data): Likewise.
11526 (log_test_data): Likewise.
11527 (log10_test_data): Likewise.
11528 (log1p_test_data): Likewise.
11529 (log2_test_data): Likewise.
11530 (pow_test_data): Likewise.
11531 (scalb_test_data): Likewise.
11532 (sin_test_data): Likewise.
11533 (sincos_test_data): Likewise.
11534 (sinh_test_data): Likewise.
11535 (tan_test_data): Likewise.
11536 (tanh_test_data): Likewise.
11537 (tgamma_test_data): Likewise.
11538 (y0_test_data): Likewise.
11539 (y1_test_data): Likewise.
11540 (yn_test_data): Likewise.
11543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11544 argument being NaN and avoid computations with second argument in
11546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11550 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11552 * locale/iso-639.def: Add Chitwani Tharu (the).
11554 2013-11-14 Andreas Schwab <schwab@suse.de>
11556 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11557 word instead of empty string.
11559 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11562 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11564 (__fe_nomask_env): Likewise.
11566 2013-11-13 Steve Ellcey <sellcey@mips.com>
11568 * benchtests/bench-timing.h: Include time.h.
11570 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11573 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11575 * sysdeps/unix/sysv/linux/configure: Regenerated.
11577 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11580 * stdlib/strtod_l.c (round_and_return): Do not consider
11581 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11582 exponent one less than half the least subnormal exponent.
11583 * stdlib/test-strtod-round-data: Add more tests.
11584 * stdlib/tst-strtod-round.c (tests): Regenerated.
11586 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11590 (__fe_mask_env): Likewise.
11591 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11592 libm_hidden_proto and add function prototype.
11593 (__fe_mask_env): Add function prototype.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11595 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11597 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11599 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11601 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11603 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11604 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11606 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11608 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11609 of htab_find_slot().
11611 2013-11-11 David S. Miller <davem@davemloft.net>
11614 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11615 symbol in the non-vis3 case in static builds.
11616 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11617 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11618 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11619 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11621 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11624 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11627 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11629 * benchtests/Makefile: Add bench-strtod.
11630 * benchtests/bench-strtod.c: New file: strtod benchtest
11632 2013-11-11 Andreas Schwab <schwab@suse.de>
11635 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11636 terminating NUL in key length.
11638 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11640 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11641 Add artificial ODP entry for vDSO symbol for PPC64.
11642 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11643 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11645 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11648 * nss/getent.c (services_keys): Recognize services starting with digit.
11650 2013-11-06 David S. Miller <davem@davemloft.net>
11653 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11654 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11656 2013-11-06 Will Newton <will.newton@linaro.org>
11658 * manual/memory.texi (Malloc Examples): Remove register
11659 keyword from examples.
11661 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11663 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11665 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11668 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11669 depending on [__GCC_IEC_559 > 0].
11670 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11671 depending on [__GCC_IEC_559_COMPLEX > 0].
11673 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11675 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11678 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11680 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11682 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11685 * malloc/malloc (malloc_info): Do not handle first bin as
11688 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11690 * locale/iso-639.def: Add Central Nahuatl (nhn).
11692 2013-11-01 Bruno Haible <bruno@clisp.org>
11695 * manual/math.texi (BSD Random): Specify range upper bound as
11698 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11700 * locale/iso-639.def: Add Meadow Mari (mhr).
11702 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11704 [BZ #14752], [BZ #15763]
11705 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11707 * rt/tst_shm.c: Add test for escaping directory.
11709 2013-10-31 Andreas Schwab <schwab@suse.de>
11712 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11713 followed by 'x' as part of digit sequence.
11714 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11716 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11719 * configure.ac: allow GNU Make 4.0 and greater.
11720 * configure: Regenerated.
11722 2013-10-30 Will Newton <will.newton@linaro.org>
11725 * malloc/hooks.c (memalign_check): Limit alignment to the
11726 maximum representable power of two.
11727 * malloc/malloc.c (__libc_memalign): Likewise.
11728 * malloc/tst-memalign.c (do_test): Add test for very
11729 large alignment values.
11730 * malloc/tst-posix_memalign.c (do_test): Likewise.
11732 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11735 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11736 (munmap_chunk): Likewise.
11737 (mremap_chunk): Likewise.
11739 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11742 * stdlib/div.c (div): Remove obsolete code.
11743 * stdlib/ldiv.c (ldiv): Likewise.
11744 * stdlib/lldiv.c (lldiv): Likewise.
11746 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11749 * nss/nss_files/files-XXX.c (get_contents_ret): New
11751 (get_contents): New function.
11752 (internal_getent): Use it. Expand size of LINEBUFLEN.
11754 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11756 * configure.in: Moved to ...
11757 * configure.ac: ... here. Change reference to configure.in
11759 * sysdeps/arm/preconfigure.ac: ... here.
11760 configure.in to configure.ac.
11761 * sysdeps/gnu/configure.in: Moved to ...
11762 * sysdeps/gnu/configure.ac: ... here.
11763 * sysdeps/i386/configure.in: Moved to ...
11764 * sysdeps/i386/configure.ac: ... here.
11765 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11766 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11767 * sysdeps/mach/configure.in: Moved to ...
11768 * sysdeps/mach/configure.ac: ... here.
11769 * sysdeps/mach/hurd/configure.in: Moved to ...
11770 * sysdeps/mach/hurd/configure.ac: ... here.
11771 * sysdeps/powerpc/configure.in: Moved to ...
11772 * sysdeps/powerpc/configure.ac: ... here.
11773 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11774 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11775 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11776 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11777 * sysdeps/s390/s390-32/configure.in: Moved to ...
11778 * sysdeps/s390/s390-32/configure.ac: ... here.
11779 * sysdeps/s390/s390-64/configure.in: Moved to ...
11780 * sysdeps/s390/s390-64/configure.ac: ... here.
11781 * sysdeps/sh/configure.in: Moved to ...
11782 * sysdeps/sh/configure.ac: ... here.
11783 * sysdeps/sparc/configure.in: Moved to ...
11784 * sysdeps/sparc/configure.ac: ... here.
11785 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11786 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11787 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11788 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11789 * sysdeps/x86_64/configure.in: Moved to ...
11790 * sysdeps/x86_64/configure.ac: ... here.
11791 * sysdeps/x86_64/preconfigure.in: Moved to ...
11792 * sysdeps/x86_64/preconfigure.ac: ... here.
11793 * aclocal.m4: Change reference to configure.in to configure.ac.
11794 * config.h.in: Likewise.
11795 * manual/install.texi: Likewise.
11796 * manual/maint.texi: Likewise.
11797 * Makefile: Likewise.
11798 * malloc/Makefile: Likewise.
11799 * nscd/Makefile: Likewise.
11800 * Makeconfig: Change reference to configure.in and
11801 preconfigure.in to configure.ac and preconfigure.ac
11803 * INSTALL: Regenerated.
11804 * configure: Likewise.
11805 * sysdeps/gnu/configure: Likewise.
11806 * sysdeps/i386/configure: Likewise.
11807 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11808 * sysdeps/mach/configure: Likewise.
11809 * sysdeps/mach/hurd/configure: Likewise.
11810 * sysdeps/powerpc/configure: Likewise.
11811 * sysdeps/powerpc/powerpc32/configure: Likewise.
11812 * sysdeps/powerpc/powerpc64/configure: Likewise.
11813 * sysdeps/s390/s390-32/configure: Likewise.
11814 * sysdeps/s390/s390-64/configure: Likewise.
11815 * sysdeps/sh/configure: Likewise.
11816 * sysdeps/sparc/configure: Likewise.
11817 * sysdeps/unix/sysv/linux/configure: Likewise.
11818 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11819 * sysdeps/x86_64/configure: Likewise.
11820 * sysdeps/x86_64/preconfigure: Likewise.
11822 2013-10-29 Andreas Schwab <schwab@suse.de>
11824 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11826 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11828 * benchtests/pow-inputs: Add new inputs.
11830 * benchtests/exp-inputs: Add new inputs.
11832 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11833 conditional check for return value.
11834 (__cos32): Likewise.
11836 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11838 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11839 to provide a boost for large inputs with word alignment.
11840 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11841 implementation based on optimized PPC64 strcpy.
11842 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11843 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11844 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11845 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11847 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11850 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11852 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11855 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11856 * time/tst-strptime.c (day_tests): Add testcase.
11858 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11861 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11863 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11866 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11867 MAP_FAILED on error.
11869 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11872 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11873 heap for large requests.
11875 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11878 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11879 result if the result has no associated interface.
11880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11881 interface for all 127.X.Y.Z addresses.
11883 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11885 * locale/iso-639.def: Add Ligurian (lij)
11887 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11890 * sunrpc/rpc_main.c: Document rpcgen -5.
11892 2013-10-19 Michael Stahl <mstahl@redhat.com>
11894 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11896 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11899 * posix/glob.c: Match only directories when trailing slash is present.
11900 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11901 (main): Add testcase.
11903 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11906 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11908 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11910 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11911 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11912 AUTH_DES and cindex for FIPS 140-2.
11913 (DES Encryption): Add cindex FIPS 46-3.
11915 * locale/locarchive.h (struct locarhandle): Add fname.
11916 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11917 if an optional argument was specified to --list-archive,
11919 * locale/programs/locarchive.c (show_archive_content): Take new
11920 argument fname and pass it via ah.fname to open_archive.
11921 * locale/programs/localedef.h: Update decl.
11922 (open_archive): If AH->fname is non-null, open that file
11923 rather than the default file name, and don't ignore ENOENT.
11924 (create_archive): Set AH.fname to NULL.
11925 (delete_locales_from_archive): Likewise.
11926 (add_locales_to_archive): Likewise.
11927 * locale/programs/locfile.c (write_all_categories): Likewise.
11929 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11930 Aldy Hernandez <aldyh@redhat.com>
11932 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11933 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11934 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11935 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11936 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11939 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11940 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11942 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11943 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11944 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11945 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11946 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11948 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11950 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11952 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11954 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11955 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11958 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11959 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11960 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11962 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11963 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11964 * sysdeps/powerpc/preconfigure: Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11967 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11968 Replace contents of file by #include of <fenv_libc.h>.
11969 * sysdeps/powerpc/soft-fp/sfp-machine.h
11970 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11972 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11977 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11985 Allow copysignl PLT reference to be missing.
11987 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11988 Joseph Myers <joseph@codesourcery.com
11991 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11993 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11995 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11997 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11998 * elf/tst-tls1.c: Likewise.
11999 * elf/tst-tls10.h: Likewise.
12000 * elf/tst-tls14.c: Likewise.
12001 * elf/tst-tls2.c: Likewise.
12002 * elf/tst-tls3.c: Likewise.
12003 * elf/tst-tls4.c: Likewise.
12004 * elf/tst-tls5.c: Likewise.
12005 * elf/tst-tls6.c: Likewise.
12006 * elf/tst-tls7.c: Likewise.
12007 * elf/tst-tls8.c: Likewise.
12008 * elf/tst-tls9.c: Likewise.
12009 * elf/tst-tlsmod1.c: Likewise.
12010 * elf/tst-tlsmod13.c: Likewise.
12011 * elf/tst-tlsmod13a.c: Likewise.
12012 * elf/tst-tlsmod14a.c: Likewise.
12013 * elf/tst-tlsmod16a.c: Likewise.
12014 * elf/tst-tlsmod16b.c: Likewise.
12015 * elf/tst-tlsmod2.c: Likewise.
12016 * elf/tst-tlsmod3.c: Likewise.
12017 * elf/tst-tlsmod4.c: Likewise.
12018 * elf/tst-tlsmod5.c: Likewise.
12019 * elf/tst-tlsmod6.c: Likewise.
12021 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12024 * malloc/malloc.c: remove checks for statistics.
12026 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12029 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12030 * inet/tst-network.c: Add testcase.
12032 2013-10-17 Andreas Schwab <schwab@suse.de>
12035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12036 to determine canonical name.
12038 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12040 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12041 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12058 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12059 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12064 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12065 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12088 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12094 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12095 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12099 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12102 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12103 make result into a quiet NaN.
12105 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12107 * soft-fp/adddf3.c: Fix horizontal whitespace.
12108 * soft-fp/addsf3.c: Likewise.
12109 * soft-fp/addtf3.c: Likewise.
12110 * soft-fp/divdf3.c: Likewise.
12111 * soft-fp/divsf3.c: Likewise.
12112 * soft-fp/divtf3.c: Likewise.
12113 * soft-fp/double.h: Likewise.
12114 * soft-fp/eqdf2.c: Likewise.
12115 * soft-fp/eqsf2.c: Likewise.
12116 * soft-fp/eqtf2.c: Likewise.
12117 * soft-fp/extenddftf2.c: Likewise.
12118 * soft-fp/extended.h: Likewise.
12119 * soft-fp/extendsfdf2.c: Likewise.
12120 * soft-fp/extendsftf2.c: Likewise.
12121 * soft-fp/extendxftf2.c: Likewise.
12122 * soft-fp/fixdfdi.c: Likewise.
12123 * soft-fp/fixdfsi.c: Likewise.
12124 * soft-fp/fixdfti.c: Likewise.
12125 * soft-fp/fixsfdi.c: Likewise.
12126 * soft-fp/fixsfsi.c: Likewise.
12127 * soft-fp/fixsfti.c: Likewise.
12128 * soft-fp/fixtfdi.c: Likewise.
12129 * soft-fp/fixtfsi.c: Likewise.
12130 * soft-fp/fixtfti.c: Likewise.
12131 * soft-fp/fixunsdfdi.c: Likewise.
12132 * soft-fp/fixunsdfsi.c: Likewise.
12133 * soft-fp/fixunsdfti.c: Likewise.
12134 * soft-fp/fixunssfdi.c: Likewise.
12135 * soft-fp/fixunssfsi.c: Likewise.
12136 * soft-fp/fixunssfti.c: Likewise.
12137 * soft-fp/fixunstfdi.c: Likewise.
12138 * soft-fp/fixunstfsi.c: Likewise.
12139 * soft-fp/fixunstfti.c: Likewise.
12140 * soft-fp/floatdidf.c: Likewise.
12141 * soft-fp/floatdisf.c: Likewise.
12142 * soft-fp/floatditf.c: Likewise.
12143 * soft-fp/floatsidf.c: Likewise.
12144 * soft-fp/floatsisf.c: Likewise.
12145 * soft-fp/floatsitf.c: Likewise.
12146 * soft-fp/floattidf.c: Likewise.
12147 * soft-fp/floattisf.c: Likewise.
12148 * soft-fp/floattitf.c: Likewise.
12149 * soft-fp/floatundidf.c: Likewise.
12150 * soft-fp/floatundisf.c: Likewise.
12151 * soft-fp/floatunditf.c: Likewise.
12152 * soft-fp/floatunsidf.c: Likewise.
12153 * soft-fp/floatunsisf.c: Likewise.
12154 * soft-fp/floatunsitf.c: Likewise.
12155 * soft-fp/floatuntidf.c: Likewise.
12156 * soft-fp/floatuntisf.c: Likewise.
12157 * soft-fp/floatuntitf.c: Likewise.
12158 * soft-fp/fmadf4.c: Likewise.
12159 * soft-fp/fmasf4.c: Likewise.
12160 * soft-fp/fmatf4.c: Likewise.
12161 * soft-fp/gedf2.c: Likewise.
12162 * soft-fp/gesf2.c: Likewise.
12163 * soft-fp/getf2.c: Likewise.
12164 * soft-fp/ledf2.c: Likewise.
12165 * soft-fp/lesf2.c: Likewise.
12166 * soft-fp/letf2.c: Likewise.
12167 * soft-fp/muldf3.c: Likewise.
12168 * soft-fp/mulsf3.c: Likewise.
12169 * soft-fp/multf3.c: Likewise.
12170 * soft-fp/negdf2.c: Likewise.
12171 * soft-fp/negsf2.c: Likewise.
12172 * soft-fp/negtf2.c: Likewise.
12173 * soft-fp/op-1.h: Likewise.
12174 * soft-fp/op-2.h: Likewise.
12175 * soft-fp/op-4.h: Likewise.
12176 * soft-fp/op-8.h: Likewise.
12177 * soft-fp/op-common.h: Likewise.
12178 * soft-fp/quad.h: Likewise.
12179 * soft-fp/single.h: Likewise.
12180 * soft-fp/soft-fp.h: Likewise.
12181 * soft-fp/sqrtdf2.c: Likewise.
12182 * soft-fp/sqrtsf2.c: Likewise.
12183 * soft-fp/sqrttf2.c: Likewise.
12184 * soft-fp/subdf3.c: Likewise.
12185 * soft-fp/subsf3.c: Likewise.
12186 * soft-fp/subtf3.c: Likewise.
12187 * soft-fp/truncdfsf2.c: Likewise.
12188 * soft-fp/trunctfdf2.c: Likewise.
12189 * soft-fp/trunctfsf2.c: Likewise.
12190 * soft-fp/trunctfxf2.c: Likewise.
12191 * soft-fp/unorddf2.c: Likewise.
12192 * soft-fp/unordsf2.c: Likewise.
12193 * soft-fp/unordtf2.c: Likewise.
12195 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12197 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12198 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12200 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12202 * elf/dl-libc.c: Clear initfini list after freeing.
12204 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12206 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12207 * soft-fp/addsf3.c: Likewise.
12208 * soft-fp/addtf3.c: Likewise.
12209 * soft-fp/divdf3.c: Likewise.
12210 * soft-fp/divsf3.c: Likewise.
12211 * soft-fp/divtf3.c: Likewise.
12212 * soft-fp/double.h: Likewise.
12213 * soft-fp/eqdf2.c: Likewise.
12214 * soft-fp/eqsf2.c: Likewise.
12215 * soft-fp/eqtf2.c: Likewise.
12216 * soft-fp/extenddftf2.c: Likewise.
12217 * soft-fp/extended.h: Likewise.
12218 * soft-fp/extendsfdf2.c: Likewise.
12219 * soft-fp/extendsftf2.c: Likewise.
12220 * soft-fp/extendxftf2.c: Likewise.
12221 * soft-fp/fixdfdi.c: Likewise.
12222 * soft-fp/fixdfsi.c: Likewise.
12223 * soft-fp/fixdfti.c: Likewise.
12224 * soft-fp/fixsfdi.c: Likewise.
12225 * soft-fp/fixsfsi.c: Likewise.
12226 * soft-fp/fixsfti.c: Likewise.
12227 * soft-fp/fixtfdi.c: Likewise.
12228 * soft-fp/fixtfsi.c: Likewise.
12229 * soft-fp/fixtfti.c: Likewise.
12230 * soft-fp/fixunsdfdi.c: Likewise.
12231 * soft-fp/fixunsdfsi.c: Likewise.
12232 * soft-fp/fixunsdfti.c: Likewise.
12233 * soft-fp/fixunssfdi.c: Likewise.
12234 * soft-fp/fixunssfsi.c: Likewise.
12235 * soft-fp/fixunssfti.c: Likewise.
12236 * soft-fp/fixunstfdi.c: Likewise.
12237 * soft-fp/fixunstfsi.c: Likewise.
12238 * soft-fp/fixunstfti.c: Likewise.
12239 * soft-fp/floatdidf.c: Likewise.
12240 * soft-fp/floatdisf.c: Likewise.
12241 * soft-fp/floatditf.c: Likewise.
12242 * soft-fp/floatsidf.c: Likewise.
12243 * soft-fp/floatsisf.c: Likewise.
12244 * soft-fp/floatsitf.c: Likewise.
12245 * soft-fp/floattidf.c: Likewise.
12246 * soft-fp/floattisf.c: Likewise.
12247 * soft-fp/floattitf.c: Likewise.
12248 * soft-fp/floatundidf.c: Likewise.
12249 * soft-fp/floatundisf.c: Likewise.
12250 * soft-fp/floatunsidf.c: Likewise.
12251 * soft-fp/floatunsisf.c: Likewise.
12252 * soft-fp/floatuntidf.c: Likewise.
12253 * soft-fp/floatuntisf.c: Likewise.
12254 * soft-fp/floatuntitf.c: Likewise.
12255 * soft-fp/fmadf4.c: Likewise.
12256 * soft-fp/fmasf4.c: Likewise.
12257 * soft-fp/fmatf4.c: Likewise.
12258 * soft-fp/gedf2.c: Likewise.
12259 * soft-fp/gesf2.c: Likewise.
12260 * soft-fp/getf2.c: Likewise.
12261 * soft-fp/ledf2.c: Likewise.
12262 * soft-fp/lesf2.c: Likewise.
12263 * soft-fp/letf2.c: Likewise.
12264 * soft-fp/muldf3.c: Likewise.
12265 * soft-fp/mulsf3.c: Likewise.
12266 * soft-fp/multf3.c: Likewise.
12267 * soft-fp/negdf2.c: Likewise.
12268 * soft-fp/negsf2.c: Likewise.
12269 * soft-fp/negtf2.c: Likewise.
12270 * soft-fp/op-1.h: Likewise.
12271 * soft-fp/op-2.h: Likewise.
12272 * soft-fp/op-4.h: Likewise.
12273 * soft-fp/op-8.h: Likewise.
12274 * soft-fp/op-common.h: Likewise.
12275 * soft-fp/quad.h: Likewise.
12276 * soft-fp/single.h: Likewise.
12277 * soft-fp/soft-fp.h: Likewise.
12278 * soft-fp/sqrtdf2.c: Likewise.
12279 * soft-fp/sqrtsf2.c: Likewise.
12280 * soft-fp/sqrttf2.c: Likewise.
12281 * soft-fp/subdf3.c: Likewise.
12282 * soft-fp/subsf3.c: Likewise.
12283 * soft-fp/subtf3.c: Likewise.
12284 * soft-fp/truncdfsf2.c: Likewise.
12285 * soft-fp/trunctfdf2.c: Likewise.
12286 * soft-fp/trunctfsf2.c: Likewise.
12287 * soft-fp/trunctfxf2.c: Likewise.
12288 * soft-fp/unorddf2.c: Likewise.
12289 * soft-fp/unordsf2.c: Likewise.
12290 * soft-fp/unordtf2.c: Likewise.
12292 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12295 * misc/error.c (error_tail): Fix possible buffer overflow.
12297 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12300 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12303 2013-10-14 P. J. McDermott <pj@pehjota.net>
12306 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12307 testing pipefail option.
12309 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12311 * soft-fp/double.h: Indent preprocessor directives inside #if.
12312 * soft-fp/extended.h: Likewise.
12313 * soft-fp/op-2.h: Likewise.
12314 * soft-fp/op-4.h: Likewise.
12315 * soft-fp/op-common.h: Likewise.
12316 * soft-fp/quad.h: Likewise.
12317 * soft-fp/single.h: Likewise.
12318 * soft-fp/soft-fp.h: Likewise.
12320 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12322 * iconv/iconv_prog.c: Fix typos.
12323 * stdio-common/psiginfo-data.h: Likewise.
12325 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12328 * locale/setlocale.c: Fix typo.
12330 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12333 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12334 signaling NaN arguments.
12335 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12336 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12339 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12340 unordered operands.
12341 * soft-fp/gesf2.c (__gesf2): Likewise.
12342 * soft-fp/getf2.c (__getf2): Likewise.
12343 * soft-fp/ledf2.c (__ledf2): Likewise.
12344 * soft-fp/lesf2.c (__lesf2): Likewise.
12345 * soft-fp/letf2.c (__letf2): Likewise.
12347 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12348 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12349 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12350 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12351 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12352 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12353 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12354 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12355 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12356 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12357 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12358 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12359 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12360 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12361 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12362 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12363 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12364 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12365 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12366 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12367 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12368 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12369 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12370 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12371 * soft-fp/floattidf.c (__floattidf): Likewise.
12372 * soft-fp/floattisf.c (__floattisf): Likewise.
12373 * soft-fp/floattitf.c (__floattitf): Likewise.
12374 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12375 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12376 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12377 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12378 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12379 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12380 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12381 * soft-fp/gesf2.c (__gesf2): Likewise.
12382 * soft-fp/getf2.c (__getf2): Likewise.
12383 * soft-fp/ledf2.c (__ledf2): Likewise.
12384 * soft-fp/lesf2.c (__lesf2): Likewise.
12385 * soft-fp/letf2.c (__letf2): Likewise.
12387 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12388 Undefine and redefine.
12389 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12390 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12391 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12392 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12393 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12394 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12395 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12396 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12397 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12398 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12399 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12400 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12401 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12402 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12403 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12406 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12407 without decrementing exponent if mantissa >= that for the
12408 denominator, not >.
12409 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12410 denominator, not >. Decrement exponent in < case instead of
12411 incrementing in >= case.
12412 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12413 without decrementing exponent if mantissa >= that for the
12414 denominator, not >.
12416 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12417 computing saturated result for unsigned overflow.
12419 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12420 Jeff Law <law@redhat.com>
12422 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12423 (atan2Mp): Add systemtap probe marker.
12424 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12425 (__ieee754_log): Add systemtap probe marker.
12426 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12427 (atanMp): Add systemtap probe marker.
12428 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12429 (tanMp): Add systemtap probe marker.
12430 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12431 (__slowexp): Add systemtap probe marker.
12432 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12433 (__slowpow): Add systemtap probe marker.
12434 * manual/probes.texi: Document probes.
12436 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12439 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12441 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12443 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12444 written to buffer but not flushed.
12445 * libio/iofwrite_u.c: Likewise.
12446 * libio/iopadn.c: Return bytes returned even if EOF was
12448 * libio/iowpadn.c: Likewise.
12449 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12450 if _IO_padn does not write the whole buffer.
12451 [!COMPILE_WPRINTF] (PAD): Likewise.
12453 2013-10-10 David S. Miller <davem@davemloft.net>
12455 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12458 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12460 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12461 instead of FSF address.
12462 * soft-fp/fixdfti.c: Likewise.
12463 * soft-fp/fixsfti.c: Likewise.
12464 * soft-fp/fixtfti.c: Likewise.
12465 * soft-fp/fixunsdfti.c: Likewise.
12466 * soft-fp/fixunssfti.c: Likewise.
12467 * soft-fp/fixunstfti.c: Likewise.
12468 * soft-fp/floattidf.c: Likewise.
12469 * soft-fp/floattisf.c: Likewise.
12470 * soft-fp/floattitf.c: Likewise.
12471 * soft-fp/floatuntidf.c: Likewise.
12472 * soft-fp/floatuntisf.c: Likewise.
12473 * soft-fp/floatuntitf.c: Likewise.
12474 * soft-fp/trunctfxf2.c: Likewise.
12476 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12477 * soft-fp/fixdfti.c: Likewise.
12478 * soft-fp/fixsfti.c: Likewise.
12479 * soft-fp/fixtfti.c: Likewise.
12480 * soft-fp/fixunsdfti.c: Likewise.
12481 * soft-fp/fixunssfti.c: Likewise.
12482 * soft-fp/fixunstfti.c: Likewise.
12483 * soft-fp/floattidf.c: Likewise.
12484 * soft-fp/floattisf.c: Likewise.
12485 * soft-fp/floattitf.c: Likewise.
12486 * soft-fp/floatuntidf.c: Likewise.
12487 * soft-fp/floatuntisf.c: Likewise.
12488 * soft-fp/floatuntitf.c: Likewise.
12489 * soft-fp/trunctfxf2.c: Likewise.
12491 2013-10-10 David S. Miller <davem@davemloft.net>
12493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12495 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12497 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12498 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12499 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12500 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12501 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12502 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12503 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12506 for NaNs before doing comparisons on argument.
12507 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12510 2013-10-10 Will Newton <will.newton@linaro.org>
12512 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12513 passed to _int_memalign does not overflow.
12515 2013-10-10 Torvald Riegel <triegel@redhat.com>
12517 * scripts/bench.pl: Add include-sources directive.
12518 * benchtests/README: Update documentation.
12520 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12522 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12523 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12524 instead of FP_INIT_ROUNDMODE.
12525 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12526 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12529 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12530 copy class of input value.
12531 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12532 not handle exceptions.
12533 * soft-fp/negsf2.c (__negsf2): Likewise.
12534 * soft-fp/negtf2.c (__negtf2): Likewise.
12535 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12537 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12539 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12540 semicolon. From Linux kernel.
12542 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12544 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12546 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12549 * manual/socket.texi: Added statement about buffer
12550 for gethostbyname2_r.
12552 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12554 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12555 Use .p2align directive instead, throughout.
12556 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12557 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12558 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12559 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12561 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12562 * sysdeps/x86_64/strchr.S: Likewise.
12563 * sysdeps/x86_64/strrchr.S: Likewise.
12565 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12567 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12569 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12571 * sysdeps/generic/math_private.h (__mpsin1): Remove
12573 (__mpcos1): Likewise.
12574 (__mpsin): New argument __range_reduce.
12575 (__mpcos): Likewise.
12576 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12577 (slow): Use __mpsin and __mpcos.
12581 (sloww1): Likewise.
12582 (sloww2): Likewise.
12583 (bsloww): Likewise.
12584 (bsloww1): Likewise.
12585 (bsloww2): Likewise.
12586 (cslow2): Likewise.
12587 (csloww): Likewise.
12588 (csloww1): Likewise.
12589 (csloww2): Likewise.
12590 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12591 range_reduce. Merge in __mpsin1.
12592 (__mpcos): Likewise.
12593 (__mpsin1): Remove.
12594 (__mpcos1): Likewise.
12596 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12598 * locale/loadlocale.c (_nl_intern_locale_data): Use
12600 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12601 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12602 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12603 obstack data is appropriately aligned.
12604 (obstack_int32_grow_fast): Likewise.
12605 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12606 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12607 (add_locale_uint32_array): Likewise.
12609 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12611 * benchtests/Makefile: Remove ARGLIST and RET variables.
12612 ($(objpfx)bench-%.c): Pass only function name to the script.
12613 * benchtests/README: Update documentation.
12614 * benchtests/acos-inputs: Add new directives.
12615 * benchtests/acosh-inputs: Likewise.
12616 * benchtests/asin-inputs: Likewise.
12617 * benchtests/asinh-inputs: Likewise.
12618 * benchtests/atan-inputs: Likewise.
12619 * benchtests/atanh-inputs: Likewise.
12620 * benchtests/cos-inputs: Likewise.
12621 * benchtests/cosh-inputs: Likewise.
12622 * benchtests/exp-inputs: Likewise.
12623 * benchtests/log-inputs: Likewise.
12624 * benchtests/pow-inputs: Likewise.
12625 * benchtests/rint-inputs: Likewise.
12626 * benchtests/sin-inputs: Likewise.
12627 * benchtests/sinh-inputs: Likewise.
12628 * benchtests/tan-inputs: Likewise.
12629 * benchtests/tanh-inputs: Likewise.
12630 * scripts/bench.pl: Add support for new directives.
12632 2013-10-07 Alan Modra <amodra@gmail.com>
12634 * README: Fix careless merge.
12636 2013-10-05 Alan Modra <amodra@gmail.com>
12638 * NEWS: Mention powerpc64le support and bugs fixed.
12639 * README: Both big-endian and little-endian powerpc64 supported.
12641 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12643 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12644 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12645 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12646 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12648 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12650 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12653 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12655 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12656 Move -mhard-float appending from
12657 ports/sysdeps/powerpc/powerpc32/Makefile.
12658 [$(with-fp) = yes] (ASFLAGS): Likewise.
12659 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12660 * sysdeps/powerpc/nofpu: Move directory from
12661 ports/sysdeps/powerpc/nofpu.
12662 * sysdeps/powerpc/soft-fp: Move directory from
12663 ports/sysdeps/powerpc/soft-fp.
12664 * sysdeps/powerpc/powerpc32/405: Move directory from
12665 ports/sysdeps/powerpc/powerpc32/405.
12666 * sysdeps/powerpc/powerpc32/440: Move directory from
12667 ports/sysdeps/powerpc/powerpc32/440.
12668 * sysdeps/powerpc/powerpc32/464: Move directory from
12669 ports/sysdeps/powerpc/powerpc32/464.
12670 * sysdeps/powerpc/powerpc32/476: Move directory from
12671 ports/sysdeps/powerpc/powerpc32/476.
12672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12673 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12675 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12677 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12679 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12681 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12682 * README: Update for powerpc-*-linux-gnu software floating point
12685 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12686 case to powerpc/powerpc32*.
12687 * sysdeps/unix/sysv/linux/configure: Regenerated.
12689 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12690 (_FPU_MASK_OM): Define as 0x04.
12691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12699 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12702 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12705 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12706 and setcontext_e500.
12708 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12710 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12712 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12714 * manual/threads.texi (Default Thread Attributes): Fix typo.
12716 2013-10-04 Will Newton <will.newton@linaro.org>
12718 * malloc/Makefile: Add tst-memalign.
12719 * malloc/tst-memalign.c: New file.
12721 * malloc/tst-posix_memalign.c: Add comments.
12722 (do_test): Add comments and call free on all potentially
12723 allocated pointers. Add space after cast.
12725 * malloc/tst-pvalloc.c: Add comments.
12726 (do_test): Add comments and call free on all potentially
12727 allocated pointers. Remove duplicate check for NULL pointer.
12728 Add space after cast.
12730 * malloc/tst-valloc.c: Add comments.
12731 (do_test): Add comments and call free on all potentially
12732 allocated pointers. Remove duplicate check for NULL pointer.
12733 Add space after cast.
12735 2013-10-04 Alan Modra <amodra@gmail.com>
12737 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12738 Use stdint types in rather than __attribute__((mode())).
12739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12741 2013-10-04 Alan Modra <amodra@gmail.com>
12743 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12744 Correct handling of unaligned relocs for little-endian.
12745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12747 2013-10-04 Alan Modra <amodra@gmail.com>
12749 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12750 * configure: Regenerate.
12751 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12752 * shlib-versions: Likewise.
12754 2013-10-04 Alan Modra <amodra@gmail.com>
12756 * string/tester.c (test_memrchr): Increment reported test cycle.
12758 2013-10-04 Alan Modra <amodra@gmail.com>
12760 * string/test-memcpy.c (do_one_test): When reporting errors, print
12761 string address and don't overrun end of string.
12763 2013-10-04 Alan Modra <amodra@gmail.com>
12765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12766 insrdi. Make better use of reg selection to speed exit slightly.
12767 Schedule entry path a little better. Remove useless "are we done"
12768 checks on entry to main loop. Handle wrapping around zero address.
12769 Correct main loop count. Handle single left-over word from main
12770 loop inline rather than by using loop_small. Remove extra word
12771 case in loop_small caused by wrong loop count. Add little-endian
12773 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12774 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12778 support. Avoid rlwimi.
12779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12781 2013-10-04 Alan Modra <amodra@gmail.com>
12783 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12784 insrdi. Formatting.
12785 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12786 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12787 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12788 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12789 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12790 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12792 2013-10-04 Alan Modra <amodra@gmail.com>
12794 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12795 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12798 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12799 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12800 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12801 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12802 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12803 use of regs. Use power7 mtocrf. Tidy function tails.
12805 2013-10-04 Alan Modra <amodra@gmail.com>
12807 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12808 Formatting. Consistently use rXXX register defines or rN defines.
12809 Use early exit labels that avoid restoring unused non-volatile regs.
12810 Make cr field use more consistent with rWORDn compares. Rename
12811 regs used as shift registers for unaligned loop, using rN defines
12812 for short lifetime/multiple use regs.
12813 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12815 addi 1,1,64 to pop stack frame. Simplify return value code.
12816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12818 2013-10-04 Alan Modra <amodra@gmail.com>
12820 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12821 support. Correct typos, formatting. Optimize tail. Use insrdi
12822 rather than rlwimi.
12823 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12824 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12825 little-endian support. Correct typos.
12826 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12827 rather than rlwimi.
12828 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12829 in loop and entry code to keep "and." results.
12830 (strchr): Add little-endian support. Comment. Move cntlzd
12832 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12834 2013-10-04 Alan Modra <amodra@gmail.com>
12836 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12837 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12838 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12839 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12841 2013-10-04 Alan Modra <amodra@gmail.com>
12843 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12844 (rTMP): Define as r11.
12845 (strcmp): Add little-endian support. Optimise tail.
12846 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12848 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12849 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12852 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12854 2013-10-04 Alan Modra <amodra@gmail.com>
12856 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12857 little-endian support. Remove unnecessary "are we done" tests.
12858 Handle "s" wrapping around zero and extremely large "size".
12859 Correct main loop count. Handle single left-over word from main
12860 loop inline rather than by using small_loop. Correct comments.
12861 Delete "zero" tail, use "end_max" instead.
12862 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12864 2013-10-04 Alan Modra <amodra@gmail.com>
12866 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12867 support. Don't branch over align.
12868 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12869 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12870 support. Rearrange tmp reg use to suit. Comment.
12871 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12873 2013-10-04 Alan Modra <amodra@gmail.com>
12875 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12877 2013-10-04 Alan Modra <amodra@gmail.com>
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12880 conditional form of branch and link when obtaining pc.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12883 2013-10-04 Alan Modra <amodra@gmail.com>
12885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12890 2013-10-04 Alan Modra <amodra@gmail.com>
12892 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12893 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12894 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12895 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12896 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12897 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12898 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12899 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12900 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12901 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12903 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12904 Alistair Popple <alistair@ozlabs.au.ibm.com>
12905 Alan Modra <amodra@gmail.com>
12908 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12909 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12910 _dl_hwcap access for little-endian.
12911 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12912 destroy vmx regs when saving unaligned.
12913 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12914 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12915 destroy vmx regs when saving unaligned.
12917 2013-10-04 Alan Modra <amodra@gmail.com>
12919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12920 Don't use a union to pack hi/low value.
12922 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12924 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12926 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12928 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12929 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12930 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12932 2013-10-04 Alan Modra <amodra@gmail.com>
12934 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12935 constants to usual value for .cst8 section, and remove redundant
12937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12938 constant for 0x1p52. Load little-endian words of double from
12939 correct stack offsets.
12941 2013-10-04 Alan Modra <amodra@gmail.com>
12943 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12944 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12945 words of double from correct stack offsets.
12946 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12947 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12948 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12952 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12953 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12954 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12957 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12958 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12959 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12960 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12961 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12962 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12964 2013-10-04 Alan Modra <amodra@gmail.com>
12966 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12967 64-bit int/double union.
12968 (_FPU_SETCW): Likewise.
12969 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12970 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12972 2013-10-04 Alan Modra <amodra@gmail.com>
12974 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12975 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12977 2013-10-04 Alan Modra <amodra@gmail.com>
12979 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12980 use vector int constants.
12981 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12983 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12985 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12986 array with long long.
12987 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12988 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12989 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12990 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12991 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12992 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12993 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12994 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12995 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12996 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12997 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12998 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12999 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13001 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13003 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13004 (__signbit): Likewise. Correct for little-endian.
13005 (__signbitl): Call __signbit.
13006 (lrint): Correct for little-endian.
13007 (lrintf): Call lrint.
13009 2013-10-04 Alan Modra <amodra@gmail.com>
13011 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13012 union 32-bit int array member with 64-bit int array.
13013 (t515, tm256): Double rather than long double.
13014 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13016 2013-10-04 Alan Modra <amodra@gmail.com>
13018 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13020 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13021 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13022 version of math_ldbl.h.
13024 2013-10-04 Alan Modra <amodra@gmail.com>
13026 [BZ #15734], [BZ #15735]
13027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13028 all uses of ieee875 long double macros and unions. Simplify test
13029 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13030 ldbl_extract_mantissa value for ix,iy exponents. Properly
13031 normalize after ldbl_extract_mantissa, and don't add hidden bit
13032 already handled. Don't treat low word of ieee854 mantissa like
13033 low word of IBM long double and mask off bit when testing for
13035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13036 all uses of ieee875 long double macros and unions. Simplify tests
13037 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13038 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13039 two1022, instead use their values. Recognise that tests for large
13040 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13041 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13042 Rewrite all uses of ieee875 long double macros and unions. Simplify
13043 test for 0.0L and nan. Correct negation.
13044 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13045 ieee875 long double macros and unions. Correct output for large
13046 magnitude x. Correct absolute value calculation.
13047 (__erfcl): Likewise.
13048 * math/libm-test.inc: Add tests for errors discovered in IBM long
13049 double versions of fmodl, remainderl, erfl and erfcl.
13051 2013-10-04 Alan Modra <amodra@gmail.com>
13053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13054 all uses of ieee854 long double macros and unions. Simplify tests
13055 for long doubles that are fully specified by the high double.
13056 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13058 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13059 Remove dead code too.
13060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13061 (__ieee754_ynl): Likewise.
13062 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13065 Remove dead code too.
13066 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13069 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13071 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13076 Comment on variable precision.
13077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13080 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13086 2013-10-04 Alan Modra <amodra@gmail.com>
13088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13090 all uses of ieee854 long double macros and unions.
13091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13095 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13100 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13101 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13104 Simplify sign and nan test too.
13105 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13107 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13108 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13111 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13113 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13114 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13118 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13120 2013-10-04 Alan Modra <amodra@gmail.com>
13122 * stdio-common/printf_size.c (__printf_size): Don't use
13123 union ieee854_long_double in fpnum union.
13124 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13125 signbit macro to retrieve sign from long double.
13126 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13127 retrieve sign from long double.
13128 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13129 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13132 * math/test-misc.c (main): Don't use union ieee854_long_double.
13134 2013-10-04 Alan Modra <amodra@gmail.com>
13137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13139 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13140 calculation. Remove unnecessary test for denormal exponent.
13141 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13142 Correct handling of denormals. Avoid undefined shift behaviour.
13143 Correct normalisation of low mantissa when low double is denormal.
13144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13145 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13146 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13147 Correct normalisation of low mantissa. Test for overflow of high
13148 mantissa and normalise.
13149 (ldbl_nearbyint): Use more readable constant for two52.
13150 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13151 (__mpn_construct_long_double): Fix test for overflow of high
13152 mantissa and correct normalisation. Avoid undefined shift.
13154 2013-10-04 Alan Modra <amodra@gmail.com>
13156 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13157 (union ibm_extended_long_double): Define as an array of ieee754_double.
13158 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13159 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13160 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13161 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13163 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13164 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13166 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13167 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13170 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13172 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13173 page size instead of calling getpagesize.
13175 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13176 (LOCFILE_ALIGN_MASK): Likewise.
13177 (LOCFILE_ALIGN_UP): Likewise.
13178 (LOCFILE_ALIGNED_P): Likewise.
13179 * locale/programs/ld-collate.c (collate_output): Use the new
13180 macros instead of __alignof__ (int32_t).
13181 * locale/weight.h (findidx): Likewise.
13183 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13186 * manual/string.texi: Fix strncat and wcsncat.
13188 2013-10-03 Brooks Moses <bmoses@google.com>
13191 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13192 * Makerules: ...here, and adjust associated comments.
13194 2013-10-02 Will Newton <will.newton@linaro.org>
13196 * malloc/Makefile: Add tst-pvalloc.
13197 * malloc/tst-pvalloc.c: New file.
13199 2013-10-02 Will Newton <will.newton@linaro.org>
13201 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13202 improve test coverage.
13204 2013-10-02 Will Newton <will.newton@linaro.org>
13206 * malloc/Makefile: Add tst-posix_memalign.
13207 * malloc/tst-posix_memalign.c: New file.
13209 2013-10-01 Eric Blake <eblake@redhat.com>
13211 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13212 Use __THROWNL rather than __THROW on static functions.
13214 2013-09-30 Petr Machata <pmachata@redhat.com>
13216 * elf/elf.h (R_AARCH64_ABS16): New macro.
13217 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13218 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13219 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13220 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13221 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13222 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13223 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13224 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13225 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13226 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13227 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13228 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13229 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13230 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13231 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13232 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13233 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13234 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13235 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13236 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13237 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13238 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13239 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13240 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13241 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13242 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13243 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13244 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13245 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13246 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13248 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13250 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13251 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13253 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13255 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13257 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13259 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13261 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13263 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13265 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13266 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13267 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13268 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13269 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13270 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13271 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13272 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13273 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13274 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13275 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13276 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13278 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13280 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13282 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13284 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13286 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13287 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13288 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13289 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13290 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13291 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13292 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13293 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13294 (R_AARCH64_TLSDESC_LDR): Likewise.
13295 (R_AARCH64_TLSDESC_ADD): Likewise.
13296 (R_AARCH64_TLSDESC_CALL): Likewise.
13298 2013-09-30 Andreas Schwab <schwab@suse.de>
13301 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13302 the nss database lookup.
13303 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13306 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13308 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13310 2013-09-28 P. J. McDermott <pj@pehjota.net>
13312 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13313 ${Bash-specific parameter/pattern/string} parameter expansion.
13314 * sysdeps/unix/make-syscalls.sh: Likewise.
13316 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13318 * sysdeps/sh/stackguard-macros.h: New file.
13320 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13324 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13327 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13329 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13331 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13332 Fix thread ID register.
13334 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13336 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13337 [POSIX || UNIX98]: Require rather than permitting all symbols from
13339 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13340 element of struct sched_param.
13341 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13342 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13343 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13344 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13347 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13349 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13350 argument calculation.
13352 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13354 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13356 [POSIX] (pthread_attr_t): Do not require type.
13357 [POSIX] (pthread_cond_t): Likewise.
13358 [POSIX] (pthread_condattr_t): Likewise.
13359 [POSIX] (pthread_key_t): Likewise.
13360 [POSIX] (pthread_mutex_t): Likewise.
13361 [POSIX] (pthread_mutexattr_t): Likewise.
13362 [POSIX] (pthread_once_t): Likewise.
13363 [POSIX] (pthread_t): Likewise.
13364 [POSIX-based standards] (pthread_atfork): Expect function.
13366 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13367 Richard Sandiford <richard@codesourcery.com>
13369 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13370 (swap_endianness_p): New extern variable.
13371 (set_big_endian): New inline function.
13372 (maybe_swap_uint32): Likewise.
13373 (maybe_swap_uint32_array): Likewise.
13374 (maybe_swap_uint32_obstack): Likewise.
13375 * locale/programs/locfile.c: Include <stdbool.h>.
13376 (swap_endianness_p): New variable.
13377 (add_locale_uint32): Call maybe_swap_uint32.
13378 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13379 (write_locale_data): Call maybe_swap_uint32_array.
13380 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13382 (obstack_int32_grow_fast): Likewise.
13383 (output_weightwc): Call maybe_swap_uint32_obstack.
13384 (collate_output): Likewise.
13385 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13386 (OPT_LITTLE_ENDIAN): Likewise.
13387 (options): Add --little-endian and --big-endian options.
13388 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13389 * locale/programs/locarchive.c: Include "locfile.h".
13393 (create_archive): Use the new macros to access fields of
13394 structures directly mapped from or written to locale archives.
13395 (oldlocrecentcmp): Likewise.
13396 (enlarge_archive): Likewise.
13397 (insert_name): Likewise.
13398 (add_alias): Likewise.
13399 (add_locale): Likewise.
13400 (delete_locales_from_archive): Likewise.
13401 (show_archive_content): Likewise.
13402 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13405 2013-09-24 Roland McGrath <roland@hack.frob.com>
13407 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13408 http://www.gnu.org/doc/freemanuals.texi.
13409 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13411 2013-09-24 Will Newton <will.newton@linaro.org>
13413 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13416 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13418 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13421 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13423 * manual/threads.texi (POSIX Threads): Fix a typo.
13425 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13428 * string/tst-strcoll-overflow.c: New test case.
13429 * string/Makefile (xtests): Add tst-strcoll-overflow.
13430 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13431 cache if string sizes may cause integer overflow.
13434 * string/strcoll_l.c (coll_seq): New members rule, idx,
13435 save_idx and back_us.
13436 (get_next_seq_nocache): New function.
13437 (do_compare_nocache): New function.
13438 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13441 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13444 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13445 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13446 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13449 * elf/Makefile (tests): Add tst-ptrguard1.
13450 (tests-static): Add tst-ptrguard1-static.
13451 (tst-ptrguard1-ARGS): Define.
13452 (tst-ptrguard1-static-ARGS): Define.
13453 * elf/tst-ptrguard1.c: New file.
13454 * elf/tst-ptrguard1-static.c: New file.
13455 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13456 * sysdeps/i386/stackguard-macros.h: Likewise.
13457 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13458 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13459 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13460 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13461 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13462 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13464 2013-09-23 Hector Marco <hecmargi@upv.es>
13465 Ismael Ripoll <iripoll@disca.upv.es>
13466 Carlos O'Donell <carlos@redhat.com>
13469 * sysdeps/generic/stackguard-macros.h: Define
13470 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13471 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13472 Define __pointer_chk_guard_local.
13473 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13474 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13476 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13479 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13481 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13483 * include/string.h (__ffs): Declare as hidden.
13484 * string/ffs.c (__ffs): Define as hidden.
13485 * sysdeps/i386/ffs.c (__ffs): Likewise.
13486 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13487 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13488 * sysdeps/s390/ffs.c (__ffs): Likewise.
13489 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13491 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13493 * NEWS: Mention malloc probes.
13495 * malloc/arena.c (new_heap): New memory_heap_new probe.
13496 (grow_heap): New memory_heap_more probe.
13497 (shrink_heap): New memory_heap_less probe.
13498 (heap_trim): New memory_heap_free probe.
13499 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13500 (systrim): New memory_sbrk_less probe.
13501 * manual/probes.texi: Document them.
13503 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13504 * manual/probes.texi: Document it.
13506 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13507 (__libc_realloc): Add memory_realloc_retry probe.
13508 (__libc_memalign): Add memory_memalign_retry probe.
13509 (__libc_valloc): Add memory_valloc_retry probe.
13510 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13511 (__libc_calloc): Add memory_calloc_retry probe.
13512 * manual/probes.texi: Document them.
13514 * malloc/arena.c (get_free_list): Add probe
13515 memory_arena_reuse_free_list.
13516 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13517 and memory_arena_reuse.
13518 (arena_get2) [!PER_THREAD]: Likewise.
13519 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13520 memory_arena_reuse_realloc.
13521 * manual/probes.texi: Document them.
13523 * malloc/malloc.c (__libc_free): Add
13524 memory_mallopt_free_dyn_thresholds probe.
13525 (__libc_mallopt): Add multiple memory_mallopt probes.
13526 * manual/probes.texi: Document them.
13528 * malloc/malloc.c: Include stap-probe.h.
13529 (__libc_mallopt): Add memory_mallopt probe.
13530 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13531 * manual/probes.texi: New.
13532 * manual/Makefile (chapters): Add probes.
13533 * manual/threads.texi: Set next node.
13535 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13537 [BZ #15963, #13985]
13538 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13539 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13540 Add `Chinese' to `nan' entry name.
13542 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13544 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13545 (POLYNOMIAL): Likewise.
13546 (TAYLOR_SINCOS): Likewise.
13547 (TAYLOR_SLOW): Likewise.
13548 (__sin): Use TAYLOR_SINCOS.
13550 (slow): Use TAYLOR_SLOW.
13552 (bsloww): Likewise.
13553 (csloww): Likewise.
13555 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13557 * stdlib/strtod_l.c: Fix buffer overrun.
13559 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13561 * benchtests/Makefile (bench): Add sincos.
13562 * benchtests/bench-sincos.c: New file.
13564 * math/libm-test.inc (cos_test_data): New test inputs.
13565 (sin_test_data): Likewise.
13567 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13573 (sloww1): Likewise.
13574 (sloww2): Likewise.
13575 (bsloww1): Likewise.
13576 (bsloww2): Likewise.
13577 (cslow2): Likewise.
13578 (csloww1): Likewise.
13579 (csloww2): Likewise.
13581 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13590 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13592 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13593 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13594 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13595 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13596 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13597 * elf/cache.c (print_entry): Handle the new cache flags.
13599 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13600 Aldy Hernandez <aldyh@redhat.com>
13602 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13603 Change condition to [_SOFT_FLOAT].
13604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13616 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13619 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13622 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13624 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13625 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13626 (__longjmp): Use LOAD_GP to load saved GPRs.
13627 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13628 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13629 (__sigsetjmp): Use SAVE_GP to save GPRs.
13631 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13632 Do not append -msoft-float.
13633 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13635 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13637 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13639 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13642 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13643 (_FPU_GETCW): Use initial "__" on variable and field names but not
13644 on macro parameter name.
13645 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13646 parentheses around reference to macro parameter.
13648 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13650 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13652 (ctype_startup): Use uint32_t in cast and sizeof for
13655 2013-09-11 Jia Liu <proljc@gmail.com>
13657 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13659 [__FreeBSD__]: Likewise.
13661 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13664 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13665 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13666 (strchr): Remove __strchr_sse42 ifunc selection.
13667 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13668 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13670 2013-09-11 Will Newton <will.newton@linaro.org>
13672 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13673 parameter to RES. Remove hardcoded 1000 value.
13674 * benchtests/bench-skeleton.c (main): Pass RES parameter
13675 to TIMING_INIT and multiply result by 1000.
13677 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13681 2013-09-11 Andreas Schwab <schwab@suse.de>
13683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13685 (O_TMPFILE) [__USE_GNU]: Define.
13686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13689 2013-09-11 Will Newton <will.newton@linaro.org>
13692 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13695 2013-09-11 Will Newton <will.newton@linaro.org>
13698 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13701 2013-09-11 Will Newton <will.newton@linaro.org>
13704 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13707 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13709 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13710 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13715 2013-09-10 Allan McRae <allan@archlinux.org>
13718 * manual/arith.texi (Parsing of Floats): Clarify
13722 * manual/install.texi (Running make install): Mention
13724 * INSTALL: Regenerated.
13726 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13728 * csu/init-first.c (_init): Remove the !SHARED condition around
13729 FPU control word initialization.
13730 * elf/dl-support.c (_dl_fpu_control): New variable.
13731 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13732 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13733 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13734 * math/test-fpucw-static.c: New file.
13735 * math/test-fpucw-ieee.c: New file.
13736 * math/test-fpucw-ieee-static.c: New file.
13737 * math/Makefile (tests): Add `test-fpucw-ieee' and
13739 (tests-static): New variable.
13740 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13742 [($(build-shared),yes)]
13743 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13745 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13748 2013-09-09 Allan McRae <allan@archlinux.org>
13751 * manual/string.texi (Collation Functions): Fix typo in
13753 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13756 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13759 * libio/memstream.c (open_memstream): Fix memory leak.
13760 * libio/wmemstream.c (open_wmemstream): Likewise.
13763 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13765 2013-09-09 Will Newton <will.newton@linaro.org>
13767 * malloc/Makefile: Add tst-realloc to tests.
13768 * malloc/tst-realloc.c: New file.
13770 2013-09-09 Allan McRae <allan@archlinux.org>
13773 * COPYING: Update from GNU website to fix FSF address.
13774 * COPYING.LIB: Likewise.
13776 2013-09-06 David S. Miller <davem@davemloft.net>
13778 * po/zh_TW.po: Update Chinese (traditional) translation from
13779 translation project.
13781 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13782 Joseph Myers <joseph@codesourcery.com>
13784 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13786 (obstack_chunk_alloc): New macro.
13787 (obstack_chunk_free): Likewise.
13788 (record_offset): New function.
13789 (init_locale_data): Likewise.
13790 (align_locale_data): Likewise.
13791 (add_locale_empty): Likewise.
13792 (add_locale_raw_data): Likewise.
13793 (add_locale_raw_obstack): Likewise.
13794 (add_locale_string): Likewise.
13795 (add_locale_wstring): Likewise.
13796 (add_locale_uint32): Likewise.
13797 (add_locale_uint32_array): Likewise.
13798 (add_locale_char): Likewise.
13799 (start_locale_structure): Likewise.
13800 (end_locale_structure): Likewise.
13801 (start_locale_prelude): Likewise.
13802 (end_locale_prelude): Likewise.
13803 (write_locale_data): Take locale_file structure rather than an
13805 * locale/programs/locfile.h: Include "obstack.h".
13806 (struct locale_file): Change to store locale file contents instead
13808 (init_locale_data): New prototype.
13809 (align_locale_data): Likewise.
13810 (add_locale_empty): Likewise.
13811 (add_locale_raw_data): Likewise.
13812 (add_locale_raw_obstack): Likewise.
13813 (add_locale_string): Likewise.
13814 (add_locale_wstring): Likewise.
13815 (add_locale_uint32): Likewise.
13816 (add_locale_uint32_array): Likewise.
13817 (add_locale_char): Likewise.
13818 (start_locale_structure): Likewise.
13819 (end_locale_structure): Likewise.
13820 (start_locale_prelude): Likewise.
13821 (end_locale_prelude): Likewise.
13822 (write_locale_data): Update prototype.
13823 * locale/programs/3level.h (struct TABLE): Remove result field.
13824 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13825 Use new locale_file interface.
13826 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13827 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13828 * locale/programs/ld-address.c (address_output): Use new
13829 locale_file interface.
13830 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13832 (collate_finish): Don't call collseq_table_finalize.
13833 (collate_output): Use new locale_file interface.
13834 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13836 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13837 (TABLE): Move defines earlier in file.
13838 (ELEMENT): Likewise.
13839 (DEFAULT): Likewise.
13840 (wctrans_table_add): Move macro and inline function earlier in
13842 (struct wctype_table): Move type earlier in file.
13843 (add_locale_wctype_table): New static prototype.
13844 (struct locale_ctype_t): Use logical types instead of struct iovec
13845 pointers for members.
13846 (ctype_output): Use new locale_file interface.
13847 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13848 new locale_file interface.
13849 (allocate_arrays): Update for use of new locale_file interface.
13850 * locale/programs/ld-identification.c (identification_output): Use
13851 new locale_file interface.
13852 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13853 * locale/programs/ld-messages.c (messages_output): Likewise.
13854 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13855 * locale/programs/ld-name.c (name_output): Likewise.
13856 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13857 * locale/programs/ld-paper.c (paper_output): Likewise.
13858 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13859 * locale/programs/ld-time.c (time_output): Likewise.
13861 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13863 * benchtests/Makefile: Add memrchr benchmark.
13864 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13865 benchmark as memrchr.
13866 * benchtests/bench-memrchr-ifunc.c: New file.
13867 * benchtests/bench-memrchr.c: New file.
13869 2013-09-06 Will Newton <will.newton@linaro.org>
13871 * benchtests/Makefile (string-bench): Add memcpy.
13873 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13874 Cong Wang <amwang@redhat.com>
13877 * sysdeps/unix/sysv/linux/bits/in.h
13878 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13879 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13880 before __USE_KERNEL_IPV6_DEFS uses.
13881 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13883 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13884 sockaddr_in6, or ipv6_mreq.
13886 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13888 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13889 memory access for final bytes in some large inputs.
13890 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13892 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13894 * string/test-memrchr.c: New file.
13895 * string/test-memrchr-ifunc.c: New file.
13896 * string/Makefile: Add new memrchr testcase.
13898 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13900 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13901 fanotify_init returns EPERM.
13903 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13905 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13907 (top level): Treat second token from macro or constant entries for
13908 allowed headers as allowed.
13909 * include/complex.h: Condition internal declarations on
13911 * include/fenv.h: Condition include of <stdbool.h> and internal
13912 declarations on [!_ISOMAC].
13914 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13917 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13919 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13921 * configure.in (--enable-versioning): Remove configure option.
13922 (libc_cv_asm_symver_directive): Remove configure test.
13923 (libc_cv_ld_version_script_option): Likewise.
13924 (VERSIONING): Remove variable and AC_SUBST.
13925 (DO_VERSIONING): Remove AC_DEFINE.
13926 * configure: Regenerated.
13927 * config.h.in (DO_VERSIONING): Remove macro.
13928 * Makerules [$(versioning) = yes]: Change conditionals to
13929 [$(build-shared) = yes].
13930 * config.make.in (versioning): Remove variable.
13931 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13932 [$(build-shared) = yes].
13933 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13934 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13935 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13936 [$(build-shared) = yes].
13937 * extra-lib.mk [$(versioning) = yes]: Likewise.
13938 * hurd/Makefile [$(versioning) = yes]: Likewise.
13939 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13941 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13943 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13944 [SHARED && !NO_HIDDEN].
13945 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13947 [SHARED && DO_VERSIONING]: Likewise..
13948 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13949 [$(build-shared) = yes].
13950 * manual/install.texi (--disable-versioning): Remove
13952 * INSTALL: Regenerated.
13953 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13955 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13956 [$(build-shared) = yes].
13957 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13958 * sysdeps/i386/i686/multiarch/strstr-c.c
13959 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13960 [SHARED && !NO_HIDDEN].
13961 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13962 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13963 * sysdeps/powerpc/powerpc32/dl-machine.c
13964 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13965 * sysdeps/powerpc/powerpc32/sysdep.h
13966 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13967 to [SHARED && PIC && !NO_HIDDEN].
13968 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13969 conditional to [SHARED].
13971 2013-09-04 Will Newton <will.newton@linaro.org>
13973 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13974 * benchtests/bench-string.h: Include bench-timing.h instead
13975 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13976 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13977 call to HP_TIMING_DIFF_INIT.
13978 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13979 instead of hp-timing.h macros.
13980 * benchtests/bench-memchr.c: Likewise.
13981 * benchtests/bench-memcmp.c: Likewise.
13982 * benchtests/bench-memcpy.c: Likewise.
13983 * benchtests/bench-memmem.c: Likewise.
13984 * benchtests/bench-memmove.c: Likewise.
13985 * benchtests/bench-memset.c: Likewise.
13986 * benchtests/bench-rawmemchr.c: Likewise.
13987 * benchtests/bench-strcasecmp.c: Likewise.
13988 * benchtests/bench-strcasestr.c: Likewise.
13989 * benchtests/bench-strcat.c: Likewise.
13990 * benchtests/bench-strchr.c: Likewise.
13991 * benchtests/bench-strcmp.c: Likewise.
13992 * benchtests/bench-strcpy.c: Likewise.
13993 * benchtests/bench-strcpy_chk.c: Likewise.
13994 * benchtests/bench-strlen.c: Likewise.
13995 * benchtests/bench-strncasecmp.c: Likewise.
13996 * benchtests/bench-strncat.c: Likewise.
13997 * benchtests/bench-strncmp.c: Likewise.
13998 * benchtests/bench-strncpy.c: Likewise.
13999 * benchtests/bench-strnlen.c: Likewise.
14000 * benchtests/bench-strpbrk.c: Likewise.
14001 * benchtests/bench-strrchr.c: Likewise.
14002 * benchtests/bench-strspn.c: Likewise.
14003 * benchtests/bench-strstr.c: Likewise.
14005 2013-09-04 Will Newton <will.newton@linaro.org>
14007 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14009 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14012 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14013 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14014 * math/libm-test.inc (lgamma_test_data): Add more tests.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14020 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14024 Add strcmp-sse2-unaligned
14025 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14027 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14029 * Versions.def (libc): Add GLIBC_2.19.
14031 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14033 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14034 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14036 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14039 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14040 intermediate calculations in recurrence.
14041 (__ieee754_ynf): Likewise.
14042 * math/libm-test.inc (jn_test_data): Do not allow spurious
14043 underflow exception. Add more tests.
14044 (yn_test_data): Add more tests.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14048 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14052 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14054 * csu/init-first.c: Fix then/than typos.
14055 * locale/programs/ld-collate.c: Likewise.
14056 * locale/programs/linereader.h: Likewise.
14057 * manual/charset.texi: Likewise.
14058 * manual/filesys.texi: Likewise.
14059 * manual/stdio.texi: Likewise.
14060 * manual/string.texi: Likewise.
14061 * stdlib/fmtmsg.c: Likewise.
14062 * sysdeps/i386/stpncpy.S: Likewise.
14063 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14064 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14066 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14068 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14070 * elf/dl-open.c: Fix typos.
14071 * iconvdata/gbbig5.c: Likewise.
14072 * iconvdata/iso-2022-jp.c: Likewise.
14073 * iconv/gconv_int.h: Likewise.
14074 * iconv/loop.c: Likewise.
14075 * nis/rpcsvc/nis.h: Likewise.
14076 * resolv/ns_name.c: Likewise.
14077 * stdio-common/vfscanf.c: Likewise.
14078 * streams/stropts.h: Likewise.
14079 * sunrpc/rpc_thread.c: Likewise.
14080 * sysdeps/i386/strpbrk.S: Likewise.
14081 * sysdeps/ieee754/k_standard.c: Likewise.
14082 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14084 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14085 * sysdeps/mach/hurd/profil.c: Likewise.
14086 * sysdeps/s390/dl-procinfo.h: Likewise.
14087 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14089 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14090 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14093 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14095 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14098 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14100 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14101 aix specific files.
14102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14104 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14105 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14106 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14107 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14109 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14111 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14112 Roland McGrath <roland@hack.frob.com>
14114 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14115 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14117 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14119 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14120 __executable_start symbol instead of _start.
14122 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14124 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14125 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14127 * sysdeps/gnu/ldsodefs.h: ... this new file.
14129 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14130 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14131 instead of ELFOSABI_LINUX.
14133 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14134 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14135 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14136 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14138 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14139 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14140 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14142 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14143 (ibm_extended_long_double): Add ieee_nan member.
14144 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14145 (do_test): New function.
14147 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14149 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14150 functions, renamed from truncdfsf_test, trunctfsf_test,
14152 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14154 (do_test): Run all these.
14156 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14158 * argp/argp-help.c: Fix typos.
14159 * argp/argp-parse.c: Likewise.
14160 * debug/backtracesyms.c: Likewise.
14161 * elf/elf.h: Likewise.
14162 * malloc/malloc.c: Likewise.
14163 * nis/nis_print.c: Likewise.
14164 * resolv/res_comp.c: Likewise.
14165 * stdlib/stdlib.h: Likewise.
14166 * sunrpc/clnt_tcp.c: Likewise.
14167 * sunrpc/clnt_udp.c: Likewise.
14168 * sunrpc/clnt_unix.c: Likewise.
14169 * sysdeps/unix/bsd/ptsname.c: Likewise.
14170 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14178 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14180 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14182 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14185 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14188 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14189 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14190 ($(objpfx)bug-dl-leaf): New rule.
14191 ($(objpfx)bug-dl-leaf.so): Likewise.
14192 ($(objpfx)bug-dl-leaf.out): Likewise.
14193 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14194 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14195 * dlfcn/bug-dl-leaf.c: New test.
14196 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14197 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14198 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14199 (dlclose): Likewise.
14200 (dlmopen): Likewise.
14202 2013-08-27 Roland McGrath <roland@hack.frob.com>
14204 * include/netdb.h [!_ISOMAC]:
14205 Don't include <tls.h>.
14206 (h_errno, __libc_h_errno): Move declaration and macros out of
14209 * include/resolv.h [_RESOLV_H_]:
14210 Don't include <tls.h>.
14211 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14212 * resolv/res_libc.c: Don't include <tls.h>.
14213 (_res): Use __attribute__ ((nocommon)) in place of
14214 __attribute__ ((section (".bss"))).
14216 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14217 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14219 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14221 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14222 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14224 * resolv/res_mkquery.c: Include <sys/time.h>.
14226 * inet/ifreq.c: Moved to ...
14227 * sysdeps/unix/ifreq.c: ... here.
14228 * inet/ifreq.c: New file, true stub version.
14230 * socket/sa_len.c: New file.
14231 * socket/Makefile (aux): Add it.
14232 * sysdeps/unix/sysv/linux/Makefile
14233 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14234 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14235 and #include <socket/sa_len.c>.
14236 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14237 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14239 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14240 * bits/socket.h: ... here.
14242 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14243 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14244 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14246 2013-08-27 Andreas Schwab <schwab@suse.de>
14249 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14250 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14251 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14252 * string/test-strcasecmp.c (test_main): Run tests in several
14254 * string/test-strncasecmp.c (test_main): Likewise.
14256 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14257 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14258 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14260 (__strncasecmp_ssse3) [PIC]: Likewise.
14262 2013-08-26 Roland McGrath <roland@hack.frob.com>
14264 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14266 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14267 instead of explicitly declaring xdecrypt.
14268 * nis/nss_nis/nis-publickey.c: Likewise.
14270 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14273 * nscd/aicache.c: Include res_hconf.h.
14274 (addhstaiX): Initialize res_hconf.
14276 2013-08-26 Andreas Schwab <schwab@suse.de>
14278 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14279 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14281 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14283 * nscd/aicache.c (addhstaiX): Fix indentation.
14285 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14287 * configure.ac: Quote $build_pt_chown test.
14288 * configure: Regenerated.
14290 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14293 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14294 * math/s_cexpf.c (__cexpf): Likewise.
14295 * math/s_cexpl.c (__cexpl): Likewise.
14296 * math/libm-test.inc (cexp_test_data): Correct expected return
14297 value for NaN + i0. Add another test.
14299 2013-08-22 David S. Miller <davem@davemloft.net>
14301 * po/ca.po: Update Catalan translation from translation project.
14302 * po/uk.po: Add Ukrainian translations from translation project.
14304 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14307 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14308 is infinite, not alongside NaN test.
14309 * math/s_fdimf.c (__fdimf): Likewise.
14310 * math/s_fdiml.c (__fdiml): Likewise.
14311 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14312 errno is unchanged.
14314 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14316 * argp/argp-help.c: Fix typos.
14317 * crypt/speeds.c: Likewise.
14318 * csu/check_fds.c: Likewise.
14319 * elf/dl-load.c: Likewise.
14320 * elf/dl-open.c: Likewise.
14321 * elf/reldep3.c: Likewise.
14322 * elf/reldep.c: Likewise.
14323 * elf/sprof.c: Likewise.
14324 * iconv/iconv_charmap.c: Likewise.
14325 * iconv/skeleton.c: Likewise.
14326 * iconv/strtab.c: Likewise.
14327 * io/lockf64.c: Likewise.
14328 * libio/libioP.h: Likewise.
14329 * resolv/gai_notify.c: Likewise.
14330 * resolv/ns_name.c: Likewise.
14331 * resolv/ns_samedomain.c: Likewise.
14332 * resolv/res_send.c: Likewise.
14333 * stdlib/random.c: Likewise.
14334 * sunrpc/rpc/xdr.h: Likewise.
14335 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14337 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14338 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14339 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14343 * sysdeps/mach/hurd/check_fds.c: Likewise.
14344 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14345 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14346 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14348 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14349 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14350 * sysdeps/pthread/aio_notify.c: Likewise.
14351 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14352 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14353 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14354 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14355 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14357 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14359 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14360 version if bit_Slow_SSE4_2 is set.
14361 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14364 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14367 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14368 trampoline stack frame information.
14369 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14370 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14371 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14372 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14373 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14374 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14375 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14376 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14378 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14379 interrupting a syscall and set with option SA_SIGINFO.
14381 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14384 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14385 argument is infinite.
14386 * math/s_cprojf.c (__cprojf): Likewise.
14387 * math/s_cprojl.c (__cprojl): Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14389 * math/libm-test.inc (cproj_test_data): Add more tests.
14391 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14393 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14394 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14395 size. Use __ffs to determine corresponding shift.
14397 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14398 Roland McGrath <roland@hack.frob.com>
14400 * Makefile (INSTALL): Remove trailing blank lines from output of
14403 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14405 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14406 Align 32 bit compat elf_greg to 8 bytes.
14408 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14410 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14412 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14414 * string/strcoll_l.c (coll_seq): New structure.
14415 (get_next_seq_cached): New function.
14416 (get_next_seq): New function.
14417 (do_compare): New function.
14418 (STRCOLL): Use GNU style definition. Simplify implementation
14419 by using get_next_seq, get_next_seq_cached and do_compare.
14421 2013-08-16 Florian Weimer <fweimer@redhat.com>
14425 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14427 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14429 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14430 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14431 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14433 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14434 GETDENTS_64BIT_ALIGNED.
14435 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14436 * manual/filesys.texi (Reading/Closing Directory): Document
14437 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14439 * manual/conf.texi (Limits for Files): Add portability note to
14440 NAME_MAX, PATH_MAX.
14441 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14443 2013-08-13 Andreas Schwab <schwab@suse.de>
14446 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14448 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14449 LDBL_MAX_EXP >= 16384]: Add tests for it.
14451 2013-08-12 David S. Miller <davem@davemloft.net>
14453 * version.h (RELEASE): Set to "development".
14454 (VERSION): Set to "2.18.90".
14455 * NEWS: Add 2.19 section.
14457 2013-08-03 David S. Miller <davem@davemloft.net>
14459 * po/ko.po: Update Korean translation from translation project.
14461 2013-08-01 David S. Miller <davem@davemloft.net>
14463 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14464 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14467 2013-07-30 David S. Miller <davem@davemloft.net>
14469 * po/fr.po: Update French translation from translation project.
14471 2013-07-28 David S. Miller <davem@davemloft.net>
14473 * po/cs.po: Update Czech translation from translation project.
14475 * po/sv.po: Update Swedish translation from translation project.
14477 2013-07-27 David S. Miller <davem@davemloft.net>
14479 * po/eo.po: Update Esperanto translation from translation project.
14481 * po/vi.po: Update Vietnamese translation from translation project.
14483 * po/de.po: Update German translation from translation project.
14485 2013-07-26 David S. Miller <davem@davemloft.net>
14487 * po/bg.po: Update Bulgarian translation from translation project.
14489 * po/nl.po: Update Dutch translation from translation project.
14490 * po/pl.po: Update Polish translation from translation project.
14491 * po/ru.po: Update Russian translation from translation project.
14493 2013-07-24 David S. Miller <davem@davemloft.net>
14495 * po/libc.pot: Update.
14497 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14499 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14500 variable page size.
14501 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14503 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14505 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14507 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14509 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14510 Andreas Schwab <schwab@suse.de>
14511 Roland McGrath <roland@hack.frob.com>
14512 Joseph Myers <joseph@codesourcery.com>
14513 Carlos O'Donell <carlos@redhat.com>
14516 * config.h.in: Define HAVE_PT_CHOWN.
14517 * config.make.in (build-pt-chown): New variable.
14518 * configure.in (--enable-pt_chown): New configure option.
14519 * configure: Regenerate.
14520 * login/Makefile: Include Makeconfig. Build pt_chown only if
14521 build-pt-chown is enabled.
14522 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14523 pt_chown to fix pty ownership.
14524 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14526 * manual/install.texi (Configuring and compiling): Mention
14527 --enable-pt_chown. Add @findex for grantpt.
14528 * INSTALL: Regenerate.
14530 2013-07-20 David S. Miller <davem@davemloft.net>
14532 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14533 difference between 32-bit and 64-bit.
14535 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14538 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14539 Avoid system header dependency with -ffreestanding.
14540 ($(objpfx)bits/syscall%d): Likewise.
14542 2013-07-13 David S. Miller <davem@davemloft.net>
14544 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14545 underflows from atanl/atan2l due to bug 15319.
14546 (casinh_test_data): Likewise.
14548 2013-07-07 David S. Miller <davem@davemloft.net>
14550 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14552 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14554 * sysdeps/i386/fpu/libm-test-ulps: Update.
14555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14557 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14559 * configure.in (--enable-lock-elision): Fix message text.
14560 * INSTALL: Regenerate.
14561 * configure: Regenerate.
14563 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14567 2013-07-03 Andreas Jaeger <aj@suse.de>
14569 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14571 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14572 (ptrace_peeksiginfo_args): Add.
14573 (__ptrace_peeksiginfo_flags): Add.
14574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14576 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14578 2013-07-03 Allan McRae <allan@archlinux.org>
14580 * sysdeps/i386/fpu/libm-test-ulps: Update.
14582 2013-07-02 David S. Miller <davem@davemloft.net>
14584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14586 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14590 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595 2013-07-02 Andi Kleen <ak@linux.intel.com>
14597 * config.h.in (ENABLE_LOCK_ELISION): Add.
14598 * configure.in (--enable-lock-elision): Add option.
14599 * manual/install.texi: Document --enable lock elision.
14600 * configure: Regenerate
14601 * INSTALL: Regenerate.
14603 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14605 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14606 SSE4.2 strcasecmp for libc.a.
14607 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14609 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14612 * soft-fp/op-common.h (_FP_FMA): New macro.
14613 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14614 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14615 (_FP_MUL_MEAT_1_imm): ... here.
14616 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14617 (_FP_MUL_MEAT_1_wide): ... here.
14618 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14619 (_FP_MUL_MEAT_1_hard): ... here.
14620 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14621 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14622 (_FP_MUL_MEAT_2_wide): ... here.
14623 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14624 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14625 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14626 (_FP_MUL_MEAT_2_gmp): ... here.
14627 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14628 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14629 (_FP_MUL_MEAT_4_wide): ... here.
14630 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14631 (_FP_MUL_MEAT_4_gmp): ... here.
14632 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14633 (_FP_WFRACBITS_DW_S): Likewise.
14634 (_FP_WFRACXBITS_DW_S): Likewise.
14635 (_FP_HIGHBIT_DW_S): Likewise.
14636 (FP_FMA_S): Likewise.
14637 (_FP_FRAC_HIGH_DW_S): Likewise.
14638 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14639 (_FP_WFRACBITS_DW_D): Likewise.
14640 (_FP_WFRACXBITS_DW_D): Likewise.
14641 (_FP_HIGHBIT_DW_D): Likewise.
14642 (FP_FMA_D): Likewise.
14643 (_FP_FRAC_HIGH_DW_D): Likewise.
14644 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14645 (_FP_WFRACBITS_DW_E): Likewise.
14646 (_FP_WFRACXBITS_DW_E): Likewise.
14647 (_FP_HIGHBIT_DW_E): Likewise.
14648 (FP_FMA_E): Likewise.
14649 (_FP_FRAC_HIGH_DW_E): Likewise.
14650 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14651 (_FP_WFRACBITS_DW_Q): Likewise.
14652 (_FP_WFRACXBITS_DW_Q): Likewise.
14653 (_FP_HIGHBIT_DW_Q): Likewise.
14654 (FP_FMA_Q): Likewise.
14655 (_FP_FRAC_HIGH_DW_Q): Likewise.
14656 * soft-fp/fmasf4.c: New file.
14657 * soft-fp/fmadf4.c: Likewise.
14658 * soft-fp/fmatf4.c: Likewise.
14660 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14663 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14667 (index_Slow_SSE4_2): Likewise.
14668 (index_Prefer_PMINUB_for_stringop): Likewise.
14669 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14670 bit_Slow_SSE4_2 is set.
14671 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14672 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14674 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14676 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14677 rtld_global._dl_hwcap2.
14678 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14680 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14681 POWER8 feature descriptions defined in _dl_hwcap2.
14682 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14683 string handling for POWER8 feature bits.
14684 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14685 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14686 _dl_powerpc_cap_flags.
14687 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14688 * sysdeps/powerpc/rtld-global-offsets.sym
14689 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14690 _dl_hwcap2 in the rtld_global_ro structure.
14692 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14694 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14695 hardware capabilities in support of AT_HWCAP2.
14696 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14697 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14699 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14700 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14701 explicitly the unknown a_type display mechanism is used.
14702 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14703 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14705 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14706 to macro prototype for AT_HWCAP2 support.
14707 * sysdeps/i386/dl-procinfo.h: Likewise.
14708 * sysdeps/s390/dl-procinfo.h: Likewise.
14709 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14710 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14711 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14712 return -1 for unknown a_type display fallback.
14713 * sysdeps/sparc/dl-procinfo.h: Likewise.
14714 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14715 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14717 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14719 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14720 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14722 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14725 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14726 mprotect making __stack_prot writable.
14728 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14729 Joseph Myers <joseph@codesourcery.com>
14731 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14732 as being properly aligned.
14734 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14736 * dlfcn/modstatic5.c: New file.
14737 * dlfcn/tststatic5.c: New file.
14738 * dlfcn/Makefile (tests): Add tststatic5.
14739 (tests-static): Likewise.
14740 (modules-names): Add modstatic5.
14741 (tststatic5-ENV): New variable.
14742 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14745 * elf/dl-support.c (_dl_main_map): New variable.
14746 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14747 (_dl_nns, _dl_load_adds): Set to 1.
14748 (_dl_initial_searchlist): Refer to _dl_main_map.
14749 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14750 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14751 call to _dl_get_origin.
14752 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14754 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14755 * dlfcn/modstatic3.c: New file.
14756 * dlfcn/tststatic3.c: New file.
14757 * dlfcn/tststatic4.c: New file.
14758 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14759 (tests-static): Likewise.
14760 (modules-names): Add modstatic3.
14761 (tststatic3-ENV, tststatic4-ENV): New variables.
14762 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14763 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14765 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14767 * configure.in (CC): Require GCC version 4.4 or later.
14768 * configure: Regenerated.
14769 * manual/install.texi (Tools for Compilation): Update GCC version
14771 * INSTALL: Regenerated.
14773 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14776 * string/test-memcmp.c (check2): New.
14777 (main): Call check2.
14779 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14781 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14784 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14786 (dl_open_worker) [!SHARED]: ... here.
14788 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14790 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14792 2013-06-25 Richard Henderson <rth@redhat.com>
14794 * locale/programs/locarchive.c: Include <libc-internal.h>
14796 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14798 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14799 trailing whitespace removed.
14801 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14804 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14805 * locale/programs/locarchive.c: Include libc-mmap.h.
14806 (prepare_address_space): Take two new outputs (the mmap base and len).
14807 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14809 (create_archive): Declare new mmap base and len values for
14810 prepare_address_space, and store the result in ah.
14811 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14812 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14813 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14814 Declare new mmap base and len values for
14815 prepare_address_space, and store the result in new_ah.
14816 (open_archive): Declare new mmap base and len values for
14817 prepare_address_space, and store the result in ah.
14818 (close_archive): If ah->mmap_base is not NULL, use that and
14819 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14820 * sysdeps/generic/libc-mmap.h: New file.
14822 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14824 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14825 (ALIGN_UP): Likewise.
14826 (PTR_ALIGN_DOWN): Likewise.
14827 (PTR_ALIGN_UP): Likewise.
14829 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14832 entry mapped to PPC_PLATFORM_POWER8.
14833 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14835 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14836 (_dl_string_platform): Add case for exporting platform position for
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14839 search path to sysdeps/powerpc/powerpc32/power8 directory.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14841 search path to sysdeps/powerpc/powerpc64/power8 directory.
14842 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14843 power7 directories.
14844 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14845 power7 directories.
14847 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14849 * INSTALL: Regenerate.
14851 * nscd/connections.c (nscd_init): Fix comment.
14853 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14855 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14858 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14859 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14861 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14863 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14865 (DL_DST_REQ_STATIC): Remove macro.
14867 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14870 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14871 with a shift of 0 bits.
14873 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14875 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14878 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14881 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14883 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14885 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14886 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14887 accepts -fno-tree-loop-distribute-patterns.
14888 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14889 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14891 * string/memset.c (memset): Likewise.
14892 * string/test-memmove.c (simple_memmove): Disable loop transformation
14894 * string/test-memset.c (simple_memset): Likewise.
14895 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14896 * benchtests/bench-memset.c (simple_memset): Likewise.
14897 * configure: Regenerated.
14899 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14901 * math/test-misc.c (main): Ignore fesetround failure when failures
14902 of subsequent rounding tests would be ignored.
14905 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14906 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14907 * math/fegetenv.c (__fegetenv): Return 0.
14908 * math/fegetexcept.c (fegetexcept): Return 0.
14909 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14911 * math/feholdexcpt.c (feholdexcept): Return 0.
14912 * math/fesetenv.c (__fesetenv): Return 0.
14913 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14914 argument FE_TONEAREST.
14915 * math/feupdateenv.c (__feupdateenv): Return 0.
14916 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14918 2013-06-18 Roland McGrath <roland@hack.frob.com>
14920 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14921 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14922 ($(objpfx)rtld-%.os rules): Use them.
14924 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14926 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14929 2013-06-17 Roland McGrath <roland@hack.frob.com>
14931 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14932 length of target pattern, then descending length of dependency pattern.
14933 * configure.in (AWK): Require gawk 3.1.2 or newer.
14934 * manual/install.texi (Tools for Compilation): Say that we do.
14935 * configure: Regenerated.
14937 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14938 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14939 * scripts/sysd-rules.awk: ... this new script.
14940 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14941 than a glob-style pattern.
14943 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14945 * math/test-misc.c (main): Do not treat incorrectly rounded
14946 conversions as failure unless ROUNDING_TESTS passes.
14948 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14951 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14952 restore exception state around main square root computation, then
14953 check for inexactness explicitly.
14955 * math/libm-test.inc (fma_test_data): Add another test.
14957 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14959 * manual/threads.texi (Non-POSIX Extensions): New document
14960 node. Document pthread_getattr_default_np and
14961 pthread_setattr_default_np.
14963 * Versions.def (libpthread): Add GLIBC_2.18.
14964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14973 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14984 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14987 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14989 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14990 H.J. Lu <hjl.tools@gmail.com>
14993 * sysdeps/x86_64/rtld-memset.c: Remove file.
14994 * sysdeps/x86_64/rtld-memset.S: New file.
14996 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14998 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14999 (test_in_one_mode): Take arguments for whether the rounding mode
15000 is supported for each floating-point type.
15001 (do_test): Pass new arguments to test_in_one_mode using
15004 2013-06-13 Roland McGrath <roland@hack.frob.com>
15006 * posix/tst-waitid.c (do_test): Distinguish different instances of
15007 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15008 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15009 before entering the kernel for waitpid.
15011 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15013 * NEWS: Fix note on clock function precision. Text by Roland
15016 2013-06-13 Roland McGrath <roland@hack.frob.com>
15018 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15019 it into place only when and if the sanity check passes.
15021 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15023 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15024 output for whether conversion result is exact. Take argument
15025 indicating whether type is IBM long double.
15026 (round_for_all): Change need_exact field to ibm_ld.
15027 * stdlib/tst-strtod-round.c (struct exactness): New type.
15028 (struct test): Change bool ld_ok field to struct exactness exact.
15029 (TEST): Update all definitions for change to field.
15030 (tests): Regenerate array contents.
15031 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15032 field value. Check for IBM long double here.
15033 (do_test): Update calls to test_in_one_mode.
15035 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15038 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15039 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15041 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15045 generated by the compiler on loop optimizations.
15046 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15047 general definitions.
15049 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15051 * math/bug-nextafter.c: Include <math-tests.h>.
15052 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15054 * math/bug-nexttoward.c: Include <math-tests.h>.
15055 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15057 * math/test-misc.c: Include <math-tests.h>.
15058 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15061 2013-06-12 Andreas Jaeger <aj@suse.de>
15063 * po/ia.po: Update Interlingua translation from translation
15066 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15068 * include/fenv.h: Include stdbool.h.
15069 (struct rm_ctx): New structure.
15070 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15072 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15073 (SET_RESTORE_ROUNDF): Likewise.
15074 (SET_RESTORE_ROUNDL): Likewise.
15075 (SET_RESTORE_ROUND_NOEX): Likewise.
15076 (SET_RESTORE_ROUND_NOEXF): Likewise.
15077 (SET_RESTORE_ROUND_NOEXL): Likewise.
15078 (SET_RESTORE_ROUND_53BIT): Likewise.
15079 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15080 (libc_feresetround_noexf_ctx): Likewise.
15081 (libc_feresetround_noexl_ctx): Likewise.
15082 (libc_feholdsetround_53bit_ctx): Likewise.
15083 (libc_feresetround_53bit_ctx): Likewise.
15084 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15085 (libc_feholdexcept_setround_sse_ctx): New function.
15086 (libc_fesetenv_sse_ctx): Likewise.
15087 (libc_feupdateenv_sse_ctx): Likewise.
15088 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15089 (libc_feholdexcept_setround_387_ctx): Likewise.
15090 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15091 (libc_feholdsetround_387_prec_ctx): Likewise.
15092 (libc_feholdsetround_387_ctx): Likewise.
15093 (libc_feholdsetround_387_53bit_ctx): Likewise.
15094 (libc_feholdsetround_sse_ctx): Likewise.
15095 (libc_feresetround_sse_ctx): Likewise.
15096 (libc_feresetround_387_ctx): Likewise.
15097 (libc_feupdateenv_387_ctx): Likewise.
15098 (libc_feholdexcept_setroundf_ctx): Define macro.
15099 (libc_fesetenvf_ctx): Likewise.
15100 (libc_feupdateenvf_ctx): Likewise.
15101 (libc_feholdsetroundf_ctx): Likewise.
15102 (libc_feresetroundf_ctx): Likewise.
15103 (libc_feholdexcept_setround_ctx): Likewise.
15104 (libc_fesetenv_ctx): Likewise.
15105 (libc_feupdateenv_ctx): Likewise.
15106 (libc_feholdsetround_ctx): Likewise.
15107 (libc_feresetround_ctx): Likewise.
15108 (libc_feholdexcept_setroundl_ctx): Likewise.
15109 (libc_feupdateenvl_ctx): Likewise.
15110 (libc_feholdsetroundl_ctx): Likewise.
15111 (libc_feresetroundl_ctx): Likewise.
15112 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15113 (libc_feresetround_53bit_ctx): Likewise.
15115 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15117 * locale/iso-639.def: Convert to UTF-8.
15119 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15121 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15122 (EXCEPTION_TESTS_double): Likewise.
15123 (EXCEPTION_TESTS_long_double): Likewise.
15124 (EXCEPTION_TESTS): Likewise.
15125 * math/libm-test.inc (test_exceptions): Only test exceptions if
15126 EXCEPTION_TESTS (FLOAT).
15128 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15130 * benchtests/Makefile (string-bench): Add strcpy_chk and
15132 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15133 * benchtests/bench-stpcpy_chk.c: New file.
15134 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15135 * benchtests/bench-strcpy_chk.c: New file.
15136 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15138 (do_test): Likewise.
15140 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15142 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15143 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15144 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15145 with tabs where appropriate.
15146 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15148 [PPC_PLATFORM_PPC440]: Likewise.
15149 [PPC_PLATFORM_PPC464]: Likewise.
15150 [PPC_PLATFORM_PPC476]: Likewise.
15151 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15152 ppc464, and ppc476 platform strings merging from ports/
15155 2013-06-11 Andreas Schwab <schwab@suse.de>
15158 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15159 (from_ucs4_idx): Regenerate.
15160 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15161 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15162 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15163 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15164 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15165 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15166 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15167 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15168 from FROM_LOOP and TO_LOOP specific macros.
15169 (BODY): Handle combining characters.
15170 * iconvdata/BIG5HKSCS.irreversible: Update.
15171 * iconvdata/BIG5HKSCS.precomposed: New file.
15172 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15174 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15176 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15178 * include/sys/time.h: Fix indentation and add copyright header.
15180 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15181 (do_test): Likewise.
15182 * string/test-memchr.c (do_one_test): Likewise.
15183 (do_test): Likewise.
15184 * string/test-memcmp.c (do_one_test): Likewise.
15185 (do_test): Likewise.
15186 * string/test-memcpy.c (do_one_test): Likewise.
15187 (do_test): Likewise.
15188 * string/test-memmem.c (do_one_test): Likewise.
15189 (do_test): Likewise.
15190 (do_random_tests): Likewise.
15191 * string/test-memmove.c (do_one_test): Likewise.
15192 (do_test): Likewise.
15193 * string/test-memset.c (do_one_test): Likewise.
15194 (do_test): Likewise.
15195 * string/test-rawmemchr.c (do_one_test): Likewise.
15196 (do_test): Likewise.
15197 * string/test-strcasecmp.c (do_one_test): Likewise.
15198 (do_test): Likewise.
15199 * string/test-strcasestr.c (do_one_test): Likewise.
15200 (do_test): Likewise.
15201 * string/test-strcat.c (do_one_test): Likewise.
15202 (do_test): Likewise.
15203 * string/test-strchr.c (do_one_test): Likewise.
15204 (do_test): Likewise.
15205 * string/test-strcmp.c (do_one_test): Likewise.
15206 (do_test): Likewise.
15207 * string/test-strcpy.c (do_one_test): Likewise.
15208 (do_test): Likewise.
15209 * string/test-string.h: Likewise.
15210 (test_init): Likewise.
15211 * string/test-strlen.c (do_one_test): Likewise.
15212 (do_test): Likewise.
15213 * string/test-strncasecmp.c (do_one_test): Likewise.
15214 (do_test): Likewise.
15215 * string/test-strncat.c (do_one_test): Likewise.
15216 (do_test): Likewise.
15217 * string/test-strncmp.c (do_one_test): Likewise.
15218 (do_test_limit): Likewise.
15219 (do_test): Likewise.
15220 * string/test-strncpy.c (do_one_test): Likewise.
15221 (do_test): Likewise.
15222 * string/test-strnlen.c (do_one_test): Likewise.
15223 (do_test): Likewise.
15224 * string/test-strpbrk.c (do_one_test): Likewise.
15225 (do_test): Likewise.
15226 * string/test-strrchr.c (do_one_test): Likewise.
15227 (do_test): Likewise.
15228 * string/test-strspn.c (do_one_test): Likewise.
15229 (do_test): Likewise.
15230 * string/test-strstr.c (do_one_test): Likewise.
15231 (do_test): Likewise.
15233 * benchtests/Makefile (string-bench): Add string benchmarks.
15234 * benchtests/bench-bcopy-ifunc.c: New file.
15235 * benchtests/bench-bcopy.c: New file.
15236 * benchtests/bench-bzero-ifunc.c: New file.
15237 * benchtests/bench-bzero.c: New file.
15238 * benchtests/bench-memccpy-ifunc.c: New file.
15239 * benchtests/bench-memccpy.c: New file.
15240 * benchtests/bench-memchr-ifunc.c: New file.
15241 * benchtests/bench-memchr.c: New file.
15242 * benchtests/bench-memcmp-ifunc.c: New file.
15243 * benchtests/bench-memcmp.c: New file.
15244 * benchtests/bench-memmem-ifunc.c: New file.
15245 * benchtests/bench-memmem.c: New file.
15246 * benchtests/bench-memmove-ifunc.c: New file.
15247 * benchtests/bench-memmove.c: New file.
15248 * benchtests/bench-mempcpy-ifunc.c: New file.
15249 * benchtests/bench-mempcpy.c: New file.
15250 * benchtests/bench-memset-ifunc.c: New file.
15251 * benchtests/bench-memset.c: New file.
15252 * benchtests/bench-rawmemchr-ifunc.c: New file.
15253 * benchtests/bench-rawmemchr.c: New file.
15254 * benchtests/bench-stpcpy-ifunc.c: New file.
15255 * benchtests/bench-stpcpy.c: New file.
15256 * benchtests/bench-stpncpy-ifunc.c: New file.
15257 * benchtests/bench-stpncpy.c: New file.
15258 * benchtests/bench-strcasecmp-ifunc.c: New file.
15259 * benchtests/bench-strcasecmp.c: New file.
15260 * benchtests/bench-strcasestr-ifunc.c: New file.
15261 * benchtests/bench-strcasestr.c: New file.
15262 * benchtests/bench-strcat-ifunc.c: New file.
15263 * benchtests/bench-strcat.c: New file.
15264 * benchtests/bench-strchr-ifunc.c: New file.
15265 * benchtests/bench-strchr.c: New file.
15266 * benchtests/bench-strchrnul-ifunc.c: New file.
15267 * benchtests/bench-strchrnul.c: New file.
15268 * benchtests/bench-strcmp-ifunc.c: New file.
15269 * benchtests/bench-strcmp.c: New file.
15270 * benchtests/bench-strcpy-ifunc.c: New file.
15271 * benchtests/bench-strcpy.c: New file.
15272 * benchtests/bench-strcspn-ifunc.c: New file.
15273 * benchtests/bench-strcspn.c: New file.
15274 * benchtests/bench-strlen-ifunc.c: New file.
15275 * benchtests/bench-strlen.c: New file.
15276 * benchtests/bench-strncasecmp-ifunc.c: New file.
15277 * benchtests/bench-strncasecmp.c: New file.
15278 * benchtests/bench-strncat-ifunc.c: New file.
15279 * benchtests/bench-strncat.c: New file.
15280 * benchtests/bench-strncmp-ifunc.c: New file.
15281 * benchtests/bench-strncmp.c: New file.
15282 * benchtests/bench-strncpy-ifunc.c: New file.
15283 * benchtests/bench-strncpy.c: New file.
15284 * benchtests/bench-strnlen-ifunc.c: New file.
15285 * benchtests/bench-strnlen.c: New file.
15286 * benchtests/bench-strpbrk-ifunc.c: New file.
15287 * benchtests/bench-strpbrk.c: New file.
15288 * benchtests/bench-strrchr-ifunc.c: New file.
15289 * benchtests/bench-strrchr.c: New file.
15290 * benchtests/bench-strspn-ifunc.c: New file.
15291 * benchtests/bench-strspn.c: New file.
15292 * benchtests/bench-strstr-ifunc.c: New file.
15293 * benchtests/bench-strstr.c: New file.
15295 * benchtests/Makefile: Disable parallel execution of targets.
15296 (string-bench): Add memcpy.
15297 (benchset): New variable to store a list of benchmark sets.
15298 (bench-func): Renamed from bench.
15299 (bench-set): New target.
15300 (bench): Depend on bench-func and bench-set.
15301 * benchtests/README: Add section on benchmark sets.
15302 * benchtests/bench-memcpy-ifunc.c: New file.
15303 * benchtests/bench-memcpy.c: New file.
15304 * benchtests/bench-string.h: New file.
15306 2013-06-11 Andreas Schwab <schwab@suse.de>
15309 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15310 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15311 values in the triple.
15312 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15313 terminator in the group key.
15315 2013-06-11 Andreas Jaeger <aj@suse.de>
15317 * po/zh_TW.po: Update Chinese (traditional) translation from
15318 translation project.
15320 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15322 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15323 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15324 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15326 (clock_getcpuclockid): Likewise.
15327 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15328 Add weak_alias and libc_hidden_def.
15329 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15330 * rt/clock_gettime.c (clock_gettime): Rename to
15331 __clock_gettime. Add weak_alias and libc_hidden_def.
15332 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15333 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15334 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15335 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15336 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15338 * rt/clock_settime.c (clock_settime): Rename to
15339 __clock_settime. Add weak_alias and libc_hidden_def.
15340 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15342 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15344 * mach/err_boot.sub: Remove trailing whitespace.
15345 * mach/err_ipc.sub: Likewise.
15346 * mach/err_mach.sub: Likewise.
15348 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15349 (ROUNDING_TESTS_double): Likewise.
15350 (ROUNDING_TESTS_long_double): Likewise.
15351 (ROUNDING_TESTS): Likewise.
15352 * math/libm-test.inc: Include <math-tests.h>.
15353 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15354 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15355 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15356 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15358 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15360 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15363 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15365 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15366 otherwise empty TRANS lines.
15367 * sysdeps/gnu/errlist.c: Regenerated.
15369 * catgets/gencat.c (error_print): Use (void) in function
15371 * crypt/crypt_util.c (__init_des): Likewise.
15372 * crypt/speeds.c (Stop): Likewise.
15374 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15375 * inet/ruserpass.c (token): Likewise.
15376 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15377 * intl/localealias.c (extend_alias_table): Likewise.
15378 * intl/plural-exp.c (init_germanic_plural): Likewise.
15379 * libio/fcloseall.c (__fcloseall): Likewise.
15380 * libio/genops.c (_IO_flush_all): Likewise.
15381 (_IO_flush_all_linebuffered): Likewise.
15382 (_IO_cleanup): Likewise.
15383 (_IO_iter_begin): Likewise.
15384 (_IO_iter_end): Likewise.
15385 (_IO_list_lock): Likewise.
15386 (_IO_list_unlock): Likewise.
15387 (_IO_list_resetlock): Likewise.
15388 * libio/getchar.c (getchar): Likewise.
15389 * libio/getchar_u.c (getchar_unlocked): Likewise.
15390 * libio/getwchar.c (getwchar): Likewise.
15391 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15392 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15393 * login/getpt.c (__getpt): Likewise.
15394 * login/tst-utmp.c (main): Likewise.
15395 * malloc/hooks.c (__malloc_check_init): Likewise.
15396 * malloc/malloc.c (__malloc_stats): Likewise.
15397 * malloc/mtrace.c (tr_break): Likewise.
15398 (mtrace): Likewise.
15399 (muntrace): Likewise.
15400 * misc/fstab.c (endfsent): Likewise.
15401 * misc/getclktck.c (__getclktck): Likewise.
15402 * misc/getdtsz.c (__getdtablesize): Likewise.
15403 * misc/gethostid.c (gethostid): Likewise.
15404 * misc/getpagesize.c (__getpagesize): Likewise.
15405 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15406 (__get_nprocs): Likewise.
15407 (__get_phys_pages): Likewise.
15408 (__get_avphys_pages): Likewise.
15409 * misc/getttyent.c (getttyent): Likewise.
15410 (setttyent): Likewise.
15411 (endttyent): Likewise.
15412 * misc/getusershell.c (getusershell): Likewise.
15413 (endusershell): Likewise.
15414 (setusershell): Likewise.
15415 (initshells): Likewise.
15416 * misc/hsearch.c (__hdestroy): Likewise.
15417 * misc/sync.c (sync): Likewise.
15418 * misc/syslog.c (closelog_internal): Likewise.
15419 (closelog): Likewise.
15420 * misc/ttyslot.c (ttyslot): Likewise.
15421 * misc/vhangup.c (vhangup): Likewise.
15422 * posix/fork.c (__fork): Likewise.
15423 * posix/getegid.c (__getegid): Likewise.
15424 * posix/geteuid.c (__geteuid): Likewise.
15425 * posix/getgid.c (__getgid): Likewise.
15426 * posix/getpid.c (__getpid): Likewise.
15427 * posix/getppid.c (__getppid): Likewise.
15428 * posix/getuid.c (__getuid): Likewise.
15429 * posix/pause.c (pause): Likewise.
15430 * posix/setpgrp.c (setpgrp): Likewise.
15431 * posix/setsid.c (__setsid): Likewise.
15432 * posix/test-vfork.c (noop): Likewise.
15433 * resolv/gethnamaddr.c (_endhtent): Likewise.
15434 (_gethtent): Likewise.
15435 (ht_endhostent): Likewise.
15436 (gethostent): Likewise.
15437 (dns_service): Likewise.
15438 * stdlib/drand48.c (drand48): Likewise.
15439 * stdlib/lrand48.c (lrand48): Likewise.
15440 * stdlib/mrand48.c (mrand48): Likewise.
15441 * stdlib/rand.c (rand): Likewise.
15442 * stdlib/random.c (__random): Likewise.
15443 * stdlib/setenv.c (clearenv): Likewise.
15444 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15445 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15446 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15447 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15448 (__get_nprocs): Likewise.
15449 (__get_phys_pages): Likewise.
15450 (__get_avphys_pages): Likewise.
15451 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15452 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15453 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15454 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15455 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15456 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15457 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15458 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15459 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15460 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15461 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15462 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15463 * sysdeps/posix/clock.c (clock): Likewise.
15464 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15465 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15466 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15467 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15468 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15470 (__get_nprocs_conf): Likewise.
15471 (__get_phys_pages): Likewise.
15472 (__get_avphys_pages): Likewise.
15473 * time/clock.c (clock): Likewise.
15474 * time/tzset.c (__tzname_max): Likewise.
15476 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15478 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15479 (__bswap_32): Do not use "register".
15480 * crypt/crypt.c (_ufc_doit_r): Likewise.
15481 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15482 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15483 * gmon/gmon.c (__monstartup): Likewise.
15484 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15485 * hurd/hurdmalloc.c (more_memory): Likewise.
15486 (malloc): Likewise.
15488 (realloc): Likewise.
15489 (malloc_fork_prepare): Likewise.
15490 (malloc_fork_parent): Likewise.
15491 (malloc_fork_child): Likewise.
15492 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15493 (_svcauth_des): Likewise.
15494 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15495 * inet/inet_net.c (inet_network): Likewise.
15496 * inet/inet_netof.c (inet_netof): Likewise.
15497 * inet/rcmd.c (__validuser2_sa): Likewise.
15498 * io/fts.c (fts_open): Likewise.
15499 (fts_load): Likewise.
15500 (fts_close): Likewise.
15501 (fts_read): Likewise.
15502 (fts_children): Likewise.
15503 (fts_build): Likewise.
15504 (fts_stat): Likewise.
15505 (fts_sort): Likewise.
15506 (fts_alloc): Likewise.
15507 (fts_lfree): Likewise.
15508 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15509 (_IO_file_xsgetn): Likewise.
15510 (_IO_file_xsgetn_mmap): Likewise.
15511 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15512 (_IO_cookie_write): Likewise.
15513 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15514 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15515 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15516 * malloc/obstack.c (_obstack_begin): Likewise.
15517 (_obstack_begin_1): Likewise.
15518 (_obstack_newchunk): Likewise.
15519 (_obstack_allocated_p): Likewise.
15520 (obstack_free): Likewise.
15521 (_obstack_memory_used): Likewise.
15522 * misc/getttyent.c (getttynam): Likewise.
15523 (getttyent): Likewise.
15526 * misc/getusershell.c (initshells): Likewise.
15527 * misc/syslog.c (__vsyslog_chk): Likewise.
15528 * misc/ttyslot.c (ttyslot): Likewise.
15529 * nis/nis_hash.c (__nis_hash): Likewise.
15530 * posix/fnmatch_loop.c (FCT): Likewise.
15531 * posix/getconf.c (print_all): Likewise.
15533 * posix/getopt.c (exchange): Likewise.
15534 * posix/glob.c (globfree): Likewise.
15535 (prefix_array): Likewise.
15536 (__glob_pattern_type): Likewise.
15537 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15538 (NS_GET32): Likewise.
15539 (NS_PUT16): Likewise.
15540 (NS_PUT32): Likewise.
15541 * resolv/gethnamaddr.c (getanswer): Likewise.
15542 (gethostbyname2): Likewise.
15543 (gethostbyaddr): Likewise.
15544 (_gethtent): Likewise.
15545 (_gethtbyname2): Likewise.
15546 (_gethtbyaddr): Likewise.
15547 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15548 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15549 * resolv/res_init.c (__res_vinit): Likewise.
15550 (net_mask): Likewise.
15551 * resolv/res_mkquery.c (outchar): Likewise.
15553 * stdio-common/printf_fp.c (outchar): Likewise.
15555 * stdio-common/printf_fphex.c (outchar): Likewise.
15557 * stdio-common/printf_size.c (outchar): Likewise.
15559 * stdio-common/test_rdwr.c (main): Likewise.
15560 * stdio-common/tfformat.c (matches): Likewise.
15561 * stdio-common/vfprintf.c (outchar): Likewise.
15562 (printf_unknown): Likewise.
15563 (buffered_vfprintf): Likewise.
15564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15565 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15566 (ReadFile): Likewise.
15567 * stdlib/qsort.c (SWAP): Likewise.
15568 (_quicksort): Likewise.
15569 * stdlib/setenv.c (__add_to_environ): Likewise.
15570 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15571 * stdlib/strtol_l.c (__strtol_l): Likewise.
15572 * stdlib/tst-strtod.c (main): Likewise.
15573 * stdlib/tst-strtol.c (main): Likewise.
15574 * stdlib/tst-strtoll.c (main): Likewise.
15575 * string/bits/string2.h (__strcmp_cc): Likewise.
15576 (__strcmp_cg): Likewise.
15577 (__strcspn_c1): Likewise.
15578 (__strcspn_c2): Likewise.
15579 (__strcspn_c3): Likewise.
15580 (__strspn_c1): Likewise.
15581 (__strspn_c2): Likewise.
15582 (__strspn_c3): Likewise.
15583 (__strsep_1c): Likewise.
15584 (__strsep_2c): Likewise.
15585 (__strsep_3c): Likewise.
15586 * string/memccpy.c (__memccpy): Likewise.
15587 * string/stpcpy.c (__stpcpy): Likewise.
15588 * string/strcmp.c (strcmp): Likewise.
15589 * string/strrchr.c (strrchr): Likewise.
15590 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15592 * sysdeps/mach/hurd/getcwd.c
15593 (_hurd_canonicalize_directory_name_internal): Likewise.
15594 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15595 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15596 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15597 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15598 Likewise, in both definitions.
15599 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15601 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15602 64] (__bswap_64): Likewise.
15603 * time/test_time.c (main): Likewise.
15604 * time/tzfile.c (__tzfile_read): Likewise.
15605 (__tzfile_compute): Likewise.
15606 * time/tzset.c (__tzset_parse_tz): Likewise.
15607 (tzset_internal): Likewise.
15608 (compute_change): Likewise.
15609 * wcsmbs/wcscat.c (__wcscat): Likewise.
15610 * wcsmbs/wcschr.c (wcschr): Likewise.
15611 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15612 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15613 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15614 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15615 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15616 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15617 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15618 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15619 * wcsmbs/wmemset.c (wmemset): Likewise.
15621 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15623 * scripts/config.guess: Update to version 2013-05-16.
15624 * scripts/config.sub: Update to version 2013-04-24.
15625 * scripts/install-sh: Update to version 2011-11-20.07.
15626 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15627 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15629 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15631 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15632 * elf/sln.c: Likewise.
15633 * hurd/hurd/ioctl.h: Likewise.
15634 * hurd/hurdmalloc.c: Likewise.
15635 * hurd/xattr.c: Likewise.
15636 * include/shlib-compat.h: Likewise.
15637 * inet/ruserpass.c: Likewise.
15638 * libio/iofgets_u.c: Likewise.
15639 * libio/iofgetws_u.c: Likewise.
15640 * locale/programs/ld-identification.c: Likewise.
15641 * locale/programs/ld-time.c: Likewise.
15642 * mach/msg-destroy.c: Likewise.
15643 * nss/nss_files/files-netgrp.c: Likewise.
15644 * resolv/res_data.c: Likewise.
15645 * soft-fp/op-1.h: Likewise.
15646 * soft-fp/op-2.h: Likewise.
15647 * soft-fp/op-4.h: Likewise.
15648 * soft-fp/op-common.h: Likewise.
15649 * stdio-common/printf_fphex.c: Likewise.
15650 * stdlib/strtod_l.c: Likewise.
15651 * sunrpc/rpc/clnt.h: Likewise.
15652 * sysdeps/generic/framestate.c: Likewise.
15653 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15654 * sysdeps/i386/bsd-setjmp.S: Likewise.
15655 * sysdeps/i386/__longjmp.S: Likewise.
15656 * sysdeps/i386/setjmp.S: Likewise.
15657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15658 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15660 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15662 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15663 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15666 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15667 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15668 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15669 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15670 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15671 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15675 * sysdeps/ieee754/support.c: Likewise.
15676 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15677 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15678 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15679 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15680 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15681 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15682 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15683 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15684 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15685 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15686 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15687 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15690 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15691 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15692 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15695 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15697 * posix/transbug.c: Remove executable mode.
15699 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15701 * crypt/speeds.c: Remove trailing whitespace.
15702 * dlfcn/default.c: Likewise.
15703 * elf/ifuncdep2.c: Likewise.
15704 * elf/ifuncmain1.c: Likewise.
15705 * elf/ifuncmain1vis.c: Likewise.
15706 * elf/testobj.h: Likewise.
15707 * elf/tst-stackguard1.c: Likewise.
15708 * gmon/sys/gmon.h: Likewise.
15709 * hurd/hurdmsg.c: Likewise.
15710 * hurd/new-fd.c: Likewise.
15711 * hurd/ports-get.c: Likewise.
15712 * iconvdata/ibm1008_420.c: Likewise.
15713 * inet/tst-getni1.c: Likewise.
15714 * inet/tst-getni2.c: Likewise.
15715 * libio/ioungetc.c: Likewise.
15716 * libio/wfiledoalloc.c: Likewise.
15717 * manual/libm-err-tab.pl: Likewise.
15718 * math/w_dremf.c: Likewise.
15719 * misc/ftruncate.c: Likewise.
15720 * posix/bug-glob2.c: Likewise.
15721 * posix/tst-pcre.c: Likewise.
15722 * posix/wait4.c: Likewise.
15723 * resolv/README: Likewise.
15724 * resolv/res_debug.h: Likewise.
15725 * resolv/tst-inet_ntop.c: Likewise.
15726 * setjmp/bug269-setjmp.c: Likewise.
15727 * soft-fp/extended.h: Likewise.
15728 * soft-fp/op-1.h: Likewise.
15729 * soft-fp/op-2.h: Likewise.
15730 * soft-fp/op-4.h: Likewise.
15731 * soft-fp/op-8.h: Likewise.
15732 * soft-fp/testit.c: Likewise.
15733 * stdio-common/bug16.c: Likewise.
15734 * stdlib/random.c: Likewise.
15735 * sunrpc/rpcsvc/rquota.x: Likewise.
15736 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15737 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15739 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15740 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15741 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15742 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15743 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15746 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15765 * sysdeps/ieee754/s_lib_version.c: Likewise.
15766 * sysdeps/mach/hurd/check_fds.c: Likewise.
15767 * sysdeps/mach/hurd/getsockname.c: Likewise.
15768 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15769 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15770 * sysdeps/powerpc/bits/link.h: Likewise.
15771 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15772 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15773 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15774 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15775 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15776 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15777 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15778 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15779 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15780 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15781 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15782 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15783 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15784 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15785 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15786 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15791 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15792 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15794 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15795 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15804 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15805 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15807 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15808 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15809 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15810 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15811 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15812 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15813 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15814 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15815 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15816 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15817 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15818 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15819 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15820 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15823 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15824 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15825 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15826 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15827 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15829 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15832 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15833 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15834 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15835 * sysdeps/powerpc/sysdep.h: Likewise.
15836 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15837 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15838 * sysdeps/sh/dl-trampoline.S: Likewise.
15839 * sysdeps/sh/memset.S: Likewise.
15840 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15841 * sysdeps/sh/strlen.S: Likewise.
15842 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15843 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15844 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15845 * sysdeps/sparc/sparc32/rem.S: Likewise.
15846 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15847 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15848 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15849 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15850 * sysdeps/sparc/sparc32/urem.S: Likewise.
15851 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15852 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15853 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15854 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15855 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15856 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15857 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15858 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15859 * sysdeps/unix/bsd/times.c: Likewise.
15860 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15861 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15866 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15867 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15869 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15870 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15872 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15873 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15874 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15875 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15876 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15877 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15878 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15879 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15880 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15881 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15882 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15883 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15884 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15885 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15886 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15887 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15888 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15889 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15890 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15891 * sysdeps/x86_64/strcspn.S: Likewise.
15893 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15895 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15896 generated file. Regenerate properly from gen-translit.pl.
15897 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15898 locale/C-translit.h.
15900 2013-06-05 Andreas Schwab <schwab@suse.de>
15903 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15904 week as 6 instead of -1.
15905 * time/tst-strptime.c (day_tests): Add test case.
15907 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15909 * sysdeps/generic/math_private.h
15910 (libc_feholdexcept_setround_53bit): Replace with
15911 libc_feholdsetround_53bit.
15912 (libc_feupdateenv_53bit): Replace with
15913 libc_feresetround_53bit.
15914 (SET_RESTORE_ROUND_53BIT): Adjust.
15916 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15918 * string/test-strchrnul.c: Add copyright header.
15920 * posix/tst-getaddrinfo4.c: Increase test timeout.
15922 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15925 * math/libm-test.inc (MAX_EXP): Remove
15927 (ulp): Use MIN_EXP - MANT_DIG.
15928 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15930 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15932 * po/be.po: Revert last change.
15933 * po/zh_CN.po: Likewise.
15934 * po/header.pot: Likewise.
15936 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15938 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15939 link-libc-deps to empty as target-specific variable.
15940 * Makerules (link-libc-args): New variable.
15941 (libc-for-link): Likewise.
15942 (link-libc-deps): Likewise.
15943 (lib%.so): Depend on $(link-libc-deps). Link with
15945 (build-module): Link with $(link-libc-args).
15946 (build-module-asneeded): Likewise.
15947 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15949 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15950 target-specific variable.
15951 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15952 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15953 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15955 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15957 ($(objpfx)libpcprofile.so): Likewise.
15958 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15960 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15961 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15962 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15964 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15965 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15966 * login/Makefile ($(objpfx)libutil.so): Likewise.
15967 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15968 * math/Makefile ($(objpfx)libm.so): Likewise.
15969 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15970 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15971 variable instead of depending directly on libc.
15972 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15973 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15975 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15977 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15978 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15979 ($(objpfx)libanl.so): Likewise.
15980 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15982 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15984 * sysdeps/i386/fpu/Makefile: Remove file.
15985 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15986 ($(objpfx)libm.so): Remove dependency on ld.so.
15988 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15991 * nis/yp_xdr.c (XDRMAXNAME): Define.
15992 (XDRMAXRECORD): Define.
15993 (xdr_domainname): Use XDRMAXNAME.
15994 (xdr_mapname): Likewise.
15995 (xdr_peername): Likewise.
15996 (xdr_keydat): Use XDRMAXRECORD.
15997 (xdr_valdat): Likewise.
15999 2013-05-30 Jeff Law <law@redhat.com>
16002 * manual/errno.texi (ESTALE): Update to account for more than
16003 just NFS file systems.
16004 * sysdeps/gnu/errlist.c: Regenerated.
16006 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16009 * elf/Makefile (tests): Add tst-null-argv.
16010 (modules-names): Add tst-null-argv-lib.
16011 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16012 (tst-null-argv-ENV): Set environment for tst-null-argv.
16013 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16014 (RTLD_PROGNAME): New macro.
16015 * elf/tst-null-argv.c: New test case.
16016 * elf/tst-null-argv-lib.c: Library for test case.
16017 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16018 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16019 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16020 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16021 * elf/dl-init.c (call_init): Likewise.
16022 (_dl_init): Likewise.
16023 * elf/dl-load.c (print_search_path): Likewise.
16024 (_dl_map_object): Likewise.
16025 * elf/dl-lookup.c (do_lookup_x): Likewise.
16026 (add_dependency): Likewise.
16027 (_dl_lookup_symbol_x): Likewise.
16028 (_dl_debug_bindings): Likewise.
16029 * elf/dl-open.c (_dl_show_scope): Likewise.
16030 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16031 * elf/dl-version.c (match_symbol): Likewise.
16032 (_dl_check_map_versions): Likewise.
16033 * elf/rtld.c (dl_main): Likewise.
16034 (print_unresolved): Use RTLD_PROGNAME.
16035 (print_missing_version): Likewise.
16036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16037 (elf_machine_rela): Likewise.
16038 * sysdeps/powerpc/powerpc32/dl-machine.c
16039 (__process_machine_rela): Likewise.
16040 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16044 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16046 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16053 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16055 * po/be.po: Add descriptive title.
16056 * po/zh_CN.po: Likewise.
16057 * po/header.pot: Likewise.
16059 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16061 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16063 (enlarge_archive): Likewise.
16065 2013-05-28 Ben North <ben@redfrontdoor.org>
16067 * manual/arith.texi (frexp): It is the magnitude of the return
16068 value which lies in [0.5, 1), not the return value itself.
16070 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16074 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16076 * stdio-common/bug26.c (main): Correct fscanf template.
16078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16079 declare _dl_skip_args.
16081 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16084 * manual/platform.texi: Add missing @end deftypefun.
16086 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16089 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16090 bit of mantissa of 2^16382.
16091 * math/libm-test.inc (hypot_test_data): Add more tests.
16093 * math/libm-test.inc: Add drem and pow10 to list of tested
16095 (pow10_test): New function.
16096 (drem_test): Likewise.
16097 (drem_test_tonearest): Likewise.
16098 (drem_test_towardzero): Likewise.
16099 (drem_test_downward): Likewise.
16100 (drem_test_upward): Likewise.
16101 (main): Call the new functions.
16103 * math/libm-test.inc (finite_test_data): Remove.
16104 (finite_test): Run tests from isfinite_test_data.
16105 (gamma_test_data): Remove.
16106 (gamma_test): Run tests from lgamma_test_data.
16107 * sysdeps/i386/fpu/libm-test-ulps: Update.
16108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16110 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16112 * manual/platform.texi: Add PowerPC PPR function set documentation.
16113 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16116 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16118 * math/libm-test.inc (MAX_EXP): Define.
16120 (ulp): New function.
16121 (check_float_internal): Use ULPDIFF.
16122 (cpow_test): Disable failing test.
16123 (check_ulp): Test ulp() implemetnation.
16124 (main): Call check_ulp before starting tests.
16126 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16128 * math/gen-libm-test.pl (generate_testfile): Do not handle
16129 START_DATA and END_DATA.
16130 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16132 (acos_tonearest_test_data): Likewise.
16133 (acos_towardzero_test_data): Likewise.
16134 (acos_downward_test_data): Likewise.
16135 (acos_upward_test_data): Likewise.
16136 (acosh_test_data): Likewise.
16137 (asin_test_data): Likewise.
16138 (asin_tonearest_test_data): Likewise.
16139 (asin_towardzero_test_data): Likewise.
16140 (asin_downward_test_data): Likewise.
16141 (asin_upward_test_data): Likewise.
16142 (asinh_test_data): Likewise.
16143 (atan_test_data): Likewise.
16144 (atanh_test_data): Likewise.
16145 (atan2_test_data): Likewise.
16146 (cabs_test_data): Likewise.
16147 (cacos_test_data): Likewise.
16148 (cacosh_test_data): Likewise.
16149 (carg_test_data): Likewise.
16150 (casin_test_data): Likewise.
16151 (casinh_test_data): Likewise.
16152 (catan_test_data): Likewise.
16153 (catanh_test_data): Likewise.
16154 (cbrt_test_data): Likewise.
16155 (ccos_test_data): Likewise.
16156 (ccosh_test_data): Likewise.
16157 (ceil_test_data): Likewise.
16158 (cexp_test_data): Likewise.
16159 (cimag_test_data): Likewise.
16160 (clog_test_data): Likewise.
16161 (clog10_test_data): Likewise.
16162 (conj_test_data): Likewise.
16163 (copysign_test_data): Likewise.
16164 (cos_test_data): Likewise.
16165 (cos_tonearest_test_data): Likewise.
16166 (cos_towardzero_test_data): Likewise.
16167 (cos_downward_test_data): Likewise.
16168 (cos_upward_test_data): Likewise.
16169 (cosh_test_data): Likewise.
16170 (cosh_tonearest_test_data): Likewise.
16171 (cosh_towardzero_test_data): Likewise.
16172 (cosh_downward_test_data): Likewise.
16173 (cosh_upward_test_data): Likewise.
16174 (cpow_test_data): Likewise.
16175 (cproj_test_data): Likewise.
16176 (creal_test_data): Likewise.
16177 (csin_test_data): Likewise.
16178 (csinh_test_data): Likewise.
16179 (csqrt_test_data): Likewise.
16180 (ctan_test_data): Likewise.
16181 (ctan_tonearest_test_data): Likewise.
16182 (ctan_towardzero_test_data): Likewise.
16183 (ctan_downward_test_data): Likewise.
16184 (ctan_upward_test_data): Likewise.
16185 (ctanh_test_data): Likewise.
16186 (ctanh_tonearest_test_data): Likewise.
16187 (ctanh_towardzero_test_data): Likewise.
16188 (ctanh_downward_test_data): Likewise.
16189 (ctanh_upward_test_data): Likewise.
16190 (erf_test_data): Likewise.
16191 (erfc_test_data): Likewise.
16192 (exp_test_data): Likewise.
16193 (exp_tonearest_test_data): Likewise.
16194 (exp_towardzero_test_data): Likewise.
16195 (exp_downward_test_data): Likewise.
16196 (exp_upward_test_data): Likewise.
16197 (exp10_test_data): Likewise.
16198 (exp2_test_data): Likewise.
16199 (expm1_test_data): Likewise.
16200 (fabs_test_data): Likewise.
16201 (fdim_test_data): Likewise.
16202 (finite_test_data): Likewise.
16203 (floor_test_data): Likewise.
16204 (fma_test_data): Likewise.
16205 (fma_towardzero_test_data): Likewise.
16206 (fma_downward_test_data): Likewise.
16207 (fma_upward_test_data): Likewise.
16208 (fmax_test_data): Likewise.
16209 (fmin_test_data): Likewise.
16210 (fmod_test_data): Likewise.
16211 (fpclassify_test_data): Likewise.
16212 (frexp_test_data): Likewise.
16213 (gamma_test_data): Likewise.
16214 (hypot_test_data): Likewise.
16215 (ilogb_test_data): Likewise.
16216 (isfinite_test_data): Likewise.
16217 (isgreater_test_data): Likewise.
16218 (isgreaterequal_test_data): Likewise.
16219 (isinf_test_data): Likewise.
16220 (isless_test_data): Likewise.
16221 (islessequal_test_data): Likewise.
16222 (islessgreater_test_data): Likewise.
16223 (isnan_test_data): Likewise.
16224 (isnormal_test_data): Likewise.
16225 (issignaling_test_data): Likewise.
16226 (isunordered_test_data): Likewise.
16227 (j0_test_data): Likewise.
16228 (j1_test_data): Likewise.
16229 (jn_test_data): Likewise.
16230 (ldexp_test_data): Likewise.
16231 (lgamma_test_data): Likewise.
16232 (lrint_test_data): Likewise.
16233 (lrint_tonearest_test_data): Likewise.
16234 (lrint_towardzero_test_data): Likewise.
16235 (lrint_downward_test_data): Likewise.
16236 (lrint_upward_test_data): Likewise.
16237 (llrint_test_data): Likewise.
16238 (llrint_tonearest_test_data): Likewise.
16239 (llrint_towardzero_test_data): Likewise.
16240 (llrint_downward_test_data): Likewise.
16241 (llrint_upward_test_data): Likewise.
16242 (log_test_data): Likewise.
16243 (log10_test_data): Likewise.
16244 (log1p_test_data): Likewise.
16245 (log2_test_data): Likewise.
16246 (logb_test_data): Likewise.
16247 (logb_downward_test_data): Likewise.
16248 (lround_test_data): Likewise.
16249 (llround_test_data): Likewise.
16250 (modf_test_data): Likewise.
16251 (nearbyint_test_data): Likewise.
16252 (nextafter_test_data): Likewise.
16253 (nexttoward_test_data): Likewise.
16254 (pow_test_data): Likewise.
16255 (pow_tonearest_test_data): Likewise.
16256 (pow_towardzero_test_data): Likewise.
16257 (pow_downward_test_data): Likewise.
16258 (pow_upward_test_data): Likewise.
16259 (remainder_test_data): Likewise.
16260 (remainder_tonearest_test_data): Likewise.
16261 (remainder_towardzero_test_data): Likewise.
16262 (remainder_downward_test_data): Likewise.
16263 (remainder_upward_test_data): Likewise.
16264 (remquo_test_data): Likewise.
16265 (rint_test_data): Likewise.
16266 (rint_tonearest_test_data): Likewise.
16267 (rint_towardzero_test_data): Likewise.
16268 (rint_downward_test_data): Likewise.
16269 (rint_upward_test_data): Likewise.
16270 (round_test_data): Likewise.
16271 (scalb_test_data): Likewise.
16272 (scalbn_test_data): Likewise.
16273 (scalbln_test_data): Likewise.
16274 (signbit_test_data): Likewise.
16275 (sin_test_data): Likewise.
16276 (sin_tonearest_test_data): Likewise.
16277 (sin_towardzero_test_data): Likewise.
16278 (sin_downward_test_data): Likewise.
16279 (sin_upward_test_data): Likewise.
16280 (sincos_test_data): Likewise.
16281 (sinh_test_data): Likewise.
16282 (sinh_tonearest_test_data): Likewise.
16283 (sinh_towardzero_test_data): Likewise.
16284 (sinh_downward_test_data): Likewise.
16285 (sinh_upward_test_data): Likewise.
16286 (sqrt_test_data): Likewise.
16287 (tan_test_data): Likewise.
16288 (tan_tonearest_test_data): Likewise.
16289 (tan_towardzero_test_data): Likewise.
16290 (tan_downward_test_data): Likewise.
16291 (tan_upward_test_data): Likewise.
16292 (tanh_test_data): Likewise.
16293 (tgamma_test_data): Likewise.
16294 (trunc_test_data): Likewise.
16295 (y0_test_data): Likewise.
16296 (y1_test_data): Likewise.
16297 (yn_test_data): Likewise.
16298 (significand_test_data): Likewise.
16300 * math/gen-libm-test.pl (@functions): Remove variable.
16301 (generate_testfile): Don't handle START and END lines.
16302 * math/libm-test.inc (START): New macro.
16304 (END_COMPLEX): Likewise.
16305 (acos_test): Use END macro without arguments.
16306 (acos_test_tonearest): Likewise.
16307 (acos_test_towardzero): Likewise.
16308 (acos_test_downward): Likewise.
16309 (acos_test_upward): Likewise.
16310 (acosh_test): Likewise.
16311 (asin_test): Likewise.
16312 (asin_test_tonearest): Likewise.
16313 (asin_test_towardzero): Likewise.
16314 (asin_test_downward): Likewise.
16315 (asin_test_upward): Likewise.
16316 (asinh_test): Likewise.
16317 (atan_test): Likewise.
16318 (atanh_test): Likewise.
16319 (atan2_test): Likewise.
16320 (cabs_test): Likewise.
16321 (cacos_test): Use END_COMPLEX macro without arguments.
16322 (cacosh_test): Likewise.
16323 (carg_test): Use END macro without arguments.
16324 (casin_test): Use END_COMPLEX macro without arguments.
16325 (casinh_test): Likewise.
16326 (catan_test): Likewise.
16327 (catanh_test): Likewise.
16328 (cbrt_test): Use END macro without arguments.
16329 (ccos_test): Use END_COMPLEX macro without arguments.
16330 (ccosh_test): Likewise.
16331 (ceil_test): Use END macro without arguments.
16332 (cexp_test): Use END_COMPLEX macro without arguments.
16333 (cimag_test): Use END macro without arguments.
16334 (clog_test): Use END_COMPLEX macro without arguments.
16335 (clog10_test): Likewise.
16336 (conj_test): Likewise.
16337 (copysign_test): Use END macro without arguments.
16338 (cos_test): Likewise.
16339 (cos_test_tonearest): Likewise.
16340 (cos_test_towardzero): Likewise.
16341 (cos_test_downward): Likewise.
16342 (cos_test_upward): Likewise.
16343 (cosh_test): Likewise.
16344 (cosh_test_tonearest): Likewise.
16345 (cosh_test_towardzero): Likewise.
16346 (cosh_test_downward): Likewise.
16347 (cosh_test_upward): Likewise.
16348 (cpow_test): Use END_COMPLEX macro without arguments.
16349 (cproj_test): Likewise.
16350 (creal_test): Use END macro without arguments.
16351 (csin_test): Use END_COMPLEX macro without arguments.
16352 (csinh_test): Likewise.
16353 (csqrt_test): Likewise.
16354 (ctan_test): Likewise.
16355 (ctan_test_tonearest): Likewise.
16356 (ctan_test_towardzero): Likewise.
16357 (ctan_test_downward): Likewise.
16358 (ctan_test_upward): Likewise.
16359 (ctanh_test): Likewise.
16360 (ctanh_test_tonearest): Likewise.
16361 (ctanh_test_towardzero): Likewise.
16362 (ctanh_test_downward): Likewise.
16363 (ctanh_test_upward): Likewise.
16364 (erf_test): Use END macro without arguments.
16365 (erfc_test): Likewise.
16366 (exp_test): Likewise.
16367 (exp_test_tonearest): Likewise.
16368 (exp_test_towardzero): Likewise.
16369 (exp_test_downward): Likewise.
16370 (exp_test_upward): Likewise.
16371 (exp10_test): Likewise.
16372 (exp2_test): Likewise.
16373 (expm1_test): Likewise.
16374 (fabs_test): Likewise.
16375 (fdim_test): Likewise.
16376 (finite_test): Likewise.
16377 (floor_test): Likewise.
16378 (fma_test): Likewise.
16379 (fma_test_towardzero): Likewise.
16380 (fma_test_downward): Likewise.
16381 (fma_test_upward): Likewise.
16382 (fmax_test): Likewise.
16383 (fmin_test): Likewise.
16384 (fmod_test): Likewise.
16385 (fpclassify_test): Likewise.
16386 (frexp_test): Likewise.
16387 (gamma_test): Likewise.
16388 (hypot_test): Likewise.
16389 (ilogb_test): Likewise.
16390 (isfinite_test): Likewise.
16391 (isgreater_test): Likewise.
16392 (isgreaterequal_test): Likewise.
16393 (isinf_test): Likewise.
16394 (isless_test): Likewise.
16395 (islessequal_test): Likewise.
16396 (islessgreater_test): Likewise.
16397 (isnan_test): Likewise.
16398 (isnormal_test): Likewise.
16399 (issignaling_test): Likewise.
16400 (isunordered_test): Likewise.
16401 (j0_test): Likewise.
16402 (j1_test): Likewise.
16403 (jn_test): Likewise.
16404 (ldexp_test): Likewise.
16405 (lgamma_test): Likewise.
16406 (lrint_test): Likewise.
16407 (lrint_test_tonearest): Likewise.
16408 (lrint_test_towardzero): Likewise.
16409 (lrint_test_downward): Likewise.
16410 (lrint_test_upward): Likewise.
16411 (llrint_test): Likewise.
16412 (llrint_test_tonearest): Likewise.
16413 (llrint_test_towardzero): Likewise.
16414 (llrint_test_downward): Likewise.
16415 (llrint_test_upward): Likewise.
16416 (log_test): Likewise.
16417 (log10_test): Likewise.
16418 (log1p_test): Likewise.
16419 (log2_test): Likewise.
16420 (logb_test): Likewise.
16421 (logb_test_downward): Likewise.
16422 (lround_test): Likewise.
16423 (llround_test): Likewise.
16424 (modf_test): Likewise.
16425 (nearbyint_test): Likewise.
16426 (nextafter_test): Likewise.
16427 (nexttoward_test): Likewise.
16428 (pow_test): Likewise.
16429 (pow_test_tonearest): Likewise.
16430 (pow_test_towardzero): Likewise.
16431 (pow_test_downward): Likewise.
16432 (pow_test_upward): Likewise.
16433 (remainder_test): Likewise.
16434 (remainder_test_tonearest): Likewise.
16435 (remainder_test_towardzero): Likewise.
16436 (remainder_test_downward): Likewise.
16437 (remainder_test_upward): Likewise.
16438 (remquo_test): Likewise.
16439 (rint_test): Likewise.
16440 (rint_test_tonearest): Likewise.
16441 (rint_test_towardzero): Likewise.
16442 (rint_test_downward): Likewise.
16443 (rint_test_upward): Likewise.
16444 (round_test): Likewise.
16445 (scalb_test): Likewise.
16446 (scalbn_test): Likewise.
16447 (scalbln_test): Likewise.
16448 (signbit_test): Likewise.
16449 (sin_test): Likewise.
16450 (sin_test_tonearest): Likewise.
16451 (sin_test_towardzero): Likewise.
16452 (sin_test_downward): Likewise.
16453 (sin_test_upward): Likewise.
16454 (sincos_test): Likewise.
16455 (sinh_test): Likewise.
16456 (sinh_test_tonearest): Likewise.
16457 (sinh_test_towardzero): Likewise.
16458 (sinh_test_downward): Likewise.
16459 (sinh_test_upward): Likewise.
16460 (sqrt_test): Likewise.
16461 (tan_test): Likewise.
16462 (tan_test_tonearest): Likewise.
16463 (tan_test_towardzero): Likewise.
16464 (tan_test_downward): Likewise.
16465 (tan_test_upward): Likewise.
16466 (tanh_test): Likewise.
16467 (tgamma_test): Likewise.
16468 (trunc_test): Likewise.
16469 (y0_test): Likewise.
16470 (y1_test): Likewise.
16471 (yn_test): Likewise.
16472 (significand_test): Likewise.
16474 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16477 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16479 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16482 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16483 __ppc_mdoio and __ppc_mdoom.
16484 * manual/platform.texi: Document new functions __ppc_yield,
16485 __ppc_mdoio and __ppc_mdoom.
16487 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16489 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16490 (main): Mention "tls" pseudo-hwcap is legacy.
16491 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16493 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16495 * math/gen-libm-test.pl (parse_args): Output only string of
16496 arguments as text for test name, not full call or descriptions of
16497 tests for extra outputs.
16498 (generate_testfile): Do not pass function name to parse_args.
16499 Generate this_func variable from START.
16500 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16502 (struct test_ff_f_data): Likewise.
16503 (test_ff_f_data_nexttoward): Likewise.
16504 (struct test_fi_f_data): Likewise.
16505 (struct test_fl_f_data): Likewise.
16506 (struct test_if_f_data): Likewise.
16507 (struct test_fff_f_data): Likewise.
16508 (struct test_c_f_data): Likewise.
16509 (struct test_f_f1_data): Likewise. Remove field extra_name.
16510 (struct test_fF_f1_data): Likewise.
16511 (struct test_ffI_f1_data): Likewise.
16512 (struct test_c_c_data): Rename test_name field to arg_str.
16513 (struct test_cc_c_data): Likewise.
16514 (struct test_f_i_data): Likewise.
16515 (struct test_ff_i_data): Likewise.
16516 (struct test_f_l_data): Likewise.
16517 (struct test_f_L_data): Likewise.
16518 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16520 (COMMON_TEST_SETUP): New macro.
16521 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16522 (COMMON_TEST_CLEANUP): Likewise.
16523 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16524 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16526 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16527 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16529 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16530 (RUN_TEST_fff_f): Take argument string. Call new setup and
16532 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16533 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16535 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16536 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16538 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16539 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16541 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16542 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16544 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16545 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16547 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16548 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16550 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16551 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16553 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16554 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16556 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16557 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16559 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16560 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16562 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16563 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16565 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16566 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16568 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16569 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16571 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16572 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16574 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16575 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16577 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16579 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16581 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16582 to _sifields.sigfault.
16583 (si_addr_lsb): Define new macro.
16584 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16588 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16591 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16593 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16595 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16596 loading the domain.
16598 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16600 * math/gen-libm-test.pl (parse_args): Do not include expected
16601 result in test name.
16602 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16604 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16605 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16611 * benchtests/Makefile: Sort function entries.
16613 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16614 tanh, asinh, acosh, atanh.
16615 * benchtests/acos-inputs: New file.
16616 * benchtests/acosh-inputs: New file.
16617 * benchtests/asin-inputs: New file.
16618 * benchtests/asinh-inputs: New file.
16619 * benchtests/atanh-inputs: New file.
16620 * benchtests/cosh-inputs: New file.
16621 * benchtests/log-inputs: New file.
16622 * benchtests/sinh-inputs: New file.
16623 * benchtests/tanh-inputs: New file.
16625 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16628 * posix/tst-getaddrinfo4.c: New test.
16629 * posix/Makefile (tests): Add it.
16631 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16634 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16635 when no services were used.
16636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16637 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16639 2013-05-21 Andreas Schwab <schwab@suse.de>
16642 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16643 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16645 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16646 redundant variable declarations and reallocation of buffer when
16647 parsing as IPv6 address. Always set NSS status when called from
16648 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16649 buffer too small. Correct computation of needed size.
16650 * nss/Makefile (tests): Add test-digits-dots.
16651 * nss/test-digits-dots.c: New test.
16653 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16655 * benchtests/Makefile: Remove instructions for adding
16657 * benchtests/README: New file to explain how to execute and
16658 enhance the benchmark tests.
16660 2013-05-21 Andreas Schwab <schwab@suse.de>
16663 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16664 * setjmp/tst-sigsetjmp.c: New test.
16666 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16668 * sysdeps/x86_64/memset.S (memset): New implementation.
16669 (__bzero): Likewise.
16670 (__memset_tail): New function.
16672 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16674 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16675 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16676 __memcpy_sse2_unaligned ifunc selection.
16677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16678 Add memcpy-sse2-unaligned.S.
16679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16680 Add: __memcpy_sse2_unaligned.
16682 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16685 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16686 math_force_eval before restoring floating-point envrionment.
16687 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16690 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16692 (__nearbyintl): Use math_force_eval before restoring
16693 floating-point environment.
16694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16696 * math/gen-libm-test.pl (special_functions): Remove.
16697 (parse_args): Don't handle TEST_extra. Handle functions with no
16699 * math/libm-test.inc (struct test_sincos_data): Replace with
16700 struct test_fFF_11_data.
16701 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16702 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16703 (sincos_test_data): Change element type to struct
16704 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16705 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16706 RUN_TEST_LOOP_sincos.
16707 * math/README.libm-test: Don't mention special handling of
16708 individual functions.
16709 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16710 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16711 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16713 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16716 * math/gen-libm-test.pl (get_variable): Remove function.
16717 (parse_args): Don't show pointer parameters to call in test
16718 names. Use "extra output N" in test names for extra outputs
16719 rather than naming variables.
16721 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16724 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16725 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16726 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16728 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16730 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16733 * math/gen-libm-test.pl (@tests): Remove variable.
16734 ($count): Likewise.
16735 (new_test): Remove function.
16736 (show_exceptions): New function.
16737 (special_functions): Use show_exceptions instead of new_test.
16738 (parse_args): Likewise.
16739 (generate_testfile): Pass only function name in generated call to
16740 print_max_error or print_complex_max_error.
16741 (get_ulps): Do not handle complex tests specially.
16742 (output_test): Rename to ...
16743 (get_all_ulps_for_test): ... this. Return a string rather than
16744 printing to a file. Require ulps to be present.
16745 (output_ulps): Generate arrays rather than #defines.
16746 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16747 (struct ulp_data): New type.
16748 (BUILD_COMPLEX_ULP): Remove macro.
16749 (compare_ulp_data): New function.
16750 (find_ulps): Likewise.
16751 (find_test_ulps): Likewise.
16752 (find_function_ulps): Likewise.
16753 (find_complex_function_ulps): Likewise.
16754 (print_max_error): Determine allowed ulps using
16755 find_function_ulps.
16756 (print_complex_max_error): Determine allowed ulps using
16757 find_complex_function_ulps.
16758 (check_float_internal): Determine max ulps using find_test_ulps.
16759 (check_float): Do not take max_ulp parameter. Update call to
16760 check_float_internal.
16761 (check_complex): Likewise.
16762 (check_int): Do not take max_ulp parameter.
16763 (check_long): Likewise.
16764 (check_bool): Likewise.
16765 (check_longlong): Likewise.
16766 (struct test_f_f_data): Remove max_ulp field.
16767 (struct test_ff_f_data): Likewise.
16768 (struct test_ff_f_data_nexttoward): Likewise.
16769 (struct test_fi_f_data): Likewise.
16770 (struct test_fl_f_data): Likewise.
16771 (struct test_if_f_data): Likewise.
16772 (struct test_fff_f_data): Likewise.
16773 (struct test_c_f_data): Likewise.
16774 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16775 (struct test_fF_f1_data): Likewise.
16776 (struct test_ffI_f1_data): Likewise.
16777 (struct test_c_c_data): Remove max_ulp field.
16778 (struct test_cc_c_data): Likewise.
16779 (struct test_f_i_data): Likewise.
16780 (struct test_ff_i_data): Likewise.
16781 (struct test_f_l_data): Likewise.
16782 (struct test_f_L_data): Likewise.
16783 (struct test_sincos_data): Likewise.
16784 (RUN_TEST_f_f): Do not handle ulps.
16785 (RUN_TEST_LOOP_f_f): Likewise.
16786 (RUN_TEST_2_f): Likewise.
16787 (RUN_TEST_LOOP_2_f): Likewise.
16788 (RUN_TEST_fff_f): Likewise.
16789 (RUN_TEST_LOOP_fff_f): Likewise.
16790 (RUN_TEST_c_f): Likewise.
16791 (RUN_TEST_LOOP_c_f): Likewise.
16792 (RUN_TEST_f_f1): Likewise.
16793 (RUN_TEST_LOOP_f_f1): Likewise.
16794 (RUN_TEST_fF_f1): Likewise.
16795 (RUN_TEST_LOOP_fF_f1): Likewise.
16796 (RUN_TEST_fI_f1): Likewise.
16797 (RUN_TEST_LOOP_fI_f1): Likewise.
16798 (RUN_TEST_ffI_f1): Likewise.
16799 (RUN_TEST_LOOP_ffI_f1): Likewise.
16800 (RUN_TEST_c_c): Likewise.
16801 (RUN_TEST_LOOP_c_c): Likewise.
16802 (RUN_TEST_cc_c): Likewise.
16803 (RUN_TEST_LOOP_cc_c): Likewise.
16804 (RUN_TEST_f_i): Likewise.
16805 (RUN_TEST_LOOP_f_i): Likewise.
16806 (RUN_TEST_f_i_tg): Likewise.
16807 (RUN_TEST_LOOP_f_i_tg): Likewise.
16808 (RUN_TEST_ff_i_tg): Likewise.
16809 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16810 (RUN_TEST_f_b): Likewise.
16811 (RUN_TEST_LOOP_f_b): Likewise.
16812 (RUN_TEST_f_b_tg): Likewise.
16813 (RUN_TEST_LOOP_f_b_tg): Likewise.
16814 (RUN_TEST_f_l): Likewise.
16815 (RUN_TEST_LOOP_f_l): Likewise.
16816 (RUN_TEST_f_L): Likewise.
16817 (RUN_TEST_LOOP_f_L): Likewise.
16818 (RUN_TEST_sincos): Likewise.
16819 (RUN_TEST_LOOP_sincos): Likewise.
16821 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16825 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16826 main case of finite arguments, set rounding mode to FE_TONEAREST
16827 and discard exceptions.
16828 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16830 (remainder_tonearest_test_data): New variable.
16831 (remainder_test_tonearest): New function.
16832 (remainder_towardzero_test_data): New variable.
16833 (remainder_test_towardzero): New function.
16834 (remainder_downward_test_data): New variable.
16835 (remainder_test_downward): New function.
16836 (remainder_upward_test_data): New variable.
16837 (remainder_test_upward): New function.
16838 (main): Call the new test functions.
16840 * math/libm-test.inc (struct test_f_f1_data): Remove field
16842 (struct test_fF_f1_data): Likewise.
16843 (struct test_ffI_f1_data): Likewise.
16844 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16845 based on value of EXTRA_EXPECTED.
16846 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16847 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16848 EXTRA_VAR based on value of EXTRA_EXPECTED.
16849 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16850 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16851 EXTRA_VAR based on value of EXTRA_EXPECTED.
16852 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16853 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16854 EXTRA_VAR based on value of EXTRA_EXPECTED.
16855 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16856 * math/gen-libm-test.pl (parse_args): Don't output initializers
16857 for extra output values.
16859 * math/libm-test.inc (check_int): Expect result to be exactly
16860 equal to expected value and do not handle ulps.
16861 (check_long): Likewise.
16862 (check_longlong): Likewise.
16864 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16866 (cimag_test_data): Likewise.
16867 (conj_test_data): Likewise.
16868 (copysign_test_data): Likewise.
16869 (cproj_test_data): Likewise.
16870 (creal_test_data): Likewise.
16871 (fabs_test_data): Likewise.
16872 (fdim_test_data): Likewise.
16873 (finite_test_data): Likewise.
16874 (floor_test_data): Likewise.
16875 (fmax_test_data): Likewise.
16876 (fmin_test_data): Likewise.
16877 (fmod_test_data): Likewise.
16878 (fpclassify_test_data): Likewise.
16879 (frexp_test_data): Likewise.
16880 (ilogb_test_data): Likewise.
16881 (isfinite_test_data): Likewise.
16882 (isgreater_test_data): Likewise.
16883 (isgreaterequal_test_data): Likewise.
16884 (isinf_test_data): Likewise.
16885 (isless_test_data): Likewise.
16886 (islessequal_test_data): Likewise.
16887 (islessgreater_test_data): Likewise.
16888 (isnan_test_data): Likewise.
16889 (isnormal_test_data): Likewise.
16890 (issignaling_test_data): Likewise.
16891 (isunordered_test_data): Likewise.
16892 (ldexp_test_data): Likewise.
16893 (lrint_test_data): Likewise.
16894 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16895 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16896 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16897 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16898 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16899 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16901 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16902 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16903 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16904 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16906 (lrint_downward_test_data): Test for "inexact" exceptions.
16907 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16908 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16909 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16911 (lrint_upward_test_data): Test for "inexact" exceptions.
16912 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16914 (llrint_test_data): Test for "inexact" exceptions.
16915 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16916 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16917 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16918 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16919 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16920 (llrint_downward_test_data): Test for "inexact" exceptions.
16921 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16922 (llrint_upward_test_data): Test for "inexact" exceptions.
16923 (logb_test_data): Likewise.
16924 (logb_downward_test_data): Likewise.
16925 (nextafter_test_data): Likewise.
16926 (nexttoward_test_data): Likewise.
16927 (remainder_test_data): Likewise.
16928 (remquo_test_data): Likewise.
16929 (scalbn_test_data): Likewise.
16930 (scalbln_test_data): Likewise.
16931 (signbit_test_data): Likewise.
16932 (sqrt_test_data): Likewise.
16933 (significand_test_data): Likewise.
16935 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16938 * benchtests/bench-modf.c (struct args): Mark arg0 as
16940 * scripts/bench.pl: Mark members of struct args as volatile.
16942 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16945 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16946 negative infinity on POWER6 or lower.
16947 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16949 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16952 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16953 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16954 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16955 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16956 (_FP_SETQNAN): New macro.
16957 (_FP_SETQNAN_SEMIRAW): Likewise.
16958 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16959 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16960 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16961 (FP_EXTEND): Use _FP_FRAC_SNANP.
16962 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16963 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16965 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16967 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16970 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16972 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16973 with DIVIDE_BY_ZERO_EXCEPTION.
16974 (gamma_test_data): Likewise.
16975 (lgamma_test_data): Likewise.
16976 (log_test_data): Likewise.
16977 (log10_test_data): Likewise.
16978 (log2_test_data): Likewise.
16979 (tgamma_test_data): Likewise.
16981 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16982 (acos_test_tonearest): Likewise.
16983 (acos_test_towardzero): Likewise.
16984 (acos_test_downward): Likewise.
16985 (acos_test_upward): Likewise.
16986 (acosh_test): Likewise.
16987 (asin_test): Likewise.
16988 (asin_test_tonearest): Likewise.
16989 (asin_test_towardzero): Likewise.
16990 (asin_test_downward): Likewise.
16991 (asin_test_upward): Likewise.
16992 (asinh_test): Likewise.
16993 (atan_test): Likewise.
16994 (atanh_test): Likewise.
16995 (atan2_test): Likewise.
16996 (cabs_test): Likewise.
16997 (cacos_test): Likewise.
16998 (cacosh_test): Likewise.
16999 (casin_test): Likewise.
17000 (casinh_test): Likewise.
17001 (catan_test): Likewise.
17002 (catanh_test): Likewise.
17003 (cbrt_test): Likewise.
17004 (ccos_test): Likewise.
17005 (ccosh_test): Likewise.
17006 (cexp_test): Likewise.
17007 (clog_test): Likewise.
17008 (clog10_test): Likewise.
17009 (cos_test): Likewise.
17010 (cos_test_tonearest): Likewise.
17011 (cos_test_towardzero): Likewise.
17012 (cos_test_downward): Likewise.
17013 (cos_test_upward): Likewise.
17014 (cosh_test): Likewise.
17015 (cosh_test_tonearest): Likewise.
17016 (cosh_test_towardzero): Likewise.
17017 (cosh_test_downward): Likewise.
17018 (cosh_test_upward): Likewise.
17019 (cpow_test): Likewise.
17020 (csin_test): Likewise.
17021 (csinh_test): Likewise.
17022 (csqrt_test): Likewise.
17023 (ctan_test): Likewise.
17024 (ctan_test_tonearest): Likewise.
17025 (ctan_test_towardzero): Likewise.
17026 (ctan_test_downward): Likewise.
17027 (ctan_test_upward): Likewise.
17028 (ctanh_test): Likewise.
17029 (ctanh_test_tonearest): Likewise.
17030 (ctanh_test_towardzero): Likewise.
17031 (ctanh_test_downward): Likewise.
17032 (ctanh_test_upward): Likewise.
17033 (erf_test): Likewise.
17034 (erfc_test): Likewise.
17035 (exp_test): Likewise.
17036 (exp_test_tonearest): Likewise.
17037 (exp_test_towardzero): Likewise.
17038 (exp_test_downward): Likewise.
17039 (exp_test_upward): Likewise.
17040 (exp10_test): Likewise.
17041 (exp2_test): Likewise.
17042 (expm1_test): Likewise.
17043 (fmod_test): Likewise.
17044 (gamma_test): Likewise.
17045 (hypot_test): Likewise.
17046 (j0_test): Likewise.
17047 (j1_test): Likewise.
17048 (jn_test): Likewise.
17049 (lgamma_test): Likewise.
17050 (log_test): Likewise.
17051 (log10_test): Likewise.
17052 (log1p_test): Likewise.
17053 (log2_test): Likewise.
17054 (logb_test_downward): Likewise.
17055 (pow_test): Likewise.
17056 (pow_test_tonearest): Likewise.
17057 (pow_test_towardzero): Likewise.
17058 (pow_test_downward): Likewise.
17059 (pow_test_upward): Likewise.
17060 (remainder_test): Likewise.
17061 (remquo_test): Likewise.
17062 (sin_test): Likewise.
17063 (sin_test_tonearest): Likewise.
17064 (sin_test_towardzero): Likewise.
17065 (sin_test_downward): Likewise.
17066 (sin_test_upward): Likewise.
17067 (sincos_test): Likewise.
17068 (sinh_test): Likewise.
17069 (sinh_test_tonearest): Likewise.
17070 (sinh_test_towardzero): Likewise.
17071 (sinh_test_downward): Likewise.
17072 (sinh_test_upward): Likewise.
17073 (sqrt_test): Likewise.
17074 (tan_test): Likewise.
17075 (tan_test_tonearest): Likewise.
17076 (tan_test_towardzero): Likewise.
17077 (tan_test_downward): Likewise.
17078 (tan_test_upward): Likewise.
17079 (tanh_test): Likewise.
17080 (tgamma_test): Likewise.
17081 (y0_test): Likewise.
17082 (y1_test): Likewise.
17083 (yn_test): Likewise.
17085 * math/gen-libm-test.pl (adjust_arg): Remove function.
17086 (special_function): Remove argument $in_func. Only handle
17087 generating output for tables of tests, not inside functions.
17088 (parse_args): Likewise.
17089 (generate_testfile): Remove variable $in_func. Update call to
17091 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17092 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17093 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17094 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17095 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17096 (MAX_VALUE_INIT): Rename macro to max_value.
17097 (MIN_VALUE_INIT): Rename macro to min_value.
17098 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17099 (plus_zero): Remove variable.
17100 (minus_zero): Likewise.
17101 (plus_infty): Likewise.
17102 (minus_infty): Likewise.
17103 (qnan_value): Likewise.
17104 (max_value): Likewise.
17105 (min_value): Likewise.
17106 (min_subnorm_value): Likewise.
17108 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17110 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17111 uint64_t or uint32_t usage.
17112 * crypt/sha256-block.c: Likewise.
17113 * crypt/sha256-crypt.c: Likewise.
17114 * crypt/sha256.c: Likewise.
17115 * crypt/sha512-block.c: Likewise.
17116 * crypt/sha512-crypt.c: Likewise.
17117 * crypt/sha512.c: Likewise.
17118 * debug/backtrace-tst.c: Likewise.
17119 * debug/pcprofiledump.c: Likewise.
17120 * elf/cache.c: Likewise.
17121 * elf/dl-cache.c: Likewise.
17122 * elf/dl-misc.c: Likewise.
17123 * elf/dl-profile.c: Likewise.
17124 * elf/dl-support.c: Likewise.
17125 * elf/ldconfig.c: Likewise.
17126 * elf/sprof.c: Likewise.
17127 * iconv/dummy-repertoire.c: Likewise.
17128 * iconv/iconv_charmap.c: Likewise.
17129 * iconv/skeleton.c: Likewise.
17130 * iconvdata/8bit-generic.c: Likewise.
17131 * iconvdata/cp737.h: Likewise.
17132 * iconvdata/cp775.h: Likewise.
17133 * iconvdata/ibm1008.h: Likewise.
17134 * iconvdata/ibm1025.h: Likewise.
17135 * iconvdata/ibm1046.h: Likewise.
17136 * iconvdata/ibm1097.h: Likewise.
17137 * iconvdata/ibm1112.h: Likewise.
17138 * iconvdata/ibm1122.h: Likewise.
17139 * iconvdata/ibm1123.h: Likewise.
17140 * iconvdata/ibm1124.h: Likewise.
17141 * iconvdata/ibm1129.h: Likewise.
17142 * iconvdata/ibm1130.h: Likewise.
17143 * iconvdata/ibm1132.h: Likewise.
17144 * iconvdata/ibm1133.h: Likewise.
17145 * iconvdata/ibm1137.h: Likewise.
17146 * iconvdata/ibm1140.h: Likewise.
17147 * iconvdata/ibm1141.h: Likewise.
17148 * iconvdata/ibm1142.h: Likewise.
17149 * iconvdata/ibm1143.h: Likewise.
17150 * iconvdata/ibm1144.h: Likewise.
17151 * iconvdata/ibm1145.h: Likewise.
17152 * iconvdata/ibm1146.h: Likewise.
17153 * iconvdata/ibm1147.h: Likewise.
17154 * iconvdata/ibm1148.h: Likewise.
17155 * iconvdata/ibm1149.h: Likewise.
17156 * iconvdata/ibm1153.h: Likewise.
17157 * iconvdata/ibm1154.h: Likewise.
17158 * iconvdata/ibm1155.h: Likewise.
17159 * iconvdata/ibm1156.h: Likewise.
17160 * iconvdata/ibm1157.h: Likewise.
17161 * iconvdata/ibm1158.h: Likewise.
17162 * iconvdata/ibm1160.h: Likewise.
17163 * iconvdata/ibm1161.h: Likewise.
17164 * iconvdata/ibm1162.h: Likewise.
17165 * iconvdata/ibm1163.h: Likewise.
17166 * iconvdata/ibm1164.h: Likewise.
17167 * iconvdata/ibm1166.h: Likewise.
17168 * iconvdata/ibm1167.h: Likewise.
17169 * iconvdata/ibm12712.h: Likewise.
17170 * iconvdata/ibm1390.h: Likewise.
17171 * iconvdata/ibm1399.h: Likewise.
17172 * iconvdata/ibm16804.h: Likewise.
17173 * iconvdata/ibm4517.h: Likewise.
17174 * iconvdata/ibm4899.h: Likewise.
17175 * iconvdata/ibm4909.h: Likewise.
17176 * iconvdata/ibm4971.h: Likewise.
17177 * iconvdata/ibm5347.h: Likewise.
17178 * iconvdata/ibm803.h: Likewise.
17179 * iconvdata/ibm856.h: Likewise.
17180 * iconvdata/ibm901.h: Likewise.
17181 * iconvdata/ibm902.h: Likewise.
17182 * iconvdata/ibm9030.h: Likewise.
17183 * iconvdata/ibm9066.h: Likewise.
17184 * iconvdata/ibm921.h: Likewise.
17185 * iconvdata/ibm922.h: Likewise.
17186 * iconvdata/ibm9448.h: Likewise.
17187 * iconvdata/isiri-3342.h: Likewise.
17188 * iconvdata/jis0201.h: Likewise.
17189 * include/link.h: Likewise.
17190 * include/netdb.h: Likewise.
17191 * inet/check_native.c: Likewise.
17192 * inet/check_pf.c: Likewise.
17193 * inet/getipv4sourcefilter.c: Likewise.
17194 * inet/getnameinfo.c: Likewise.
17195 * inet/getsourcefilter.c: Likewise.
17196 * inet/htonl.c: Likewise.
17197 * inet/setipv4sourcefilter.c: Likewise.
17198 * inet/setsourcefilter.c: Likewise.
17199 * inet/test-inet6_opt.c: Likewise.
17200 * inet/tst-network.c: Likewise.
17201 * locale/C-collate.c: Likewise.
17202 * locale/C-ctype.c: Likewise.
17203 * locale/C-time.c: Likewise.
17204 * locale/C-translit.h: Likewise.
17205 * locale/loadarchive.c: Likewise.
17206 * locale/programs/3level.h: Likewise.
17207 * locale/programs/charmap.c: Likewise.
17208 * locale/programs/charmap.h: Likewise.
17209 * locale/programs/ld-address.c: Likewise.
17210 * locale/programs/ld-collate.c: Likewise.
17211 * locale/programs/ld-ctype.c: Likewise.
17212 * locale/programs/ld-identification.c: Likewise.
17213 * locale/programs/ld-measurement.c: Likewise.
17214 * locale/programs/ld-messages.c: Likewise.
17215 * locale/programs/ld-monetary.c: Likewise.
17216 * locale/programs/ld-name.c: Likewise.
17217 * locale/programs/ld-numeric.c: Likewise.
17218 * locale/programs/ld-paper.c: Likewise.
17219 * locale/programs/ld-telephone.c: Likewise.
17220 * locale/programs/ld-time.c: Likewise.
17221 * locale/programs/linereader.c: Likewise.
17222 * locale/programs/locale.c: Likewise.
17223 * locale/programs/locarchive.c: Likewise.
17224 * locale/programs/locfile.h: Likewise.
17225 * locale/programs/repertoire.c: Likewise.
17226 * locale/programs/simple-hash.c: Likewise.
17227 * locale/programs/simple-hash.h: Likewise.
17228 * malloc/memusage.c: Likewise.
17229 * malloc/memusagestat.c: Likewise.
17230 * nis/nis_defaults.c: Likewise.
17231 * nis/nis_hash.c: Likewise.
17232 * nis/nis_print.c: Likewise.
17233 * nis/nis_xdr.c: Likewise.
17234 * nscd/connections.c: Likewise.
17235 * nscd/hstcache.c: Likewise.
17236 * nscd/nscd_gethst_r.c: Likewise.
17237 * nscd/nscd_getserv_r.c: Likewise.
17238 * nscd/nscd_helper.c: Likewise.
17239 * nscd/servicescache.c: Likewise.
17240 * nss/makedb.c: Likewise.
17241 * nss/nss_db/db-XXX.c: Likewise.
17242 * nss/nss_db/db-initgroups.c: Likewise.
17243 * nss/nss_db/db-netgrp.c: Likewise.
17244 * nss/nss_files/files-network.c: Likewise.
17245 * nss/nss_files/files-parse.c: Likewise.
17246 * posix/bug-regex5.c: Likewise.
17247 * posix/fnmatch_loop.c: Likewise.
17248 * posix/regcomp.c: Likewise.
17249 * posix/regexec.c: Likewise.
17250 * posix/tst-rfc3484-2.c: Likewise.
17251 * posix/tst-rfc3484-3.c: Likewise.
17252 * posix/tst-rfc3484.c: Likewise.
17253 * resolv/nss_dns/dns-canon.c: Likewise.
17254 * resolv/nss_dns/dns-network.c: Likewise.
17255 * resolv/res_init.c: Likewise.
17256 * resolv/res_mkquery.c: Likewise.
17257 * resolv/tst-aton.c: Likewise.
17258 * stdlib/cxa_atexit.c: Likewise.
17259 * stdlib/cxa_finalize.c: Likewise.
17260 * stdlib/gen-fpioconst.c: Likewise.
17261 * stdlib/strtol_l.c: Likewise.
17262 * string/tst-endian.c: Likewise.
17263 * sunrpc/auth_des.c: Likewise.
17264 * sunrpc/clnt_udp.c: Likewise.
17265 * sunrpc/rtime.c: Likewise.
17266 * sunrpc/svcauth_des.c: Likewise.
17267 * sunrpc/xdr.c: Likewise.
17268 * sunrpc/xdr_intXX_t.c: Likewise.
17269 * sunrpc/xdr_rec.c: Likewise.
17270 * sysdeps/generic/ldconfig.h: Likewise.
17271 * sysdeps/generic/ldsodefs.h: Likewise.
17272 * sysdeps/generic/memusage.h: Likewise.
17273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17276 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17283 * sysdeps/posix/getaddrinfo.c: Likewise.
17284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17286 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17287 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17288 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17289 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17290 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17291 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17292 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17293 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17294 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17295 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17296 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17297 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17298 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17299 * sysdeps/x86_64/dl-tls.h: Likewise.
17300 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17301 * time/alt_digit.c: Likewise.
17302 * time/era.c: Likewise.
17303 * wcsmbs/tst-c16c32-1.c: Likewise.
17305 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17307 * math/libm-test.inc (struct test_sincos_data): New type.
17308 (RUN_TEST_LOOP_sincos): New macro.
17309 (sincos_test_data): New variable.
17310 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17312 2013-05-16 Richard Henderson <rth@redhat.com>
17314 * math/atest-exp2.c (LIMB64): New macro.
17315 (CONSTSZ): New macro.
17316 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17318 (print_mpn_fp): ... to function scope.
17319 (read_mpn_hex): Remove.
17320 (get_log2): Remove.
17321 (exp2_mpn): Use mp_log2.
17322 (main): Use mp_exp1.
17324 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17326 * math/libm-test.inc: Remove comment about not testing "inexact"
17328 (INEXACT_EXCEPTION): New macro.
17329 (NO_INEXACT_EXCEPTION): Likewise.
17330 (INVALID_EXCEPTION_OK): Update value.
17331 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17332 (OVERFLOW_EXCEPTION_OK): Likewise.
17333 (UNDERFLOW_EXCEPTION_OK): Likewise.
17334 (IGNORE_ZERO_INF_SIGN): Likewise.
17335 (ERRNO_UNCHANGED): Likewise.
17336 (ERRNO_EDOM): Likewise.
17337 (ERRNO_ERANGE): Likewise.
17338 (test_exceptions): Handle testing "inexact" exceptions.
17339 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17340 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17341 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17342 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17344 (rint_towardzero_test_data): Likewise.
17345 (rint_downward_test_data): Likewise.
17346 (rint_upward_test_data): Likewise.
17348 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17349 with OVERFLOW_EXCEPTION.
17350 (exp10_test_data): Likewise.
17351 (exp2_test_data): Likewise.
17352 (expm1_test_data): Likewise.
17353 (lgamma_test_data): Likewise.
17354 (pow_test_data): Likewise.
17355 (tgamma_test_data): Likewise.
17356 (yn_test_data): Remove duplicate test of overflow.
17358 * math/libm-test.inc (struct test_cc_c_data): New type.
17359 (RUN_TEST_LOOP_cc_c): New macro.
17360 (cpow_test_data): New variable.
17361 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17363 * math/libm-test.inc (struct test_f_L_data): New type.
17364 (RUN_TEST_LOOP_f_L): New macro.
17365 (llrint_test_data): New variable.
17366 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17367 (llrint_tonearest_test_data): New variable.
17368 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17369 (llrint_towardzero_test_data): New variable.
17370 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17371 (llrint_downward_test_data): New variable.
17372 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17373 (llrint_upward_test_data): New variable.
17374 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17375 (llround_test_data): New variable.
17376 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17378 2013-05-13 Peter Collingbourne <pcc@google.com>
17380 * math/atest-exp2.c (get_log2): Remove const attribute.
17382 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17384 * math/libm-test.inc (struct test_f_l_data): New type.
17385 (RUN_TEST_LOOP_f_l): New macro.
17386 (lrint_test_data): New variable.
17387 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17388 (lrint_tonearest_test_data): New variable.
17389 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17390 (lrint_towardzero_test_data): New variable.
17391 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17392 (lrint_downward_test_data): New variable.
17393 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17394 (lrint_upward_test_data): New variable.
17395 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17396 (lround_test_data): New variable.
17397 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17399 2013-05-15 Peter Collingbourne <pcc@google.com>
17401 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17402 (EXTRACT_WORDS64) Use where appropriate.
17403 (INSERT_WORDS64) Likewise.
17405 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17406 constraints with x constraints.
17407 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17409 * malloc/obstack.c (_obstack_compat): Add initializer.
17411 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17413 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17414 si_trapno and add si_addr_lsb to _sifields.sigfault.
17415 (si_trapno): Remove macro.
17416 (si_addr_lsb): Define new macro.
17417 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17419 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17421 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17422 instead of TEST_f_l.
17423 (llrint_test_tonearest): Likewise.
17424 (llrint_test_towardzero): Likewise.
17425 (llrint_test_downward): Likewise.
17426 (llrint_test_upward): Likewise.
17427 (llround_test): Likewise.
17429 * math/libm-test.inc (struct test_f_i_data): Add comment.
17430 (RUN_TEST_LOOP_f_b): New macro.
17431 (RUN_TEST_LOOP_f_b_tg): Likewise.
17432 (finite_test_data): New variable.
17433 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17434 (isfinite_test_data): New variable.
17435 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17436 (isinf_test_data): New variable.
17437 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17438 (isnan_test_data): New variable.
17439 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17440 (isnormal_test_data): New variable.
17441 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17442 (issignaling_test_data): New variable.
17443 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17444 (signbit_test_data): New variable.
17445 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17447 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17448 with INVALID_EXCEPTION.
17449 (acosh_test_data): Likewise.
17450 (asin_test_data): Likewise.
17451 (atanh_test_data): Likewise.
17452 (fmod_test_data): Likewise.
17453 (log_test_data): Likewise.
17454 (log10_test_data): Likewise.
17455 (log2_test_data): Likewise.
17456 (pow_test_data): Likewise.
17457 (sqrt_test_data): Likewise.
17458 (y0_test_data): Likewise.
17459 (y1_test_data): Likewise.
17460 (yn_test_data): Likewise.
17462 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17465 * math/libm-test.inc (struct test_ff_i_data): New type.
17466 (RUN_TEST_LOOP_ff_i_tg): New macro.
17467 (isgreater_test_data): New variable.
17468 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17469 (isgreaterequal_test_data): New variable.
17470 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17471 (isless_test_data): New variable.
17472 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17473 (islessequal_test_data): New variable.
17474 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17475 (islessgreater_test_data): New variable.
17476 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17477 (isunordered_test_data): New variable.
17478 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17480 2013-05-14 David S. Miller <davem@davemloft.net>
17482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17484 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17486 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17488 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17490 (struct test_f_i_data): Change type of max_ulp to int.
17492 * math/libm-test.inc (test_ffI_f1_data): New type.
17493 (RUN_TEST_LOOP_ffI_f1): New macro.
17494 (remquo_test_data): New variable.
17495 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17497 * setjmp/tst-setjmp-fp.c: New file.
17498 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17499 (link-libm): New variable.
17500 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17502 * math/libm-test.inc (struct test_f_i_data): New type.
17503 (RUN_TEST_LOOP_f_i): New macro.
17504 (RUN_TEST_LOOP_f_i_tg): Likewise.
17505 (fpclassify_test_data): New variable.
17506 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17507 (ilogb_test_data): New variable.
17508 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17510 * math/libm-test.inc (scalbln_test): Correct function name in END
17513 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17514 (RUN_TEST_LOOP_fI_f1): New macro.
17515 (frexp_test_data): New variable.
17516 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17518 * math/libm-test.inc (struct test_fF_f1_data): New type.
17519 (RUN_TEST_LOOP_fF_f1): New macro.
17520 (modf_test_data): New variable.
17521 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17523 * math/libm-test.inc (struct test_f_f1_data): New type.
17524 (RUN_TEST_LOOP_f_f1): New macro.
17525 (gamma_test_data): New variable.
17526 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17527 (lgamma_test_data): New variable.
17528 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17530 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17532 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17533 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17534 (main): Comment "tls" pseudo-hwcap.
17536 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17538 * math/libm-test.inc (struct test_fl_f_data): New type.
17539 (RUN_TEST_LOOP_fl_f): New variable.
17540 (scalbln_test_data): New variable.
17541 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17543 * math/libm-test.inc (struct test_fi_f_data): New type.
17544 (RUN_TEST_LOOP_fi_f): New macro.
17545 (ldexp_test_data): New variable.
17546 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17547 (scalbn_test_data): New variable.
17548 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17550 * math/libm-test.inc (struct test_c_f_data): New type.
17551 (RUN_TEST_LOOP_c_f): New macro.
17552 (cabs_test_data): New variable.
17553 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17554 (carg_test_data): New variable.
17555 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17556 (cimag_test_data): New variable.
17557 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17558 (creal_test_data): New variable.
17559 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17561 * math/libm-test.inc (struct test_if_f_data): New type.
17562 (RUN_TEST_LOOP_if_f): New macro.
17563 (jn_test_data): New variable.
17564 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17565 (yn_test_data): New variable.
17566 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17568 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17570 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17572 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17573 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17575 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17577 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17578 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17579 (bench-deps): Add bench-timing.h.
17580 * benchtests-bench-skeleton.c: Include bench-timing.h.
17581 (main): Use TIMING_* macros instead of clock_gettime.
17582 * benchtests/bench-timing.h: New file.
17585 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17586 Renamed from _LIB_VERSION.
17587 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17589 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17591 * math/libm-test.inc (struct test_fff_f_data): New type.
17592 (RUN_TEST_LOOP_fff_f): New macro.
17593 (fma_test_data): New variable.
17594 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17595 (fma_towardzero_test_data): New variable.
17596 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17597 (fma_downward_test_data): New variable.
17598 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17599 (fma_upward_test_data): New variable.
17600 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17602 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17603 (struct test_c_c_data): New type.
17604 (RUN_TEST_LOOP_c_c): New macro.
17605 (cacos_test_data): New variable.
17606 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17607 (cacosh_test_data): New variable.
17608 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17609 (casin_test_data): New variable.
17610 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17611 (casinh_test_data): New variable.
17612 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17613 (catan_test_data): New variable.
17614 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17615 (catanh_test_data): New variable.
17616 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17617 (ccos_test_data): New variable.
17618 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17619 (ccosh_test_data): New variable.
17620 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17621 (cexp_test_data): New variable.
17622 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17623 (clog_test_data): New variable.
17624 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17625 (clog10_test_data): New variable.
17626 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17627 (conj_test_data): New variable.
17628 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17629 (cproj_test_data): New variable.
17630 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17631 (csin_test_data): New variable.
17632 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17633 (csinh_test_data): New variable.
17634 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17635 (csqrt_test_data): New variable.
17636 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17637 (ctan_test_data): New variable.
17638 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17639 (ctan_tonearest_test_data): New variable.
17640 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17641 (ctan_towardzero_test_data): New variable.
17642 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17643 (ctan_downward_test_data): New variable.
17644 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17645 (ctan_upward_test_data): New variable.
17646 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17647 (ctanh_test_data): New variable.
17648 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17649 (ctanh_tonearest_test_data): New variable.
17650 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17651 (ctanh_towardzero_test_data): New variable.
17652 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17653 (ctanh_downward_test_data): New variable.
17654 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17655 (ctanh_upward_test_data): New variable.
17656 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17657 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17660 * math/libm-test.inc (struct test_ff_f_data): New type.
17661 (struct test_ff_f_data_nexttoward): Likewise.
17662 (RUN_TEST_LOOP_2_f): New macro.
17663 (RUN_TEST_LOOP_ff_f): Likewise.
17664 (atan2_test_data): New variable.
17665 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17666 (copysign_test_data): New variable.
17667 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17668 (fdim_test_data): New variable.
17669 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17670 (fmax_test_data): New variable.
17671 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17672 (fmin_test_data): New variable.
17673 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17674 (fmod_test_data): New variable.
17675 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17676 (hypot_test_data): New variable.
17677 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17678 (nextafter_test_data): New variable.
17679 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17680 (nexttoward_test_data): New variable.
17681 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17682 (pow_test_data): New variable.
17683 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17684 (pow_tonearest_test_data): New variable.
17685 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17686 (pow_towardzero_test_data): New variable.
17687 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17688 (pow_downward_test_data): New variable.
17689 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17690 (pow_upward_test_data): New variable.
17691 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17692 (remainder_test_data): New variable.
17693 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17694 (scalb_test_data): New variable.
17695 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17696 * sysdeps/i386/fpu/libm-test-ulps: Update.
17698 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17700 * math/libm-test.inc (fma_test): Use max_value instead of local
17702 (nextafter_test): Likewise.
17704 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17705 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17706 (acos_downward_test_data): New variable.
17707 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17708 (acos_upward_test_data): New variable.
17709 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17710 (acosh_test_data): New variable.
17711 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17712 (asin_test_data): New variable.
17713 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17714 (asin_tonearest_test_data): New variable.
17715 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17716 (asin_towardzero_test_data): New variable.
17717 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17718 (asin_downward_test_data): New variable.
17719 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17720 (asin_upward_test_data): New variable.
17721 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17722 (asinh_test_data): New variable.
17723 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17724 (atan_test_data): New variable.
17725 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17726 (atanh_test_data): New variable.
17727 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17728 (cbrt_test_data): New variable.
17729 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17730 (ceil_test_data): New variable.
17731 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17732 (cos_test_data): New variable.
17733 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17734 (cos_tonearest_test_data): New variable.
17735 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17736 (cos_towardzero_test_data): New variable.
17737 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17738 (cos_downward_test_data): New variable.
17739 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17740 (cos_upward_test_data): New variable.
17741 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17742 (cosh_test_data): New variable.
17743 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17744 (cosh_tonearest_test_data): New variable.
17745 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17746 (cosh_towardzero_test_data): New variable.
17747 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17748 (cosh_downward_test_data): New variable.
17749 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17750 (cosh_upward_test_data): New variable.
17751 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17752 (erf_test_data): New variable.
17753 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17754 (erfc_test_data): New variable.
17755 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17756 (exp_test_data): New variable.
17757 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17758 (exp_tonearest_test_data): New variable.
17759 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17760 (exp_towardzero_test_data): New variable.
17761 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17762 (exp_downward_test_data): New variable.
17763 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17764 (exp_upward_test_data): New variable.
17765 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17766 (exp10_test_data): New variable.
17767 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17768 (exp2_test_data): New variable.
17769 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17770 (expm1_test_data): New variable.
17771 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17772 (fabs_test_data): New variable.
17773 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17774 (floor_test_data): New variable.
17775 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17776 (j0_test_data): New variable.
17777 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17778 (j1_test_data): New variable.
17779 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17780 (log_test_data): New variable.
17781 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17782 (log10_test_data): New variable.
17783 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17784 (log1p_test_data): New variable.
17785 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17786 (log2_test_data): New variable.
17787 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17788 (logb_test_data): New variable.
17789 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17790 (logb_downward_test_data): New variable.
17791 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17792 (nearbyint_test_data): New variable.
17793 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17794 (rint_test_data): New variable.
17795 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17796 (rint_tonearest_test_data): New variable.
17797 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17798 (rint_towardzero_test_data): New variable.
17799 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17800 (rint_downward_test_data): New variable.
17801 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17802 (rint_upward_test_data): New variable.
17803 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17804 (round_test_data): New variable.
17805 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17806 (sin_test_data): New variable.
17807 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17808 (sin_tonearest_test_data): New variable.
17809 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17810 (sin_towardzero_test_data): New variable.
17811 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17812 (sin_downward_test_data): New variable.
17813 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17814 (sin_upward_test_data): New variable.
17815 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17816 (sinh_test_data): New variable.
17817 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17818 (sinh_tonearest_test_data): New variable.
17819 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17820 (sinh_towardzero_test_data): New variable.
17821 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17822 (sinh_downward_test_data): New variable.
17823 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17824 (sinh_upward_test_data): New variable.
17825 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17826 (sqrt_test_data): New variable.
17827 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17828 (tan_test_data): New variable.
17829 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17830 (tan_tonearest_test_data): New variable.
17831 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17832 (tan_towardzero_test_data): New variable.
17833 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17834 (tan_downward_test_data): New variable.
17835 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17836 (tan_upward_test_data): New variable.
17837 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17838 (tanh_test_data): New variable.
17839 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17840 (tgamma_test_data): New variable.
17841 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17842 (trunc_test_data): New variable.
17843 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17844 (y0_test_data): New variable.
17845 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17846 (y1_test_data): New variable.
17847 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17848 (significand_test_data): New variable.
17849 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17851 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17854 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17856 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17858 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17860 2013-05-10 Andreas Jaeger <aj@suse.de>
17863 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17864 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17866 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17868 * math/gen-libm-test.pl (adjust_arg): New function.
17869 (special_functions): Handle generating output in both functions
17871 (parse_args): Likewise.
17872 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17873 $in_func argument to parse_args.
17874 * math/libm-test.inc (struct test_f_f_data): New type.
17875 (IF_ROUND_INIT_): New macro.
17876 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17877 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17878 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17879 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17880 (ROUND_RESTORE_): Likewise.
17881 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17882 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17883 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17884 (ROUND_RESTORE_FE_UPWARD): Likewise.
17885 (RUN_TEST_LOOP_f_f): New macro.
17886 (acos_test_data): New variable.
17887 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17888 (acos_tonearest_test_data): New variable.
17889 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17891 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17893 * benchtests/bench-skeleton.c (startup): Fix coding style.
17895 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17898 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17899 negative infinity argument.
17900 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17901 negative infinity argument.
17902 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17903 negative infinity argument.
17904 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17907 2013-05-10 Florian Weimer <fweimer@redhat.com>
17909 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17910 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17911 * iconv/iconv_prog.c (main): Likewise.
17912 * locale/programs/charmap-dir.c (charmap_readdir)
17913 (fopen_uncompressed): Likewise.
17914 * locale/programs/locfile.c (siblings_uncached)
17915 (write_locale_data): Use lstat64 instead of lstat.
17916 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17919 2013-05-10 Andreas Jaeger <aj@suse.de>
17922 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17924 Include <locale.h>.
17926 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17928 * elf/dl-close.c (_dl_close_worker): Add comments.
17930 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17933 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17935 (__ieee754_rem_pio2l): Update comments.
17938 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17940 (__ieee754_rem_pio2l): Update comments.
17942 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17943 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17945 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17948 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17949 (M_PI_34_LOG10El): Likewise.
17950 (M_PI2_LOG10El): Likewise.
17951 (M_PI4_LOG10El): Likewise.
17952 (M_PI_LOG10El): Likewise.
17954 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17958 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17960 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17961 (MINUS_ZERO_INIT): Likewise.
17962 (PLUS_INFTY_INIT): Likewise.
17963 (MINUS_INFTY_INIT): Likewise.
17964 (QNAN_VALUE_INIT): Likewise.
17965 (MAX_VALUE_INIT): Likewise.
17966 (MIN_VALUE_INIT): Likewise.
17967 (MIN_SUBNORM_VALUE_INIT): Likewise.
17968 (plus_zero): Initialize with PLUS_ZERO_INIT.
17969 (minus_zero): Initialize with MINUS_ZERO_INIT.
17970 (plus_infty): Initialize with PLUS_INFTY_INIT.
17971 (minus_infty): Initialize with MINUS_INFTY_INIT.
17972 (qnan_value): Initialize with QNAN_VALUE_INIT.
17973 (max_value): Initialize with MAX_VALUE_INIT.
17974 (min_value): Initialize with MIN_VALUE_INIT.
17975 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17977 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17978 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17979 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17980 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17982 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17983 (RUN_TEST_2_f): Likewise.
17984 (RUN_TEST_ff_f): Likewise.
17985 (RUN_TEST_fi_f): Likewise.
17986 (RUN_TEST_fl_f): Likewise.
17987 (RUN_TEST_fff_f): Likewise.
17988 (RUN_TEST_c_f): Likewise.
17989 (RUN_TEST_f_f1): Likewise.
17990 (RUN_TEST_fF_f1): Likewise.
17991 (RUN_TEST_fI_f1): Likewise.
17992 (RUN_TEST_ffI_f1): Likewise.
17993 (RUN_TEST_c_c): Likewise.
17994 (RUN_TEST_cc_c): Likewise.
17995 (RUN_TEST_f_i): Likewise.
17996 (RUN_TEST_f_i_tg): Likewise.
17997 (RUN_TEST_ff_i_tg): Likewise.
17998 (RUN_TEST_f_b): Likewise.
17999 (RUN_TEST_f_b_tg): Likewise.
18000 (RUN_TEST_f_l): Likewise.
18001 (RUN_TEST_f_L): Likewise.
18002 (RUN_TEST_sincos): Likewise.
18003 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18004 whether to show exceptions. Do not include ");\n" in return
18006 (special_functions): Output call to RUN_TEST_sincos instead of
18007 check_float calls. Update calls to new_test.
18008 (parse_args): Output call to single RUN_TEST_* macro instead of
18009 check_* calls and other assignments. Update calls to new_test.
18015 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18016 input to result for tgamma overflow.
18017 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18018 (gamma_coeff): New variable.
18019 (NCOEFF): New macro.
18020 (gamma_positive): New function.
18021 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18022 underflow here. Use gamma_positive instead of exp (lgamma) for
18024 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18025 (gamma_coeff): New variable.
18026 (NCOEFF): New macro.
18027 (gammaf_positive): New function.
18028 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18029 underflow here. Use gamma_positive instead of exp (lgamma) for
18031 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18032 (gamma_coeff): New variable.
18033 (NCOEFF): New macro.
18034 (gammal_positive): New function.
18035 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18036 underflow here. Use gamma_positive instead of exp (lgamma) for
18038 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18039 (gamma_coeff): New variable.
18040 (NCOEFF): New macro.
18041 (gammal_positive): New function.
18042 (__ieee754_gammal_r): Handle positive infinity, overflow and
18043 underflow here. Handle NaN the same as positive infinity. Remove
18044 check x < 0xffffffff for negative integers. Use gamma_positive
18045 instead of exp (lgamma) for other arguments.
18046 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18047 (gamma_coeff): New variable.
18048 (NCOEFF): New macro.
18049 (gammal_positive): New function.
18050 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18051 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18052 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18056 * sysdeps/generic/math_private.h (__gamma_productf): New
18058 (__gamma_product): Likewise.
18059 (__gamma_productl): Likewise.
18060 * math/Makefile (libm-calls): Add gamma_product.
18061 * math/libm-test.inc (tgamma_test): Add more tests.
18062 * sysdeps/i386/fpu/libm-test-ulps: Update.
18063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18065 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18067 * benchtests/bench-skeleton.c (main): Preheat CPU.
18069 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18071 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18073 2013-05-07 Roland McGrath <roland@hack.frob.com>
18075 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18076 and _dl_skip_args_internal.
18078 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18080 * manual/message.texi (Message Translation): Talk about users.
18081 Message to key mapping impacts design.
18083 2013-05-06 Roland McGrath <roland@hack.frob.com>
18085 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18087 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18089 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18090 * sysdeps/wordsize-64/glob64.c: ... here.
18092 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18093 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18096 * debug/getlogin_r_chk.c: Moved to ...
18097 * login/getlogin_r_chk.c: ... here.
18098 * debug/Makefile (routines): Move getlogin_r_chk to ...
18099 * login/Makefile (routines): ... here.
18100 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18101 * login/Versions (libc: GLIBC_2.4): ... here.
18103 * io/poll.c (__poll): Renamed from poll.
18104 Add libc_hidden_def.
18105 (poll): Define as weak alias.
18107 * debug/ptsname_r_chk.c: Moved to ...
18108 * login/ptsname_r_chk.c: ... here.
18109 * debug/Makefile (routines): Move ptsname_r_chk to ...
18110 * login/Makefile (routines): ... here.
18111 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18112 * login/Versions (libc: GLIBC_2.4): ... here.
18114 * posix/getlogin.c: Moved to ...
18115 * login/getlogin.c: ... here.
18116 * posix/getlogin_r.c: Moved to ...
18117 * login/getlogin_r.c: ... here.
18118 * posix/getlogin_r.c: Moved to ...
18119 * login/getlogin_r.c: ... here.
18120 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18121 * login/Makefile (routines): ... here.
18122 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18123 * login/Versions (libc: GLIBC_2.0): ... here.
18125 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18126 (setrlimit): Define as weak alias.
18128 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18129 Call __ names for open, ftruncate, and close.
18130 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18131 (truncate): Define as weak alias.
18133 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18135 * math/gen-libm-test.pl (parse_args): Initialize x before each
18136 test of frexp, modf and remquo.
18138 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18139 test signgam value.
18141 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18149 2013-05-06 Roland McGrath <roland@hack.frob.com>
18151 * elf/dl-writev.h: New file.
18152 * elf/dl-misc.c: Include it.
18153 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18154 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18156 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18158 * math/libm-test.inc (noXFails): Remove variable.
18159 (noXPasses): Likewise.
18160 (BUILD_COMPLEX_INT): Remove macro.
18161 (print_screen): Remove xfail argument.
18162 (print_screen_max_error): Likewise.
18163 (update_stats): Likewise.
18164 (print_max_error): Likewise. Update calls to other affected
18166 (print_complex_max_error): Likewise.
18167 (test_single_exception): Update calls to print_screen.
18168 (test_single_errno): Likewise.
18169 (check_float_internal): Remove xfail argument. Update calls to
18170 other affected functions.
18171 (check_float): Likewise.
18172 (check_complex): Likewise.
18173 (check_int): Likewise.
18174 (check_long): Likewise.
18175 (check_bool): Likewise.
18176 (check_longlong): Likewise.
18177 (main): Don't print noXFails and noXPasses.
18178 * math/gen-libm-test.pl (top level): Don't mention expected
18179 failure handling in comment.
18180 (new_test): Don't handle expected failures.
18181 (parse_args): Don't mention expected failure handling in comment.
18182 (generate_testfile): Don't handle expected failures.
18183 (parse_ulps): Likewise.
18184 (print_ulps_file): Likewise.
18185 (get_failure): Remove function.
18186 (output_test): Don't handle expected failures.
18187 * make/README.libm-test: Don't mention expected failure handling.
18189 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18190 (minus_zero): Likewise.
18191 (plus_infty): Likewise.
18192 (minus_infty): Likewise.
18193 (qnan_value): Likewise.
18194 (max_value): Likewise.
18195 (min_value): Likewise.
18196 (min_subnorm_value): Likewise.
18197 (initialize): Do not initialize those variables dynamically.
18199 2013-05-03 Roland McGrath <roland@hack.frob.com>
18201 * io/open.c (__open_2): Moved to ...
18202 * io/open_2.c: ... this new file.
18203 * io/open64.c (__open64_2): Moved to ...
18204 * io/open64_2.c: ... this new file.
18205 * io/openat.c (__openat_2): Moved to ...
18206 * io/openat_2.c: ... this new file.
18207 * io/openat64.c (__openat64_2): Moved to ...
18208 * io/openat64_2.c: ... this new file.
18209 * io/Makefile (routines): Add them.
18210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18211 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18212 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18213 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18214 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18215 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18216 (__openat64): Add hidden_ver.
18217 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18218 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18220 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18221 Separately conditionalize setting of GLRO(dl_sysinfo) so
18222 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18223 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18225 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18227 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18228 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18230 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18231 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18232 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18233 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18234 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18236 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18238 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18239 test signgam value.
18241 * math/libm-test.inc (hypot_test): Do not use
18242 IGNORE_ZERO_INF_SIGN.
18244 2013-05-03 Andreas Jaeger <aj@suse.de>
18246 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18248 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18249 (PF_MAX): Adjust for VSOCK change.
18251 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18255 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18258 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18259 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18260 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18262 2013-05-02 David S. Miller <davem@davemloft.net>
18264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18266 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18268 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18270 2013-05-01 Roland McGrath <roland@hack.frob.com>
18272 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18274 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18277 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18278 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18279 Use __attribute__ ((__gnu_inline__)).
18280 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18281 Don't use __attribute__ ((__gnu_inline__)).
18283 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18286 * math/s_catan.c (__catan): Handle small real or imaginary part of
18287 input specially to avoid spurious underflow.
18288 * math/s_catanf.c (__catanf): Likewise.
18289 * math/s_catanh.c (__catanh): Likewise.
18290 * math/s_catanhf.c (__catanhf): Likewise.
18291 * math/s_catanhl.c (__catanhl): Likewise.
18292 * math/s_catanl.c (__catanl): Likewise.
18293 * math/libm-test.inc (catan_test): Add more tests.
18294 (catanh_test): Likewise.
18295 * sysdeps/i386/fpu/libm-test-ulps: Update.
18296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18298 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18302 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18305 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18306 accurately for denominator in atan2.
18307 * math/s_catanf.c (__catanf): Likewise.
18308 * math/s_catanh.c (__catanh): Likewise.
18309 * math/s_catanhf.c (__catanhf): Likewise.
18310 * math/s_catanhl.c (__catanhl): Likewise.
18311 * math/s_catanl.c (__catanl): Likewise.
18312 * math/libm-test.inc (catan_test): Add more tests.
18313 (catanh_test): Likewise.
18314 * sysdeps/i386/fpu/libm-test-ulps: Update.
18315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18317 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18319 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18321 * benchtests/Makefile (bench): Remove slow benchmarks.
18322 * benchtests/atan-inputs: Add slow benchmark inputs.
18323 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18324 (BENCH_FUNC): Accept variant offset.
18326 * benchtests/bench-skeleton.c (main): Run benchmark for each
18328 * benchtests/cos-inputs: Add slow benchmark inputs.
18329 * benchtests/exp-inputs: Likewise.
18330 * benchtests/pow-inputs: Likewise.
18331 * benchtests/sin-inputs: Likewise.
18332 * benchtests/slowatan-inputs: Remove.
18333 * benchtests/slowatan.c: Remove.
18334 * benchtests/slowcos-inputs: Remove.
18335 * benchtests/slowcos.c: Remove.
18336 * benchtests/slowexp-inputs: Remove.
18337 * benchtests/slowexp.c: Remove.
18338 * benchtests/slowpow-inputs: Remove.
18339 * benchtests/slowpow.c: Remove.
18340 * benchtests/slowsin-inputs: Remove.
18341 * benchtests/slowsin.c: Remove.
18342 * benchtests/slowtan-inputs: Remove.
18343 * benchtests/slowtan.c: Remove.
18344 * benchtests/tan-inputs: Add slow benchmark inputs.
18345 * scripts/bench.pl: Parse comments and directives.
18347 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18349 ($(objpfx)bench-%.c): Remove *-ITER.
18350 * benchtests/bench-modf.c: Remove definition of ITER.
18351 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18352 (main): Loop for DURATION seconds instead of fixed number of
18354 * scripts/bench.pl: Don't expect iterations in parameters.
18356 2013-04-29 Roland McGrath <roland@hack.frob.com>
18358 * io/fchdir.c (__fchdir): Renamed from fchdir.
18359 (fchdir): Define as weak alias.
18361 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18363 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18364 (ERRNO_EDOM): Likewise.
18365 (ERRNO_ERANGE): Likewise.
18366 (noErrnoTests): New variable.
18367 (init_max_error): Set errno to 0.
18368 (test_single_errno): New function.
18369 (test_errno): Likewise.
18370 (check_float_internal): Call test_errno. Set errno to 0.
18371 (check_complex): Refer to errno tests in comment.
18372 (check_int): Call test_errno. Set errno to 0.
18373 (check_long): Likewise.
18374 (check_bool): Likewise.
18375 (check_longlong): Likewise.
18376 (cos_test): Use ERRNO_* flags for errno tests instead of
18378 (expm1_test): Likewise.
18379 (fmod_test): Likewise.
18380 (ilogb_test): Likewise.
18381 (lgamma_test): Likewise.
18382 (pow_test): Likewise.
18383 (remainder_test): Likewise.
18384 (sin_test): Likewise.
18385 (tan_test): Likewise.
18386 (yn_test): Likewise.
18387 (initialize): Set errno to 0.
18388 (main): Print number of errno tests.
18389 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18391 2013-04-29 Andreas Jaeger <aj@suse.de>
18394 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18398 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18399 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18403 * stdlib/random.c (__initstate): Return NULL if
18407 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18408 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18411 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18415 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18417 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18418 of individual tests.
18419 (casin_test): Likewise.
18420 (casinh_test): Likewise.
18422 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18425 * math/s_catan.c (__catan): Handle arguments with large real or
18426 imaginary part separately without squaring.
18427 * math/s_catanf.c (__catanf): Likewise.
18428 * math/s_catanh.c (__catanh): Likewise.
18429 * math/s_catanhf.c (__catanhf): Likewise.
18430 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18432 (__catanhl): Handle arguments with large real or imaginary part
18433 separately without squaring.
18434 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18436 (__catanl): Handle arguments with large real or imaginary part
18437 separately without squaring.
18438 * math/libm-test.inc (catan_test): Add more tests.
18439 (catanh_test): Likewise.
18440 * sysdeps/i386/fpu/libm-test-ulps: Update.
18441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18443 2013-04-27 Andreas Jaeger <aj@suse.de>
18446 * stdlib/stdlib.h: Update guards for qecvt.
18447 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18450 2013-04-27 Allan McRae <allan@archlinux.org>
18452 * sysdeps/i386/fpu/libm-test-ulps: Update.
18454 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18457 * math/s_catan.c: Include <float.h>.
18458 (__catan): Ensure underflow exception occurs for underflowed
18460 * math/s_catanf.c: Include <float.h>.
18461 (__catanf): Ensure underflow exception occurs for underflowed
18463 * math/s_catanh.c: Include <float.h>.
18464 (__catanh): Ensure underflow exception occurs for underflowed
18466 * math/s_catanhf.c: Include <float.h>.
18467 (__catanhf): Ensure underflow exception occurs for underflowed
18469 * math/s_catanhl.c: Include <float.h>.
18470 (__catanhl): Ensure underflow exception occurs for underflowed
18472 * math/s_catanl.c: Include <float.h>.
18473 (__catanl): Ensure underflow exception occurs for underflowed
18475 * math/libm-test.inc (catan_test): Add more tests.
18476 (catanh_test): Likewise.
18479 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18480 underflowed result.
18481 * math/s_ccoshf.c (__ccoshf): Likewise.
18482 * math/s_ccoshl.c (__ccoshl): Likewise.
18483 * math/s_csin.c (__csin): Likewise.
18484 * math/s_csinf.c (__csinf): Likewise.
18485 * math/s_csinh.c (__csinh): Likewise.
18486 * math/s_csinhf.c (__csinhf): Likewise.
18487 * math/s_csinhl.c (__csinhl): Likewise.
18488 * math/s_csinl.c (__csinl): Likewise.
18489 * math/libm-test.inc (ccos_test): Add more tests.
18490 (ccosh_test): Likewise.
18491 (csin_test): Likewise.
18492 (csinh_test): Likewise.
18494 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18496 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18497 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18498 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18499 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18500 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18501 powerpc/power5+/fpu folders.
18502 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18505 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18509 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18511 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18512 additions to variable.
18513 [$(config-machine) = x86_64] (modules-names): Likewise.
18514 ($(objpfx)tst-audit3): Remove dependency.
18515 ($(objpfx)tst-audit3.out): Likewise.
18516 ($(objpfx)tst-audit4): Likewise.
18517 ($(objpfx)tst-audit4.out): Likewise.
18518 ($(objpfx)tst-audit5): Likewise.
18519 ($(objpfx)tst-audit5.out): Likewise.
18520 ($(objpfx)tst-audit6): Likewise.
18521 ($(objpfx)tst-audit6.out): Likewise.
18522 ($(objpfx)tst-audit7): Likewise.
18523 ($(objpfx)tst-audit7.out): Likewise.
18524 (tst-audit3-ENV): Remove variable.
18525 (tst-audit4-ENV): Likewise.
18526 (tst-audit5-ENV): Likewise.
18527 (tst-audit6-ENV): Likewise.
18528 (tst-audit7-ENV): Likewise.
18529 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18530 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18531 addition to variable.
18532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18536 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18537 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18538 tst-audit3, tst-audit4 and tst-audit5.
18539 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18540 tst-audit6 and tst-audit7.
18541 [$(subdir) = elf] (modules-names): Add audit modules for those
18543 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18544 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18545 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18546 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18547 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18548 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18549 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18550 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18551 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18552 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18553 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18554 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18555 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18556 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18557 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18558 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18560 [$(subdir) = elf && $(config-cflags-avx) = yes]
18561 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18562 [$(subdir) = elf && $(config-cflags-avx) = yes]
18563 (CFLAGS-tst-auditmod4a.c): Likewise.
18564 [$(subdir) = elf && $(config-cflags-avx) = yes]
18565 (CFLAGS-tst-auditmod4b.c): Likewise.
18566 [$(subdir) = elf && $(config-cflags-avx) = yes]
18567 (CFLAGS-tst-auditmod6b.c): Likewise.
18568 [$(subdir) = elf && $(config-cflags-avx) = yes]
18569 (CFLAGS-tst-auditmod6c.c): Likewise.
18570 [$(subdir) = elf && $(config-cflags-avx) = yes]
18571 (CFLAGS-tst-auditmod7b.c): Likewise.
18572 * elf/tst-audit3.c: Move to ...
18573 * sysdeps/x86_64/tst-audit3.c: ... here.
18574 * elf/tst-audit4.c: Move to ...
18575 * sysdeps/x86_64/tst-audit4.c: ... here.
18576 * elf/tst-audit5.c: Move to ...
18577 * sysdeps/x86_64/tst-audit5.c: ... here.
18578 * elf/tst-audit6.c: Move to ...
18579 * sysdeps/x86_64/tst-audit6.c: ... here.
18580 * elf/tst-audit7.c: Move to ...
18581 * sysdeps/x86_64/tst-audit7.c: ... here.
18582 * elf/tst-auditmod3a.c: Move to ...
18583 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18584 * elf/tst-auditmod3b.c: Move to ...
18585 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18586 * elf/tst-auditmod4a.c: Move to ...
18587 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18588 * elf/tst-auditmod4b.c: Move to ...
18589 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18590 * elf/tst-auditmod5a.c: Move to ...
18591 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18592 * elf/tst-auditmod5b.c: Move to ...
18593 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18594 * elf/tst-auditmod6a.c: Move to ...
18595 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18596 * elf/tst-auditmod6b.c: Move to ...
18597 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18598 * elf/tst-auditmod6c.c: Move to ...
18599 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18600 * elf/tst-auditmod7a.c: Move to ...
18601 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18602 * elf/tst-auditmod7b.c: Move to ...
18603 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18605 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18608 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18609 define unconditionally.
18610 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18611 define unconditionally.
18612 (INT8_C, INT16_C, etc.): Likewise.
18614 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18616 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18617 __ehdr_start with hidden visibility.
18619 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18621 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18623 * math/libm-test.inc (cos_test): Use accurate hex constants.
18624 (sincost_test): Likewise.
18626 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18628 * math/libm-test.inc (catan_test): Add more tests.
18629 (catanh_test): Likewise.
18631 * math/s_catanf.c (__catanf): Use suffixed floating-point
18633 * math/s_catanhf.c (__catanhf): Likewise.
18634 * math/s_catanhl.c (__catanhl): Likewise.
18635 * math/s_catanl.c (__catanl): Likewise.
18638 * math/s_catan.c (__catan): Calculate imaginary part of result
18639 with log1p not log unless computing log of number close to 0.
18640 * math/s_catanf.c (__catanf): Likewise.
18641 * math/s_catanl.c (__catanl): Likewise.
18642 * math/s_catanh.c (__catanh): Calculate real part of result with
18643 log1p not log unless computing log of number close to 0.
18644 * math/s_catanhf.c (__catanhf): Likewise.
18645 * math/s_catanhl.c (__catanhl): Likewise.
18646 * math/libm-test.inc (catan_test): Add more tests.
18647 (catanh_test): Likewise.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18651 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18653 * benchtests/Makefile: Mention files in which fast and slow
18654 paths of math functions are implemented.
18656 2013-04-23 Roland McGrath <roland@hack.frob.com>
18658 * sysdeps/posix/timespec_get.c: New file.
18660 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18662 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18664 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18666 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18667 powerpc/power5/fpu folders.
18668 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18669 * benchtests/Makefile: Add modf testcase.
18670 * benchtests/bench-modf.c: New file: Benchmark test for mo
18672 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18675 * time/Makefile (tests): Add tst-strptime-whitespace.
18676 * time/strptime_l.c (get_number): Use ISSPACE.
18677 (__strptime_internal): Likewise.
18678 * time/tst-strptime-whitespace.c: New test case.
18680 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18682 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18684 (_nss_files_init): Set it here.
18686 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18688 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18689 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18692 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18694 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18696 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18701 2013-04-21 David S. Miller <davem@davemloft.net>
18703 * po/ru.po: Update Russion translation from translation project.
18705 2013-04-17 Adam Conrad <adconrad@0c3.net>
18707 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18710 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18712 * configure.in: Remove i386 configure warning. Remove i386 case.
18713 * configure: Regenerate.
18714 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18715 Add example to error message.
18716 * sysdeps/i386/configure: Regenerate.
18718 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18720 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18722 * benchtests/cos-inputs: New file.
18723 * benchtests/slowcos-inputs: New file.
18724 * benchtests/slowcos.c: New file.
18725 * benchtests/slowtan-inputs: New file.
18726 * benchtests/slowtan.c: New file.
18727 * benchtests/tan-inputs: New file.
18729 2013-04-16 Roland McGrath <roland@hack.frob.com>
18731 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18734 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18736 * benchtests/Makefile: Include cppflags-iterator.mk to add
18737 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18739 * Makefile.in (bench-clean): New target.
18740 * benchtests/Makefile (bench-clean): Likewise.
18742 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18744 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18746 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18748 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18750 2013-04-15 Andreas Schwab <schwab@suse.de>
18752 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18754 * nscd/pwdcache.c (cache_addpw): Likewise.
18755 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18758 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18760 * benchtests/Makefile (bench): Write all output to
18761 bench-out.tmp together.
18763 2013-04-15 Andreas Schwab <schwab@suse.de>
18765 * nscd/nscd.c (main): Don't fork again after closing files.
18767 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18769 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18771 * benchtests/Rules (bench-deps): Collect dependencies into a
18772 single variable. Add Makefile to dependencies.
18773 ($(objpfx)bench-%.c): Depend on bench-deps.
18775 2013-04-12 Roland McGrath <roland@hack.frob.com>
18776 Xavier Roche <roche+kml2@exalead.com>
18779 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18780 just that it's a file descriptor.
18781 * manual/llio.texi (Synchronizing AIO Operations): Update description
18782 for EBADF error from aio_fsync.
18784 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18786 * Rules (bench): Move target definition...
18787 * benchtests/Makefile: ... here.
18789 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18791 * math/libm-test.inc (cos_test): Fix PI/2 test.
18792 (sincos_test): Likewise.
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18794 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18796 2013-04-11 Andreas Schwab <schwab@suse.de>
18799 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18800 accept exponent character only when digits were seen.
18801 * stdio-common/Makefile (tests): Add bug26.
18802 * stdio-common/bug26.c: New file.
18805 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18808 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18810 * Makeconfig (rtld-prefix): Define built linker prefix.
18811 * Rules (run-bench): Use it.
18812 * math/Makefile (run-regen-ulps): Likewise.
18814 * Rules (bench): Remove eval.
18816 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18817 Roland McGrath <roland@hack.frob.com>
18818 Ondrej Bilka <neleai@seznam.cz>
18821 * time/getdate.c: Include ctype.h and alloca.h.
18822 (__getdate_r): Trim leading and trailing spaces of input.
18823 * time/tst-getdate.c (tests): Add tests with leading and
18826 2013-04-08 Roland McGrath <roland@hack.frob.com>
18829 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18830 when computing value.
18832 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18834 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18835 Use testrun.sh to run libm tests.
18838 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18840 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18843 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18845 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18847 * Makefile.in (regen-ulps): New target.
18848 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18849 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18850 [ifneq (no,$(PERL)] (regen-ulps): New target.
18851 [ifeq (no,$(PERL)] (regen-ulps): New target.
18852 * math/libm-test.inc (ulps_file_name): Define.
18853 (output_dir): New variable.
18854 (options): Add "output-dir" option.
18855 (parse_opt): Handle 'o' case.
18856 (main): If output_dir is non-NULL use it as a prefix
18858 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18860 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18862 [BZ #10060, #10062]
18863 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18864 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18865 fail configure if __sync_val_compare_and_swap is not inlined.
18866 * sysdeps/i386/configure: Regenerate.
18867 * configure.in: Build for i686 when configured for i386.
18868 * configure: Regenerate.
18869 * README: Remove i386 reference.
18871 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18873 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18874 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18876 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18878 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18879 (lmsnanval): New variables.
18880 (F): Add conversion tests.
18881 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18882 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18884 * stdio-common/tstdiomisc.c (F): Properly collect individual
18887 [BZ #14686, #15336]
18888 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18889 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18890 Instead, use input NaN values or generate a qNaN by arithmetic
18891 operation. Also fix bugs to comply with the standard.
18892 * math/libm-test.inc (remainder_test): Add more tests.
18894 [BZ #15335, #15342]
18895 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18897 input NaN values or generate a qNaN by arithmetic operation.
18899 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18902 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18905 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18908 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18909 underflowed result.
18910 * math/s_cexpf.c (__cexpf): Likewise.
18911 * math/s_cexpl.c (__cexpl): Likewise.
18912 * math/libm-test.inc (cexp_test): Add more tests.
18914 2013-04-03 Andreas Schwab <schwab@suse.de>
18917 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18918 order arrays from heap if bigger than alloca cutoff.
18920 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18922 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18923 (SNAN_TESTS_double): Refer to GCC PR56831.
18924 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18927 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18929 * Rules (bench): Move bench.out after the run is complete.
18931 * Rules (bench): Echo currently running benchmark.
18933 * benchtests/Makefile (bench): Add atan and slowatan.
18934 * benchtests/atan-inputs: New file.
18935 * benchtests/slowatan-inputs: New file.
18936 * benchtests/slowatan.c: New file.
18938 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18943 * sysdeps/unix/sysv/linux/kernel-features.h
18944 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18945 __ASSUME_XFS_RESTRICTED_CHOWN.
18946 * sysdeps/unix/sysv/linux/pathconf.c
18947 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18948 Save and restore errno.
18950 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18953 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18954 arguments using __kernel_casinh.
18955 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18956 arguments using __kernel_casinhf.
18957 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18958 arguments using __kernel_casinhl.
18959 * math/libm-test.inc (cacosh_test): Add more tests.
18960 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18965 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18968 * bench/Makefile (bench): Add sin and slowsin.
18969 * benchtests/sin-inputs: New file.
18970 * benchtests/slowsin-inputs: New file.
18971 * benchtests/slowsin.c: New file.
18973 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18974 (bench): Add slowexp and slowpow.
18975 (exp-ITER): Increase iterations.
18976 (pow-ITER): Likewise.
18977 * benchtests/exp-inputs: Change input.
18978 * benchtests/pow-inputs: Likewise.
18979 * benchtests/slowexp-inputs: New file.
18980 * benchtests/slowexp.c: New file.
18981 * benchtests/slowpow-inputs: New file.
18982 * benchtests/slowpow.c: New file.
18984 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18986 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18988 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18991 * benchtests/Makefile: Add rint benchtest.
18992 * benchtests/rint-inputs: Input for rint benchtest.
18994 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18996 * Versions.def (libm): Add GLIBC_2.18.
18997 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18998 hidden libm prototypes.
18999 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19000 * math/Makefile (libm-calls): Add s_issignaling.
19001 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19002 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19003 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19005 * math/math.h [__USE_GNU] (issignaling): New macro.
19006 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19007 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19008 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19009 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19012 * manual/arith.texi (issignaling): New section.
19013 * manual/libm-err-tab.pl (@all_functions): Update comment.
19014 * math/gen-libm-test.pl (parse_args): Apply special handling for
19016 * math/libm-test.inc (print_float, issignaling_test): New
19018 (check_float_internal): Add issignaling checks.
19019 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19020 default definition.
19021 * sysdeps/powerpc/math-tests.h: New file.
19022 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19024 * math/test-snan.c (TEST_FUNC): Likewise.
19026 2013-03-30 David S. Miller <davem@davemloft.net>
19028 * po/de.po: Update from translation team.
19030 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19033 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19034 imaginary part less than 1.0 and real part less than 0.5
19036 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19037 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19038 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19039 (cacos_test): Add more tests.
19040 (casin_test): Likewise.
19041 (casinh_test): Likewise.
19042 * sysdeps/i386/fpu/libm-test-ulps: Update.
19043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19045 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19047 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19048 ONE with its value.
19050 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19051 (__pow_mp): Replace ONE and MONE with their values.
19052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19053 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19054 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19055 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19056 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19057 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19059 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19061 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19062 (__pow_mp): Replace ZERO and MZERO with their values.
19063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19064 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19065 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19067 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19068 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19071 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19073 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19075 2013-03-28 Roland McGrath <roland@hack.frob.com>
19077 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19078 Declare with __attribute__ ((weak)).
19079 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19080 Call __call_tls_dtors only if it's not NULL.
19082 2013-03-28 Roland McGrath <roland@hack.frob.com>
19084 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19085 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19086 magic __ehdr_start linker symbol if it's defined.
19087 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19088 them up here if it was already done.
19090 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19091 (_dl_aux_init): Use const in cast when setting it.
19092 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19093 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19094 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19096 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19098 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19099 * csu/libc-tls.c: Nor here.
19100 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19102 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19103 (__libc_message): Never call vsyslog.
19105 2013-03-28 Alan Modra <amodra@gmail.com>
19107 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19109 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19112 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19119 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19122 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19123 Don't add gid passed as argument.
19125 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19127 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19130 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19131 imaginary part between 1.0 and 1.5 and real part less than 0.5
19133 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19134 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19135 * math/libm-test.inc (cacos_test): Add more tests.
19136 (casin_test): Likewise.
19137 (casinh_test): Likewise.
19138 * sysdeps/i386/fpu/libm-test-ulps: Update.
19139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19141 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19143 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19146 (denorm): Likewise.
19147 (__dbl_mp): Likewise.
19148 (add_magnitudes): Likewise.
19149 (sub_magnitudes): Likewise.
19157 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19159 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19160 (__dubcos): Likewise.
19161 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19162 (__ieee754_acos): Likewise.
19163 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19165 (__exp1): Likewise.
19166 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19169 (my_log2): Likewise.
19170 (checkint): Likewise.
19171 * sysdeps/ieee754/dbl-64/e_remainder.c
19172 (__ieee754_remainder): Likewise.
19173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19175 (bsloww): Likewise.
19176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19178 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19179 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19180 MANTISSA_STORE_T to store computations on mantissa. Use
19181 macros for rounding and division.
19182 (denorm): Likewise.
19183 (__dbl_mp): Likewise.
19184 (add_magnitudes): Likewise.
19185 (sub_magnitudes): Likewise.
19188 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19189 powers of two in terms of TWOPOW macro.
19190 (mp_no): Make type of mantissa as MANTISSA_T.
19191 [!RADIXI]: Define RADIXI.
19192 [!TWO52]: Define TWO52.
19193 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19195 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19197 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19198 llroundl symbol when building for PPC32.
19200 2013-03-24 Mark H Weaver <mhw@netris.org>
19202 * manual/arith.texi (Normalization Functions): Fix prototypes for
19203 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19205 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19209 high value to check if expl overflow.
19210 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19211 to check for underflow and overflow.
19212 * math/libm-test.inc: Add exp test.
19214 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19217 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19220 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19222 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19225 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19227 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19228 wrap blocks consisting of several statements.
19230 * sysdeps/generic/math-tests.h: New file.
19231 * sysdeps/i386/fpu/math-tests.h: Likewise.
19232 * math/test-snan.c: Include it.
19233 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19235 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19239 (__ieee754_j0l): Do not improve calculations using cos of twice
19240 input for inputs above LDBL_MAX / 2.0L.
19241 (__ieee754_y0l): Likewise.
19242 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19243 (__ieee754_j1l): Do not improve calculations using cos of twice
19244 input for inputs above LDBL_MAX / 2.0L.
19245 (__ieee754_y1l): Likewise.
19246 * math/libm-test.inc (j0_test): Add another test.
19247 (j1_test): Likewise.
19248 (y0_test): Likewise.
19249 (y1_test): Likewise.
19250 * sysdeps/i386/fpu/libm-test-ulps: Update.
19252 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19254 * Rules ($(objpfx)bench-%.c): Include code from a C source
19257 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19260 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19261 imaginary part 1.0 and real part less than 0.5 specially.
19262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19264 * math/libm-test.inc (cacos_test): Add more tests.
19265 (casin_test): Likewise.
19266 (casinh_test): Likewise.
19267 * sysdeps/i386/fpu/libm-test-ulps: Update.
19268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19270 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19273 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19275 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19277 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19278 * config.make.in (config-cflags-sse4): Remove variable.
19279 (config-cflags-avx): Likewise.
19280 (config-cflags-sse2avx): Likewise.
19281 (config-cflags-novzeroupper): Likewise.
19282 (config-asflags-i686): Likewise.
19283 (have-mfma4): Likewise.
19284 (have-as-vis3): Likewise.
19286 * configure.in (MIG): Do not AC_SUBST.
19287 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19288 (libc_cv_cc_sse4): Do not AC_SUBST.
19289 (libc_cv_cc_avx): Likewise.
19290 (libc_cv_cc_sse2avx): Likewise.
19291 (libc_cv_cc_novzeroupper): Likewise.
19292 (libc_cv_cc_fma4): Likewise.
19293 (libc_cv_as_i686): Likewise.
19294 (libc_cv_sparc_as_vis3): Likewise.
19295 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19297 (config-asflags-i686): Likewise.
19298 (config-cflags-avx): Likewise.
19299 (config-cflags-sse2avx): Likewise.
19300 (have-mfma4): Likewise.
19301 (config-cflags-novzeroupper): Likewise.
19302 * sysdeps/mach/configure.in (MIG): Likewise.
19303 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19304 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19306 (config-cflags-avx): Likewise.
19307 (config-cflags-sse2avx): Likewise.
19308 (have-mfma4): Likewise.
19309 (config-cflags-novzeroupper): Likewise.
19310 * configure: Regenerated.
19311 * sysdeps/i386/configure: Likewise.
19312 * sysdeps/mach/configure: Likewise.
19313 * sysdeps/sparc/configure: Likewise.
19314 * sysdeps/x86_64/configure: Likewise.
19316 2013-03-20 Roland McGrath <roland@hack.frob.com>
19319 * locale/programs/localedef.c (options): Put N_ translation marker
19320 on argument names, not just descriptions.
19322 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19324 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19326 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19329 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19331 2013-03-19 Roland McGrath <roland@hack.frob.com>
19333 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19334 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19335 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19336 [!BEFORE_ABORT] (before_abort): New function.
19337 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19338 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19339 (writev_for_fatal): New function.
19340 (WRITEV_FOR_FATAL): New macro; call that.
19341 (backtrace_and_maps): New function.
19342 (BEFORE_ABORT): New macro; call that.
19343 (struct str_list): Type removed.
19344 (__libc_message, __libc_fatal): Functions removed.
19345 Include <sysdeps/posix/libc_fatal.c> instead.
19347 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19349 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19351 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19354 2013-03-19 Andreas Schwab <schwab@suse.de>
19356 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19357 * sysdeps/gnu/configure: Regenerate.
19359 * configure.in: Substitute libc_cv_rtlddir.
19360 * configure: Regenerate.
19361 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19362 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19363 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19364 * elf/Makefile (install-others, CFLAGS-interp.c)
19365 (ldso_install, common-ldd-rewrite): Likewise.
19366 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19367 $(inst_slibdir)/$(rtld-installed-name).
19368 * scripts/rellns-sh: Add -p option.
19369 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19372 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19374 * manual/nptl.texi: Renamed to ...
19375 * manual/threads.texi: ... this.
19376 * manual/Makefile (chapters): Update.
19378 2013-03-18 Roland McGrath <roland@hack.frob.com>
19381 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19382 on argument names, not just descriptions.
19383 * malloc/memusagestat.c (options): Likewise.
19384 * nss/getent.c (options): Likewise.
19386 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19389 * iconv/iconv_prog.c (options): Put N_ translation marker
19390 on argument names, not just descriptions.
19391 * iconv/iconvconfig.c (options): Likewise.
19393 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19395 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19396 implementation which is faster on all x86_64 architectures.
19397 Tested on AMD, Intel Nehalem, SNB, IVB.
19398 * sysdeps/x86_64/strnlen.S: Likewise.
19400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19401 Remove all multiarch strlen and strnlen versions.
19402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19403 Remove strlen and strnlen related parts.
19405 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19406 Inline strlen part.
19407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19409 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19410 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19411 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19412 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19413 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19414 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19416 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19418 * manual/memory.texi (Malloc Tunable Parameters):
19419 Sort parameters alphabetically. Add comments for missing entries.
19421 2013-03-17 David S. Miller <davem@davemloft.net>
19423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19425 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19429 for arguments at most half maximum finite value.
19430 * math/libm-test.inc (j0_test): Add more tests.
19431 (j1_test): Likewise.
19432 (y0_test): Likewise.
19433 (y1_test): Likewise.
19434 * sysdeps/i386/fpu/libm-test-ulps: Update.
19435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19438 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19439 1 / x and functions P and Q for arguments above 0x1p256L.
19440 (__ieee754_y0l): Likewise.
19441 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19442 (__ieee754_y1l): Likewise.
19443 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19444 (j1_test): Likewise.
19445 (y0_test): Likewise.
19446 (y1_test): Likewise.
19448 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19450 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19453 2013-03-15 Roland McGrath <roland@hack.frob.com>
19455 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19456 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19457 zero since it's initialized to EXEC_PAGESIZE.
19459 * sysdeps/unix/sysv/linux/ldsodefs.h
19460 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19461 * sysdeps/generic/ldsodefs.h: ... here.
19463 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19465 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19467 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19469 * math/test-snan.c: Renamed from
19470 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19471 * math/Makefile (tests): Add test-snan.
19472 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19475 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19476 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19478 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19479 __builtin_nan family of functions.
19480 * math/libm-test.inc (initialize): Initialize qnan_value with
19481 __builtin_nan family of functions.
19482 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19484 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19486 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19487 storage class. Initialize qNaN_var and sNaN_var with
19488 __builtin_nan and __builtin_nans families of functions,
19491 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19492 (sqrt_test): Remove duplicate test with qNaN input.
19493 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19494 (round_test, signbit_test, significand_test): Note missing +/-Inf
19495 as well as qNaN tests.
19497 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19498 qNaN_var. Fix a few strings, too.
19499 * math/libm-test.inc (nan_value): Rename to qnan_value.
19500 * math/gen-libm-test.pl (%beautify): Adjust to that.
19501 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19502 * math/test-misc.c (main): Likewise.
19503 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19504 to __qnan_bytes, and __qnan_union, respectively.
19505 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19507 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19508 and lqnanval, respectively.
19509 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19510 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19511 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19512 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19514 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19515 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19518 * math/test-misc.c (main): Fix copy'n'pastos.
19519 * misc/tst-efgcvt.c (special): Likewise.
19521 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19522 Remove declarations.
19524 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19526 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19527 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19528 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19529 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19531 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19533 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19534 macro to return vdso values correctly in IFUNC implementations.
19535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19536 Optimization by using IFUNC.
19538 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19539 Richard Henderson <rth@redhat.com>
19540 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19542 * Makefile.in (bench): New target.
19543 * NEWS: Mention the benchmark framework.
19544 * Rules (bench): Likewise.
19545 (binaries-bench): Generate binaries for functions to
19547 * benchtests/Makefile: New makefile for benchmark tests.
19548 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19550 * benchtests/exp-inputs: New input file for EXP function.
19551 * benchtests/pow-inputs: New input file for POW function.
19552 * scripts/bench.pl: New script to generate source files for
19553 benchmark programs.
19555 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19557 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19558 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19559 computations on mantissa. Use macros for rounding and
19561 (denorm): Likewise.
19562 (__dbl_mp): Likewise.
19563 (add_magnitudes): Likewise.
19564 (sub_magnitudes): Likewise.
19567 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19568 powers of two in terms of TWOPOW macro.
19569 (mp_no): Make type of mantissa as MANTISSA_T.
19570 [!RADIXI]: Define RADIXI.
19571 [!TWO52]: Define TWO52.
19572 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19574 * manual/nptl.texi (cindex): Modify threads to pthreads.
19576 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19578 * sysdeps/x86_64/preconfigure: Regenerated.
19580 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19583 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19585 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19586 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19588 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19589 * math/libm-test.inc (j0_test): Do not allow one spurious
19590 underflow exception.
19591 (y1_test): Likewise.
19593 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19595 * manual/Makefile (chapters): Add nptl.
19596 * manual/debug.texi (Debugging Support): Add link to Threads
19598 * manual/nptl.texi: New file.
19600 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19602 2013-03-14 Petr Baudis <pasky@ucw.cz>
19604 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19605 for non-NULL pointer before the memory validity test. Pointed
19606 out by Holger Brunck <holger.brunck@keymile.com>.
19608 2013-03-13 Andreas Schwab <schwab@suse.de>
19610 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19613 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19615 * timezone/zic.c: Update from tzcode 2013b.
19617 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19619 * manual/install.texi (Configuring and compiling):
19620 Mention i686 and i586.
19621 * INSTALL: Regenerate.
19623 2013-03-12 Roland McGrath <roland@hack.frob.com>
19625 * sysdeps/init_array/elf-init.c: New file.
19627 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19628 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19630 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19631 __gmon_start__ as global, but as static with a .preinit_array pointer.
19632 * sysdeps/init_array/gmon-start.c: New file. Use that.
19633 * sysdeps/init_array/crti.S: New file, empty except for comments.
19634 * sysdeps/init_array/crtn.S: Likewise.
19636 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19638 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19641 Remove Prefer_SSE_for_memop.
19642 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19643 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19644 HAS_PREFER_SSE_FOR_MEMOP.
19645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19648 Remove bzero, memset ifunc support.
19649 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19650 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19651 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19652 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19654 2013-03-11 Andreas Schwab <schwab@suse.de>
19657 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19660 (GLIBC_2.16): Remove pthread_atfork.
19662 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19664 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19665 (ptestcases.h): Likewise.
19667 2013-03-08 Roland McGrath <roland@hack.frob.com>
19669 * Makeconfig ($(common-objpfx)config.status): Depend on
19670 sysdeps/*/preconfigure{,.in} too.
19672 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19674 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19675 (__free_hook): Use void * instead of __malloc_ptr_t.
19676 (__malloc_hook): Likewise.
19677 (__realloc_hook): Likewise.
19678 (__memalign_hook): Likewise.
19679 (__after_morecore_hook): Likewise.
19680 * malloc/arena.c (save_malloc_hook): Likewise.
19681 (save_free_hook): Likewise.
19682 * malloc/hooks.c (malloc_hook_ini): Likewise.
19683 (realloc_hook_ini): Likewise.
19684 (memalign_hook_ini): Likewise.
19685 * malloc/malloc.c (malloc_hook_ini): Likewise.
19686 (realloc_hook_ini): Likewise.
19687 (memalign_hook_ini): Likewise.
19688 (__free_hook): Likewise.
19689 (__malloc_hook): Likewise.
19690 (__realloc_hook): Likewise.
19691 (__memalign_hook): Likewise.
19692 (__libc_malloc): Likewise.
19693 (__libc_free): Likewise.
19694 (__libc_realloc): Likewise.
19695 (__libc_memalign): Likewise.
19696 (__libc_valloc): Likewise.
19697 (__libc_pvalloc): Likewise.
19698 (__libc_calloc): Likewise.
19699 (__posix_memalign): Likewise.
19700 * malloc/morecore.c (__sbrk): Likewise.
19701 (__default_morecore): Likewise.
19703 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19705 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19706 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19707 __malloc_ptrdiff_t.
19709 * malloc/malloc.h (__malloc_size_t): Remove macro.
19710 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19712 (old_memalign_hook): Likewise.
19713 (old_realloc_hook): Likewise.
19714 (struct hdr): Likewise.
19716 (mallochook): Likewise.
19717 (memalignhook): Likewise.
19718 (reallochook): Likewise.
19719 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19720 (tr_old_realloc_hook): Likewise.
19721 (tr_old_memalign_hook): Likewise.
19722 (tr_mallochook): Likewise.
19723 (tr_reallochook): Likewise.
19724 (tr_memalignhook): Likewise.
19726 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19728 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19729 default_ldbl_pack and using as default implementation.
19730 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19732 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19733 redundant definition.
19734 (ldbl_insert_mantissa): Likewise.
19735 (ldbl_canonicalize): Likewise.
19736 (ldbl_nearbyint): Likewise.
19737 (ldbl_pack): Rename to ldbl_pack_ppc.
19738 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19739 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19740 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19742 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19745 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19746 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19747 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19749 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19750 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19751 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19753 2013-03-07 Andreas Jaeger <aj@suse.de>
19755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19758 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19760 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19761 Include mpa.h and declare __MPEXP.
19762 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19763 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19764 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19765 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19766 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19767 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19768 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19770 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19771 (__slowpow): Use long double EXPL and LOGL functions to
19773 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19774 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19777 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19778 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19781 intermediate variable to calculate exponent.
19783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19787 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19788 [!NO__SQR]: Define __sqr.
19789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19790 and NO__SQR. Remove all code except __mul and __sqr. Include
19791 sysdeps/ieee754/dbl-64/mpa.c.
19792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19795 * posix/Makefile (tests): Add tst-pathconf.
19796 * posix/tst-pathconf.c: New test case.
19797 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19799 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19801 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19803 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19805 2013-03-06 Andreas Jaeger <aj@suse.de>
19807 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19808 definition via __MAP_ANONYMOUS.
19810 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19811 it's not part of Linux headers.
19813 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19814 (MAP_HUGE_MASK): Define.
19816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19818 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19821 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19822 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19824 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19827 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19829 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19830 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19831 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19832 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19833 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19834 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19839 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19840 Handle f2fs and efivarfs.
19842 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19845 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19846 (EFIVARFS_MAGIC): Add.
19847 (F2FS_LINK_MAX): Add.
19849 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19851 * stdio-common/vfprintf.c: Replace __builtin_expect with
19854 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19857 * sysdeps/generic/bp-sym.h: Remove file.
19858 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19859 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19860 <bp-sym.h> and <bp-asm.h>.
19861 (__longjmp): Don't use BP_SYM.
19862 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19864 (memcpy): Don't use BP_SYM.
19865 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19866 <bp-sym.h> and <bp-asm.h>.
19867 (memcpy): Don't use BP_SYM.
19868 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19870 (memcpy): Don't use BP_SYM.
19871 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19873 (memset): Don't use BP_SYM.
19874 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19875 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19876 (__bzero): Don't use BP_SYM.
19877 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19878 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19879 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19880 <bp-sym.h> and <bp-asm.h>.
19881 (memcmp): Don't use BP_SYM. Remove comment about bounded
19883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19884 <bp-sym.h> and <bp-asm.h>.
19885 (memcpy): Don't use BP_SYM.
19886 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19887 <bp-sym.h> and <bp-asm.h>.
19888 (memset): Don't use BP_SYM.
19889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19891 (__bzero): Don't use BP_SYM.
19892 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19893 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19894 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19895 <bp-sym.h> and <bp-asm.h>.
19896 (strncmp): Don't use BP_SYM. Remove comment about bounded
19898 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19899 <bp-sym.h> and <bp-asm.h>.
19900 (memcpy): Don't use BP_SYM.
19901 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19902 <bp-sym.h> and <bp-asm.h>.
19903 (memset): Don't use BP_SYM.
19904 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19905 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19906 (__bzero): Don't use BP_SYM.
19907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19910 <bp-sym.h> and <bp-asm.h>.
19911 (__memchr): Don't use BP_SYM.
19912 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19913 <bp-sym.h> and <bp-asm.h>.
19914 (memcmp): Don't use BP_SYM. Remove comment about bounded
19916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19917 <bp-sym.h> and <bp-asm.h>.
19918 (memcpy): Don't use BP_SYM.
19919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19920 <bp-sym.h> and <bp-asm.h>.
19921 (__mempcpy): Don't use BP_SYM.
19922 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19923 <bp-sym.h> and <bp-asm.h>.
19924 (__memrchr): Don't use BP_SYM.
19925 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19926 <bp-sym.h> and <bp-asm.h>.
19927 (memset): Don't use BP_SYM.
19928 (__bzero): Likewise.
19929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19930 <bp-sym.h> and <bp-asm.h>.
19931 (__rawmemchr): Don't use BP_SYM.
19932 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19933 <bp-sym.h> and <bp-asm.h>.
19934 (__STRCMP): Don't use BP_SYM.
19935 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19936 <bp-sym.h> and <bp-asm.h>.
19937 (strchr): Don't use BP_SYM.
19938 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19939 <bp-sym.h> and <bp-asm.h>.
19940 (__strchrnul): Don't use BP_SYM.
19941 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19942 <bp-sym.h> and <bp-asm.h>.
19943 (strlen): Don't use BP_SYM.
19944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19945 <bp-sym.h> and <bp-asm.h>.
19946 (strncmp): Don't use BP_SYM. Remove comment about bounded
19948 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19949 <bp-sym.h> and <bp-asm.h>.
19950 (__strnlen): Don't use BP_SYM.
19951 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19952 <bp-sym.h> and <bp-asm.h>.
19953 (__GI__setjmp): Don't use BP_SYM.
19954 (_setjmp): Likewise.
19955 (__sigsetjmp): Likewise.
19956 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19957 (L(start_addresses)): Don't use BP_SYM.
19958 (_start): Likewise.
19959 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19961 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19962 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19963 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19964 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19965 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19967 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19968 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19969 about bounded pointers.
19970 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19971 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19972 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19974 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19975 about bounded pointers. Remove GKM FIXME comments.
19976 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19977 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19979 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19980 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19981 Remove GKM FIXME comments.
19982 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19983 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19984 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19986 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19987 about bounded pointers. Remove GKM FIXME comment.
19988 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19990 (strncmp): Don't use BP_SYM. Remove comment about bounded
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19993 <bp-sym.h> and <bp-asm.h>.
19994 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19996 <bp-sym.h> and <bp-asm.h>.
19997 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20000 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20002 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20005 2013-03-05 David S. Miller <davem@davemloft.net>
20007 * po/es.po: Update from translation team.
20009 2013-03-05 Andreas Jaeger <aj@suse.de>
20011 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20012 <bits/mman-linux.h>.
20013 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20015 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20016 <bits/mman-linux.h> to end of file.
20017 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20019 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20020 <bits/mman-linux.h> to end of file.
20021 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20024 <bits/mman-linux.h> to end of file.
20026 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20027 (MCL_CURRENT, MCL_FUTURE): Define here.
20029 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20034 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20036 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20038 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20039 fourth parameter needed for rt_sigprocmask syscall.
20040 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20041 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20042 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20043 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20044 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20045 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20047 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20050 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20051 comment about bounded pointers.
20052 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20053 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20055 2013-03-04 Andreas Jaeger <aj@suse.de>
20057 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20058 common definitions.
20060 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20061 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20063 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20064 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20067 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20070 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20071 __ieee754_sqrl instead of __sqrl.
20073 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20075 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20076 * sysdeps/powerpc/fpu_control.h: ... here.
20077 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20078 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20079 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20080 * sysdeps/powerpc/bits/mathinline.h: ... here.
20082 2013-03-01 Roland McGrath <roland@hack.frob.com>
20084 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20085 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20086 to just [NEED_DL_SYSINFO_DSO].
20087 * elf/dl-support.c: Likewise.
20088 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20089 * elf/rtld.c (dl_main): Likewise.
20090 * elf/setup-vdso.h (setup_vdso): Likewise.
20091 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20092 * sysdeps/unix/sysv/linux/dl-sysdep.c
20093 (_dl_discover_osversion): Likewise.
20095 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20097 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20098 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20100 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20102 * NEWS: Mention libm performance improvements and non-x86 PI
20105 * csu/libc-start.c (__pthread_initialize_minimal): Change
20106 function arguments.
20107 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20109 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20112 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20113 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20114 <bp-sym.h> and <bp-asm.h>.
20115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20118 (memcpy): Don't use BP_SYM.
20119 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20121 (__mpn_add_n): Don't use BP_SYM.
20122 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20123 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20125 (__mpn_addmul_1): Don't use BP_SYM.
20126 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20127 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20129 (_setjmp): Don't use BP_SYM.
20130 (__novmx_setjmp): Likewise.
20131 (__GI__setjmp): Likewise.
20132 (__vmx_setjmp): Likewise.
20133 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20135 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20136 (__bzero): Don't use BP_SYM.
20137 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20138 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20139 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (memcpy): Don't use BP_SYM.
20142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20143 <bp-sym.h> and <bp-asm.h>.
20144 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20145 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20146 <bp-sym.h> and <bp-asm.h>.
20147 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20148 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20150 (__mpn_lshift): Don't use BP_SYM.
20151 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20152 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20154 (memset): Don't use BP_SYM.
20155 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20156 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20157 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20159 (__mpn_mul_1): Don't use BP_SYM.
20160 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20162 <bp-sym.h> and <bp-asm.h>.
20163 (memcmp): Don't use BP_SYM.
20164 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20165 <bp-sym.h> and <bp-asm.h>.
20166 (memcpy): Don't use BP_SYM.
20167 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20168 <bp-sym.h> and <bp-asm.h>.
20169 (memset): Don't use BP_SYM.
20170 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20171 <bp-sym.h> and <bp-asm.h>.
20172 (strncmp): Don't use BP_SYM.
20173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20174 <bp-sym.h> and <bp-asm.h>.
20175 (memcpy): Don't use BP_SYM.
20176 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20177 <bp-sym.h> and <bp-asm.h>.
20178 (memset): Don't use BP_SYM.
20179 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20180 <bp-sym.h> and <bp-asm.h>.
20181 (__memchr): Don't use BP_SYM.
20182 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20183 <bp-sym.h> and <bp-asm.h>.
20184 (memcmp): Don't use BP_SYM.
20185 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20186 <bp-sym.h> and <bp-asm.h>.
20187 (memcpy): Don't use BP_SYM.
20188 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20189 <bp-sym.h> and <bp-asm.h>.
20190 (__mempcpy): Don't use BP_SYM.
20191 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20192 <bp-sym.h> and <bp-asm.h>.
20193 (__memrchr): Don't use BP_SYM.
20194 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20195 <bp-sym.h> and <bp-asm.h>.
20196 (memset): Don't use BP_SYM.
20197 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20198 <bp-sym.h> and <bp-asm.h>.
20199 (__rawmemchr): Don't use BP_SYM.
20200 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20201 <bp-sym.h> and <bp-asm.h>.
20202 (__STRCMP): Don't use BP_SYM.
20203 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20204 <bp-sym.h> and <bp-asm.h>.
20205 (strchr): Don't use BP_SYM.
20206 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20207 <bp-sym.h> and <bp-asm.h>.
20208 (__strchrnul): Don't use BP_SYM.
20209 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20210 <bp-sym.h> and <bp-asm.h>.
20211 (strlen): Don't use BP_SYM.
20212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20213 <bp-sym.h> and <bp-asm.h>.
20214 (strncmp): Don't use BP_SYM.
20215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20216 <bp-sym.h> and <bp-asm.h>.
20217 (__strnlen): Don't use BP_SYM.
20218 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20220 (__mpn_rshift): Don't use BP_SYM.
20221 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20222 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20223 <bp-sym.h> and <bp-asm.h>.
20224 (__sigsetjmp): Don't use BP_SYM.
20225 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20226 (L(start_addresses)): Don't use BP_SYM.
20227 (_start): Likewise.
20228 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20230 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20231 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20232 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20233 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20235 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20236 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20237 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20238 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20240 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20242 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20243 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20245 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20247 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20248 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20249 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20251 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20253 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20255 (strncmp): Don't use BP_SYM,
20256 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20258 (__mpn_sub_n): Don't use BP_SYM.
20259 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20260 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20262 (__mpn_submul_1): Don't use BP_SYM.
20263 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20265 <bp-sym.h> and <bp-asm.h>.
20266 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20268 <bp-sym.h> and <bp-asm.h>.
20269 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20272 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20275 Use ZK to minimize writes to Z.
20276 (sub_magnitudes): Simplify code a bit.
20277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20278 Use ZK to minimize writes to Z.
20279 (sub_magnitudes): Simplify code a bit.
20281 2013-02-27 Roland McGrath <roland@hack.frob.com>
20283 * csu/gmon-start.c: Add special exception to license text.
20285 2013-02-27 Richard Henderson <rth@redhat.com>
20287 * scripts/config.guess: Update from config.git.
20288 * scripts/config.sub: Likewise.
20290 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20292 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20294 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20296 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20298 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20300 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20302 2013-02-26 Roland McGrath <roland@hack.frob.com>
20304 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20305 [$(build-shared = yes].
20307 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20309 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20310 (__mul): Reduce iterations for calculating mantissa.
20312 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20314 (__mpranred): Likewise.
20317 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20318 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20320 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20322 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20323 Define __attribute__.
20325 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20327 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20329 * posix/regex_internal.h (__attribute): Remove.
20330 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20331 (re_string_context_at): Likewise.
20332 (bitset_not): Use __attribute__ and mark function as possibly
20334 (bitset_merge): Likewise.
20335 (bitset_mask): Likewise.
20336 (re_string_char_size_at): Likewise.
20337 (re_string_wchar_at): Likewise.
20338 (re_string_elem_size_at): Likewise.
20340 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20342 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20346 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20350 (denorm): Likewise.
20351 (__dbl_mp): Likewise.
20352 (add_magnitudes): Likewise.
20353 (sub_magnitudes): Likewise.
20357 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20360 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20363 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20367 up changes with default code.
20368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20371 2013-02-24 Allan McRae <allan@archlinux.org>
20373 * manual/socket.texi (The Internet Namespace): Order menu items
20374 to match that in the file.
20376 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20377 node listing of the info page menu.
20379 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20382 * sysdeps/i386/bp-asm.h: Remove file.
20383 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20384 (PARMS): Do not use macros from bp-asm.h.
20388 (__mpn_add_n): Do not use BP_SYM
20389 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20391 (PARMS): Do not use macros from bp-asm.h.
20394 (__mpn_addmul_1): Do not use BP_SYM
20395 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20397 (PARMS): Do not use macros from bp-asm.h.
20398 (SIGMSK): Likewise.
20399 (_setjmp): Likewise. Do not use BP_SYM.
20400 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20402 (PARMS): Do not use macros from bp-asm.h.
20403 (SIGMSK): Likewise.
20404 (setjmp): Likewise. Do not use BP_SYM.
20405 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20407 (PARMS): Do not use macros from bp-asm.h.
20408 (__frexp): Do not use BP_SYM.
20410 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20412 (PARMS): Do not use macros from bp-asm.h.
20413 (__frexpf): Do not use BP_SYM.
20414 (frexpf): Likewise.
20415 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20417 (PARMS): Do not use macros from bp-asm.h.
20418 (__frexpl): Do not use BP_SYM.
20419 (frexpl): Likewise.
20420 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20422 (PARMS): Do not use macros from bp-asm.h.
20423 (__remquo): Do not use BP_SYM.
20424 (remquo): Likewise.
20425 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20427 (PARMS): Do not use macros from bp-asm.h.
20428 (__remquof): Do not use BP_SYM.
20429 (remquof): Likewise.
20430 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20432 (PARMS): Do not use macros from bp-asm.h.
20433 (__remquol): Do not use BP_SYM.
20434 (remquol): Likewise.
20435 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20437 (PARMS): Do not use macros from bp-asm.h.
20440 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20441 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20443 (PARMS): Do not use macros from bp-asm.h.
20444 (strlen): Do not use BP_SYM.
20445 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20447 (PARMS): Do not use macros from bp-asm.h.
20451 (__mpn_add_n): Do not use BP_SYM.
20452 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20454 (PARMS): Do not use macros from bp-asm.h.
20457 (__mpn_addmul_1): Do not use BP_SYM.
20458 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20461 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20463 (PARMS): Do not use macros from bp-asm.h.
20466 (__mpn_lshift): Do not use BP_SYM.
20467 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20469 (PARMS): Do not use macros from bp-asm.h.
20473 (memcpy): Likewise. Do not use BP_SYM.
20474 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20475 libc_hidden_def and weak_alias.
20476 (mempcpy): Do not use BP_SYM in weak_alias.
20477 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20479 (PARMS): Do not use macros from bp-asm.h.
20482 [!BZERO_P] (CHR): Likewise.
20483 (memset): Likewise. Do not use BP_SYM.
20484 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20486 (PARMS): Do not use macros from bp-asm.h.
20489 (__mpn_mul_1): Do not use BP_SYM.
20490 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20492 (PARMS): Do not use macros from bp-asm.h.
20495 (__mpn_rshift): Do not use BP_SYM.
20496 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20498 (PARMS): Do not use macros from bp-asm.h.
20501 (strchr): Likewise. Do not use BP_SYM.
20502 (index): Do not use BP_SYM in weak_alias.
20503 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20505 (PARMS): Do not use macros from bp-asm.h.
20508 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20509 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20511 (PARMS): Do not use macros from bp-asm.h.
20512 (strlen): Do not use BP_SYM.
20513 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20515 (PARMS): Do not use macros from bp-asm.h.
20519 (__mpn_sub_n): Do not use BP_SYM.
20520 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20522 (PARMS): Do not use macros from bp-asm.h.
20525 (__mpn_submul_1): Do not use BP_SYM.
20526 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20528 (PARMS): Do not use macros from bp-asm.h.
20532 (__mpn_add_n): Do not use BP_SYM.
20533 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20536 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20538 (PARMS): Do not use macros from bp-asm.h.
20541 (memcmp): Do not use BP_SYM.
20542 (bcmp): Do not use BP_SYM in weak_alias.
20543 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20545 (PARMS): Do not use macros from bp-asm.h.
20549 (memcpy): Likewise. Do not use BP_SYM.
20550 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20552 (PARMS): Do not use macros from bp-asm.h.
20556 (memmove): Likewise. Do not use BP_SYM.
20557 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20559 (PARMS): Do not use macros from bp-asm.h.
20563 (__mempcpy): Likewise. Do not use BP_SYM.
20564 (mempcpy): Do not use BP_SYM in weak_alias.
20565 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20567 (PARMS): Do not use macros from bp-asm.h.
20570 [!BZERO_P] (CHR): Likewise.
20571 (memset): Likewise. Do not use BP_SYM.
20572 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20574 (PARMS): Do not use macros from bp-asm.h.
20576 (strcmp): Do not use BP_SYM.
20577 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20579 (PARMS): Do not use macros from bp-asm.h.
20582 [USE_AS_STRTOK_R] (SAVE): Likewise.
20583 (FUNCTION): Likewise. Do not use BP_SYM.
20584 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20586 (strtok_r): Likewise.
20587 (__GI___strtok_r): Likewise.
20588 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20589 (PARMS): Do not use macros from bp-asm.h.
20592 (__mpn_lshift): Do not use BP_SYM.
20593 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20594 (PARMS): Do not use macros from bp-asm.h.
20597 (__memchr): Do not use BP_SYM.
20598 (memchr): Do not use BP_SYM in weak_alias.
20599 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20600 (PARMS): Do not use macros from bp-asm.h.
20603 (memcmp): Do not use BP_SYM.
20604 (bcmp): Do not use BP_SYM in weak_alias.
20605 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20606 (PARMS): Do not use macros from bp-asm.h.
20609 (__mpn_mul_1): Do not use BP_SYM.
20610 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20612 (PARMS): Do not use macros from bp-asm.h.
20615 (__rawmemchr): Do not use BP_SYM.
20616 (rawmemchr): Do not use BP_SYM in weak_alias.
20617 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20618 (PARMS): Do not use macros from bp-asm.h.
20621 (__mpn_rshift): Do not use BP_SYM.
20622 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20623 (PARMS): Do not use macros from bp-asm.h.
20624 (SIGMSK): Likewise.
20625 (__sigsetjmp): Likewise. Do not use BP_SYM.
20626 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20627 (_start): Do not use BP_SYM.
20628 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20629 (PARMS): Do not use macros from bp-asm.h.
20632 (__stpcpy): Likewise. Do not use BP_SYM.
20633 (stpcpy): Do not use BP_SYM in weak_alias.
20634 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20636 (PARMS): Do not use macros from bp-asm.h.
20640 (__stpncpy): Likewise. Do not use BP_SYM.
20641 (stpncpy): Do not use BP_SYM in weak_alias.
20642 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20643 (PARMS): Do not use macros from bp-asm.h.
20646 (strchr): Likewise. Do not use BP_SYM.
20647 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20649 (PARMS): Do not use macros from bp-asm.h.
20652 (__strchrnul): Likewise. Do not use BP_SYM.
20653 (strchrnul): Do not use BP_SYM in weak_alias.
20654 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20656 (PARMS): Do not use macros from bp-asm.h.
20658 (strcspn): Do not use BP_SYM.
20659 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20661 (PARMS): Do not use macros from bp-asm.h.
20664 (strpbrk): Likewise. Do not use BP_SYM.
20665 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20667 (PARMS): Do not use macros from bp-asm.h.
20670 (strrchr): Likewise. Do not use BP_SYM.
20671 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20672 (PARMS): Do not use macros from bp-asm.h.
20674 (strspn): Do not use BP_SYM.
20675 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20676 (PARMS): Do not use macros from bp-asm.h.
20680 (FUNCTION): Likewise. Do not use BP_SYM.
20681 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20683 (strtok_r): Likewise.
20684 (__GI___strtok_r): Likewise.
20685 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20686 (PARMS): Do not use macros from bp-asm.h.
20690 (__mpn_sub_n): Do not use BP_SYM.
20691 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20693 (PARMS): Do not use macros from bp-asm.h.
20696 (__mpn_submul_1): Do not use BP_SYM.
20697 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20699 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20701 (PARMS): Do not use macros from bp-asm.h.
20706 (__clone): Do not use BP_SYM.
20707 (clone): Do not use BP_SYM in weak_alias.
20708 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20710 (PARMS): Do not use macros from bp-asm.h.
20712 (__mmap64): Do not use BP_SYM.
20713 (mmap64): Do not use BP_SYM in weak_alias.
20714 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20715 <bp-sym.h> and <bp-asm.h>.
20716 (PARMS): Do not use macros from bp-asm.h.
20717 (__posix_fadvise64_l64): Do not use BP_SYM.
20718 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20719 (PARMS): Do not use macros from bp-asm.h.
20721 (semtimedop): Do not use BP_SYM.
20722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20725 2013-02-21 Allan McRae <allan@archlinux.org>
20727 * manual/message.texi (Charset conversion in gettext):
20728 Move @end statement to beginning of line.
20730 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20737 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20738 (denorm): Likewise.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20742 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20744 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20745 tail-call to the resolved function if pltexit isn't needed.
20747 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20750 or Y being zero as being unlikely.
20751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20754 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20756 * manual/nss.texi (System Databases and Name Service Switch):
20757 Remove frobnicate @pxref.
20759 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20761 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20762 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20764 2013-02-20 Petr Machata <pmachata@redhat.com>
20766 * elf/elf.h (R_ARM_TARGET1): New macro.
20767 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20768 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20769 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20770 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20771 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20772 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20773 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20774 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20775 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20776 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20777 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20778 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20779 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20780 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20781 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20782 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20783 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20784 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20785 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20786 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20787 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20788 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20789 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20790 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20791 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20792 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20793 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20794 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20795 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20796 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20797 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20798 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20799 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20800 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20801 (R_ARM_THM_GOT_BREL12): Likewise.
20802 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20803 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20804 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20805 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20806 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20807 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20808 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20809 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20810 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20812 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20814 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20815 __attribute_used__ to __attribute__ ((unused)).
20817 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20819 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20822 comment formatting.
20823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20825 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20828 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20830 (ENTER): Remove both macro definitions.
20832 (CHECK_BOUNDS_LOW): Likewise.
20833 (CHECK_BOUNDS_HIGH): Likewise.
20834 (CHECK_BOUNDS_BOTH): Likewise.
20835 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20836 (RETURN_BOUNDED_POINTER): Likewise.
20837 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20838 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20839 (POP_ERRNO_LOCATION_RETURN): Likewise.
20840 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20841 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20842 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20844 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20845 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20846 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20847 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20848 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20849 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20850 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20851 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20852 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20853 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20854 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20855 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20856 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20857 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20859 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20860 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20863 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20864 * sysdeps/i386/i586/memset.S (memset): Likewise.
20865 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20866 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20867 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20870 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20871 Change uses of L(2) to L(out).
20872 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20873 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20874 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20875 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20876 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20878 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20879 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20881 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20882 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20883 (RETURN): Do not use macro LEAVE.
20884 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20885 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20886 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20887 * sysdeps/i386/i686/memset.S (memset): Likewise.
20888 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20889 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20891 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20893 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20894 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20895 L(1_2) and L(1_3) into L(1).
20896 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20897 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20898 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20899 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20900 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20901 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20902 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20903 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20904 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20906 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20907 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20908 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20909 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20910 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20911 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20912 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20913 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20914 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20915 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20916 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20917 * sysdeps/i386/strspn.S (strspn): Likewise.
20918 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20920 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20921 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20922 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20923 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20924 L(1_3) into L(1_1).
20925 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20927 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20929 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20931 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20933 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20936 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20938 * math/atest-exp.c (exp_mpn): Remove ROUND.
20939 * math/atest-exp2.c (exp_mpn): Likewise.
20940 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20942 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20943 * stdlib/tst-tls-atexit-lib.c: Likewise.
20944 * stdlib/tst-tls-atexit.c: Likewise.
20946 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20948 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20949 and __attribute_alloc_size__.
20951 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20953 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20954 __attribute_alloc_size__.
20955 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20956 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20958 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20960 * include/programs/xmalloc.h: New file.
20961 * catgets/gencat.c: Include it.
20962 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20963 * elf/pldd.c: Likewise.
20964 * iconv/iconv_charmap.c: Likewise.
20965 * iconv/iconvconfig.c: Likewise.
20966 * iconv/strtab.c: Likewise.
20967 * locale/programs/locale.c: Likewise.
20968 * locale/programs/localedef.h: Likewise.
20969 * locale/programs/simple-hash.c: Likewise.
20970 * nscd/nscd.h: Likewise.
20971 * nss/makedb.c: Likewise.
20972 * sysdeps/generic/ldconfig.h: Likewise.
20974 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 * Versions.def: Add GLIBC_2.18.
20977 * include/link.h (struct link_map): New member l_tls_dtor_count.
20978 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20979 (__call_tls_dtors): Likewise.
20980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20981 __cxa_thread_atexit_impl.
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20998 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20999 (tests): Add test case tst-tls-atexit.
21000 (modules-names): Add shared library for tst-tls-atexit.
21001 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21002 (GLIBC_PRIVATE): Add __call_tls_dtors.
21003 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21005 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21006 * stdlib/tst-tls-atexit.c: New test case.
21007 * stdlib/tst-tls-atexit-lib.c: New test case.
21009 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21011 * elf/Versions (ld): Add _dl_find_dso_for_object.
21012 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21013 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21014 (dl_open_worker): Use _dl_find_dso_for_object.
21015 * elf/dl-sym.c (do_sym): Likewise.
21016 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21018 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21020 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21021 Syntactic changes only.
21022 (_dl_runtime_profile): Do a tail-call to the resolved function.
21024 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21027 * sysdeps/x86_64/bp-asm.h: Remove file.
21028 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21029 <bp-sym.h> and <bp-asm.h>.
21030 (__clone): Do not use BP_SYM.
21031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21032 <bp-sym.h> and <bp-asm.h>.
21033 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21034 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21036 (_setjmp): Do not use BP_SYM.
21037 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21039 (setjmp): Do not use BP_SYM.
21040 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21042 (mempcpy): Do not use BP_SYM in weak_alias.
21043 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21045 (strchr): Do not use BP_SYM.
21046 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21048 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21049 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21050 (_start): Do not use BP_SYM.
21051 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21053 (strcat): Do not use BP_SYM.
21054 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21056 (STRCMP): Do not use BP_SYM.
21057 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21059 (STRCPY): Do not use BP_SYM.
21060 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21062 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21064 (FUNCTION): Do not use BP_SYM.
21065 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21067 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21069 2013-02-17 Andreas Jaeger <aj@suse.de>
21071 * time/Versions: Sort entries.
21072 * string/Versions: Likewise.
21073 * resolv/Versions: Likewise.
21074 * posix/Versions: Likewise.
21075 * iconv/Versions: Likewise.
21076 * elf/Versions: Likewise.
21077 * wcsmbs/Versions: Likewise.
21079 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21081 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21082 loop termination condition.
21084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21085 variable to calculate EZ.
21088 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21089 the lower precision input.
21091 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21094 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21095 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21096 (run-via-rtld-prefix): Do not handle %-bp tests.
21097 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21098 (all-object-suffixes): Remove .ob.
21099 (bppfx): Remove variable.
21100 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21101 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21102 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21103 [$(build-bounded) = yes] (libtype.ob): Likewise.
21104 * Makerules (elide-routines.ob): Remove variable.
21105 (do-tests-clean): Do not handle *-bp.out.
21106 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21107 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21108 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21109 (tests): Do not include $(tests-bp.out).
21110 (xtests): Do not include $(xtests-bp.out).
21111 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21112 [$(build-bounded) = yes] ($(addprefix
21113 $(objpfx),$(binaries-bounded))): Remove rule.
21114 ($(objpfx)%-bp.out): Remove rule.
21115 * config.make.in (build-bounded): Remove variable.
21116 * crypt/Makefile [$(build-bounded) = yes]
21117 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21118 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21119 append to variable.
21120 [$(build-bounded) = yes] (install-lib): Likewise.
21121 [$(build-bounded) = yes] (generated): Likewise.
21122 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21124 * intl/Makefile [$(build-bounded) = yes]
21125 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21126 * math/Makefile [$(build-bounded) = yes]
21127 ($(tests:%=$(objpfx)%-bp): Likewise.
21128 * misc/Makefile [$(build-bounded) = yes]
21129 ($(objpfx)tst-tsearch-bp): Likewise.
21130 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21131 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21133 * string/Makefile (o-objects.ob): Remove variable.
21134 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21135 (CFLAGS-.ob): Remove variable.
21136 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21137 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21138 both definitions of variable.
21139 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21140 (ASFLAGS-.ob): Remove variable.
21142 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21145 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21146 Remove __BOUNDED_POINTERS__ from condition.
21147 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21148 * string/bits/string2.h [!__NO_STRING_INLINES &&
21149 !__BOUNDED_POINTERS__]: Likewise.
21150 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21152 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21153 Remove conditional code.
21154 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21155 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21156 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21160 * csu/libc-start.c: Do not include <bp-sym.h>.
21161 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21162 * elf/dl-open.c: Do not include <bp-sym.h>.
21163 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21164 * math/fegetenv.c: Do not include <bp-sym.h>.
21165 (fegetenv): Do not use BP_SYM in versioned symbols.
21166 * nptl/sysdeps/pthread/bits/libc-lockP.h
21167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21170 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21172 (__pthread_mutex_destroy): Likewise.
21173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21174 (__pthread_mutex_lock): Likewise.
21175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21176 (__pthread_mutex_trylock): Likewise.
21177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21178 (__pthread_mutex_unlock): Likewise.
21179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21180 (__pthread_mutexattr_init): Likewise.
21181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21182 (__pthread_mutexattr_destroy): Likewise.
21183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21184 (__pthread_mutexattr_settype): Likewise.
21185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21186 (__pthread_rwlock_init): Likewise.
21187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21188 (__pthread_rwlock_destroy): Likewise.
21189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21190 (__pthread_rwlock_rdlock): Likewise.
21191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21192 (__pthread_rwlock_tryrdlock): Likewise.
21193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21194 (__pthread_rwlock_wrlock): Likewise.
21195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21196 (__pthread_rwlock_trywrlock): Likewise.
21197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21198 (__pthread_rwlock_unlock): Likewise.
21199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21200 (__pthread_key_create): Likewise.
21201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21202 (__pthread_setspecific): Likewise.
21203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21204 (__pthread_getspecific): Likewise.
21205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21208 (_pthread_cleanup_push_defer): Likewise.
21209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21210 (_pthread_cleanup_pop_restore): Likewise.
21211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21212 (pthread_setcancelstate): Likewise.
21213 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21215 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21216 (memchr): Do not use BP_SYM in weak_alias.
21217 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21218 (fegetenv): Do not use BP_SYM in versioned symbols.
21219 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21220 (fesetenv): Do not use BP_SYM in versioned symbols.
21221 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21222 (feupdateenv): Do not use BP_SYM in versioned symbols.
21223 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21224 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21225 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21226 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21227 (open64): Do not use BP_SYM in weak_alias.
21228 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21229 (fegetenv): Do not use BP_SYM in versioned symbols.
21230 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21231 (fesetenv): Do not use BP_SYM in versioned symbols.
21232 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21233 (feupdateenv): Do not use BP_SYM in versioned symbols.
21234 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21235 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21236 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21237 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21238 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21239 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21240 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21242 (__libc_start_main): Do not use BP_SYM.
21244 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21247 redundant return line.
21249 (denorm): Likewise.
21250 (dbl_mp): Likewise.
21251 (sub_magnitudes): Likewise.
21257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21259 (denorm): Likewise.
21260 (dbl_mp): Likewise.
21261 (sub_magnitudes): Likewise.
21268 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21270 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21271 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21274 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21275 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21277 of __mul for squares.
21278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21282 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21283 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21285 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21288 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21290 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21291 prototype or function definition. Rename ubp_* variables and
21292 parameters. Remove argv definitions conditional on
21293 [__BOUNDED_POINTERS__].
21294 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21295 * elf/dl-runtime.c (_dl_fixup): Likewise.
21296 * include/set-hooks.h (RUN_HOOK): Likewise.
21297 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21299 * string/strcpy.c (strcpy): Do not use __unbounded.
21300 * sysdeps/generic/frame.h (struct layout): Likewise.
21301 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21302 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21303 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21304 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21305 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21306 (__backtrace): Likewise.
21307 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21309 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21311 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21313 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21314 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21315 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21316 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21317 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21318 Do not use __unbounded.
21319 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21320 Rename __unboundedrlimits parameter to rlimits in prototype.
21321 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21322 Do not use __unbounded.
21323 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21324 not use __ptrvalue.
21325 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21326 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21327 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21328 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21329 __ptrvalue or __unbounded.
21330 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21331 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21333 (__new_msgctl): Do not use __ptrvalue.
21334 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21336 (__libc_msgrcv): Do not use __ptrvalue.
21337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21338 startup_info): Do not use __unbounded.
21339 (__libc_start_main): Likewise. Rename ubp_* variables and
21340 parameters. Remove argv definitions conditional on
21341 [__BOUNDED_POINTERS__].
21342 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21344 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21346 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21348 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21350 (__new_shmctl): Do not use __ptrvalue.
21351 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21352 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21354 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21356 (__libc_sigaction): Likewise.
21357 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21358 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21360 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21362 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21364 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21366 * string/mempcpy.c: Implement by calling memcpy.
21368 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21376 values in the mantissa.
21378 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21379 minimize writes to Z.
21380 (sub_magnitudes): Simplify code a bit.
21382 2013-02-12 Roland McGrath <roland@hack.frob.com>
21384 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21385 from the message. The linker prefixes all warnings with that already.
21387 2013-02-12 Andreas Schwab <schwab@suse.de>
21390 * posix/regexec.c (extend_buffers): Add parameter min_len.
21391 (check_matching): Pass minimum needed length.
21392 (clean_state_log_if_needed): Likewise.
21393 (get_subexp): Likewise.
21394 * posix/Makefile (tests): Add bug-regex34.
21395 (bug-regex34-ENV): Define.
21396 * posix/bug-regex34.c: New file.
21399 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21400 elements compare against the byte sequence of it, not its name.
21401 * posix/Makefile (tests): Add bug-regex35.
21402 (bug-regex35-ENV): Define.
21403 * posix/bug-regex35.c: New file.
21405 2013-02-11 Tom de Vries <tom@codesourcery.com>
21407 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21409 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21410 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21411 (CHECK_EOL): Add undef.
21413 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21415 * bits/stdlib-bsearch.h: New file.
21416 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21417 * stdlib/stdlib.h: Likewise.
21419 2013-02-11 Roland McGrath <roland@hack.frob.com>
21421 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21422 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21424 * manual/search.texi (Array Search Function): Add missing const in
21426 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21427 declaration to use rlim_t.
21428 (Basic Scheduling Functions): Remove erroneous const from
21429 sched_getparam prototype. Remove erroneous * from
21430 sched_get_priority_max and sched_get_priority_min prototypes.
21431 (Resource Usage): Fix summary @comment on vtimes to refer to
21432 sys/vtimes.h rather than vtimes.h.
21433 Add missing *s in vtimes prototype.
21434 (Limits on Resources): Fix ulimit prototype to return long int.
21435 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21436 prototypes to use long int rather than double.
21437 (BSD Random): Fix initstate and setstate to use char *, not void *.
21438 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21439 prototype to make second argument 'struct aiocb64 *const[]'.
21440 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21441 (Status of AIO Operations): Remove erroneous const in aio_return and
21442 aio_return64 prototypes.
21443 (Synchronizing I/O): Fix sync prototype to return void.
21444 * manual/startup.texi (Suboptions): Remove an erroneous const in
21445 getsubopt prototype.
21446 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21447 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21448 use size_t rather than int.
21449 (Scanning All Users): Likewise for getpwent_r.
21450 (Setting Groups): Add missing const to setgroups prototype.
21451 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21452 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21453 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21454 'const void *' rather than 'const char *'.
21455 (Host Address Functions): Likewise for inet_ntop.
21456 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21457 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21458 ssize_t for return value.
21459 (Sending Data): Likewise for send, sendto, sendmsg.
21460 (Socket Option Functions): Add a missing const in setsockopt prototype.
21461 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21462 use wchar_t for the argument.
21463 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21464 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21466 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21467 double/float/long double for second argument.
21468 Fix return types of significand, significandf, significandl.
21469 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21470 argument in fchmod prototype.
21471 (File Owner): Use uid_t and gid_t in fchown prototype.
21472 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21473 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21474 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21475 use 'const struct dirent **' as argument types to CMP function pointer
21477 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21478 (File Times): Fix summary magic @comment for struct utimbuf and utime
21479 to refer to utime.h, not time.h.
21480 * manual/string.texi (Argz Functions): Add missing const in
21481 argz_extract and argz_next prototypes.
21482 (Finding Tokens in a String): Likewise for basename.
21483 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21484 (Copying and Concatenation): Fix typo in wmemmove prototype.
21485 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21486 (Signal Stack): Remove erroneous const in sigstack prototype.
21487 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21489 (Simple Calendar Time): Likewise for stime.
21490 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21492 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21493 say sys/sysctl.h instead.
21494 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21495 and vsyslog prototypes.
21497 2013-02-11 Tom de Vries <tom@codesourcery.com>
21499 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21502 2013-02-11 Roland McGrath <roland@hack.frob.com>
21504 * misc/sys/mman.h: Fix typo in mremap comment.
21506 2013-02-08 Roland McGrath <roland@hack.frob.com>
21508 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21509 the '\0' terminator.
21511 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21514 * debug/segfault.c: Don't include <bp-checks.h>.
21515 * sysdeps/generic/bp-checks.h: Remove file.
21516 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21517 (__GETDENTS): Don't use CHECK_N.
21518 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21519 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21520 (__getgroups): Don't use CHECK_N.
21521 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21522 (setgroups): Don't use CHECK_N.
21523 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21524 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21525 (__libc_msgrcv): Don't use CHECK_N.
21526 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21527 (__libc_msgsnd): Don't use CHECK_N.
21528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21530 (__libc_pread): Don't use CHECK_N.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21532 include <bp-checks.h>.
21533 (__libc_pread64): Don't use CHECK_N.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21535 include <bp-checks.h>.
21536 (__libc_pwrite): Don't use CHECK_N.
21537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21538 include <bp-checks.h>.
21539 (__libc_pwrite64): Don't use CHECK_N.
21540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21542 (__libc_pread): Don't use CHECK_N.
21543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21544 include <bp-checks.h>.
21545 (__libc_pread64): Don't use CHECK_N.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21547 include <bp-checks.h>.
21548 (__libc_pwrite): Don't use CHECK_N.
21549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21550 include <bp-checks.h>.
21551 (__libc_pwrite64): Don't use CHECK_N.
21552 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21553 (do_pread): Don't use CHECK_N.
21554 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21555 (do_pread64): Don't use CHECK_N.
21556 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21557 (do_pwrite): Don't use CHECK_N.
21558 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21559 (do_pwrite64): Don't use CHECK_N.
21560 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21561 (__libc_readv): Don't use CHECK_N.
21562 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21563 (semop): Don't use CHECK_N.
21564 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21566 (semtimedop): Don't use CHECK_N.
21567 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21568 (__libc_pread): Don't use CHECK_N.
21569 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21571 (__libc_pread64): Don't use CHECK_N.
21572 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21574 (__libc_pwrite): Don't use CHECK_N.
21575 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21577 (__libc_pwrite64): Don't use CHECK_N.
21578 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21580 (__libc_msgrcv): Don't use CHECK_N.
21581 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21582 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21583 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21584 (__libc_writev): Don't use CHECK_N.
21586 2013-02-08 Roland McGrath <roland@hack.frob.com>
21588 * string/strcpy.c: Removed unused variable.
21590 * Makeconfig (+sysdep-includes): Define with := rather than =.
21591 Use an existing include/ subdir of each sysdeps dir before it.
21593 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21595 * nscd/connection.c (register_traced_file): Comment function.
21596 [HAVE_INOTIFY] (union __inev): Define.
21597 [HAVE_INOTIFY] (inotify_check_files): New function.
21598 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21599 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21601 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21603 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21605 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21606 loaded if not already and that a failure is permanent.
21608 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21611 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21612 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21614 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21617 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21618 (CHECK_1_NULL_OK): Likewise.
21619 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21620 (__fxstat): Do not use CHECK_1.
21621 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21623 (___fxstat64): Do not use CHECK_1.
21624 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21626 (__fxstatat): Do not use CHECK_1.
21627 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21629 (__fxstatat64): Do not use CHECK_1.
21630 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21632 (__fxstat): Do not use CHECK_1.
21633 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21635 (__fxstatat): Do not use CHECK_1.
21636 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21638 (__getresgid): Do not use CHECK_1.
21639 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21641 (__getresuid): Do not use CHECK_1.
21642 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21644 (__lxstat): Do not use CHECK_1.
21645 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21647 (__old_msgctl): Do not use CHECK_1.
21648 (__new_msgctl): Likewise.
21649 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21651 (__new_setrlimit): Do not use CHECK_1.
21652 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21654 (__old_shmctl): Do not use CHECK_1.
21655 (__new_shmctl): Likewise.
21656 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21658 (__xstat): Do not use CHECK_1.
21659 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21660 (__lxstat): Do not use CHECK_1.
21661 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21663 (___lxstat64): Do not use CHECK_1.
21664 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21665 (__old_msgctl): Do not use CHECK_1.
21666 (__new_msgctl): Likewise.
21667 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21669 (__gettimeofday): Do not use CHECK_1.
21670 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21671 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21672 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21674 (__gettimeofday): Do not use CHECK_1.
21675 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21676 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21677 (__new_shmctl): Do not use CHECK_1.
21678 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21680 (do_sigtimedwait): Do not use CHECK_1.
21681 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21683 (do_sigwaitinfo): Do not use CHECK_1.
21684 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21686 (msgctl): Do not use CHECK_1.
21687 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21689 (shmctl): Do not use CHECK_1.
21690 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21691 (ustat): Do not use CHECK_1.
21692 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21694 (__fxstat): Do not use CHECK_1.
21695 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21697 (__fxstatat): Do not use CHECK_1.
21698 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21700 (__lxstat): Do not use CHECK_1.
21701 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21703 (__xstat): Do not use CHECK_1.
21704 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21705 (__xstat): Do not use CHECK_1.
21706 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21707 (___xstat64): Do not use CHECK_1.
21710 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21712 (CHECK_BOUNDS_HIGH): Likewise.
21713 * string/strcpy.c: Do not include <bp-checks.h>.
21714 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21716 2013-02-07 Roland McGrath <roland@hack.frob.com>
21718 * nscd/nscd-client.h (__nscd_drop_map_ref):
21719 Add __attribute__ ((unused)).
21720 * nis/nss-nisplus.h (niserr2nss): Likewise.
21722 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21723 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21725 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21726 Remove inline keyword.
21727 * include/rounding-mode.h (round_away): Likewise.
21728 * libio/wfileops.c (adjust_wide_data): Likewise.
21729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21730 (__m128i_strloadu_tolower): Likewise.
21731 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21732 (__m128i_strloadu_tolower): Likewise.
21733 * time/mktime.c (ydhms_diff): Likewise.
21734 * locale/elem-hash.h (elem_hash): Likewise.
21735 * locale/setlocale.c (setdata): Likewise.
21736 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21737 (re_string_wchar_at): Likewise.
21738 (bitset_not, bitset_merge, bitset_mask): Likewise.
21739 [!(__GNUC__ > 3)] (inline): Remove macro.
21740 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21741 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21742 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21743 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21744 * string/memcmp.c (memcmp_bytes): Likewise.
21745 * locale/programs/locarchive.c (compute_hashval): Likewise.
21746 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21747 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21748 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21749 * nss/getent.c (print_rpc, print_protocols): Likewise.
21750 (print_passwd, print_group, print_aliases): Likewise.
21751 * nis/nss-nisplus.h (niserr2nss): Likewise.
21752 * nscd/connections.c (restart_p): Likewise.
21753 Change return type to bool.
21755 2013-02-05 Roland McGrath <roland@hack.frob.com>
21757 * Makeconfig (all-Depend-files): Add existing
21758 $(sorted-subdirs:=/Depend) files.
21759 (all-subdirs): Remove nss.
21760 * sysdeps/unix/inet/Subdirs: Add it here instead.
21761 * hesiod/Depend: New file.
21763 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21764 instead of calling alloca.
21766 * io/lseek.c (__lseek): Rename to __libc_lseek.
21767 Define __lseek as an alias.
21769 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21771 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21773 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21774 else clause and remove check for non-standard endianness.
21776 2013-02-04 David S. Miller <davem@davemloft.net>
21778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21780 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21783 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21784 (__ubp_memchr): Remove prototype.
21785 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21786 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21787 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21788 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21789 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21791 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21792 (__ubp_memchr): Likewise.
21793 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21794 (__ubp_memchr): Likewise.
21795 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21796 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21797 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21798 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21800 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21801 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21802 (__getcwd): Do not use CHECK_STRING.
21803 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21805 (__real_chown): Do not use CHECK_STRING.
21806 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21808 (fchownat): Do not use CHECK_STRING.
21809 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21811 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21813 (__lchown): Do not use CHECK_STRING.
21814 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21815 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21816 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21817 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21819 include <bp-checks.h>.
21820 (truncate64): Do not use CHECK_STRING.
21821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21823 (__real_chown): Do not use CHECK_STRING.
21824 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21826 (__lchown): Do not use CHECK_STRING.
21827 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21829 (__chown): Do not use CHECK_STRING.
21830 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21832 (truncate64): Do not use CHECK_STRING.
21833 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21835 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21836 (__xmknod): Do not use CHECK_STRING.
21837 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21839 (__xmknodat): Do not use CHECK_STRING.
21840 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21841 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21843 2013-02-04 Andreas Schwab <schwab@suse.de>
21846 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21847 * include/netdb.h: Likewise for h_errno.
21848 * elf/tst-stackguard1.c: Include <tls.h>.
21850 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21852 * elf/link.h (struct link_map): Extend the l_addr comment.
21853 * include/link.h (struct link_map): Likewise.
21855 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21858 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21859 (BOUNDED_1): Remove macro.
21860 * debug/backtrace.c: Don't include <bp-checks.h>.
21861 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21862 (__backtrace): Likewise.
21863 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21865 (__backtrace): Don't use BOUNDED_1.
21866 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21868 (__backtrace): Don't use BOUNDED_1.
21869 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21870 (__backtrace): Don't use BOUNDED_1.
21871 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21872 (shmat): Don't use BOUNDED_N.
21874 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21877 * sysdeps/generic/bp-start.h: Remove file.
21878 * csu/libc-start.c: Don't include <bp-start.h>.
21879 (LIBC_START_MAIN): Set up __environ directly instead of using
21880 INIT_ARGV_and_ENVIRON.
21881 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21885 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21887 (CHECK_FCNTL): Likewise.
21888 (CHECK_N_PAGES): Likewise.
21891 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21893 (CHECK_SIGSET_NULL_OK): Likewise.
21894 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21896 (sigpending): Don't use CHECK_SIGSET.
21897 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21899 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21900 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21902 (do_sigsuspend): Don't use CHECK_SIGSET.
21903 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21905 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21906 (do_sigwait): Don't use CHECK_SIGSET.
21907 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21910 include <bp-checks.h>.
21911 (sigpending): Don't use CHECK_SIGSET.
21912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21913 include <bp-checks.h>.
21914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21915 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21917 (sigpending): Don't use CHECK_SIGSET.
21918 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21920 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21923 * sysdeps/generic/bp-semctl.h: Remove file.
21924 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21925 <bp-checks.h> and <bp-semctl.h>.
21926 (__old_semctl): Don't use CHECK_SEMCTL.
21927 (__new_semctl): Likewise.
21928 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21930 (__old_semctl): Don't use CHECK_SEMCTL.
21931 (__new_semctl): Likewise.
21932 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21933 <bp-checks.h> and <bp-semctl.h>.
21934 (__old_semctl): Don't use CHECK_SEMCTL.
21935 (__new_semctl): Likewise.
21936 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21937 <bp-checks.h> and <bp-semctl.h>.
21938 (semctl): Don't use CHECK_SEMCTL.
21941 * Makerules (elide-bp-thunks): Remove variable.
21942 (elide-routines.oS): Don't use $(elide-bp-thunks).
21943 (elide-routines.os): Likewise.
21944 (elide-routines.o): Likewise.
21945 (elide-routines.op): Likewise.
21946 (elide-routines.og): Likewise.
21947 (objects): Don't use $(bp-thunks).
21948 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21950 (common-generated): Do not add s-proto-bp.d.
21951 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21954 Do not generate makefile rules for bounded-pointer thunks.
21955 * sysdeps/generic/bp-thunks.h: Remove file.
21956 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21957 * sysdeps/unix/s-proto-bp.S: Likewise.
21960 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21961 parts of result separately when argument is not close to line from
21962 -i to i and one part of argument is small.
21963 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21964 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21965 * math/libm-test.inc (cacos_test): Add more tests.
21966 (casin_test): Likewise.
21967 (casinh_test): Likewise.
21968 * sysdeps/i386/fpu/libm-test-ulps: Update.
21969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971 2013-01-31 David S. Miller <davem@davemloft.net>
21973 * po/de.po: Update from translation team.
21975 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21977 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21979 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21981 * configure.in (_AC_PROG_CC_C89): New definition.
21982 * configure: Regenerate.
21984 * configure.in (AC_PROG_CPP): New definition.
21985 * configure: Regenerate.
21987 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21989 * debug/tst-backtrace.h: New file.
21990 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21991 (ret): Remove variable.
21993 (FAIL): Remove macro.
21994 (NO_INLINE): Likewise.
21995 (fn1): Use match function instead of strstr.
21996 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21997 (ret): Remove variable.
21999 (FAIL): Remove macro.
22000 (NO_INLINE): Likewise.
22001 (fn): Use match function instead of strstr.
22002 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22003 (ret): Remove variable.
22005 (FAIL): Remove macro.
22006 (NO_INLINE): Likewise.
22007 (handle_signal): Use match function instead of strstr.
22008 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22009 (ret): Remove variable.
22011 (FAIL): Remove macro.
22012 (NO_INLINE): Likewise.
22013 (handle_signal): Use match function instead of strstr.
22015 2013-01-23 Roland McGrath <roland@hack.frob.com>
22017 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22019 2013-01-23 David S. Miller <davem@davemloft.net>
22021 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22022 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22023 argument of CAS if possible.
22024 * sysdeps/sparc/sparc64/bits/atomic.h
22025 (__arch_compare_and_exchange_val_32_acq): Likewise.
22026 (__arch_compare_and_exchange_val_64_acq): Likewise.
22028 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22030 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22031 * sysdeps/posix/ulimit.c: ... this.
22032 Include <limits.h>.
22033 * sysdeps/unix/bsd/ulimit.c: Remove file.
22035 2013-01-23 Adam Conrad <adconrad@0c3.net>
22037 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22038 (LDFLAGS-tst-array5): Likewise.
22040 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22043 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22044 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22045 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22048 2013-01-21 David S. Miller <davem@davemloft.net>
22050 * sysdeps/sparc/backtrace.c: New file.
22051 * sysdeps/sparc/sparc32/backtrace.h: New file.
22052 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22053 * sysdeps/sparc/sparc64/backtrace.h: New file.
22054 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22055 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22058 2013-01-21 Andreas Schwab <schwab@suse.de>
22061 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22064 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22070 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22071 Mark Mitchell <mark@codesourcery.com>
22072 Tom de Vries <tom@codesourcery.com>
22073 Paul Pluzhnikov <ppluzhnikov@google.com>
22075 * debug/tst-backtrace2.c: New file.
22076 * debug/tst-backtrace3.c: Likewise.
22077 * debug/tst-backtrace4.c: Likewise.
22078 * debug/tst-backtrace5.c: Likewise.
22079 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22080 (CFLAGS-tst-backtrace3.c): Likewise.
22081 (CFLAGS-tst-backtrace4.c): Likewise.
22082 (CFLAGS-tst-backtrace5.c): Likewise.
22083 (LDFLAGS-tst-backtrace2): Likewise.
22084 (LDFLAGS-tst-backtrace3): Likewise.
22085 (LDFLAGS-tst-backtrace4): Likewise.
22086 (LDFLAGS-tst-backtrace5): Likewise.
22087 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22088 tst-backtrace4 and tst-backtrace5.
22090 2013-01-18 Anton Blanchard <anton@samba.org>
22091 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22093 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22094 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22095 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22096 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22098 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22099 "+r" and remove output regs list as redundant. Add explicit inline
22100 asm to specify register of return val to work around compiler codegen
22101 bug. Remove (int) cast on return value. Add return type parameter to
22102 use in macro so that this macro does not truncate return value for
22104 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22105 pass to INTERNAL_VSYSCALL_NCS.
22106 (INLINE_VSYSCALL): Add 'long int' as return type to
22107 INTERNAL_VSYSCALL_NCS macro invocation.
22108 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22109 INTERNAL_VSYSCALL_NCS macro invocation.
22110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22112 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22115 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22116 Fix application of SIMD FP exception mask.
22118 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22119 mp_no from a power of two.
22120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22121 __mpexp_twomm1. Use __pow_mp.
22123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22126 2013-01-17 David S. Miller <davem@davemloft.net>
22128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22130 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22133 * include/complex.h: Condition contents on [!_COMPLEX_H].
22134 (__kernel_casinhf): New prototype.
22135 (__kernel_casinh): Likewise.
22136 (__kernel_casinhl): Likewise.
22137 * math/Makefile (libm_calls): Add k_casinh.
22138 * math/k_casinh.c: New file.
22139 * math/k_casinhf.c: Likewise.
22140 * math/k_casinhl.c: Likewise.
22141 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22142 finite nonzero arguments.
22143 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22144 finite nonzero arguments.
22145 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22146 finite nonzero arguments.
22147 * math/s_casinh.c: Do not include <float.h>.
22148 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22149 * math/s_casinhf.c: Do not include <float.h>.
22150 (__casinhf): Move code for finite nonzero arguments to
22152 * math/s_casinhl.c: Do not include <float.h>.
22153 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22155 (__casinhl): Move code for finite nonzero arguments to
22157 * math/libm-test.inc (cacos_test): Add more tests.
22158 * sysdeps/i386/fpu/libm-test-ulps: Update.
22159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22161 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22163 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22164 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22165 [!HAVE_MREMAP]: Remove [defined linux] case.
22166 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22168 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22170 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22172 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22174 * elf/elf.h (R_386_SIZE32): New relocation.
22175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22177 (elf_machine_rela): Likewise.
22178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22179 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22181 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22183 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22184 (FP_FAST_FMA): Do not define.
22185 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22186 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22187 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22188 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22189 !_SOFT_FLOAT]: Likewise.
22190 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22191 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22193 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22194 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22196 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22197 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22198 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22201 2013-01-16 Andreas Schwab <schwab@suse.de>
22204 * include/stdlib.h (__mktemp): Add declaration.
22205 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22206 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22208 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22212 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22213 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22214 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22216 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22217 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22219 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22221 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22222 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22223 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22225 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22226 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22228 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22230 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22232 2013-01-15 David S. Miller <davem@davemloft.net>
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22235 trunc{,f} to libm-sysdep_routes.
22236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22250 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22251 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22254 nearbyint{,f} to libm-sysdep_routes.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22269 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22271 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22272 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22273 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22275 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22276 libc_feholdexcept and libc_fesetenv.
22278 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22280 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22282 2013-01-14 David S. Miller <davem@davemloft.net>
22284 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22285 (SPARC_ASM_VIS2_IFUNC): Likewise.
22286 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22288 use of 'siam' instruction.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22310 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22322 routines to libm-sysdep_routines.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22326 fdim/fdimf to libm-sysdep_routines.
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22335 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22336 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22340 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22342 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22343 to optimize copies.
22345 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22350 local variable MPTWO.
22351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22354 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22356 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22359 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22361 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22363 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22365 * manual/pattern.texi (glob_t): Document gl_flags.
22366 (glob64_t): Likewise.
22368 2013-01-11 David S. Miller <davem@davemloft.net>
22370 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22371 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22372 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22373 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22374 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22375 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22376 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22377 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22378 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22379 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22380 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22381 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22382 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22384 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22385 sparc V9 rather than using V8 code.
22386 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22387 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22391 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22394 2013-01-11 Roland McGrath <roland@hack.frob.com>
22396 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22397 not in the main loop.
22398 * configure: Regenerated.
22400 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22402 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22403 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22405 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22406 [!__GLIBC_HAVE_LONG_LONG] case.
22407 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22408 condition to just #else.
22409 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22410 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22411 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22412 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22414 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22415 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22416 #elif condition to just #else.
22417 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22418 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22419 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22420 #elif condition to just #else.
22422 2013-01-11 Steve Ellcey <sellcey@mips.com>
22424 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22425 (EF_MIPS_ARCH_64): Fix value.
22426 (EF_MIPS_ARCH_32R2): New.
22427 (EF_MIPS_ARCH_64R2): New.
22429 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22431 * Makeconfig (+link-pie-before-libc): New.
22432 (+link-pie-after-libc): Likewise.
22433 (+link-pie-tests): Likewise.
22434 (+link-pie): Rewritten.
22435 (link-before-libc): Remove $(config-LDFLAGS).
22436 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22437 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22438 (config-LDFLAGS): Renamed to ...
22439 (rtld-LDFLAGS): This.
22440 (rtld-tests-LDFLAGS): New macro.
22441 (link-libc-rpath-link): Likewise.
22442 (link-libc-tests-rpath-link): Likewise.
22443 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22444 (link-libc): Prepand $(link-libc-rpath-link).
22445 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22446 (test-program-prefix): New macro.
22447 (test-via-rtld-prefix): Likewise.
22448 (test-program-cmd): Likewise.
22449 (host-test-program-cmd): Likewise.
22450 * Makefile ($(common-objpfx)testrun.sh): Replace
22451 $(run-program-prefix) with $(test-program-prefix).
22452 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22454 ($(common-objpfx)shlib.lds): Likewise.
22455 (build-module-helper): Likewise.
22456 ($(common-objpfx)format.lds): Likewise.
22457 * Rules (binaries-pie-tests): New.
22458 (binaries-pie-notests): Likewise.
22459 (binaries-pie): Rewritten.
22460 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22461 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22462 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22463 (make-test-out): Replace $(host-built-program-cmd) with
22464 $(host-test-program-cmd).
22465 * config.make.in (build-hardcoded-path-in-tests): New variable.
22466 * configure.in (--enable-hardcoded-path-in-tests): New configure
22468 (hardcoded_path_in_tests): New AC_SUBST.
22469 * configure: Regenerated.
22470 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22471 $(built-program-cmd) with $(test-program-cmd).
22472 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22473 (test_program_cmd): This.
22474 * elf/Makefile ($(objpfx)order.out): Run test with
22475 $(test-program-prefix).
22476 ($(objpfx)order2.out): Likewise.
22477 ($(objpfx)tst-initorder.out): Likewise.
22478 ($(objpfx)tst-initorder2.out): Likewise.
22479 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22480 $(test-program-cmd).
22481 ($(objpfx)tst-array1-static.out): Likewise.
22482 ($(objpfx)tst-array2.out): Likewise.
22483 ($(objpfx)tst-array3.out): Likewise.
22484 ($(objpfx)tst-array4.out): Likewise.
22485 ($(objpfx)tst-array5.out): Likewise.
22486 ($(objpfx)tst-array5-static.out): Likewise.
22487 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22488 $(test-program-cmd).
22489 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22490 $(run-program-prefix) with $(test-program-prefix).
22491 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22492 (test_program_prefix): This.
22493 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22494 $(run-program-prefix) with $(test-program-prefix).
22495 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22496 (test_program_prefix): This.
22497 * iconvdata/tst-tables.sh: Likewise.
22498 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22499 $(run-program-prefix) with $(test-program-prefix).
22500 ($(objpfx)tst-translit.out): Likewise.
22501 ($(objpfx)tst-gettext2.out): Likewise.
22502 ($(objpfx)tst-gettext4.out): Likewise.
22503 ($(objpfx)tst-gettext6.out): Likewise.
22504 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22505 (test_program_prefix): This.
22506 * intl/tst-gettext2.sh: Likewise.
22507 * intl/tst-gettext4.sh Likewise.
22508 * intl/tst-gettext6.sh: Likewise.
22509 * intl/tst-translit.sh: Likewise.
22510 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22511 with $(test-program-cmd).
22512 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22513 $(run-program-prefix) with $(test-program-prefix).
22514 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22515 (test_program_prefix): This.
22516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22517 $(run-program-prefix) with $(test-program-prefix).
22518 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22519 (test_program_prefix): This.
22520 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22521 * posix/Makefile ($(objpfx)globtest.out): Replace
22522 $(run-via-rtld-prefix) and $(test-wrapper) with
22523 $(test-program-prefix) and $(test-via-rtld-prefix).
22524 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22525 $(test-program-prefix).
22526 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22527 $(host-test-program-cmd).
22528 (tst-spawn-ARGS): Likewise.
22529 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22530 $(test-program-prefix).
22531 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22532 (test_via_rtld_prefix): This.
22533 (test_wrapper): Renamed to ...
22534 (test_program_prefix): This.
22535 (run_program_prefix): Replaced by test_program_prefix.
22536 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22537 (test_program_prefix): This.
22538 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22539 with $(host-test-program-cmd).
22540 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22541 $(run-program-prefix) with $(test-program-prefix).
22542 ($(objpfx)tst-printf.out): Likewise.
22543 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22544 $(test-program-cmd).
22545 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22546 (test_program_prefix): This.
22547 * stdio-common/tst-unbputc.sh: Likewise.
22548 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22549 $(run-program-prefix) with $(test-program-prefix).
22550 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22551 (test_program_prefix): This.
22552 * string/Makefile ($(objpfx)tst-svc.out): Replace
22553 $(built-program-cmd) with $(test-program-cmd).
22555 2013-01-11 Andreas Jaeger <aj@suse.de>
22558 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22559 value. Sync with Linux 3.7.
22561 2013-01-10 David S. Miller <davem@davemloft.net>
22563 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22567 2013-01-10 Roland McGrath <roland@hack.frob.com>
22569 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22571 * configure: Regenerated.
22573 2013-01-10 David S. Miller <davem@davemloft.net>
22575 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22576 sparc V9 rather than using V8 code.
22577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22580 2013-01-10 Roland McGrath <roland@hack.frob.com>
22582 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22583 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22584 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22585 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22586 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22587 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22588 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22589 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22590 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22591 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22592 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22593 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22594 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22595 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22596 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22597 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22598 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22599 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22600 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22601 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22602 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22603 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22604 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22605 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22606 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22607 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22608 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22610 2013-01-10 David S. Miller <davem@davemloft.net>
22612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22614 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22616 * posix/Makefile (tests-static): New variable.
22617 (tests): Add $(tests-static).
22618 (tst-exec-static-ARGS): New variable.
22619 (tst-spawn-static-ARGS): Likewise.
22620 * posix/tst-exec-static.c: New file.
22621 * posix/tst-spawn-static.c: Likewise.
22622 * posix/tst-exec.c: Support run directly.
22623 * posix/tst-spawn.c: Likewise.
22625 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22627 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22629 * math/bits/mathcalls.h (llrint): Likewise.
22630 (llround): Likewise.
22631 * stdlib/stdlib.h (struct drand48_data): Likewise.
22632 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22633 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22634 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22636 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22638 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22639 (elf_greg_t): Likewise.
22640 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22641 (__jmp_buf): Likewise.
22642 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22644 (llrint): Likewise, for all definitions.
22645 (llrintl): Likewise.
22647 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22648 Remove [__GNUC__] condition.
22649 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22650 condition to just [__USE_ISOC99].
22651 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22653 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22656 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22657 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22659 (_POSIX_V6_ILP32_OFF32): Likewise.
22660 (_XBS5_ILP32_OFF32): Likewise.
22661 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22662 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22664 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22666 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22668 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22669 doubles __mpexp_twomm1. Adjust usage.
22670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22673 2013-01-10 Andreas Schwab <schwab@suse.de>
22676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22677 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22679 2013-01-09 David S. Miller <davem@davemloft.net>
22682 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22683 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22684 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22685 (TCP_FASTOPEN): Define.
22686 (tcp_repair_opt): New structure.
22687 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22689 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22690 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22691 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22692 (tcp_cookie_transactions): New structure.
22694 2013-01-09 Anton Blanchard <anton@samba.org>
22696 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22697 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22698 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22701 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22703 * include/features.h (__USE_ANSI): Remove.
22705 2013-01-09 Roland McGrath <roland@hack.frob.com>
22707 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22709 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22711 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * sysdeps/s390/fpu/libm-test-ulps: Update.
22715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22717 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22721 (denorm): Likewise.
22722 (__mp_dbl): Likewise.
22723 (__dbl_mp): Likewise.
22724 (add_magnitudes): Likewise.
22725 (sub_magnitudes): Likewise.
22731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22735 (denorm): Likewise.
22736 (__mp_dbl): Likewise.
22737 (__dbl_mp): Likewise.
22738 (add_magnitudes): Likewise.
22739 (sub_magnitudes): Likewise.
22745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22749 (denorm): Likewise.
22750 (__mp_dbl): Likewise.
22751 (__dbl_mp): Likewise.
22752 (add_magnitudes): Likewise.
22753 (sub_magnitudes): Likewise.
22760 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22762 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22763 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22764 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22765 2 && __USE_EXTERN_INLINES]: Likewise.
22767 2013-01-08 Andreas Jaeger <aj@suse.de>
22770 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22772 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22773 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22775 2013-01-07 Anton Blanchard <anton@samba.org>
22777 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22778 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22779 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22780 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22781 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22782 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22783 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22784 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22788 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22789 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22791 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22793 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22795 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22798 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22800 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22801 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22803 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22804 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22807 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22810 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22812 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22813 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22815 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22817 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22819 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22821 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22823 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22824 (__MALLOC_PMT): Likewise.
22825 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22826 [__GNUC__], only on [_LIBC].
22827 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22828 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22829 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22830 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22831 forward declaration.
22832 (realloc_hook_ini): Likewise.
22833 (memalign_hook_ini): Likewise.
22834 (__libc_memalign): Do not use __MALLOC_PMT in variable
22836 (__libc_valloc): Likewise.
22837 (__libc_pvalloc): Likewise.
22838 (__libc_calloc): Likewise.
22839 (__posix_memalign): Likewise.
22842 * math/s_casinh.c: Include <float.h>.
22843 (__casinh): Do not do computation with squaring and square root
22844 for large arguments.
22845 * math/s_casinhf.c: Include <float.h>.
22846 (__casinhf): Do not do computation with squaring and square root
22847 for large arguments.
22848 * math/s_casinhl.c: Include <float.h>.
22849 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22850 (__casinhl): Do not do computation with squaring and square root
22851 for large arguments.
22852 * math/libm-test.inc (casin_test): Add more tests.
22853 (casinh_test): Likewise.
22854 * sysdeps/i386/fpu/libm-test-ulps: Update.
22855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22857 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22859 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22860 (__x86_64_raw_data_cache_size): Likewise.
22861 (__x86_64_data_cache_size_half): Likewise.
22862 (__x86_64_raw_data_cache_size_half): Likewise.
22863 (__x86_64_shared_cache_size): Likewise.
22864 (__x86_64_raw_shared_cache_size): Likewise.
22865 (__x86_64_shared_cache_size_half): Likewise.
22866 (__x86_64_raw_shared_cache_size_half): Likewise.
22867 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22869 (__x86_data_cache_size): This.
22870 (__x86_64_raw_data_cache_size): Renamed to ...
22871 (__x86_raw_data_cache_size): This.
22872 (__x86_64_data_cache_size_half): Renamed to ...
22873 (__x86_data_cache_size_half): This.
22874 (__x86_64_raw_data_cache_size_half): Renamed to ...
22875 (__x86_raw_data_cache_size_half): This.
22876 (__x86_64_shared_cache_size): Renamed to ...
22877 (__x86_shared_cache_size): This.
22878 (__x86_64_raw_shared_cache_size): Renamed to ...
22879 (__x86_raw_shared_cache_size): This.
22880 (__x86_64_shared_cache_size_half): Renamed to ...
22881 (__x86_shared_cache_size_half): This.
22882 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22883 (__x86_raw_shared_cache_size_half): This.
22884 * sysdeps/x86_64/memcpy.S: Updated.
22885 * sysdeps/x86_64/memset.S: Likewise.
22886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22890 2013-01-04 David S. Miller <davem@davemloft.net>
22892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22894 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22896 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22897 1 to avoid redefinition warning.
22898 (__USE_GNU): Don't define.
22899 (init_signaling_nan): Protoize.
22901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22903 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22905 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22907 (__cpymn): Likewise.
22908 (norm): Remove commented code.
22909 (denorm): Likewise.
22910 (__mp_dbl): Likewise.
22912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22913 (__cpymn): Likewise.
22914 (norm): Remove commented code.
22915 (denorm): Likewise.
22916 (__mp_dbl): Likewise.
22919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22920 mp_no value for 1.0 and 2.0.
22921 (norm): Use RADIXI instead of radixi.d.
22922 (denorm): Likewise.
22923 (__mul): Use 0.0 instead of zero.d.
22924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22925 mp_no value for 1.0 and 2.0.
22926 (norm): Use RADIXI instead of radixi.d.
22927 (denorm): Likewise.
22928 (__mul): Use 0.0 instead of zero.d.
22930 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22933 * math/s_casinh.c (__casinh): Reduce finite argument to first
22934 quadrant then set signs of results at the end.
22935 * math/s_casinhf.c (__casinhf): Likewise.
22936 * math/s_casinhl.c (__casinhl): Likewise.
22937 * math/libm-test.inc (casin_test): Add more tests.
22938 (casinh_test): Likewise.
22939 * sysdeps/i386/fpu/libm-test-ulps: Update.
22940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22942 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22944 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22946 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22948 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22950 (denorm): Likewise.
22951 (__mp_dbl): Likewise.
22954 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22955 and adjust the header comment.
22957 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22958 variable name from declaration.
22960 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22963 Initialize COMMON_CPUID_INDEX_7 element.
22964 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22965 (CPUID_RTM): Likewise.
22966 (HAS_RTM): Likewise.
22967 (COMMON_CPUID_INDEX_7): New enum.
22969 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22972 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22973 size is zero, record memory as freed.
22975 2013-01-03 Andreas Jaeger <aj@suse.de>
22977 * po/ia.po: Add new Interlingua translation.
22979 2012-01-03 Allan McRae <allan@archlinux.org>
22981 * locale/programs/localedef.c: Fix description of '--posix' flag.
22983 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22985 * NEWS: Update dates in second copyright notice.
22986 * README: Update copyright dates in example.
22987 * manual/libc.texinfo: Update copyright dates.
22988 * scripts/test-installation.pl: Update copyright date in --version
22991 * hurd/ctty-input.c: Fix copyright notice formatting.
22992 * hurd/ctty-output.c: Likewise.
22993 * hurd/dtable.c: Likewise.
22994 * hurd/hurd-raise.c: Likewise.
22995 * hurd/hurdprio.c: Likewise.
22996 * hurd/msgportdemux.c: Likewise.
22997 * misc/sys/file.h: Likewise.
22998 * misc/sys/ioctl.h: Likewise.
22999 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23000 * sysdeps/mach/hurd/chdir.c: Likewise.
23001 * sysdeps/mach/hurd/fchdir.c: Likewise.
23002 * sysdeps/mach/hurd/rename.c: Likewise.
23003 * sysdeps/mach/hurd/rmdir.c: Likewise.
23004 * sysdeps/mach/hurd/seekdir.c: Likewise.
23005 * sysdeps/mach/hurd/setsid.c: Likewise.
23006 * sysdeps/posix/wait3.c: Likewise.
23008 * All files with FSF copyright notices: Update copyright dates
23009 using scripts/update-copyrights.
23010 * intl/plural.c: Regenerated.
23011 * locale/programs/charmap-kw.h: Likewise.
23012 * locale/programs/locfile-kw.h: Likewise.
23014 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23016 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23020 calculation loop and add branch prediction.
23022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23023 check access beyond bounds of m1np.
23025 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23027 (__inv): Remove local variable MPTWO to use the global
23029 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23032 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23033 MP3HALFS static const.
23035 2013-01-01 David S. Miller <davem@davemloft.net>
23037 * po/ca.po: Update from translation team.
23039 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23041 * scripts/update-copyrights: New file.
23042 * Makeconfig: Reformat copyright notice.
23043 * ctype/ctype.h: Likewise.
23044 * debug/swprintf_chk.c: Likewise.
23045 * elf/dl-cache.c: Likewise.
23046 * elf/dl-debug.c: Likewise.
23047 * elf/dl-object.c: Likewise.
23048 * grp/initgroups.c: Likewise.
23049 * hurd/Makefile: Likewise.
23050 * hurd/hurd/signal.h: Likewise.
23051 * hurd/hurdfault.c: Likewise.
23052 * hurd/hurdioctl.c: Likewise.
23053 * hurd/hurdlookup.c: Likewise.
23054 * hurd/intr-msg.c: Likewise.
23055 * iconv/gconv_open.c: Likewise.
23056 * libio/swprintf.c: Likewise.
23057 * locale/lc-ctype.c: Likewise.
23058 * locale/nl_langinfo.c: Likewise.
23059 * mach/Machrules: Likewise.
23060 * mach/Makefile: Likewise.
23061 * malloc/obstack.h: Likewise.
23062 * manual/Makefile: Likewise.
23063 * manual/tsort.awk: Likewise.
23064 * misc/bits/stab.def: Likewise.
23065 * nis/nis_print_group_entry.c: Likewise.
23066 * nis/nis_table.c: Likewise.
23067 * nis/nss_compat/compat-pwd.c: Likewise.
23068 * nis/nss_compat/compat-spwd.c: Likewise.
23069 * po/Makefile: Likewise.
23070 * posix/fnmatch.c: Likewise.
23071 * posix/regex.h: Likewise.
23072 * resolv/Makefile: Likewise.
23073 * resolv/nss_dns/dns-network.c: Likewise.
23074 * resolv/res_hconf.c: Likewise.
23075 * scripts/gen-sorted.awk: Likewise.
23076 * soft-fp/soft-fp.h: Likewise.
23077 * stdio-common/printf.h: Likewise.
23078 * stdlib/monetary.h: Likewise.
23079 * stdlib/random.c: Likewise.
23080 * stdlib/random_r.c: Likewise.
23081 * sysdeps/generic/Makefile: Likewise.
23082 * sysdeps/gnu/Makefile: Likewise.
23083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23087 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23091 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23092 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23093 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23094 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23095 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23096 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23097 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23100 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23102 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23104 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23105 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23106 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23107 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23111 * sysdeps/mach/hurd/errnos.awk: Likewise.
23112 * sysdeps/mach/hurd/fork.c: Likewise.
23113 * sysdeps/mach/hurd/getcwd.c: Likewise.
23114 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23115 * sysdeps/mach/hurd/mmap.c: Likewise.
23116 * sysdeps/mach/hurd/utimes.c: Likewise.
23117 * sysdeps/mach/hurd/xmknod.c: Likewise.
23118 * sysdeps/posix/profil.c: Likewise.
23119 * sysdeps/posix/readdir_r.c: Likewise.
23120 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23121 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23122 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23123 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23125 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23126 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23127 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23130 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23131 * sysdeps/pthread/lio_listio.c: Likewise.
23132 * sysdeps/sparc/dl-procinfo.h: Likewise.
23133 * sysdeps/unix/i386/sysdep.S: Likewise.
23134 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23135 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23136 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23137 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23139 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23140 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23141 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23142 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23143 * sysdeps/wordsize-32/divdi3.c: Likewise.
23144 * time/sys/time.h: Likewise.
23145 * wcsmbs/Makefile: Likewise.
23147 2013-01-01 David S. Miller <davem@davemloft.net>
23149 * po/fr.po: Update from translation team.
23151 * catgets/gencat.c: Update copyright year.
23152 * csu/version.c: Likewise.
23153 * debug/catchsegv.sh: Likewise.
23154 * debug/pcprofiledump.c: Likewise.
23155 * debug/xtrace.sh: Likewise.
23156 * elf/ldconfig.c: Likewise.
23157 * elf/ldd.bash.in: Likewise.
23158 * elf/pldd.c: Likewise.
23159 * elf/sotruss.ksh: Likewise.
23160 * elf/sprof.c: Likewise.
23161 * iconv/iconv_prog.c: Likewise.
23162 * iconv/iconvconfig.c: Likewise.
23163 * locale/programs/locale.c: Likewise.
23164 * locale/programs/localedef.c: Likewise.
23165 * login/programs/pt_chown.c: Likewise.
23166 * malloc/memusage.sh: Likewise.
23167 * malloc/memusagestat.c: Likewise.
23168 * malloc/mtrace.pl: Likewise.
23169 * nscd/nscd.c: Likewise.
23170 * nss/getent.c: Likewise.
23171 * nss/makedb.c: Likewise.
23172 * posix/getconf.c: Likewise.
23174 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23176 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23179 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23181 * math/bits/mathcalls.h (modf): Use __nonnull.
23183 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23186 (split): Use macro CN instead of the bare value.
23187 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23190 instead of the bare value.
23191 (power1): Likewise.
23193 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23199 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23201 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23203 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23204 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23206 2012-12-28 Andreas Jaeger <aj@suse.de>
23208 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23209 values are from Linux 3.7.
23211 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23212 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23214 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23216 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23219 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23221 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23222 variables with preprocessor constants.
23223 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23224 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23225 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23227 2012-12-27 Bruno Haible <bruno@clisp.org>
23230 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23233 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23236 and use variable directly.
23237 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23239 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23244 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23246 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23247 include directive. Remove local variable MPONE.
23248 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23249 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23250 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23252 2012-12-25 David S. Miller <davem@davemloft.net>
23254 * version.h (RELEASE): Set to "development".
23255 (VERSION): Set to "2.17.90".
23256 * NEWS: Add 2.18 section.
23258 2012-12-21 David S. Miller <davem@davemloft.net>
23260 * po/hr.po: Update from translation team.
23262 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23264 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23266 2012-12-19 Steve Ellcey <sellcey@mips.com>
23268 * NEWS: Mention new memcpy for MIPS.
23270 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23272 * manual/contrib.texi (Contributors): Spelling correction.
23274 2012-12-15 David S. Miller <davem@davemloft.net>
23276 * po/ru.po: Update from translation team.
23278 2012-12-13 David S. Miller <davem@davemloft.net>
23280 * NEWS: Mention IFUNC testsuite enhancements.
23282 * po/pl.po: Update from translation team.
23283 * po/bg.po: Likewise.
23285 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23286 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23288 2012-12-11 David S. Miller <davem@davemloft.net>
23290 * po/sv.po: Update from translation team.
23292 * po/vi.po: Update from translation team.
23294 * po/cs.po: Update from translation team.
23296 * po/de.po: Update from translation team.
23297 * po/eo.po: Likewise.
23298 * po/nl.po: Likewise.
23300 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23303 * manual/argp.texi (Argp Helper Functions): Move node to follow
23304 Argp Parsing State.
23307 * manual/conf.texi (Limits on File System Capacity): Mention if
23308 terminating null is included in the max size.
23310 2012-12-10 Andreas Jaeger <aj@suse.de>
23312 * po/cs.po: Update from translation team.
23314 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23316 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23317 void pointer and cast to uintptr_t.
23318 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23320 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23321 * sysdeps/s390/s390-64/memset.S: Likewise.
23323 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23326 * menual/message.texi (Message Translation): Fix typos.
23327 (Helper programs for gettext): Likewise.
23329 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23332 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23335 2012-12-07 David S. Miller <davem@davemloft.net>
23337 * po/libc.pot: Update.
23339 2012-12-07 Richard Henderson <rth@redhat.com>
23342 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23343 normal/normal case to before the switch.
23344 (_FP_DIV): Likewise.
23346 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23347 Mike Frysinger <vapier@gentoo.org>
23349 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23350 check for __NR_fadvise64_64.
23352 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23354 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23355 0, not just to plain "0" as a statement.
23356 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23359 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23361 * NEWS: Use sourceware.org in Bugzilla URL.
23363 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23366 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23368 * stdio-common/tst-put-error.c (do_test): Add newline to the
23369 padded test to ensure flush.
23371 2012-12-05 Jeff Law <law@redhat.com>
23373 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23375 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23377 * README: Don't refer to ports add-on as distributed separately.
23378 Mention AArch64 in list of systems supported in the ports add-on.
23380 * LICENSES: Add more non-FSF copyright and license notices.
23382 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23385 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23387 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23388 10000 as width of padded output.
23390 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23392 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23395 variable LX with __attribute__ ((unused)).
23396 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23401 with __attribute__ ((unused)).
23403 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23405 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23407 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23409 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23410 (CFLAGS-nldbl-acos.c): New variable.
23411 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23412 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23413 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23414 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23415 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23416 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23417 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23418 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23419 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23420 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23421 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23422 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23423 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23424 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23425 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23426 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23427 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23428 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23429 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23430 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23431 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23432 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23433 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23434 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23435 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23436 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23437 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23438 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23439 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23440 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23441 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23442 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23443 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23444 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23445 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23446 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23447 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23448 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23449 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23450 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23451 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23452 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23453 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23454 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23455 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23456 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23457 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23458 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23459 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23460 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23461 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23462 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23463 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23464 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23465 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23466 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23467 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23468 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23469 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23470 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23471 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23472 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23473 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23474 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23475 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23476 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23477 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23478 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23479 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23480 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23481 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23482 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23483 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23484 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23485 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23486 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23487 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23488 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23489 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23490 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23491 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23492 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23493 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23494 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23495 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23496 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23497 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23498 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23499 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23500 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23501 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23502 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23503 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23504 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23505 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23506 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23507 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23514 whole low double instead of just low 47 bits when splitting values
23517 2012-12-03 Allan McRae <allan@archlinux.org>
23519 * manual/stdio.texi (Predefined Printf Handlers): Remove
23520 @hsep and @vsep usage.
23522 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23524 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23525 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23527 2012-12-03 Jeff Law <law@redhat.com>
23529 * time/sys/time.h (settimeofday): Do not mark TV argument
23532 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23534 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23535 when currently writing and seek to current position when not.
23536 * libio/Makefile (tests): Remove bug-fclose1.
23537 * libio/bug-fclose1.c: Delete.
23539 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23541 * manual/arith.texi (feenableexcept): Fix typo.
23542 (fedisableexcept): Likewise.
23544 2012-11-30 Roland McGrath <roland@hack.frob.com>
23546 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23547 second, differently-typed declaration, rather than a cast.
23549 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23551 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23552 * include/rpc/svc.h: ... here.
23554 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23557 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23558 depending n and resplen2 to catch cases where answer
23561 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23563 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23564 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23566 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23570 2012-11-29 Roland McGrath <roland@hack.frob.com>
23572 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23574 2012-11-28 Jeff Law <law@redhat.com>
23577 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23578 dataset_temporary. Track alloca usage into alloca_used.
23579 If dataset is large allocate and release it via malloc/free.
23581 2012-06-04 Florian Weimer <fweimer@redhat.com>
23584 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23586 2012-11-28 David S. Miller <davem@davemloft.net>
23588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23590 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23593 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23594 of pi/2 rounded to nearest to 64 bits.
23595 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23596 nearest to 64 bits.
23597 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23600 2012-11-28 Jeff Law <law@redhat.com>
23601 Martin Osvald <mosvald@redhat.com>
23604 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23605 * sunrpc/svc.c: Include time.h.
23606 (__svc_accept_failed): New function.
23607 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23608 any reason other than EINTR, call __svc_accept_failed.
23609 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23610 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23612 2012-11-28 Andreas Schwab <schwab@suse.de>
23614 * scripts/abilist.awk: Also handle indirect functions in .opd
23617 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23620 * sysdeps/x86/fpu/powl_helper.c: New file.
23621 * sysdeps/x86/fpu/Makefile: Likewise.
23622 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23624 (__ieee754_powl): Use __powl_helper for finite arguments except
23625 integer exponents below 8.
23626 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23628 (__ieee754_powl): Use __powl_helper for finite arguments except
23629 integer exponents below 8.
23630 * math/libm-test.inc (pow_test): Add more tests and enable some
23631 previously disabled tests.
23632 * sysdeps/i386/fpu/libm-test-ulps: Update.
23633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23635 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23636 Carlos O'Donell <carlos_odonell@mentor.com>
23638 * nss/makedb.c (is_prime): Assert that input is odd and greater
23639 than 4. Note that fact in a comment too.
23640 (next_prime): Add 4 to input.
23642 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23645 * libio/Makefile (tests): Add test case tst-fwrite-error.
23646 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23647 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23648 * libio/tst-fwrite-error.c: New test case.
23650 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23652 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23653 before casting to void *.
23654 * include/libc-internal.h (__pointer_type): New macro.
23655 (__integer_if_pointer_type_sub): Likewise.
23656 (__integer_if_pointer_type): Likewise.
23657 (cast_to_integer): Likewise.
23658 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23659 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23660 before casting to atomic64_t.
23661 (atomic_exchange_acq): Likewise.
23662 (__arch_exchange_and_add_body): Likewise.
23663 (__arch_add_body): Likewise.
23664 (atomic_add_negative): Likewise.
23665 (atomic_add_zero): Likewise.
23667 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23669 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23670 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23671 (add_fdes): Likewise.
23672 (linear_search_fdes): Likewise.
23673 (binary_search_unencoded_fdes): Likewise.
23675 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23677 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23679 2012-11-24 Adam Conrad <adconrad@0c3.net>
23681 * configure.in: Autodetect C++ header directories.
23682 * configure: Regenerated.
23684 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23686 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23688 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23692 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23694 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23695 LDBL_MANT_DIG == 106]: Disable some tests.
23696 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23698 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23703 input for small inputs. Return +/- pi/2 for large inputs.
23704 * math/libm-test.inc (atan_test): Add more tests.
23706 * sysdeps/generic/unwind-dw2-fde-glibc.c
23707 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23708 __attribute__ ((unused)).
23711 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23712 x * y if x and y are nonzero and z is zero.
23715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23716 nonzero exponents with absolute value below 0x1p-117 to +/-
23720 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23721 up arguments below 2**-450, not just those below 2**-500.
23722 * math/libm-test.inc (hypot_test): Add another test.
23725 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23726 Return a+b for ratio over 2**120, not 2**60.
23727 * math/libm-test.inc (hypot_test): Add another test.
23729 * math/libm-test.inc (clog_test): Use
23730 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23731 (clog10_test): Likewise.
23734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23736 2012-11-22 Andreas Schwab <schwab@suse.de>
23738 * sysdeps/i386/fpu/libm-test-ulps: Update.
23740 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23742 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23743 printf output with newline.
23745 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23748 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23749 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23750 -z nodlopen, -z initfirst and -z execstack support.
23751 * configure: Regenerated.
23753 * elf/elf.h (DF_1_NODIRECT): New macro.
23754 (DF_1_IGNMULDEF): Likewise.
23755 (DF_1_NOKSYMS): Likewise.
23756 (DF_1_NOHDR): Likewise.
23757 (DF_1_EDITED): Likewise.
23758 (DF_1_NORELOC): Likewise.
23759 (DF_1_SYMINTPOSE): Likewise.
23760 (DF_1_GLOBAUDIT): Likewise.
23761 (DF_1_SINGLETON): Likewise.
23762 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23763 DT_1_SUPPORTED_MASK bits.
23764 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23766 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23768 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23770 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23772 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23775 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23776 (sendmmsg): Move declarations...
23777 * socket/sys/socket.h: ... here.
23778 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23779 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23781 * socket/recvmmsg.c: ... this new file.
23782 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23783 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23784 definition of __sendmmsg hidden.
23785 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23786 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23787 Move ENOSYS stub into and include it from...
23788 * socket/sendmmsg.c: ... this new file.
23789 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23790 (sysdep_routines): Move recvmmsg and sendmmsg...
23791 * socket/Makefile (routines): ... here.
23792 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23793 (GLIBC_PRIVATE): Add __sendmmsg.
23794 * include/sys/socket.h (__sendmmsg): Add declarations.
23795 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23798 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23801 variable I1 with __attribute__ ((unused)).
23802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23804 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23806 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23807 DUMMY variables with __attribute__ ((unused)).
23809 * bits/byteswap.h: Include <bits/types.h>.
23810 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23812 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23814 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23815 string_t. Do not manually set errno.
23816 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23817 length with __strnlen. Make sure to both set errno and return it on
23820 2012-11-19 David S. Miller <davem@davemloft.net>
23822 With help from Joseph Myers.
23823 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23824 very large arguments properly.
23825 * math/libm-test.inc (atan_test): New tests.
23826 (atan2_test): New tests.
23827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23830 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23833 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23836 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23837 [POSIX] (EADDRNOTAVAIL): Likewise.
23838 [POSIX] (EAFNOSUPPORT): Likewise.
23839 [POSIX] (EALREADY): Likewise.
23840 [POSIX] (ECONNABORTED): Likewise.
23841 [POSIX] (ECONNREFUSED): Likewise.
23842 [POSIX] (ECONNRESET): Likewise.
23843 [POSIX] (EDESTADDRREQ): Likewise.
23844 [POSIX] (EDQUOT): Likewise.
23845 [POSIX] (EHOSTUNREACH): Likewise.
23846 [POSIX] (EIDRM): Likewise.
23847 [POSIX] (EISCONN): Likewise.
23848 [POSIX] (ELOOP): Likewise.
23849 [POSIX] (EMULTIHOP): Likewise.
23850 [POSIX] (ENETDOWN): Likewise.
23851 [POSIX] (ENETUNREACH): Likewise.
23852 [POSIX] (ENOBUFS): Likewise.
23853 [POSIX] (ENODATA): Likewise.
23854 [POSIX] (ENOLINK): Likewise.
23855 [POSIX] (ENOMSG): Likewise.
23856 [POSIX] (ENOPROTOOPT): Likewise.
23857 [POSIX] (ENOSR): Likewise.
23858 [POSIX] (ENOSTR): Likewise.
23859 [POSIX] (ENOTCONN): Likewise.
23860 [POSIX] (ENOTSOCK): Likewise.
23861 [POSIX] (EOPNOTSUPP): Likewise.
23862 [POSIX] (EOVERFLOW): Likewise.
23863 [POSIX] (EPROTO): Likewise.
23864 [POSIX] (EPROTONOSUPPORT): Likewise.
23865 [POSIX] (EPROTOTYPE): Likewise.
23866 [POSIX] (ESTALE): Likewise.
23867 [POSIX] (ETIME): Likewise.
23868 [POSIX] (ETXTBSY): Likewise.
23869 [POSIX] (EWOULDBLOCK): Likewise.
23870 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23871 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23872 [POSIX] (SEEK_CUR): Likewise.
23873 [POSIX] (SEEK_END): Likewise.
23874 [POSIX || UNIX98] (mode_t): Do not require.
23875 [POSIX] (off_t): Likewise.
23876 [POSIX] (pid_t): Likewise.
23877 [POSIX] (sys/stat.h): Do not allow header.
23878 [POSIX] (unistd.h): Likewise.
23879 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23880 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23881 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23882 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23884 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23885 sigevent): Specify elements.
23886 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23888 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23889 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23891 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23892 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23893 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23894 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23895 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23896 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23897 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23898 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23899 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23900 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23901 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23902 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23903 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23904 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23906 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23908 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23910 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23912 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23915 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23916 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23917 Specify lower bound on value.
23918 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23919 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23920 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23921 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23922 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23923 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23924 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23925 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23927 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23929 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23930 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23931 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23932 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23933 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23934 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23936 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23938 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23939 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23940 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23941 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23942 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23943 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23944 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23946 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23949 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23950 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23951 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23952 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23953 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23956 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23957 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23958 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23959 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23960 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23961 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23965 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23966 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23967 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23968 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23969 specify as optional.
23970 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23971 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23973 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23974 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23975 [XPG3] (NL_LANGMAX): Likewise.
23976 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23977 [POSIX || XPG3] (NL_NMAX): Likewise.
23978 [POSIX || XPG3] (NL_SETMAX): Likewise.
23979 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23980 [XPG3] (NZERO): Likewise.
23981 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23982 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23983 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23984 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23985 (REG_ERANGE): Expect.
23986 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23988 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23989 Use (void) in prototype.
23990 [POSIX] (*_t): Allow.
23991 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23992 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23993 (WRDE_BADVAL): Expect.
23995 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23997 [XPG3 || XPG4] (O_RSYNC): Likewise.
23998 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24000 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24001 [XPG3 || XPG4] (sigqueue): Likewise.
24002 [XPG3 || XPG4] (sigtimedwait): Likewise.
24003 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24004 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24005 [XPG3 || XPG4] (vsnprintf): Likewise.
24006 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24008 [XPG3 || XPG4] (blksize_t): Likewise.
24009 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24011 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24012 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24013 [XPG3 || XPG4] (struct itimerspec): Likewise.
24014 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24015 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24016 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24017 [XPG3 || XPG4] (clockid_t): Likewise.
24018 [XPG3 || XPG4] (timer_t): Likewise.
24019 [XPG3 || XPG4] (clock_getres): Likewise.
24020 [XPG3 || XPG4] (clock_gettime): Likewise.
24021 [XPG3 || XPG4] (clock_settime): Likewise.
24022 [XPG3 || XPG4] (nanosleep): Likewise.
24023 [XPG3 || XPG4] (timer_create): Likewise.
24024 [XPG3 || XPG4] (timer_delete): Likewise.
24025 [XPG3 || XPG4] (timer_gettime): Likewise.
24026 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24027 [XPG3 || XPG4] (timer_settime): Likewise.
24028 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24029 [XPG3 || XPG4] (getlogin_r): Likewise.
24030 [XPG3 || XPG4] (pread): Likewise.
24031 [XPG3 || XPG4] (pthread_atfork): Likewise.
24032 [XPG3 || XPG4] (pwrite): Likewise.
24035 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24038 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24040 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24041 finalizing MALLSTREAM.
24043 * sysdeps/mach/hurd/syncfs.c: New file.
24045 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24049 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24051 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24052 (_nss_dns_gethostbyname4_r): Likewise.
24053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24054 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24056 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24059 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24061 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24063 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24064 * elf/cache.c (print_entry): Print ",AArch64" for
24067 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24068 * elf/cache.c (print_entry): Print ",hard-float" for
24071 2012-11-18 David S. Miller <davem@davemloft.net>
24073 With help from Joseph Myers.
24074 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24076 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24078 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24079 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24081 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24082 * math/libm-test.inc (y0_test): New tests.
24083 (y1_test): New tests.
24084 * sysdeps/i386/fpu/libm-test-ulps: Update.
24085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24088 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24090 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24092 * configure: Regenerated.
24094 2012-11-17 David S. Miller <davem@davemloft.net>
24097 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24098 nonzero exponents with absolute value below 0x1p-128 to +/-
24101 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24103 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24105 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24107 * posix/getconf-speclist.c: New file.
24108 * posix/posix-envs.def: Likewise.
24109 * posix/confstr.c (START_ENV_GROUP): New macro.
24110 (END_ENV_GROUP): Likewise.
24111 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24112 (KNOWN_PRESENT_ENV_STRING): Likewise.
24113 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24114 (UNKNOWN_ENVIRONMENT): Likewise.
24115 (confstr): Include posix-envs.def instead of handling
24116 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24117 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24118 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24119 (END_ENV_GROUP): Likewise.
24120 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24121 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24122 (UNKNOWN_ENVIRONMENT): Likewise.
24123 (__sysconf): Include posix-envs.def instead of handling associated
24124 cases directly here.
24125 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24126 preprocessing getconf-speclist.c rather than running getconf or
24127 generating empty file.
24129 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24131 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24133 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24136 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24138 2012-11-16 David S. Miller <davem@davemloft.net>
24140 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24141 smaller than LDBL_EPSILON/2.0L, just return xm1.
24143 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24145 * elf/tst-array1.c (init): Set constructor priority to 1000.
24146 (fini): Set destructor priority to 1000.
24147 * elf/tst-array2dep.c: Likewise.
24149 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24152 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24153 (_IO_new_file_xsputn): Also return EOF if none of the input
24154 data was written when overflow failed.
24155 * libio/iopadn.c (_IO_padn): Likewise.
24156 * libio/iowpadn.c (_IO_wpadn): Likewise.
24157 * stdio-common/tst-put-error.c: Add copyright notice.
24158 (do_test): Add case for printing padded string.
24159 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24160 _IO_padn returned error.
24161 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24162 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24165 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24167 * libio/libioP.h: Add comment note that the references to C++
24168 bits are now obsolete.
24170 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24172 * math/libm-test.inc (check_complex): Use asprintf.
24174 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24176 * debug/pcprofiledump.c (print_version): Update copyright year.
24177 * malloc/memusagestat.c (print_version): Likewise.
24179 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24182 * elf/Makefile (tests): Add tst-audit8.
24183 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24184 ($(objpfx)tst-audit8.out): New target.
24185 (tst-audit8-ENV): New variable.
24186 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24187 audit if l_reloc_result is NULL.
24188 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24189 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24190 * elf/tst-audit8.c: New file.
24192 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24194 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24195 * misc/Makefile (CFLAGS-select.c): Define.
24196 * posix/Makefile (CFLAGS-pause.c): Define.
24198 2012-11-13 David S. Miller <davem@davemloft.net>
24200 * crypt/Makefile: Move test targets after toplevel Rules
24201 inclusion. Grab any necessary sysdep routines when linking.
24202 * crypt/md5.c (md5_process_block): Remove define, we will always
24203 name it __md5_process_block.
24204 (md5_finish_ctx): Update md5_process_block call.
24205 (md5_stream): Likewise.
24206 (md5_process_bytes): Likewise.
24207 (md5_process_block): Rename to __md5_process_block and move to ...
24208 * crypt/md5-block.c: ... here.
24209 * crypt/sha256.c (sha256_process_block): Move to ...
24210 * crypt/sha256-block.c: ... here.
24211 * crypt/sha512.c (sha512_process_block): Move to ...
24212 * crypt/sha512-block.c: ... here.
24213 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24215 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24216 * sysdeps/sparc/sparc64/multiarch/Makefile
24217 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24219 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24220 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24222 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24223 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24224 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24225 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24226 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24227 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24229 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24230 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24233 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24235 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24237 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24239 * timezone/tzselect.ksh: Update from tzcode git revision
24240 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24241 * timezone/zdump.c: Likewise.
24242 * timezone/zic.c: Likewise.
24243 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24244 in TZVERSION setting, not $(PKGVERSION).
24245 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24246 REPORT_BUGS_TO settings.
24249 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24252 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24254 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24255 detection to immediately after _FP_ROUND().
24256 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24259 2012-11-11 David S. Miller <davem@davemloft.net>
24261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24263 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24264 __close rather than their public counterparts.
24266 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24268 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24270 [UNIX98] (sem_timedwait): Do not expect.
24271 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24272 [XPG4 || UNIX98] (sockatmark): Do not expect.
24273 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24274 (clock_getcpuclockid): Do not expect.
24275 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24276 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24278 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24279 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24280 [UNIX98] (vwscanf): Likewise.
24281 [UNIX98] (vswscanf): Likewise.
24283 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24285 * timezone/version.h: Remove file.
24286 * timezone/README: Do not refer to version.h.
24287 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24288 $(objpfx)version.h.
24289 ($(objpfx)zdump.o): Likewise.
24290 ($(objpfx)version.h): New target.
24292 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24294 * timezone/README: Don't mention modification to tzselect.ksh.
24295 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24296 work on unmodified tzselect.ksh. Substitute version numbers in
24299 * Makefile (format-me): Remove.
24300 (INSTALL): Adjust indentation. Use commands directly instead of
24301 using $(format-me).
24303 * aclocal.m4 (ACX_PKGVERSION): New macro.
24304 (ACX_BUGURL): Likewise.
24305 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24306 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24307 (REPORT_BUGS_TO): Likewise.
24308 * configure: Regenerated.
24309 * config.h.in (PKGVERSION): New macro.
24310 (REPORT_BUGS_TO): Likewise.
24311 * config.make.in (PKGVERSION): New variable.
24312 (PKGVERSION_TEXI): Likewise.
24313 (REPORT_BUGS_TO): Likewise.
24314 (REPORT_BUGS_TEXI): Likewise.
24315 * Makefile (format-me): Use -I$(common-objpfx)manual.
24316 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24317 ($(common-objpfx)manual/%): New target.
24318 (manual/%): Remove target.
24319 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24320 (print_version): Use PKGVERSION.
24321 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24322 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24323 and REPORT_BUGS_TO.
24324 ($(objpfx)xtrace): Likewise.
24325 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24326 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24327 (print_version): Use PKGVERSION.
24328 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24329 (do_version): Use PKGVERSION.
24330 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24332 (common-ldd-rewrite): Likewise.
24333 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24334 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24335 (print_version): Use PKGVERSION.
24336 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24337 * elf/pldd.c (argp_program_bug_address): Remove variable.
24338 (more_help): New function.
24339 (argp): Use more_help.
24340 (print_version): Use PKGVERSION.
24341 * elf/sln.c (main): Use PKGVERSION.
24342 (usage): Use REPORT_BUGS_TO.
24343 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24344 (top level): Use PKGVERSION.
24345 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24346 (print_version): Use PKGVERSION.
24347 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24348 (print_version): Use PKGVERSION.
24349 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24350 (print_version): Use PKGVERSION.
24351 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24352 (print_version): Use PKGVERSION.
24353 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24354 (print_version): Use PKGVERSION.
24355 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24356 (print_version): Use PKGVERSION.
24357 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24359 ($(objpfx)memusage): Likewise.
24360 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24361 (do_version): Use PKGVERSION.
24362 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24363 (print_version): Use PKGVERSION.
24364 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24365 ($PKGVERSION): New variable.
24366 ($REPORT_BUGS_TO): Likewise.
24367 (usage): Use $REPORT_BUGS_TO.
24368 (top level): Use $PKGVERSION.
24369 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24370 ($(objpfx)pkgvers.texi): New rule.
24371 ($(objpfx)stamp-pkgvers): Likewise.
24372 * manual/install.texi: Include pkgvers.texi.
24373 (--with-pkgversion): Document new configure option.
24374 (--with-bugurl): Likewise.
24375 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24376 than necessarily for this particular distribution. Use
24377 REPORT_BUGS_TO for where to report bugs.
24378 * INSTALL: Regenerated.
24379 * manual/libc.texinfo: Include pkgvers.texi.
24380 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24381 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24382 (print_version): Use PKGVERSION.
24383 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24384 (print_version): Use PKGVERSION.
24385 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24386 (print_version): Use PKGVERSION.
24387 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24388 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24390 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24391 (print_version): Use PKGVERSION.
24392 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24393 (print_version): Use PKGVERSION.
24394 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24397 * timezone/checktab.awk: Update from tzcode 2012i.
24398 * timezone/ialloc.c: Likewise.
24399 * timezone/private.h: Likewise.
24400 * timezone/scheck.c: Likewise.
24401 * timezone/tzfile.h: Likewise.
24402 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24403 (TZVERSION): Hardcode tzcode version number.
24404 * timezone/zdump.c: Update from tzcode 2012i.
24405 * timezone/zic.c: Likewise.
24406 * timezone/version.h: New file.
24407 * timezone/README: Describe version.h. Update upstream location.
24410 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24411 (mktemp): Enable declaration.
24412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24425 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24429 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24430 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24431 for copies of such integer values.
24432 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24433 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24435 2012-11-09 Andreas Jaeger <aj@suse.de>
24437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24438 definitions and declarations that are provided by
24439 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24441 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24443 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24444 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24445 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24448 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24450 * elf/elf.h: Update comment before AArch64 relocations.
24452 2012-11-07 David S. Miller <davem@davemloft.net>
24454 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24455 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24456 (__start_context): Declare.
24457 (__makecontext_ret): Delete.
24458 (__makecontext): Hook up __start_context instead of
24460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24461 (sysdep_routines): Add __start_context when in stdlib.
24463 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24465 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24466 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24467 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24469 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24470 (READELF): New variable. Use it instead of hardcoded "readelf".
24472 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24474 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24475 * sysdeps/x86/Makefile: Here.
24476 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24477 * sysdeps/x86/tst-xmmymm.sh: This.
24479 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24481 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24483 [UNIX98] (pthread_barrier_t): Do not expect.
24484 [UNIX98] (pthread_barrierattr_t): Likewise.
24485 [UNIX98] (pthread_spinlock_t): Likewise.
24486 [UNIX98] (pthread_barrier_destroy): Likewise.
24487 [UNIX98] (pthread_barrier_init): Likewise.
24488 [UNIX98] (pthread_barrier_wait): Likewise.
24489 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24490 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24491 [UNIX98] (pthread_barrierattr_init): Likewise.
24492 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24493 [UNIX98] (pthread_getcpuclockid): Likewise.
24494 [UNIX98] (pthread_mutex_timedlock): Likewise.
24495 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24496 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24497 [UNIX98] (pthread_sigmask): Likewise.
24498 [UNIX98] (pthread_spin_destroy): Likewise.
24499 [UNIX98] (pthread_spin_init): Likewise.
24500 [UNIX98] (pthread_spin_lock): Likewise.
24501 [UNIX98] (pthread_spin_trylock): Likewise.
24502 [UNIX98] (pthread_spin_unlock): Likewise.
24503 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24505 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24506 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24507 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24508 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24509 [XPG3 || XPG4] (pthread_key_t): Likewise.
24510 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24511 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24512 [XPG3 || XPG4] (pthread_once_t): Likewise.
24513 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24514 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24515 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24516 [XPG3 || XPG4] (pthread_t): Likewise.
24518 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24520 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24522 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24523 Change function return type to int.
24525 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24526 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24527 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24528 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24529 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24530 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24531 [!POSIX] (posix_madvise): Likewise.
24532 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24534 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24535 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24536 (mode_t): Likewise.
24537 (posix_mem_offset): Likewise.
24538 (posix_typed_mem_get_info): Likewise.
24539 (posix_typed_mem_open): Likewise.
24541 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24542 Change condition to [XOPEN2K8].
24544 * conform/conformtest.pl: Preprocess allow-header data with -x c
24545 instead of from stdin.
24546 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24547 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24548 [C99-based standards] (cerfc): Likewise.
24549 [C99-based standards] (cexp2): Likewise.
24550 [C99-based standards] (cexpm1): Likewise.
24551 [C99-based standards] (clog10): Likewise.
24552 [C99-based standards] (clog1p): Likewise.
24553 [C99-based standards] (clog2): Likewise.
24554 [C99-based standards] (clgamma): Likewise.
24555 [C99-based standards] (ctgamma): Likewise.
24556 [C99-based standards] (cerff): Likewise.
24557 [C99-based standards] (cerfcf): Likewise.
24558 [C99-based standards] (cexp2f): Likewise.
24559 [C99-based standards] (cexpm1f): Likewise.
24560 [C99-based standards] (clog10f): Likewise.
24561 [C99-based standards] (clog1pf): Likewise.
24562 [C99-based standards] (clog2f): Likewise.
24563 [C99-based standards] (clgammaf): Likewise.
24564 [C99-based standards] (ctgammaf): Likewise.
24565 [C99-based standards] (cerfl): Likewise.
24566 [C99-based standards] (cerfcl): Likewise.
24567 [C99-based standards] (cexp2l): Likewise.
24568 [C99-based standards] (cexpm1l): Likewise.
24569 [C99-based standards] (clog10l): Likewise.
24570 [C99-based standards] (clog1pl): Likewise.
24571 [C99-based standards] (clog2l): Likewise.
24572 [C99-based standards] (clgammal): Likewise.
24573 [C99-based standards] (ctgammal): Likewise.
24574 * conform/data/inttypes.h-data [C99-based standards]: Include
24575 stdint.h-data. Remove all expectations for stdint.h contents.
24576 [C99-based standards] (PRI*): Do not allow.
24577 [C99-based standards] (SCN*): Likewise.
24578 [C99-based standards] (*_t): Likewise.
24579 [C99-based-standards] (PRId8): Expect macro.
24580 [C99-based-standards] (PRIi8): Likewise.
24581 [C99-based-standards] (PRIo8): Likewise.
24582 [C99-based-standards] (PRIu8): Likewise.
24583 [C99-based-standards] (PRIx8): Likewise.
24584 [C99-based-standards] (PRIX8): Likewise.
24585 [C99-based-standards] (SCNd8): Likewise.
24586 [C99-based-standards] (SCNi8): Likewise.
24587 [C99-based-standards] (SCNo8): Likewise.
24588 [C99-based-standards] (SCNu8): Likewise.
24589 [C99-based-standards] (SCNx8): Likewise.
24590 [C99-based-standards] (PRIdLEAST8): Likewise.
24591 [C99-based-standards] (PRIiLEAST8): Likewise.
24592 [C99-based-standards] (PRIoLEAST8): Likewise.
24593 [C99-based-standards] (PRIuLEAST8): Likewise.
24594 [C99-based-standards] (PRIxLEAST8): Likewise.
24595 [C99-based-standards] (PRIXLEAST8): Likewise.
24596 [C99-based-standards] (SCNdLEAST8): Likewise.
24597 [C99-based-standards] (SCNiLEAST8): Likewise.
24598 [C99-based-standards] (SCNoLEAST8): Likewise.
24599 [C99-based-standards] (SCNuLEAST8): Likewise.
24600 [C99-based-standards] (SCNxLEAST8): Likewise.
24601 [C99-based-standards] (PRIdFAST8): Likewise.
24602 [C99-based-standards] (PRIiFAST8): Likewise.
24603 [C99-based-standards] (PRIoFAST8): Likewise.
24604 [C99-based-standards] (PRIuFAST8): Likewise.
24605 [C99-based-standards] (PRIxFAST8): Likewise.
24606 [C99-based-standards] (PRIXFAST8): Likewise.
24607 [C99-based-standards] (SCNdFAST8): Likewise.
24608 [C99-based-standards] (SCNiFAST8): Likewise.
24609 [C99-based-standards] (SCNoFAST8): Likewise.
24610 [C99-based-standards] (SCNuFAST8): Likewise.
24611 [C99-based-standards] (SCNxFAST8): Likewise.
24612 [C99-based-standards] (PRId16): Likewise.
24613 [C99-based-standards] (PRIi16): Likewise.
24614 [C99-based-standards] (PRIo16): Likewise.
24615 [C99-based-standards] (PRIu16): Likewise.
24616 [C99-based-standards] (PRIx16): Likewise.
24617 [C99-based-standards] (PRIX16): Likewise.
24618 [C99-based-standards] (SCNd16): Likewise.
24619 [C99-based-standards] (SCNi16): Likewise.
24620 [C99-based-standards] (SCNo16): Likewise.
24621 [C99-based-standards] (SCNu16): Likewise.
24622 [C99-based-standards] (SCNx16): Likewise.
24623 [C99-based-standards] (PRIdLEAST16): Likewise.
24624 [C99-based-standards] (PRIiLEAST16): Likewise.
24625 [C99-based-standards] (PRIoLEAST16): Likewise.
24626 [C99-based-standards] (PRIuLEAST16): Likewise.
24627 [C99-based-standards] (PRIxLEAST16): Likewise.
24628 [C99-based-standards] (PRIXLEAST16): Likewise.
24629 [C99-based-standards] (SCNdLEAST16): Likewise.
24630 [C99-based-standards] (SCNiLEAST16): Likewise.
24631 [C99-based-standards] (SCNoLEAST16): Likewise.
24632 [C99-based-standards] (SCNuLEAST16): Likewise.
24633 [C99-based-standards] (SCNxLEAST16): Likewise.
24634 [C99-based-standards] (PRIdFAST16): Likewise.
24635 [C99-based-standards] (PRIiFAST16): Likewise.
24636 [C99-based-standards] (PRIoFAST16): Likewise.
24637 [C99-based-standards] (PRIuFAST16): Likewise.
24638 [C99-based-standards] (PRIxFAST16): Likewise.
24639 [C99-based-standards] (PRIXFAST16): Likewise.
24640 [C99-based-standards] (SCNdFAST16): Likewise.
24641 [C99-based-standards] (SCNiFAST16): Likewise.
24642 [C99-based-standards] (SCNoFAST16): Likewise.
24643 [C99-based-standards] (SCNuFAST16): Likewise.
24644 [C99-based-standards] (SCNxFAST16): Likewise.
24645 [C99-based-standards] (PRId32): Likewise.
24646 [C99-based-standards] (PRIi32): Likewise.
24647 [C99-based-standards] (PRIo32): Likewise.
24648 [C99-based-standards] (PRIu32): Likewise.
24649 [C99-based-standards] (PRIx32): Likewise.
24650 [C99-based-standards] (PRIX32): Likewise.
24651 [C99-based-standards] (SCNd32): Likewise.
24652 [C99-based-standards] (SCNi32): Likewise.
24653 [C99-based-standards] (SCNo32): Likewise.
24654 [C99-based-standards] (SCNu32): Likewise.
24655 [C99-based-standards] (SCNx32): Likewise.
24656 [C99-based-standards] (PRIdLEAST32): Likewise.
24657 [C99-based-standards] (PRIiLEAST32): Likewise.
24658 [C99-based-standards] (PRIoLEAST32): Likewise.
24659 [C99-based-standards] (PRIuLEAST32): Likewise.
24660 [C99-based-standards] (PRIxLEAST32): Likewise.
24661 [C99-based-standards] (PRIXLEAST32): Likewise.
24662 [C99-based-standards] (SCNdLEAST32): Likewise.
24663 [C99-based-standards] (SCNiLEAST32): Likewise.
24664 [C99-based-standards] (SCNoLEAST32): Likewise.
24665 [C99-based-standards] (SCNuLEAST32): Likewise.
24666 [C99-based-standards] (SCNxLEAST32): Likewise.
24667 [C99-based-standards] (PRIdFAST32): Likewise.
24668 [C99-based-standards] (PRIiFAST32): Likewise.
24669 [C99-based-standards] (PRIoFAST32): Likewise.
24670 [C99-based-standards] (PRIuFAST32): Likewise.
24671 [C99-based-standards] (PRIxFAST32): Likewise.
24672 [C99-based-standards] (PRIXFAST32): Likewise.
24673 [C99-based-standards] (SCNdFAST32): Likewise.
24674 [C99-based-standards] (SCNiFAST32): Likewise.
24675 [C99-based-standards] (SCNoFAST32): Likewise.
24676 [C99-based-standards] (SCNuFAST32): Likewise.
24677 [C99-based-standards] (SCNxFAST32): Likewise.
24678 [C99-based-standards] (PRId64): Likewise.
24679 [C99-based-standards] (PRIi64): Likewise.
24680 [C99-based-standards] (PRIo64): Likewise.
24681 [C99-based-standards] (PRIu64): Likewise.
24682 [C99-based-standards] (PRIx64): Likewise.
24683 [C99-based-standards] (PRIX64): Likewise.
24684 [C99-based-standards] (SCNd64): Likewise.
24685 [C99-based-standards] (SCNi64): Likewise.
24686 [C99-based-standards] (SCNo64): Likewise.
24687 [C99-based-standards] (SCNu64): Likewise.
24688 [C99-based-standards] (SCNx64): Likewise.
24689 [C99-based-standards] (PRIdLEAST64): Likewise.
24690 [C99-based-standards] (PRIiLEAST64): Likewise.
24691 [C99-based-standards] (PRIoLEAST64): Likewise.
24692 [C99-based-standards] (PRIuLEAST64): Likewise.
24693 [C99-based-standards] (PRIxLEAST64): Likewise.
24694 [C99-based-standards] (PRIXLEAST64): Likewise.
24695 [C99-based-standards] (SCNdLEAST64): Likewise.
24696 [C99-based-standards] (SCNiLEAST64): Likewise.
24697 [C99-based-standards] (SCNoLEAST64): Likewise.
24698 [C99-based-standards] (SCNuLEAST64): Likewise.
24699 [C99-based-standards] (SCNxLEAST64): Likewise.
24700 [C99-based-standards] (PRIdFAST64): Likewise.
24701 [C99-based-standards] (PRIiFAST64): Likewise.
24702 [C99-based-standards] (PRIoFAST64): Likewise.
24703 [C99-based-standards] (PRIuFAST64): Likewise.
24704 [C99-based-standards] (PRIxFAST64): Likewise.
24705 [C99-based-standards] (PRIXFAST64): Likewise.
24706 [C99-based-standards] (SCNdFAST64): Likewise.
24707 [C99-based-standards] (SCNiFAST64): Likewise.
24708 [C99-based-standards] (SCNoFAST64): Likewise.
24709 [C99-based-standards] (SCNuFAST64): Likewise.
24710 [C99-based-standards] (SCNxFAST64): Likewise.
24711 [C99-based-standards] (PRIdMAX): Likewise.
24712 [C99-based-standards] (PRIiMAX): Likewise.
24713 [C99-based-standards] (PRIoMAX): Likewise.
24714 [C99-based-standards] (PRIuMAX): Likewise.
24715 [C99-based-standards] (PRIxMAX): Likewise.
24716 [C99-based-standards] (PRIXMAX): Likewise.
24717 [C99-based-standards] (SCNdMAX): Likewise.
24718 [C99-based-standards] (SCNiMAX): Likewise.
24719 [C99-based-standards] (SCNoMAX): Likewise.
24720 [C99-based-standards] (SCNuMAX): Likewise.
24721 [C99-based-standards] (SCNxMAX): Likewise.
24722 [C99-based-standards] (PRIdPTR): Likewise.
24723 [C99-based-standards] (PRIiPTR): Likewise.
24724 [C99-based-standards] (PRIoPTR): Likewise.
24725 [C99-based-standards] (PRIuPTR): Likewise.
24726 [C99-based-standards] (PRIxPTR): Likewise.
24727 [C99-based-standards] (PRIXPTR): Likewise.
24728 [C99-based-standards] (SCNdPTR): Likewise.
24729 [C99-based-standards] (SCNiPTR): Likewise.
24730 [C99-based-standards] (SCNoPTR): Likewise.
24731 [C99-based-standards] (SCNuPTR): Likewise.
24732 [C99-based-standards] (SCNxPTR): Likewise.
24733 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24735 * conform/data/stdint.h-data: Update comments to clarify
24737 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24739 [C99-based standards] (INT8_MAX): Likewise.
24740 [C99-based standards] (INT16_MIN): Likewise.
24741 [C99-based standards] (INT16_MAX): Likewise.
24742 [C99-based standards] (INT32_MIN): Likewise.
24743 [C99-based standards] (INT32_MAX): Likewise.
24744 [C99-based standards] (INT64_MIN): Likewise.
24745 [C99-based standards] (INT64_MAX): Likewise.
24746 [C99-based standards] (UINT8_MAX): Likewise.
24747 [C99-based standards] (UINT16_MAX): Likewise.
24748 [C99-based standards] (UINT32_MAX): Likewise.
24749 [C99-based standards] (UINT64_MAX): Likewise.
24750 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24751 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24752 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24753 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24754 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24755 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24756 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24757 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24758 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24759 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24760 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24761 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24762 [C99-based standards] (INT_FAST8_MIN): Likewise.
24763 [C99-based standards] (INT_FAST8_MAX): Likewise.
24764 [C99-based standards] (INT_FAST16_MIN): Likewise.
24765 [C99-based standards] (INT_FAST16_MAX): Likewise.
24766 [C99-based standards] (INT_FAST32_MIN): Likewise.
24767 [C99-based standards] (INT_FAST32_MAX): Likewise.
24768 [C99-based standards] (INT_FAST64_MIN): Likewise.
24769 [C99-based standards] (INT_FAST64_MAX): Likewise.
24770 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24771 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24772 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24773 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24774 [C99-based standards] (INTPTR_MIN): Likewise.
24775 [C99-based standards] (INTPTR_MAX): Likewise.
24776 [C99-based standards] (UINTPTR_MAX): Likewise.
24777 [C99-based standards] (INTMAX_MIN): Likewise.
24778 [C99-based standards] (INTMAX_MAX): Likewise.
24779 [C99-based standards] (UINTMAX_MAX): Likewise.
24780 [C99-based standards] (PTRDIFF_MIN): Likewise.
24781 [C99-based standards] (PTRDIFF_MAX): Likewise.
24782 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24783 [C99-based standards] (SIZE_MAX): Likewise.
24784 [C99-based standards] (WCHAR_MAX): Likewise.
24785 [C99-based standards] (WINT_MAX): Likewise.
24786 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24787 constraint on value.
24788 [C99-based standards] (WCHAR_MIN): Likewise.
24789 [C99-based standards] (WINT_MIN): Likewise.
24790 [C99-based standards] (*_t): Allow.
24791 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24792 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24793 Include math.h-data and complex.h-data. Remove all expectations
24794 of math.h and complex.h contents.
24795 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24797 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24798 (struct tm): Expect tag.
24799 [C99-based-standards] (wcstof): Expect function.
24800 [C99-based-standards] (wcstold): Likewise.
24801 [C99-based-standards] (wcstoll): Likewise.
24802 [C99-based-standards] (wcstoull): Likewise.
24803 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24804 macro-int-constant. Specify type.
24805 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24806 constraint on value.
24807 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24809 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24811 [ISO C standards]: Do not allow headers.
24812 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24813 wcs[abcdefghijklmnopqrstuvwxyz]*.
24814 [ISO C standards] (*_t): Do not allow.
24815 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24817 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24818 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24820 [ISO C standards]: Do not allow headers.
24821 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24822 is[abcdefghijklmnopqrstuvwxyz]*.
24823 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24824 to[abcdefghijklmnopqrstuvwxyz]*.
24825 [ISO C standards] (*_t): Do not allow.
24826 * conform/data/stdalign.h-data: New file.
24827 * conform/data/stdbool.h-data: Likewise.
24828 * conform/data/stdnoreturn.h-data: Likewise.
24830 2012-11-07 Roland McGrath <roland@hack.frob.com>
24833 * manual/filesys.texi (Directory Entries): Typo fix.
24834 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24836 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24838 * elf/elf.h (EM_AARCH64): New macro.
24839 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24840 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24841 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24842 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24843 (R_AARCH64_TLSDESC): Likewise.
24844 (NT_ARM_TLS): Likewise.
24845 (NT_ARM_HW_BREAK): Likewise.
24846 (NT_ARM_HW_WATCH): Likewise.
24848 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24851 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24852 (__ieee754_powl): Saturate nonzero exponents with absolute value
24853 below 0x1p-79 to +/- 0x1p-79.
24854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24855 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24856 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24857 nonzero exponents with absolute value below 0x1p-32 to +/-
24859 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24860 (__ieee754_powl): Saturate nonzero exponents with absolute value
24861 below 0x1p-79 to +/- 0x1p-79.
24862 * math/libm-test.inc (pow_test): Add more tests.
24864 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24866 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24867 _dl_s390_cap_flags with kernel. Increase string length.
24868 (_dl_s390_platforms): Add z196 and zEC12.
24870 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24872 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24873 Change XOPEN21K to XOPEN2K.
24875 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24877 * string/memmove.c: Use memcpy when possible.
24879 2012-11-06 Andreas Jaeger <aj@suse.de>
24881 * po/eo.po: Update from translation team.
24883 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24887 exponent and small x and y exponents, scale x or y up. Increase
24888 by 2 the exponent used in scaling up.
24889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24891 * math/libm-test.inc (fma_test): Add more tests.
24892 (fma_test_towardzero): Likewise.
24893 (fma_test_downward): Likewise.
24894 (fma_test_upward): Likewise.
24896 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24899 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24903 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24904 namespace for names of struct fields.
24905 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24907 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24908 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24910 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24913 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24915 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24917 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24924 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24928 definitely overflow as x * y not x * y + z.
24929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24931 * math/libm-test.inc (fma_test): Add more tests.
24932 (fma_test_towardzero): Likewise.
24933 (fma_test_downward): Likewise.
24934 (fma_test_upward): Likewise.
24936 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24940 * include/stub-tag.h: Remove file.
24941 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24943 * manual/maint.texi (Porting): Don't reference it.
24944 * Makerules ($(objpfx)stubs): Likewise.
24945 * dirent/closedir.c: Don't include <stub-tag.h>.
24946 * dirent/dirfd.c: Likewise.
24947 * dirent/fdopendir.c: Likewise.
24948 * dirent/getdents.c: Likewise.
24949 * dirent/getdents64.c: Likewise.
24950 * dirent/opendir.c: Likewise.
24951 * dirent/readdir.c: Likewise.
24952 * dirent/readdir64.c: Likewise.
24953 * dirent/readdir64_r.c: Likewise.
24954 * dirent/readdir_r.c: Likewise.
24955 * dirent/rewinddir.c: Likewise.
24956 * dirent/seekdir.c: Likewise.
24957 * dirent/telldir.c: Likewise.
24958 * gmon/profil.c: Likewise.
24959 * grp/setgroups.c: Likewise.
24960 * inet/if_index.c: Likewise.
24961 * io/access.c: Likewise.
24962 * io/chdir.c: Likewise.
24963 * io/chmod.c: Likewise.
24964 * io/chown.c: Likewise.
24965 * io/close.c: Likewise.
24966 * io/dup.c: Likewise.
24967 * io/dup2.c: Likewise.
24968 * io/dup3.c: Likewise.
24969 * io/euidaccess.c: Likewise.
24970 * io/faccessat.c: Likewise.
24971 * io/fchdir.c: Likewise.
24972 * io/fchmod.c: Likewise.
24973 * io/fchmodat.c: Likewise.
24974 * io/fchown.c: Likewise.
24975 * io/fchownat.c: Likewise.
24976 * io/fcntl.c: Likewise.
24977 * io/flock.c: Likewise.
24978 * io/fstatfs.c: Likewise.
24979 * io/fstatfs64.c: Likewise.
24980 * io/fstatvfs.c: Likewise.
24981 * io/fstatvfs64.c: Likewise.
24982 * io/futimens.c: Likewise.
24983 * io/fxstat.c: Likewise.
24984 * io/fxstat64.c: Likewise.
24985 * io/fxstatat.c: Likewise.
24986 * io/fxstatat64.c: Likewise.
24987 * io/getcwd.c: Likewise.
24988 * io/isatty.c: Likewise.
24989 * io/lchmod.c: Likewise.
24990 * io/lchown.c: Likewise.
24991 * io/link.c: Likewise.
24992 * io/linkat.c: Likewise.
24993 * io/lseek.c: Likewise.
24994 * io/lseek64.c: Likewise.
24995 * io/lxstat64.c: Likewise.
24996 * io/mkdir.c: Likewise.
24997 * io/mkdirat.c: Likewise.
24998 * io/mkfifo.c: Likewise.
24999 * io/mkfifoat.c: Likewise.
25000 * io/open.c: Likewise.
25001 * io/open64.c: Likewise.
25002 * io/openat.c: Likewise.
25003 * io/openat64.c: Likewise.
25004 * io/pipe.c: Likewise.
25005 * io/pipe2.c: Likewise.
25006 * io/poll.c: Likewise.
25007 * io/posix_fadvise.c: Likewise.
25008 * io/posix_fadvise64.c: Likewise.
25009 * io/posix_fallocate.c: Likewise.
25010 * io/posix_fallocate64.c: Likewise.
25011 * io/read.c: Likewise.
25012 * io/readlink.c: Likewise.
25013 * io/readlinkat.c: Likewise.
25014 * io/rmdir.c: Likewise.
25015 * io/sendfile.c: Likewise.
25016 * io/sendfile64.c: Likewise.
25017 * io/statfs.c: Likewise.
25018 * io/statfs64.c: Likewise.
25019 * io/statvfs.c: Likewise.
25020 * io/statvfs64.c: Likewise.
25021 * io/symlink.c: Likewise.
25022 * io/symlinkat.c: Likewise.
25023 * io/ttyname.c: Likewise.
25024 * io/ttyname_r.c: Likewise.
25025 * io/umask.c: Likewise.
25026 * io/unlink.c: Likewise.
25027 * io/unlinkat.c: Likewise.
25028 * io/utime.c: Likewise.
25029 * io/utimensat.c: Likewise.
25030 * io/write.c: Likewise.
25031 * io/xmknod.c: Likewise.
25032 * io/xmknodat.c: Likewise.
25033 * io/xstat.c: Likewise.
25034 * io/xstat64.c: Likewise.
25035 * login/getpt.c: Likewise.
25036 * login/grantpt.c: Likewise.
25037 * login/unlockpt.c: Likewise.
25038 * math/e_acoshl.c: Likewise.
25039 * math/e_acosl.c: Likewise.
25040 * math/e_asinl.c: Likewise.
25041 * math/e_atan2l.c: Likewise.
25042 * math/e_atanhl.c: Likewise.
25043 * math/e_coshl.c: Likewise.
25044 * math/e_expl.c: Likewise.
25045 * math/e_fmodl.c: Likewise.
25046 * math/e_gammal_r.c: Likewise.
25047 * math/e_hypotl.c: Likewise.
25048 * math/e_j0l.c: Likewise.
25049 * math/e_j1l.c: Likewise.
25050 * math/e_jnl.c: Likewise.
25051 * math/e_lgammal_r.c: Likewise.
25052 * math/e_log10l.c: Likewise.
25053 * math/e_log2l.c: Likewise.
25054 * math/e_logl.c: Likewise.
25055 * math/e_powl.c: Likewise.
25056 * math/e_rem_pio2l.c: Likewise.
25057 * math/e_sinhl.c: Likewise.
25058 * math/e_sqrtl.c: Likewise.
25059 * math/fclrexcpt.c: Likewise.
25060 * math/fedisblxcpt.c: Likewise.
25061 * math/feenablxcpt.c: Likewise.
25062 * math/fegetenv.c: Likewise.
25063 * math/fegetexcept.c: Likewise.
25064 * math/fegetround.c: Likewise.
25065 * math/feholdexcpt.c: Likewise.
25066 * math/fesetenv.c: Likewise.
25067 * math/fesetround.c: Likewise.
25068 * math/feupdateenv.c: Likewise.
25069 * math/fgetexcptflg.c: Likewise.
25070 * math/fraiseexcpt.c: Likewise.
25071 * math/fsetexcptflg.c: Likewise.
25072 * math/ftestexcept.c: Likewise.
25073 * math/k_cosl.c: Likewise.
25074 * math/k_rem_pio2l.c: Likewise.
25075 * math/k_sinl.c: Likewise.
25076 * math/k_tanl.c: Likewise.
25077 * math/s_asinhl.c: Likewise.
25078 * math/s_atanl.c: Likewise.
25079 * math/s_cbrtl.c: Likewise.
25080 * math/s_erfl.c: Likewise.
25081 * math/s_expm1l.c: Likewise.
25082 * math/s_log1pl.c: Likewise.
25083 * math/s_tanhl.c: Likewise.
25084 * misc/acct.c: Likewise.
25085 * misc/brk.c: Likewise.
25086 * misc/chflags.c: Likewise.
25087 * misc/chroot.c: Likewise.
25088 * misc/fchflags.c: Likewise.
25089 * misc/fgetxattr.c: Likewise.
25090 * misc/flistxattr.c: Likewise.
25091 * misc/fremovexattr.c: Likewise.
25092 * misc/fsetxattr.c: Likewise.
25093 * misc/fsync.c: Likewise.
25094 * misc/ftruncate.c: Likewise.
25095 * misc/futimes.c: Likewise.
25096 * misc/futimesat.c: Likewise.
25097 * misc/getdomain.c: Likewise.
25098 * misc/getdtsz.c: Likewise.
25099 * misc/gethostid.c: Likewise.
25100 * misc/gethostname.c: Likewise.
25101 * misc/getloadavg.c: Likewise.
25102 * misc/getpagesize.c: Likewise.
25103 * misc/getsysstats.c: Likewise.
25104 * misc/getxattr.c: Likewise.
25105 * misc/gtty.c: Likewise.
25106 * misc/ioctl.c: Likewise.
25107 * misc/lgetxattr.c: Likewise.
25108 * misc/listxattr.c: Likewise.
25109 * misc/llistxattr.c: Likewise.
25110 * misc/lremovexattr.c: Likewise.
25111 * misc/lsetxattr.c: Likewise.
25112 * misc/lutimes.c: Likewise.
25113 * misc/madvise.c: Likewise.
25114 * misc/mincore.c: Likewise.
25115 * misc/mlock.c: Likewise.
25116 * misc/mlockall.c: Likewise.
25117 * misc/mmap.c: Likewise.
25118 * misc/mprotect.c: Likewise.
25119 * misc/msync.c: Likewise.
25120 * misc/munlock.c: Likewise.
25121 * misc/munlockall.c: Likewise.
25122 * misc/munmap.c: Likewise.
25123 * misc/preadv.c: Likewise.
25124 * misc/preadv64.c: Likewise.
25125 * misc/ptrace.c: Likewise.
25126 * misc/pwritev.c: Likewise.
25127 * misc/pwritev64.c: Likewise.
25128 * misc/readv.c: Likewise.
25129 * misc/reboot.c: Likewise.
25130 * misc/remap_file_pages.c: Likewise.
25131 * misc/removexattr.c: Likewise.
25132 * misc/revoke.c: Likewise.
25133 * misc/select.c: Likewise.
25134 * misc/setdomain.c: Likewise.
25135 * misc/setegid.c: Likewise.
25136 * misc/seteuid.c: Likewise.
25137 * misc/sethostid.c: Likewise.
25138 * misc/sethostname.c: Likewise.
25139 * misc/setregid.c: Likewise.
25140 * misc/setreuid.c: Likewise.
25141 * misc/setxattr.c: Likewise.
25142 * misc/sstk.c: Likewise.
25143 * misc/stty.c: Likewise.
25144 * misc/swapoff.c: Likewise.
25145 * misc/swapon.c: Likewise.
25146 * misc/sync.c: Likewise.
25147 * misc/syncfs.c: Likewise.
25148 * misc/syscall.c: Likewise.
25149 * misc/truncate.c: Likewise.
25150 * misc/ualarm.c: Likewise.
25151 * misc/usleep.c: Likewise.
25152 * misc/ustat.c: Likewise.
25153 * misc/utimes.c: Likewise.
25154 * misc/vhangup.c: Likewise.
25155 * misc/writev.c: Likewise.
25156 * posix/_exit.c: Likewise.
25157 * posix/alarm.c: Likewise.
25158 * posix/execve.c: Likewise.
25159 * posix/fexecve.c: Likewise.
25160 * posix/fork.c: Likewise.
25161 * posix/fpathconf.c: Likewise.
25162 * posix/getaddrinfo.c: Likewise.
25163 * posix/getegid.c: Likewise.
25164 * posix/geteuid.c: Likewise.
25165 * posix/getgid.c: Likewise.
25166 * posix/getgroups.c: Likewise.
25167 * posix/getlogin.c: Likewise.
25168 * posix/getlogin_r.c: Likewise.
25169 * posix/getpgid.c: Likewise.
25170 * posix/getpid.c: Likewise.
25171 * posix/getppid.c: Likewise.
25172 * posix/getresgid.c: Likewise.
25173 * posix/getresuid.c: Likewise.
25174 * posix/getsid.c: Likewise.
25175 * posix/getuid.c: Likewise.
25176 * posix/glob64.c: Likewise.
25177 * posix/nanosleep.c: Likewise.
25178 * posix/pathconf.c: Likewise.
25179 * posix/pause.c: Likewise.
25180 * posix/posix_madvise.c: Likewise.
25181 * posix/pread.c: Likewise.
25182 * posix/pread64.c: Likewise.
25183 * posix/pwrite.c: Likewise.
25184 * posix/pwrite64.c: Likewise.
25185 * posix/sched_getaffinity.c: Likewise.
25186 * posix/sched_getp.c: Likewise.
25187 * posix/sched_gets.c: Likewise.
25188 * posix/sched_primax.c: Likewise.
25189 * posix/sched_primin.c: Likewise.
25190 * posix/sched_rr_gi.c: Likewise.
25191 * posix/sched_setaffinity.c: Likewise.
25192 * posix/sched_setp.c: Likewise.
25193 * posix/sched_sets.c: Likewise.
25194 * posix/sched_yield.c: Likewise.
25195 * posix/setgid.c: Likewise.
25196 * posix/setlogin.c: Likewise.
25197 * posix/setpgid.c: Likewise.
25198 * posix/setresgid.c: Likewise.
25199 * posix/setresuid.c: Likewise.
25200 * posix/setsid.c: Likewise.
25201 * posix/setuid.c: Likewise.
25202 * posix/sleep.c: Likewise.
25203 * posix/spawni.c: Likewise.
25204 * posix/sysconf.c: Likewise.
25205 * posix/times.c: Likewise.
25206 * posix/wait.c: Likewise.
25207 * posix/wait3.c: Likewise.
25208 * posix/wait4.c: Likewise.
25209 * posix/waitpid.c: Likewise.
25210 * resolv/gai_sigqueue.c: Likewise.
25211 * resource/getpriority.c: Likewise.
25212 * resource/getrlimit.c: Likewise.
25213 * resource/getrusage.c: Likewise.
25214 * resource/nice.c: Likewise.
25215 * resource/setpriority.c: Likewise.
25216 * resource/setrlimit.c: Likewise.
25217 * resource/ulimit.c: Likewise.
25218 * rt/aio_cancel.c: Likewise.
25219 * rt/aio_fsync.c: Likewise.
25220 * rt/aio_read.c: Likewise.
25221 * rt/aio_sigqueue.c: Likewise.
25222 * rt/aio_suspend.c: Likewise.
25223 * rt/aio_write.c: Likewise.
25224 * rt/clock_getres.c: Likewise.
25225 * rt/clock_gettime.c: Likewise.
25226 * rt/clock_nanosleep.c: Likewise.
25227 * rt/clock_settime.c: Likewise.
25228 * rt/lio_listio.c: Likewise.
25229 * rt/mq_close.c: Likewise.
25230 * rt/mq_getattr.c: Likewise.
25231 * rt/mq_notify.c: Likewise.
25232 * rt/mq_open.c: Likewise.
25233 * rt/mq_receive.c: Likewise.
25234 * rt/mq_send.c: Likewise.
25235 * rt/mq_setattr.c: Likewise.
25236 * rt/mq_timedreceive.c: Likewise.
25237 * rt/mq_timedsend.c: Likewise.
25238 * rt/mq_unlink.c: Likewise.
25239 * rt/shm_open.c: Likewise.
25240 * rt/shm_unlink.c: Likewise.
25241 * rt/timer_create.c: Likewise.
25242 * rt/timer_delete.c: Likewise.
25243 * rt/timer_getoverr.c: Likewise.
25244 * rt/timer_gettime.c: Likewise.
25245 * rt/timer_settime.c: Likewise.
25246 * setjmp/__longjmp.c: Likewise.
25247 * setjmp/setjmp.c: Likewise.
25248 * signal/kill.c: Likewise.
25249 * signal/killpg.c: Likewise.
25250 * signal/raise.c: Likewise.
25251 * signal/sigaction.c: Likewise.
25252 * signal/sigaltstack.c: Likewise.
25253 * signal/sigblock.c: Likewise.
25254 * signal/sigignore.c: Likewise.
25255 * signal/sigintr.c: Likewise.
25256 * signal/signal.c: Likewise.
25257 * signal/sigpause.c: Likewise.
25258 * signal/sigpending.c: Likewise.
25259 * signal/sigqueue.c: Likewise.
25260 * signal/sigreturn.c: Likewise.
25261 * signal/sigset.c: Likewise.
25262 * signal/sigsetmask.c: Likewise.
25263 * signal/sigstack.c: Likewise.
25264 * signal/sigsuspend.c: Likewise.
25265 * signal/sigtimedwait.c: Likewise.
25266 * signal/sigvec.c: Likewise.
25267 * signal/sigwait.c: Likewise.
25268 * signal/sigwaitinfo.c: Likewise.
25269 * signal/sysv_signal.c: Likewise.
25270 * socket/accept.c: Likewise.
25271 * socket/accept4.c: Likewise.
25272 * socket/bind.c: Likewise.
25273 * socket/connect.c: Likewise.
25274 * socket/getpeername.c: Likewise.
25275 * socket/getsockname.c: Likewise.
25276 * socket/getsockopt.c: Likewise.
25277 * socket/isfdtype.c: Likewise.
25278 * socket/listen.c: Likewise.
25279 * socket/recv.c: Likewise.
25280 * socket/recvfrom.c: Likewise.
25281 * socket/recvmsg.c: Likewise.
25282 * socket/send.c: Likewise.
25283 * socket/sendmsg.c: Likewise.
25284 * socket/sendto.c: Likewise.
25285 * socket/setsockopt.c: Likewise.
25286 * socket/shutdown.c: Likewise.
25287 * socket/sockatmark.c: Likewise.
25288 * socket/socket.c: Likewise.
25289 * socket/socketpair.c: Likewise.
25290 * stdio-common/ctermid.c: Likewise.
25291 * stdio-common/cuserid.c: Likewise.
25292 * stdio-common/remove.c: Likewise.
25293 * stdio-common/rename.c: Likewise.
25294 * stdio-common/renameat.c: Likewise.
25295 * stdio-common/tempname.c: Likewise.
25296 * stdlib/getcontext.c: Likewise.
25297 * stdlib/makecontext.c: Likewise.
25298 * stdlib/setcontext.c: Likewise.
25299 * stdlib/swapcontext.c: Likewise.
25300 * stdlib/system.c: Likewise.
25301 * streams/fattach.c: Likewise.
25302 * streams/fdetach.c: Likewise.
25303 * streams/getmsg.c: Likewise.
25304 * streams/getpmsg.c: Likewise.
25305 * streams/putmsg.c: Likewise.
25306 * streams/putpmsg.c: Likewise.
25307 * sysdeps/unix/bsd/getpt.c: Likewise.
25308 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25309 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25310 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25313 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25315 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25316 * sysvipc/msgctl.c: Likewise.
25317 * sysvipc/msgget.c: Likewise.
25318 * sysvipc/msgrcv.c: Likewise.
25319 * sysvipc/msgsnd.c: Likewise.
25320 * sysvipc/semctl.c: Likewise.
25321 * sysvipc/semget.c: Likewise.
25322 * sysvipc/semop.c: Likewise.
25323 * sysvipc/semtimedop.c: Likewise.
25324 * sysvipc/shmat.c: Likewise.
25325 * sysvipc/shmctl.c: Likewise.
25326 * sysvipc/shmdt.c: Likewise.
25327 * sysvipc/shmget.c: Likewise.
25328 * termios/tcdrain.c: Likewise.
25329 * termios/tcflow.c: Likewise.
25330 * termios/tcflush.c: Likewise.
25331 * termios/tcgetattr.c: Likewise.
25332 * termios/tcgetpgrp.c: Likewise.
25333 * termios/tcsendbrk.c: Likewise.
25334 * termios/tcsetattr.c: Likewise.
25335 * termios/tcsetpgrp.c: Likewise.
25336 * time/adjtime.c: Likewise.
25337 * time/clock.c: Likewise.
25338 * time/getitimer.c: Likewise.
25339 * time/gettimeofday.c: Likewise.
25340 * time/setitimer.c: Likewise.
25341 * time/settimeofday.c: Likewise.
25342 * time/stime.c: Likewise.
25343 * time/time.c: Likewise.
25345 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25347 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25350 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25352 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25354 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25358 FE_TONEAREST before applying Dekker multiplication and Knuth
25359 addition. Clear inexact exceptions and check for exact zero
25360 results afterwards.
25361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25362 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25364 * math/libm-test.inc (fma_test): Add more tests.
25365 (fma_test_towardzero): Likewise.
25366 (fma_test_downward): Likewise.
25367 (fma_test_upward): Likewise.
25368 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25370 (libc_fesetround): New macro.
25371 (libc_fesetroundf): Likewise.
25372 (libc_fesetroundl): Likewise.
25373 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25375 (libc_fesetround_387): Likewise.
25376 (libc_fesetroundf): New macro.
25377 (libc_fesetround): Likewise.
25378 (libc_fesetroundl): Likewise.
25379 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25381 (libc_fesetroundf): New macro.
25382 (libc_fesetround): Likewise.
25383 (libc_fesetroundl): Likewise.
25384 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25385 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25386 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25388 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25389 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25391 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25392 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25394 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25398 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25399 integer constant usable in #if and use that to give value to enum
25401 (FE_DIVBYZERO): Likewise.
25402 (FE_UNDERFLOW): Likewise.
25403 (FE_OVERFLOW): Likewise.
25404 (FE_INVALID): Likewise.
25405 (FE_INVALID_SNAN): Likewise.
25406 (FE_INVALID_ISI): Likewise.
25407 (FE_INVALID_IDI): Likewise.
25408 (FE_INVALID_ZDZ): Likewise.
25409 (FE_INVALID_IMZ): Likewise.
25410 (FE_INVALID_COMPARE): Likewise.
25411 (FE_INVALID_SOFTWARE): Likewise.
25412 (FE_INVALID_SQRT): Likewise.
25413 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25414 (FE_TONEAREST): Likewise.
25415 (FE_TOWARDZERO): Likewise.
25416 (FE_UPWARD): Likewise.
25417 (FE_DOWNWARD): Likewise.
25418 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25419 (FE_DIVBYZERO): Likewise.
25420 (FE_OVERFLOW): Likewise.
25421 (FE_UNDERFLOW): Likewise.
25422 (FE_INEXACT): Likewise.
25423 (FE_TONEAREST): Likewise.
25424 (FE_DOWNWARD): Likewise.
25425 (FE_UPWARD): Likewise.
25426 (FE_TOWARDZERO): Likewise.
25427 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25428 (FE_UNDERFLOW): Likewise.
25429 (FE_OVERFLOW): Likewise.
25430 (FE_DIVBYZERO): Likewise.
25431 (FE_INVALID): Likewise.
25432 (FE_TONEAREST): Likewise.
25433 (FE_TOWARDZERO): Likewise.
25434 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25435 (FE_OVERFLOW): Likewise.
25436 (FE_UNDERFLOW): Likewise.
25437 (FE_DIVBYZERO): Likewise.
25438 (FE_INEXACT): Likewise.
25439 (FE_TONEAREST): Likewise.
25440 (FE_TOWARDZERO): Likewise.
25441 (FE_UPWARD): Likewise.
25442 (FE_DOWNWARD): Likewise.
25443 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25444 (FE_DIVBYZERO): Likewise.
25445 (FE_OVERFLOW): Likewise.
25446 (FE_UNDERFLOW): Likewise.
25447 (FE_INEXACT): Likewise.
25448 (FE_TONEAREST): Likewise.
25449 (FE_DOWNWARD): Likewise.
25450 (FE_UPWARD): Likewise.
25451 (FE_TOWARDZERO): Likewise.
25453 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25455 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25457 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25459 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25460 commands. Quote $PWD.
25461 (blacklist_exports): Don't use remove_newlines. Replace "declare
25463 (remove_newlines): Remove.
25465 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25467 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25468 * stdlib/stdlib.h (atof): Moved to ...
25469 * include/bits/stdlib-float.h: Here. New file.
25470 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25471 * stdlib/bits/stdlib-float.h: New file.
25472 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25474 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25477 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25479 * conform/conformtest.pl (@headers): Add fenv.h.
25480 * conform/data/fenv.h-data: New file.
25481 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25482 include of <math/fenv.h>.
25484 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25485 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25486 && !UNIX98]. Enables tests for XOPEN2K8.
25487 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25488 POSIX2008]: Likewise.
25490 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25491 (struct rusage): Do not expect type or its members.
25494 * math/math.h (FP_NAN): Define macro to integer constant usable in
25495 #if and use that to give value to enum constant.
25496 (FP_INFINITE): Likewise.
25497 (FP_ZERO): Likewise.
25498 (FP_SUBNORMAL): Likewise.
25499 (FP_NORMAL): Likewise.
25501 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25503 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25504 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25507 2012-11-02 Roland McGrath <roland@hack.frob.com>
25509 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25510 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25511 autoconf-time if not.
25512 * configure.in: Remove AC_PREREQ.
25514 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25516 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25517 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25518 of the internal implementation.
25520 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25522 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25523 except include of <misc/sys/syslog.h>.
25525 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25528 function returns with a NULL context exit with zero.
25530 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25532 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25534 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25536 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25537 (run_program_cmd): This.
25538 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25539 (tst_langinfo): New variable. Use it.
25541 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25543 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25544 floating point opcodes.
25546 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25548 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25551 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25553 * sysdeps/mach/hurd/powerpc: Remove directory.
25554 * sysdeps/mach/powerpc: Likewise.
25556 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25558 * scripts/check-local-headers.sh: Ignore c++ headers.
25560 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25562 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25563 __libc_cleanup_region_start argument.
25565 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25570 x * y using scaling, not as x * y + z.
25571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25573 * math/libm-test.inc (fma_test): Add more tests.
25574 (fma_test_towardzero): Likewise.
25575 (fma_test_downward): Likewise.
25576 (fma_test_upward): Likewise.
25578 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25580 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25582 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25584 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25587 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25589 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25591 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25598 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25601 Fix the order of the list for glibc 2.17.
25602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25605 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25609 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25613 for low part of x being zero before using __atanl (y).
25614 * math/libm-test.inc (atan2_test): Add another test.
25616 * manual/install.texi (Configuring and compiling): Document
25617 general use of test-wrapper and test-wrapper-env.
25618 * INSTALL: Regenerated.
25620 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25621 (__fma): Do not extract and scale down low bits on after-rounding
25622 systems when result rounded to normal precision would have normal
25624 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25625 (__fmal): Do not extract and scale down low bits on after-rounding
25626 systems when result rounded to normal precision would have normal
25628 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25629 (__fmal): Do not extract and scale down low bits on after-rounding
25630 systems when result rounded to normal precision would have normal
25632 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25634 (fma_test): Add more tests.
25635 (fma_test_towardzero): Likewise.
25636 (fma_test_downward): Likewise.
25637 (fma_test_upward): Likewise.
25639 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25641 * sysdeps/i386/tininess.h: Renamed to ...
25642 * sysdeps/x86/tininess.h: This.
25643 * sysdeps/x86_64/tininess.h: Removed.
25645 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25647 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25648 input. Use $(build-program-cmd).
25649 ($(objpfx)tst-array1-static.out): Likewise.
25650 ($(objpfx)tst-array2.out): Likewise.
25651 ($(objpfx)tst-array3.out): Likewise.
25652 ($(objpfx)tst-array4.out): Likewise.
25653 ($(objpfx)tst-array5.out): Likewise.
25654 ($(objpfx)tst-array5-static.out): Likewise.
25656 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25658 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25661 * nss/nsswitch.h (nss_interface_function): Provide new
25662 macro for use with NSS functions.
25663 * grp/initgroups.c: Use new macro.
25664 * nss/getXXbyYY.c: Likewise.
25665 * nss/getXXbyYY_r.c: Likewise.
25666 * nss/getXXent.c: Likewise.
25667 * nss/getXXent_r.c: Likewise.
25668 * sysdeps/posix/getaddrinfo.c: Likewise.
25670 2012-10-30 Andreas Jaeger <aj@suse.de>
25672 * po/ru.po: Update Russion translation from translation project.
25674 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25679 result and shift together with sticky bit instead of replicating
25680 round-to-nearest rounding.
25681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25683 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25684 missing underflow exceptions.
25685 (fma_test_towardzero): Add more tests.
25686 (fma_test_downward): Likewise.
25687 (fma_test_upward): Likewise.
25690 * sysdeps/generic/tininess.h: New file.
25691 * sysdeps/i386/tininess.h: Likewise.
25692 * sysdeps/sh/tininess.h: Likewise.
25693 * sysdeps/x86_64/tininess.h: Likewise.
25694 * stdlib/tst-strtod-underflow.c: Likewise.
25695 * stdlib/tst-tininess.c: Likewise.
25696 * stdlib/strtod_l.c: Include <tininess.h>.
25697 (round_and_return): Do not set errno for exact underflow cases.
25698 Force an underflow exception when setting errno for underflow.
25699 Determine underflow based on rounding to normal precision if
25700 TININESS_AFTER_ROUNDING.
25701 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25702 ERANGE for exact underflow cases.
25703 * stdlib/Makefile (tests): Add tst-tininess and
25704 tst-strtod-underflow.
25705 ($(objpfx)tst-tininess): Use $(link-libm).
25706 ($(objpfx)tst-strtod-underflow): Likewise.
25708 2012-10-30 Andreas Jaeger <aj@suse.de>
25711 * elf/Makefile (tests): Remove conditional for have-initfini-array
25712 since this is now always required and the variable does not exist
25714 (tests-static): Likewise.
25715 (modules-names): Likewise.
25717 * po/eo.po: Add Esperanto translation from translation project.
25719 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25720 merged with constructor/destructor.
25721 (init_array): Likewise.
25722 * elf/tst-array2dep.c (fini_array): Likewise.
25723 (init_array): Likewise.
25725 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25727 * manual/message.texi: Delete @cartouche tags.
25729 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25731 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25733 * sysdeps/mach/hurd/fsync.c: Likewise.
25735 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25736 [_POSIX_REALTIME_SIGNALS]: Change condition to
25737 [_POSIX_REALTIME_SIGNALS > 0].
25739 2012-10-27 Andreas Jaeger <aj@suse.de>
25741 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25742 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25743 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25744 [__WORDSIZE != 64]: Likewise.
25746 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25748 * iconvdata/tst-table.sh: Remove ${SHELL}.
25749 * iconvdata/tst-tables.sh: Likewise.
25751 2012-10-25 David S. Miller <davem@davemloft.net>
25753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25754 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25759 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25760 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25761 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25764 2012-10-25 Roland McGrath <roland@hack.frob.com>
25766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25767 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25770 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25771 Jim Blandy <jimb@codesourcery.com>
25773 * scripts/cross-test-ssh.sh: New file.
25774 * manual/install.texi (Configuring and compiling): Document use of
25776 * INSTALL: Regenerated.
25778 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25780 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25783 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25785 * Makeconfig (run-program-prefix): Fix comment.
25787 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25788 Jim Blandy <jimb@codesourcery.com>
25790 * Makeconfig (test-wrapper): New variable,
25791 (test-wrapper-env): Likewise.
25792 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25793 (run-built-tests): Define to yes.
25794 (run-program-prefix): Use $(test-wrapper).
25795 (built-program-cmd): Likewise.
25796 * Rules (make-test-out): Use $(test-wrapper-env) and
25797 $(host-built-program-cmd).
25798 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25799 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25801 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25802 $(test-wrapper-env) to tst-rtld-load-self.sh.
25803 ($(objpfx)order2.out): Use $(test-wrapper).
25804 ($(objpfx)tst-initorder.out): Likewise.
25805 ($(objpfx)tst-initorder2.out): Likewise.
25806 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25807 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25808 (test_wrapper_env): New variable. Use it to run ld.so.
25809 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25810 Use it to run ld.so.
25811 (test_wrapper_env): Likewise.
25812 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25813 $(test-wrapper) to run-iconv-test.sh.
25814 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25815 (ICONV): Use $test_wrapper.
25816 * posix/Makefile ($(objpfx)globtest.out): Pass
25817 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25818 globtest.sh, not $(run-program-prefix).
25819 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25820 (test_wrapper): Likewise.
25821 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25822 set together with run_via_rtld_prefix.
25823 (run_program_prefix): Define in terms of test_wrapper and
25824 run_via_rtld_prefix.
25826 2012-10-24 Roland McGrath <roland@hack.frob.com>
25828 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25829 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25833 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25834 Declare __clock_getres, __clock_gettime, __clock_settime,
25835 __clock_nanosleep, and __clock_getcpuclockid.
25836 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25837 Remove librt_hidden_def (clock_gettime).
25838 * sysdeps/unix/clock_gettime.c: Likewise.
25839 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25841 * rt/clock_getres.c: Define __clock_getres as an alias.
25842 * sysdeps/posix/clock_getres.c: Likewise.
25843 * rt/clock_settime.c: Define __clock_settime as an alias.
25844 * sysdeps/unix/clock_settime.c: Likewise.
25845 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25846 * sysdeps/unix/clock_nanosleep.c: Likewise.
25847 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25848 * rt/clock-compat.c: New file.
25849 * rt/Makefile (librt-routines): Add clock-compat and move
25850 $(clock-routines) to ...
25851 (routines): ... here, new variable.
25852 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25853 Don't add get_clockfreq here.
25854 * rt/Versions (libc: GLIBC_2.17): New version set.
25855 Add clock_* symbols here.
25856 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25858 (GLIBC_2.17): Add clock_* symbols.
25859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25870 * NEWS: Mention the move.
25872 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25873 Use __open, __read, __close rather than their public counterparts.
25874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25875 (__get_clockfreq_via_cpuinfo): Likewise.
25876 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25877 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25879 * config.h.in (HAVE_IFUNC): New #undef.
25880 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25882 * configure: Regenerated.
25884 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25886 * configure.in: Move READELF check to start of file.
25887 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25888 libc_cv_asm_gnu_indirect_function in the process.
25889 * configure: Regenerated.
25891 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25893 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25894 send the output to /dev/null.
25895 (libc_cv_cc_with_libunwind): Likewise.
25896 (libc_cv_as_noexecstack): Likewise.
25897 * configure: Regenerate.
25899 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25901 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25903 * posix/globtest.sh (TMPDIR): Do not set.
25904 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25905 (testout): Likewise.
25907 2012-10-24 Andreas Jaeger <aj@suse.de>
25909 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25910 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25911 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25912 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25913 posix_fadvise64, posix_fallocate64.
25915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25916 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25917 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25919 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25921 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25924 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25925 <bits/fcntl-linux.h>.
25926 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25928 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25929 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25930 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25931 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25932 [__WORDSIZE != 64]: Likewise.
25934 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25936 * Makeconfig (run-built-tests): New variable.
25937 * Rules [$(cross-compiling) = yes]: Change condition to
25938 [$(run-built-tests) = no].
25939 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25940 to [$(run-built-tests) = yes].
25941 * elf/Makefile [$(cross-compiling) = no]: Likewise
25942 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25943 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25944 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25945 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25946 * io/Makefile [$(cross-compiling) = no]: Likewise.
25947 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25948 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25949 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25950 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25951 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25952 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25953 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25954 * string/Makefile [$(cross-compiling) = no]: Likewise.
25956 * posix/Makefile ($(objpfx)globtest.out): Pass
25957 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25958 $(rtld-installed-name).
25959 * posix/globtest.sh (elf_objpfx): Remove variable.
25960 (rtld_installed_name): Likewise.
25961 (library_path): Likewise.
25962 (run_program_prefix): New variable. Use for running globtest
25965 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25966 Joseph Myers <joseph@codesourcery.com>
25968 * Makeconfig (host-built-program-cmd): New variable.
25969 * elf/Makefile (tst-stackguard1-ARGS): Use
25970 $(host-built-program-cmd).
25971 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25972 (tst-spawn-ARGS): Likewise.
25973 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25975 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25976 Jim Blandy <jimb@codesourcery.com>
25978 * Makeconfig (run-via-rtld-prefix): New variable.
25979 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25980 (built-program-cmd): Likewise.
25982 2012-10-22 Andreas Jaeger <aj@suse.de>
25984 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25985 __O_RSYNC if it exists, otherwise to O_SYNC.
25987 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25988 Joseph Myers <joseph@codesourcery.com>
25990 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25992 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25994 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25997 2012-10-22 Andreas Jaeger <aj@suse.de>
25999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26004 bits/fcntl-linux.h.
26006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26007 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26014 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26015 Joseph Myers <joseph@codesourcery.com>
26017 * config.make.in (NM): New variable.
26019 2012-10-21 Andreas Jaeger <aj@suse.de>
26021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26022 definitions and declarations that are provided by
26023 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26025 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26028 * elf/Makefile (tests-static): Add tst-leaks1-static.
26029 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26030 ($(objpfx)tst-leaks1-static): New rule.
26031 ($(objpfx)tst-leaks1-static-mem): Likewise.
26032 (tst-leaks1-static-ENV): New macro.
26033 * elf/dl-open.c (dl_open_worker): Check the main application
26034 only if SHARED is defined.
26035 * elf/tst-leaks1-static.c: New file.
26037 2012-10-20 Andreas Jaeger <aj@suse.de>
26039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26040 generic values for Linux.
26041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26042 and declarations that are provided by <bits/fcntl-linux.h> and
26043 include <bits/fcntl-linux.h>.
26044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26047 2012-10-20 Roland McGrath <roland@hack.frob.com>
26049 * io/fcntl.h: Move include of <bits/types.h> to the top and
26050 include it unconditionally.
26052 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26054 * wcsmbs/Makefile (tests-ifunc): New variable.
26055 (tests): Add $(tests-ifunc).
26056 * wcsmbs/test-wcschr-ifunc.c: New file.
26057 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26058 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26059 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26060 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26061 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26063 * string/Makefile (tests-ifunc): New variable.
26064 (tests): Add $(tests-ifunc).
26065 * string/test-memccpy.c (TEST_NAME): New macro.
26066 * string/test-memchr.c (TEST_NAME): Likewise.
26067 * string/test-memcmp.c (TEST_NAME): Likewise.
26068 * string/test-memcpy.c (TEST_NAME): Likewise.
26069 * string/test-memmem.c (TEST_NAME): Likewise.
26070 * string/test-memmove.c (TEST_NAME): Likewise.
26071 * string/test-memset.c (TEST_NAME): Likewise.
26072 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26073 * string/test-stpcpy.c (TEST_NAME): Likewise.
26074 * string/test-stpncpy.c (TEST_NAME): Likewise.
26075 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26076 * string/test-strcasestr.c (TEST_NAME): Likewise.
26077 * string/test-strcat.c (TEST_NAME): Likewise.
26078 * string/test-strchr.c (TEST_NAME): Likewise.
26079 * string/test-strcmp.c(TEST_NAME): Likewise.
26080 * string/test-strcpy.c (TEST_NAME): Likewise.
26081 * string/test-strcspn.c (TEST_NAME): Likewise.
26082 * string/test-strlen.c (TEST_NAME): Likewise.
26083 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26084 * string/test-strncmp.c (TEST_NAME): Likewise.
26085 * string/test-strncpy.c (TEST_NAME): Likewise.
26086 * string/test-strnlen.c (TEST_NAME): Likewise.
26087 * string/test-strpbrk.c (TEST_NAME): Likewise.
26088 * string/test-strrchr.c (TEST_NAME): Likewise.
26089 * string/test-strspn.c (TEST_NAME): Likewise.
26090 * string/test-strstr.c (TEST_NAME): Likewise.
26091 * string/test-bcopy-ifunc.c: New file.
26092 * string/test-bzero-ifunc.c: Likewise.
26093 * string/test-memccpy-ifunc.c: Likewise.
26094 * string/test-memchr-ifunc.c: Likewise.
26095 * string/test-memcmp-ifunc.c: Likewise.
26096 * string/test-memcpy-ifunc.c: Likewise.
26097 * string/test-memmem-ifunc.c: Likewise.
26098 * string/test-memmove-ifunc.c: Likewise.
26099 * string/test-mempcpy-ifunc.c: Likewise.
26100 * string/test-memset-ifunc.c: Likewise.
26101 * string/test-rawmemchr-ifunc.c: Likewise.
26102 * string/test-stpcpy-ifunc.c: Likewise.
26103 * string/test-stpncpy-ifunc.c: Likewise.
26104 * string/test-strcasecmp-ifunc.c: Likewise.
26105 * string/test-strcasestr-ifunc.c: Likewise.
26106 * string/test-strcat-ifunc.c: Likewise.
26107 * string/test-strchr-ifunc.c: Likewise.
26108 * string/test-strchrnul-ifunc.c: Likewise.
26109 * string/test-strcmp-ifunc.c: Likewise.
26110 * string/test-strcpy-ifunc.c: Likewise.
26111 * string/test-strcspn-ifunc.c: Likewise.
26112 * string/test-strlen-ifunc.c: Likewise.
26113 * string/test-strncasecmp-ifunc.c: Likewise.
26114 * string/test-strncat-ifunc.c: Likewise.
26115 * string/test-strncmp-ifunc.c: Likewise.
26116 * string/test-strncpy-ifunc.c: Likewise.
26117 * string/test-strnlen-ifunc.c: Likewise.
26118 * string/test-strpbrk-ifunc.c: Likewise.
26119 * string/test-strrchr-ifunc.c: Likewise.
26120 * string/test-strspn-ifunc.c: Likewise.
26121 * string/test-strstr-ifunc.c: Likewise.
26123 * debug/Makefile (tests-ifunc): New variable.
26124 (tests): Add $(tests-ifunc).
26125 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26126 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26127 * debug/test-stpcpy_chk-ifunc.c: New file.
26128 * debug/test-strcpy_chk-ifunc.c: Likewise.
26130 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26133 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26134 header is not read in.
26136 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26138 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26139 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26140 directly. Pass built executable to script as
26141 $(built-program-cmd).
26142 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26143 $testprogram without using LD_LIBRARY_PATH and $ldso.
26145 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26146 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26147 $(rtld-installed-name).
26148 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26149 (rtld_installed_name): Likewise.
26150 (library_path): Likewise.
26151 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26152 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26153 $(run-program-prefix) to tst-tables.sh.
26154 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26155 it to run tst-table-from and tst-table-to.
26156 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26157 Pass it to tst-table.sh.
26158 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26159 $(run-program-prefix) to tst-gettext.sh.
26160 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26162 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26164 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26165 to run tst-gettext.
26166 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26167 to run tst-gettext2.
26168 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26169 to run tst-translit.
26170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26171 $(run-program-prefix) to tst-mtrace.sh.
26172 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26174 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26175 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26176 $(rtld-installed-name).
26177 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26178 (rtld_installed_name): Likewise.
26179 (run_program_prefix): New variable. Use it to run wordexp-test.
26181 * Makeconfig (ARCH): Remove all definitions.
26182 (machine): Likewise.
26183 [ARCH]: Remove conditional code.
26184 [!objdir]: Give error.
26185 [!objdir] (objpfx): Remove.
26186 [!objdir] (common-objpfx): Likewise.
26187 [!objdir] (common-objdir): Likewise.
26188 * configure.in (config_makefile): Remove. Hardcode Makefile in
26189 AC_CONFIG_FILES call.
26190 * configure: Regenerated.
26193 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26195 (testout): Likewise.
26197 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26198 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26199 $(rtld-installed-name).
26200 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26201 (rtld_installed_name): Likwise.
26202 (runit): Remove function.
26203 (run_getconf): New variable, Use it for running getconf binary.
26205 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26208 * string/test-memmem.c (check_result): New function.
26209 (do_one_test): Use it.
26210 (check1): New function.
26211 (test_main): Use it.
26213 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26215 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26217 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26219 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26220 (_G_LSEEK64): Likewise.
26221 (_G_MMAP64): Likewise.
26222 (_G_FSTAT64): Likewise.
26223 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26224 (_G_LSEEK64): Likewise.
26225 (_G_MMAP64): Likewise.
26226 (_G_FSTAT64): Likewise.
26227 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26228 unconditional. Call __mmap64 directly.
26229 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26230 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26231 __lseek64 directly.
26232 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26233 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26235 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26236 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26237 __lseek64 directly.
26238 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26239 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26240 __lseek64 directly.
26241 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26242 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26243 __lseek64 directly.
26244 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26245 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26246 __fxstat64 directly.
26247 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26248 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26250 (freopen64) [!_G_OPEN64]: Remove conditional code.
26251 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26253 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26254 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26256 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26257 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26259 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26260 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26262 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26263 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26265 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26266 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26268 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26269 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26271 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26273 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26276 * manual/memory.texi (Malloc Tunable Parameters): Add note
26277 about free list pointers overwriting some perturb bytes.
26278 Wording suggested by Roland McGrath.
26280 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26282 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26283 (lgamma_test): Likewise.
26284 (tgamma_test): Likewise.
26286 2012-10-16 Florian Weimer <fweimer@redhat.com>
26289 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26290 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26292 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26294 * NEWS: Mention BZ #14716.
26295 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26296 when removing AVAILABLE1_USES_J macro.
26298 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26300 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26301 (__bswap_64): __uint64_t for unsigned 64-bit int.
26303 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26305 * include/string.h (memmem): Declare libc hidden alias.
26306 * string/memmem.c (memmem): Define libc hidden alias.
26307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26308 __read, __close instead of open, read, close.
26310 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26313 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26315 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26316 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26317 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26319 (__rawmemchr_sse2): Likewise.
26320 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26321 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26322 (__strchr_sse2): Likewise.
26323 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26324 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26325 (__strcasecmp_sse2): Likewise.
26326 (__strncasecmp_sse2): Likewise.
26327 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26328 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26329 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26330 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26331 (__strrchr_sse2): Likewise.
26332 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26334 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26335 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26336 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26337 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26338 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26339 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26342 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26343 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26344 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26345 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26346 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26347 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26348 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26349 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26350 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26351 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26352 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26353 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26354 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26355 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26356 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26357 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26358 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26360 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26361 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26362 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26363 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26365 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26367 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26368 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26369 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26370 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26372 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26374 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26375 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26376 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26377 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26379 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26380 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26381 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26382 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26383 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26384 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26385 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26386 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26387 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26388 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26389 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26390 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26391 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26392 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26393 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26395 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26396 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26397 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26398 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26400 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26401 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26402 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26404 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26405 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26406 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26407 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26408 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26409 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26410 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26411 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26412 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26413 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26414 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26415 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26416 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26417 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26418 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26419 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26421 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26422 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26423 * include/ifunc-impl-list.h: New file.
26424 * misc/ifunc-impl-list.c: Likewise.
26425 * misc/Makefile (routines): Add ifunc-impl-list.
26426 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26427 * string/test-string.h: Include <ifunc-impl-list.h>.
26428 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26429 TEST_NAME]: New variables.
26430 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26432 (test_init): Call __libc_ifunc_impl_list to initialize
26433 func_list if TEST_IFUNC and TEST_NAME are defined.
26435 * string/Makefile (strop-tests): Add bcopy and bzero.
26436 * string/test-bcopy.c: New file.
26437 * string/test-bzero.c: Likewise.
26438 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26440 * string/test-memset.c: Support bzero test if TEST_BZERO is
26442 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26444 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26446 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26449 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26451 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26452 * configure: Regenerated.
26454 * Makeconfig (+link-static-before-libc): Don't include
26455 $(link-static-libc).
26457 * libio/libio.h (_IO_pos_t): Remove.
26459 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26461 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26464 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26466 * crypt/crypt-entry.c: Include fips-private.h.
26467 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26468 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26469 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26470 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26472 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26474 * crypt/crypt-private.h: Include stdbool.h.
26475 (_ufc_setup_salt_r): Return bool.
26476 * crypt/crypt-entry.c: Include errno.h.
26477 (__crypt_r): Return NULL with EINVAL for bad salt.
26478 * crypt/crypt_util.c (bad_for_salt): New.
26479 (_ufc_setup_salt_r): Check that salt is long enough and within
26480 the specified alphabet.
26481 * crypt/badsalttest.c: New file.
26482 * crypt/Makefile (tests): Add it.
26483 ($(objpfx)badsalttest): New.
26485 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26487 * NEWS: Add entry for BZ #14602.
26489 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26491 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26493 * math/libm-test.inc: Update comment listing what functions and
26495 (isgreater_test): New function.
26496 (isgreaterequal_test): Likewise.
26497 (isless_test): Likewise.
26498 (islessequal_test): Likewise.
26499 (islessgreater_test): Likewise.
26500 (isunordered_test): Likewise.
26501 (main): Call the new functions.
26503 2012-10-09 Roland McGrath <roland@hack.frob.com>
26505 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26506 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26507 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26508 * sysdeps/i386/configure: Regenerated.
26509 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26510 * sysdeps/mach/configure: Regenerated.
26511 * sysdeps/mach/hurd/configure: Regenerated.
26512 * sysdeps/powerpc/configure: Regenerated.
26513 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26514 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26515 * sysdeps/s390/s390-32/configure: Regenerated.
26516 * sysdeps/s390/s390-64/configure: Regenerated.
26517 * sysdeps/sh/configure: Regenerated.
26518 * sysdeps/sparc/configure: Regenerated.
26519 * sysdeps/unix/sysv/linux/configure: Regenerated.
26520 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26521 * sysdeps/x86_64/configure: Regenerated.
26523 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26524 defined. Don't check if MAP is NULL.
26526 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26528 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26529 (_G_stat64): Likewise.
26530 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26531 (_G_stat64): Likewise.
26532 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26533 instead of struct _G_stat64.
26534 * libio/fileops.c (mmap_remap_check): Likewise.
26535 (decide_maybe_mmap): Likewise.
26536 (_IO_new_file_seekoff): Likewise.
26537 (_IO_file_stat): Likewise.
26538 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26540 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26541 instead of struct _G_stat64.
26542 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26544 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26547 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26549 (CHECK_EOL): New macro.
26550 (two_way_short_needle): Check beginning of haystack for EOL. Use
26552 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26553 Replace with CHECK_EOL.
26554 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26555 Replace with CHECK_EOL.
26557 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26559 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26561 * math/libm-test.inc: Update comment listing what functions and
26563 (finite_test): New function.
26564 (isinf_test): Likewise.
26565 (isnan_test): Likewise.
26566 (fpclassify_test): Test subnormal input.
26567 (isfinite_test): Likewise.
26568 (isnormal_test): Likewise.
26569 (main): Call the new functions.
26571 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26574 * Makerules (%.dynsym): Force C locale when running
26575 $(OBJDUMP) --dynamic-syms.
26577 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26579 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26582 2012-10-06 David S. Miller <davem@davemloft.net>
26584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26585 upper 32-bits of the length value in %o2 since we use branch-on-register
26586 tests which consider the entire 64-bit register.
26588 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26590 * string/test-strstr.c (check2): Add a test for page boundary.
26592 2012-10-05 David S. Miller <davem@davemloft.net>
26594 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26595 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26597 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26599 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26600 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26601 and bzero when HWCAP_SPARC_CRYPTO is present.
26603 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26606 * string/test-strstr.c (check2): New function.
26607 (test_main): Call check2.
26609 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26611 * string/bug-strcasestr1.c (do_test): Moved to ...
26612 * string/test-strcasestr.c (check1): Here. New function.
26613 (do_one_test): Break out result checking code into ...
26614 (check_result): This. New function.
26615 (do_one_test): Call check_result.
26616 (test_main): Call check1.
26617 * string/bug-strchr1.c (do_test): Moved to ...
26618 * string/test-strchr.c (check1): Here. New function.
26619 (do_one_test): Break out result checking code into ...
26620 (check_result): This. New function.
26621 (do_one_test): Call check_result.
26622 (test_main): Call check1.
26623 * string/bug-strstr1.c (main): Moved to ...
26624 * string/test-strstr.c (check1): Here. New function.
26625 (do_one_test): Break out result checking code into ...
26626 (check_result): This. New function.
26627 (do_one_test): Call check_result.
26628 (test_main): Call check1.
26629 * string/bug-strcasestr1.c: Removed.
26630 * string/bug-strchr1.c: Likewise.
26631 * string/bug-strstr1.c: Likewise.
26633 * elf/Makefile (dl-routines): Add hwcaps.
26634 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26635 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26636 (_dl_important_hwcaps): Moved to ...
26637 * elf/dl-hwcaps.c: Here. New file.
26638 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26641 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26642 if IS_IN_rtld isn't defined.
26644 * elf/dl-support.c (_dl_sysinfo_map): New.
26645 Include "get-dynamic-info.h" and "setup-vdso.h".
26646 (_dl_non_dynamic_init): Call setup_vdso.
26647 * elf/dynamic-link.h: Don't include <assert.h>.
26648 (elf_get_dynamic_info): Moved to ...
26649 * elf/get-dynamic-info.h: Here. New file.
26650 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26651 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26652 * elf/setup-vdso.h: Here. New file.
26653 * elf/rtld.c: Include "setup-vdso.h".
26654 (dl_main): Call setup_vdso.
26656 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26658 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26659 creal in comment listing functions tested. List finite, isinf,
26660 isnan, isless, islessequal, isgreater, isgreaterequal,
26661 islessgreater, isunordered, lgamma_r and pow10 as functions and
26662 macros not tested. Mention which functions not tested are aliases
26663 for other functions. Fix typo. Note that signs of NaNs are not
26666 * scripts/config.guess: Update from config.git.
26667 * scripts/config.sub: Likewise.
26669 2012-10-04 Roland McGrath <roland@hack.frob.com>
26671 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26672 * misc/madvise.c (madvise): Renamed to __madvise.
26673 Make madvise a weak alias.
26674 * include/sys/mman.h: Declare __madvise.
26675 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26676 * sysdeps/unix/syscalls.list
26677 (madvise): Make __madvise the strong name, and madvise a weak alias.
26678 * sysdeps/unix/sysv/linux/syscalls.list
26679 (madvise, mmap): Remove redundant entries.
26680 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26681 * malloc/malloc.c (mtrim): Likewise.
26682 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26684 2012-10-03 Roland McGrath <roland@hack.frob.com>
26686 * sysdeps/mach/hurd/dl-cache.c: File removed.
26687 * config.h.in (USE_LDCONFIG): New #undef.
26688 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26689 * configure: Regenerated.
26690 * elf/Makefile (dl-routines): Add dl-cache only under
26691 [$(use-ldconfig) = yes].
26692 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26693 cache on [USE_LDCONFIG].
26694 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26696 * elf/rtld.c (dl_main): Likewise.
26698 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26700 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26701 _SC_LEVEL4_CACHE_LINESIZE.
26703 2012-10-03 Roland McGrath <roland@hack.frob.com>
26705 * sysdeps/unix/bsd/confstr.h: File removed.
26707 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26709 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26712 2012-10-02 Roland McGrath <roland@hack.frob.com>
26714 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26715 Make 'mapoff' field ElfW(Off) rather than off_t.
26717 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26719 * nscd/Makefile: Remove nscd-cflags and all its users.
26720 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26721 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26724 * malloc.c (malloc_printerr): Clarify error message.
26726 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26730 Set bit_FMA_Usable if FMA is supported.
26731 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26733 (bit_FMA4_Usable): Updated.
26734 (index_FMA_Usable): New macro.
26735 (CPUID_FMA): Likewise
26736 (HAS_FMA): Defined with bit_FMA_Usable.
26738 2012-10-01 Roland McGrath <roland@hack.frob.com>
26740 * bits/types.h (__swblk_t): Type removed.
26741 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26742 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26743 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26744 (__SWBLK_T_TYPE): Likewise.
26745 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26746 (__SWBLK_T_TYPE): Likewise.
26747 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26748 (__SWBLK_T_TYPE): Likewise.
26749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26750 (__SWBLK_T_TYPE): Likewise.
26752 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26753 Honza Horak <hhorak@redhat.com>
26755 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26756 (xdr_mapname): Use YPMAXMAP as maxsize.
26757 (xdr_peername): Use YPMAXPEER as maxsize.
26758 (xdr_keydat): Use YPAXRECORD as maxsize.
26759 (xdr_valdat): Use YPMAXRECORD as maxsize.
26761 2012-10-01 Roland McGrath <roland@hack.frob.com>
26763 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26765 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26766 * csu/init-first.c: ... here.
26767 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26768 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26769 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26770 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26771 * sysdeps/i386/init-first.c: File removed.
26772 * sysdeps/sh/init-first.c: File removed.
26774 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26778 if x * y might underflow to zero and z is zero.
26779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26781 * math/libm-test.inc (min_subnorm_value): New variable.
26782 (fma_test): Add more tests.
26783 (fma_test_towardzero): Likewise.
26784 (fma_test_downward): Likewise
26785 (fma_test_upward): Likewise.
26786 (initialize): Set min_subnorm_value.
26788 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26793 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26794 mode for addition resulting in exact zero.
26795 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26798 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26800 * math/libm-test.inc (fma_test): Add more tests.
26801 (fma_test_towardzero): New function.
26802 (fma_test_downward): Likewise.
26803 (fma_test_upward): Likewise.
26804 (main): Call the new functions.
26806 2012-09-28 David S. Miller <davem@davemloft.net>
26808 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26810 2012-09-28 Roland McGrath <roland@hack.frob.com>
26812 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26813 instead of SIGALRM.
26815 * sysdeps/gnu/_G_config.h: Moved to ...
26816 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26817 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26818 * sysdeps/generic/_G_config.h: ... here.
26820 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26822 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26824 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26825 Conditionalize target on [libnss_test1.so-version].
26827 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26829 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26830 (elfobjdir): Move out of conditionals.
26832 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26833 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26834 (__nss_lookup_function): Conditionalize label remove_from_tree on
26835 [!DO_STATIC_NSS || SHARED], matching its only use.
26837 2012-09-28 David S. Miller <davem@davemloft.net>
26839 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26840 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26842 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26844 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26846 when HWCAP_SPARC_CRYPTO is present.
26848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26850 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26852 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26855 * stdio-common/vfprintf.c (process_string_arg): Revert
26858 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26860 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26862 * stdio-common/tst-sprintf.c: Include <locale.h>
26863 (main): Test sprintf's handling of incomplete multibyte
26866 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26868 * elf/dl-runtime.c (VERSYMIDX): Removed.
26869 * elf/dl-version.c (VERSYMIDX): Likewise.
26870 * elf/do-rel.h (VERSYMIDX): Likewise.
26871 (VALIDX): Likewise.
26872 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26873 * elf/rtld.c (VALIDX): Likewise.
26874 (ADDRIDX): Likewise.
26875 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26876 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26877 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26878 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26879 (VALIDX): Likewise.
26880 (ADDRIDX): Likewise.
26882 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26884 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26886 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26889 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26891 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26892 addresses are in the same scope as 192.0.2/24.
26893 * posix/gai.conf: Document new scope table defaults.
26895 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26898 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26899 for ftell. Compute offsets from write pointers instead.
26900 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26902 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26905 * libio/Makefile (tests): New test case tst-fseek.
26906 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26907 combination works in wide mode.
26908 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26909 state when the external buffer state changes.
26911 2012-09-27 David S. Miller <davem@davemloft.net>
26914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26915 pass reloc->r_addend in as the 'high' argument to
26916 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26920 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26922 * rt/tst-aio2.c: Include <pthread.h>.
26923 * rt/tst-aio3.c: Likewise.
26925 2012-09-27 Steve Ellcey <sellcey@mips.com>
26927 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26929 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26931 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26932 contents on [SHARED].
26934 2012-09-26 Marek Polacek <polacek@redhat.com>
26938 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26939 for C++ and GCC <4.3 as well as for non GCC compilers.
26941 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26945 2012-09-25 Roland McGrath <roland@hack.frob.com>
26947 * Makefile.in (all, install): Declare with .PHONY.
26948 Reported by Michael Hope <michael.hope@linaro.org>.
26950 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26952 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26953 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26957 (sydep_routines): Add the new and the internal functions.
26958 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26959 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26961 (GLIBC_2.17): Add the new function.
26962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26963 (GLIBC_2.17): Likewise.
26964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26965 (GLIBC_2.17): Likewise.
26966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26967 (GLIBC_2.17): Likewise.
26968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26970 2012-09-25 Alan Modra <amodra@gmail.com>
26972 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26973 Add release barrier before setting once_control to say
26974 initialisation is done. Add hints on lwarx. Use macro in
26976 (clear_once_control): Add release barrier.
26978 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26981 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26983 * math/s_clog10.c (__clog10): Likewise.
26984 * math/s_clog10f.c (__clog10f): Likewise.
26985 * math/s_clog10l.c (__clog10l): Likewise.
26986 * math/s_clogf.c (__clogf): Likewise.
26987 * math/s_clogl.c (__clogl): Likewise.
26988 * math/Makefile (libm-calls): Add x2y2m1.
26989 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26990 (__x2y2m1): Likewise.
26991 (__x2y2m1l): Likewise.
26992 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26993 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26994 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26995 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26996 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26997 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26998 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26999 * sysdeps/i386/fpu/libm-test-ulps: Update.
27000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27004 int as type of variable DEPTH.
27005 (glob): Use size_t instead of int as type of variables NEWCOUNT
27008 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27010 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27011 Add s_sincosf-sse2.
27012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27013 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27014 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27015 macros for using routine as __sincosf_ia32.
27016 Use macro for function declaration and weak_alias.
27017 * sysdeps/i386/fpu/libm-test-ulps: Update.
27019 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27022 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27023 subnormal argument.
27024 * math/s_cexpf.c (__cexpf): Likewise.
27025 * math/s_csinf.c (__csinf): Likewise.
27026 * math/s_csinhf.c (__csinhf): Likewise.
27027 * math/s_ctanf.c (__ctanf): Likewise.
27028 * math/s_ctanhf.c (__ctanhf): Likewise.
27029 * math/s_ccosh.c (__ccoshf): Likewise.
27030 * math/s_cexp.c (__cexpl): Likewise.
27031 * math/s_csin.c (__csin): Likewise.
27032 * math/s_csinh.c (__csinh): Likewise.
27033 * math/s_ctan.c (__ctan): Likewise.
27034 * math/s_ctanh.c (ctanh): Likewise.
27035 * math/s_ccoshl.c (__ccoshl): Likewise.
27036 * math/s_cexpl.c (__cexpl): Likewise.
27037 * math/s_csinl.c (__csinl): Likewise.
27038 * math/s_csinhl.c (__csinhl): Likewise.
27039 * math/s_ctanl.c (__ctanl): Likewise.
27040 * math/s_ctanhl.c (__ctanhl): Likewise.
27042 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27044 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27045 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27046 (_IO_off_t): Define to __off_t, not _G_off_t.
27047 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27048 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27049 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27050 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27051 type of __dummy and __dummy2 fields.
27052 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27053 (_G_ssize_t): Likewise.
27054 (_G_off_t): Likewise.
27055 (_G_pid_t): Likewise.
27056 (_G_uid_t): Likewise.
27057 (_G_wchar_t): Likewise.
27058 (_G_wint_t): Likewise.
27059 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27060 (_G_ssize_t): Likewise.
27061 (_G_off_t): Likewise.
27062 (_G_pid_t): Likewise.
27063 (_G_uid_t): Likewise.
27064 (_G_wchar_t): Likewise.
27065 (_G_wint_t): Likewise.
27066 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27067 (_G_ssize_t): Likewise.
27068 (_G_off_t): Likewise.
27069 (_G_pid_t): Likewise.
27070 (_G_uid_t): Likewise.
27071 (_G_wchar_t): Likewise.
27072 (_G_wint_t): Likewise.
27074 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27076 * malloc/arena.c: Include malloc-sysdep.h.
27077 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27078 is sufficient to shrink the heap or an unmap is needed.
27079 * sysdeps/generic/malloc-sysdep.h: New file. Define
27080 new function check_may_shrink_heap.
27081 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27082 new function check_may_shrink_heap.
27084 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27086 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27089 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27091 * catgets/test-gencat.sh: Add "set -e".
27092 * elf/tst-pathopt.sh: Likewise.
27093 * grp/tst_fgetgrent.sh: Likewise.
27094 * iconvdata/run-iconv-test.sh: Likewise.
27095 * intl/tst-gettext.sh: Likewise.
27096 * intl/tst-gettext2.sh: Likewise.
27097 * intl/tst-gettext4.sh: Likewise.
27098 * intl/tst-gettext6.sh: Likewise.
27099 * intl/tst-translit.sh: Likewise.
27100 * io/ftwtest-sh: Likewise.
27101 * libio/test-freopen.sh: Likewise.
27102 * malloc/tst-mtrace.sh: Likewise.
27103 * posix/globtest.sh: Likewise.
27104 * posix/tst-getconf.sh: Likewise.
27105 * posix/wordexp-tst.sh: Likewise.
27106 * stdio-common/tst-printf.sh: Likewise.
27107 * stdio-common/tst-unbputc.sh: Likewise.
27108 * stdlib/tst-fmtmsg.sh: Likewise.
27109 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27110 * catgets/Makefile: Do not specify -e option when running
27111 testsuite shell scripts.
27112 * elf/Makefile: Likewise.
27113 * grp/Makefile: Likewise.
27114 * iconvdata/Makefile: Likewise.
27115 * intl/Makefile: Likewise.
27116 * io/Makefile: Likewise.
27117 * libio/Makefile: Likewise.
27118 * malloc/Makefile: Likewise.
27119 * posix/Makefile: Likewise.
27120 * stdio-common/Makefile: Likewise.
27121 * stdlib/Makefile: Likewise.
27122 * sysdeps/x86_64/Makefile: Likewise.
27124 * io/ftwtest-sh: Add copyright header.
27125 * posix/globtest.sh: Likewise.
27126 * posix/tst-getconf.sh: Likewise.
27127 * posix/wordexp-tst.sh: Likewise.
27128 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27130 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27133 * Makeconfig (+link): Defined as $(+link-static) if
27134 $(build-shared) isn't yes.
27135 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27137 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27139 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27142 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27143 new chunk size with MALLOC_ALIGN_MASK.
27145 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27148 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27150 (__printf_fphex): Determine rounding using get_rounding_mode and
27152 * stdio-common/tst-printf-round.c (struct hex_test): New
27154 (hex_tests): New variable.
27155 (test_hex_in_one_mode): New function.
27156 (do_test): Also run tests for hex float output.
27158 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27160 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27161 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27162 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27163 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27164 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27165 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27166 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27169 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27171 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27172 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27173 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27174 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27176 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27179 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27181 * elf/tst-rtld-load-self.sh: New test.
27182 * elf/Makefile: Run it.
27184 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27186 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27187 (tst-writev-ENV): Remove.
27188 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27190 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27192 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27194 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27196 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27198 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27200 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27201 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27202 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27205 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27208 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27209 * config.make.in (have-cpp-asm-debuginfo): Removed.
27210 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27211 * configure: Regenerated.
27213 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27216 * stdio-common/printf_fp.c: Include <stdbool.h> and
27218 (___printf_fp): Determine rounding using get_rounding_mode and
27220 * stdio-common/tst-printf-round.c: New file.
27221 * stdio-common/Makefile (tests): Add tst-printf-round.
27222 (link-libm): New variable.
27223 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27225 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27228 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27229 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27231 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27234 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27236 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27237 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27238 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27239 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27241 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27244 * include/rounding-mode.h: New file.
27245 * sysdeps/generic/get-rounding-mode.h: Likewise.
27246 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27247 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27248 (MAX_VALUE): New macro.
27249 (MIN_VALUE): Likewise.
27250 (overflow_value): New function.
27251 (underflow_value): Likewise.
27252 (round_and_return): Use overflow_value and underflow_value to
27253 determine return values in overflow and underflow cases. Use
27254 round_away to determine rounding depending on rounding mode.
27255 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27256 determine return values in overflow and underflow cases.
27257 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27258 (struct test_results): New structure.
27259 (struct test): Use struct test_results to store expected results
27260 for all rounding modes.
27261 (TEST): Include expected results for all rounding modes.
27262 (test_in_one_mode): New function.
27263 (do_test): Use test_in_one_mode to compute and check results.
27264 Check results for all rounding modes.
27265 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27268 2012-12-09 Allan McRae <allan@archlinux.org>
27270 * sysdeps/i386/fpu/libm-test-ulps: Update
27272 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27274 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27275 (_G_int32_t): Likewise.
27276 (_G_uint16_t): Likewise.
27277 (_G_uint32_t): Likewise.
27278 (_G_HAVE_BOOL): Likewise.
27279 (_G_HAVE_ATEXIT): Likewise.
27280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27281 (_G_HAVE_IO_FILE_OPEN): Likewise.
27282 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27283 (_G_int32_t): Likewise.
27284 (_G_uint16_t): Likewise.
27285 (_G_uint32_t): Likewise.
27286 (_G_HAVE_BOOL): Likewise.
27287 (_G_HAVE_ATEXIT): Likewise.
27288 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27289 (_G_HAVE_IO_FILE_OPEN): Likewise.
27290 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27291 (_G_int32_t): Likewise.
27292 (_G_uint16_t): Likewise.
27293 (_G_uint32_t): Likewise.
27294 (_G_HAVE_BOOL): Likewise.
27295 (_G_HAVE_ATEXIT): Likewise.
27296 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27297 (_G_HAVE_IO_FILE_OPEN): Likewise.
27299 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27301 * csu/libc-tls.c: Update copyright years.
27303 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27305 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27306 [!_G_USING_THUNKS]: Remove conditional code.
27307 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27308 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27310 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27311 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27312 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27313 (_G_VTABLE_LABEL_PREFIX): Likewise.
27314 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27315 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27316 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27317 (_G_VTABLE_LABEL_PREFIX): Likewise.
27318 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27319 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27320 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27321 (_G_VTABLE_LABEL_PREFIX): Likewise.
27322 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27324 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27326 * libio/Makefile: Include ../Makeconfig before tests.
27327 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27328 only if $(build-shared) is yes.
27330 * iconv/gconv_db.c: Update copyright years.
27332 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27334 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27335 unwind info if defined PIC. Fix special cases description.
27336 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27338 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27340 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27342 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27344 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27346 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27349 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27350 (LDLIBS-tst-chk4): This.
27351 (LDFLAGS-tst-chk5): Renamed to ...
27352 (LDLIBS-tst-chk5): This.
27353 (LDFLAGS-tst-chk6): Renamed to ...
27354 (LDLIBS-tst-chk6): This.
27355 (LDFLAGS-tst-lfschk4): Renamed to ...
27356 (LDLIBS-tst-lfschk4): This.
27357 (LDFLAGS-tst-lfschk5): Renamed to ...
27358 (LDLIBS-tst-lfschk5): This.
27359 (LDFLAGS-tst-lfschk6): Renamed to ...
27360 (LDLIBS-tst-lfschk6): This.
27362 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27363 on $(common-objpfx)soversions.mk.
27365 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27368 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27371 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27373 * malloc/arena.c (arena_get_retry): New function that gets
27374 another arena for the caller to try its request on.
27375 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27376 current arena cannot fulfill the request.
27377 (__libc_memalign): Likewise.
27378 (__libc_memalign): Likewise.
27379 (__libc_pvalloc): Likewise.
27380 (__libc_calloc): Likewise.
27382 2012-09-05 John Tobey <john.tobey@gmail.com>
27385 * manual/arith.texi (Operations on Complex): Fix description
27386 of carg branch cut.
27388 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27391 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27395 * manual/memory.texi (Memory): Make order of menu items match
27398 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27400 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27401 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27402 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27404 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27406 * csu/libc-tls.c (static_dtv): Renamed to ...
27407 (_dl_static_dtv): This. Make it global.
27408 (_dl_initial_dtv): Removed.
27409 (__libc_setup_tls): Updated.
27410 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27411 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27414 2012-09-06 Petr Machata <pmachata@redhat.com>
27416 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27417 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27418 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27419 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27421 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27424 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27425 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27428 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27431 * Makeconfig (link-static-before-libc): Replace $(+prector)
27433 (link-static-after-libc): Replace $(+postctor) with
27435 (link-bounded): Replace $(+prector)/$(+postctor) with
27436 $(+prectorT)/$(+postctorT).
27437 (+prectorT): New macro.
27438 (+postctorT): Likewise.
27440 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27442 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27443 (round_str): Handle values above the maximum for IBM long double
27445 * stdlib/tst-strtod-round.c (tests): Regenerated.
27447 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27449 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27451 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27452 zarch_nohighgprs around the zarch optimized routines.
27453 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27454 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27455 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27458 2012-09-05 David S. Miller <davem@davemloft.net>
27460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27462 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27463 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27464 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27468 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27470 * malloc/arena.c: Fold copyright years.
27471 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27473 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27475 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27477 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27479 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27481 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27483 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27484 change internal state upon failure.
27486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27488 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27489 * malloc/memusage.c (mmap): Likewise.
27490 (mmap64, mremap): Likewise. Adjust name in comment.
27492 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27494 * libio/fileops.c: Fix typos in comments.
27495 * libio/oldfileops.c: Likewise.
27496 * libio/wfileops.c: Likewise.
27498 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27501 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27502 (tst-malloc-usable-ENV): Set environment for test case.
27503 * malloc/hooks.c (malloc_check_get_size): New function to get
27505 * malloc/malloc.c (musable): Use malloc_check_get_size.
27506 * malloc/tst-malloc-usable.c: New test case.
27508 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27510 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27512 2012-09-05 Allan McRae <allan@archlinux.org>
27515 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27516 determine header location.
27517 * configure: Regenerated.
27519 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27521 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27523 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27524 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27526 (test): Regenerate.
27528 2012-09-04 David S. Miller <davem@davemloft.net>
27530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27534 2012-09-04 Florian Weimer <fweimer@redhat.com>
27536 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27539 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27541 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27544 * libio/iogetdelim.c: Include <limits.h>.
27545 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27546 + len + 1 would overflow.
27548 2012-09-03 Andreas Jaeger <aj@suse.de>
27550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27551 * sysdeps/i386/fpu/libm-test-ulps: Update.
27553 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27555 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27556 Add s_sinf-sse2, s_conf-sse2.
27558 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27559 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27560 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27561 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27563 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27564 for using routine as __sinf_ia32.
27565 Use macro for function declaration and weak_alias.
27566 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27567 for using routine as __cosf_ia32.
27568 Use macro for function declaration and weak_alias.
27570 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27571 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27573 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27574 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27577 * math/libm-test.inc (cos_test): Add more test cases.
27578 (sin_test): Likewise.
27579 (sincos_test): Likewise.
27581 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27584 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27586 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27588 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27591 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27592 first element of the GOT.
27593 (elf_machine_load_address): Return the difference between
27594 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27596 2012-09-01 Allan McRae <allan@archlinux.org>
27599 * configure.in (AWK): Require gawk version 3.0 or later.
27600 * configure: Regenerated.
27602 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27604 * sysdeps/unix/sysv/linux/kernel-features.h
27605 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27606 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27607 [__NR_clock_getres]: Make code unconditional.
27608 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27609 (clock_getcpuclockid): Remove code left unreachable by removal of
27611 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27612 code unconditional.
27613 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27614 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27615 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27616 Make code unconditional.
27617 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27618 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/clock_settime.c
27620 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27622 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27625 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27628 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27629 scripts/test-installation.pl.
27631 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27632 and $ld_so_version if it is set.
27634 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27638 failure if reading from procfs failed.
27639 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27641 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27643 * sysdeps/unix/sysv/linux/kernel-features.h
27644 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27645 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27646 Remove conditional code.
27647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27648 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27649 Remove conditional code.
27650 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27651 * sysdeps/unix/sysv/linux/i386/fxstat.c
27652 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27653 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27654 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27655 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27657 * sysdeps/unix/sysv/linux/i386/lxstat.c
27658 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27660 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27661 Remove conditional code.
27662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27663 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27664 Remove conditional code.
27665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27667 <kernel-features.h>.
27668 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27670 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27671 Remove conditional code.
27672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27673 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27674 Remove conditional.
27676 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27679 * NEWS: Add fixed bug number.
27681 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27684 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27685 underflowing exponent in case of negative sign.
27686 * stdlib/tst-strtod-round-data: Add more tests.
27687 * stdlib/tst-strtod-round.c (tests): Regenerated.
27690 * stdlib/strtod_l.c (NDIG): Remove.
27691 (HEXNDIG): Likewise.
27692 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27693 smallest representable value.
27694 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27695 lie within an exact representation of 1/2 ulp of the result.
27696 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27698 (TENS_P9_IDX): Define unconditionally.
27699 (TENS_P9_SIZE): Likewise.
27700 (TENS_P10_IDX): Likewise.
27701 (TENS_P10_SIZE): Likewise.
27702 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27703 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27704 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27705 entries for 10^2^13 and 10^2^14.
27706 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27707 (TENS_P13_IDX): Define.
27708 (TENS_P13_SIZE): Likewise.
27709 (TENS_P14_IDX): Likewise.
27710 (TENS_P14_SIZE): Likewise.
27711 (_fpioconst_pow10): Change array size to
27712 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27714 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27715 1024]: Add entries for 10^2^13 and 10^2^14.
27716 [LAST_POW10 > _LAST_POW10]: Remove #error.
27717 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27718 (_fpioconst_pow10): Change array size to
27719 FPIOCONST_POW10_ARRAY_SIZE.
27720 * stdlib/gen-fpioconst.c: New file.
27721 * stdlib/gen-tst-strtod-round.c: Likewise.
27722 * stdlib/tst-strtod-round-data: Likewise.
27723 * stdlib/tst-strtod-round.c: Likewise.
27724 * stdlib/Makefile (tests): Add tst-strtod-round.
27727 * stdlib/strtod_l.c: Include <stdint.h>.
27728 (NDEBUG): Do not define.
27729 (round_and_return): Change EXPONENT parameter to type intmax_t.
27730 Rearrange calculations to avoid internal overflow possibilities.
27731 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27732 Rearrange calculations to avoid internal overflow possibilities.
27733 Assert that number fits inside MPNSIZE limbs.
27734 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27735 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27736 calculations and add assertions to avoid internal overflow
27737 possibilities. Add casts to avoid signed/unsigned operations.
27738 * stdlib/tst-strtod-overflow.c: New file.
27739 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27741 2012-08-25 Marek Polacek <polacek@redhat.com>
27743 * time/time.h: Fix some typos in comments.
27745 2012-08-23 Roland McGrath <roland@hack.frob.com>
27747 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27748 * posix/tst-rfc3484-2.c: Likewise.
27749 * posix/tst-rfc3484-3.c: Likewise.
27751 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27753 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27754 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27756 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27758 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27759 #include of fxstatat64.c.
27761 2012-08-22 Roland McGrath <roland@hack.frob.com>
27763 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27764 * shadow/getspent_r.c: Likewise.
27765 * shadow/getspnam.c: Likewise.
27766 * shadow/getspnam_r.c: Likewise.
27767 * gshadow/getsgent.c: Likewise.
27768 * gshadow/getsgent_r.c: Likewise.
27769 * gshadow/getsgnam.c: Likewise.
27770 * gshadow/getsgnam_r.c: Likewise.
27771 * inet/getnetbyad.c: Likewise.
27772 * inet/getnetbyad_r.c: Likewise.
27773 * inet/getnetbynm.c: Likewise.
27774 * inet/getnetbynm_r.c: Likewise.
27775 * inet/getnetent.c: Likewise.
27776 * inet/getnetent_r.c: Likewise.
27777 * inet/getproto.c: Likewise.
27778 * inet/getproto_r.c: Likewise.
27779 * inet/getprtent.c: Likewise.
27780 * inet/getprtent_r.c: Likewise.
27781 * inet/getprtname.c: Likewise.
27782 * inet/getprtname_r.c: Likewise.
27783 * inet/getrpcbyname.c: Likewise.
27784 * inet/getrpcbyname_r.c: Likewise.
27785 * inet/getrpcbynumber.c: Likewise.
27786 * inet/getrpcbynumber_r.c: Likewise.
27787 * inet/getrpcent.c: Likewise.
27788 * inet/getrpcent_r.c: Likewise.
27789 * inet/getaliasent.c: Likewise.
27790 * inet/getaliasent_r.c: Likewise.
27791 * inet/getaliasname.c: Likewise.
27792 * inet/getaliasname_r.c: Likewise.
27793 * nscd/getgrgid_r.c: Likewise.
27794 * nscd/getgrnam_r.c: Likewise.
27795 * nscd/gethstbyad_r.c: Likewise.
27796 * nscd/gethstbynm3_r.c: Likewise.
27797 * nscd/getpwnam_r.c: Likewise.
27798 * nscd/getpwuid_r.c: Likewise.
27799 * nscd/getsrvbynm_r.c: Likewise.
27800 * nscd/getsrvbypt_r.c: Likewise.
27801 * nscd/gai.c: Likewise.
27803 * configure.in (build_nscd): New substituted variable, set
27804 by --disable-build-nscd and defaults to $use_nscd.
27805 * configure: Regenerated.
27806 * config.make.in (build-nscd): New substituted variable.
27807 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27808 Change conditional to require [$(build-nscd) = yes] as well.
27809 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27812 * configure.in (use_nscd): New substituted variable, set by
27813 --disable-nscd. If enabled, define USE_NSCD.
27814 * configure: Regenerated.
27815 * config.h.in: Add USE_NSCD.
27816 * config.make.in (use-nscd): New substituted variable.
27817 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27818 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27819 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27820 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27821 (CFLAGS-getgrnam_r.c): Likewise.
27822 (CFLAGS-initgroups.c): Likewise.
27823 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27824 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27826 * inet/getnetgrent_r.c
27827 (nscd_setnetgrent): New function, broken out of ...
27828 (setnetgrent): ... here. Call it.
27829 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27830 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27831 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27832 * nscd/Makefile (routines, aux): Move definitions after include of
27833 Makeconfig. Conditionalize on [$(use-nscd) != no].
27834 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27835 Conditionalize on [USE_NSCD].
27836 (is_nscd, nscd_init_cb): Likewise.
27837 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27838 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27839 * nss/nss_db/db-init.c: Likewise.
27840 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27842 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27843 (make_request): Use it.
27844 (cache_valid_p): New function.
27845 (__check_pf): Use it.
27846 * NEWS: Add item for --disable-nscd.
27848 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27850 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27851 to support sed >= 4.2.1-20-ga9bf076.
27852 * configure: Regenerated.
27854 2012-08-22 Roland McGrath <roland@hack.frob.com>
27856 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27857 Conditionalize whole body on [IREL].
27859 2012-08-22 Jeff Law <law@redhat.com>
27862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27863 if the family is PF_UNSPEC.
27865 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27867 * Makerules (lib-version): Rename from V.
27868 (install-lib-nosubdir): Change V to lib-version.
27870 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27873 * powerpc32/power6/wcschr.c: New file.
27874 * powerpc32/power6/wcscpy.c: New file.
27875 * powerpc32/power6/wcsrchr.c: New file.
27876 * powerpc64/power6/wcschr.c: New file.
27877 * powerpc64/power6/wcscpy.c: New file.
27878 * powerpc64/power6/wcsrchr.c: New file.
27880 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27882 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27883 (two_way_short_needle): Use it.
27884 * string/strstr.c (AVAILABLE1_USES_J): Define.
27885 * string/strcasestr.c: Likewise.
27887 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27889 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27892 * NEWS: Add an entry.
27893 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27894 define their defaults.
27895 (two_way_short_needle): Detect end-of-string on-the-fly.
27896 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27897 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27898 * string/bug-strcasestr1.c: New test.
27899 * string/Makefile: Run it.
27901 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27904 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27905 the first character.
27907 2012-08-21 Roland McGrath <roland@hack.frob.com>
27909 * csu/elf-init.c (__libc_csu_irel): Function removed.
27910 * csu/libc-start.c (apply_irel): New function.
27911 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27913 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27915 * sysdeps/unix/sysv/linux/kernel-features.h
27916 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27917 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27918 <kernel-features.h>.
27919 [__NR_fadvise64_64]: Make code unconditional.
27920 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27921 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27922 !__NR_fadvise64_64)]: Likewise.
27923 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27924 !__NR_fadvise64_64))]: Likewise.
27925 [__NR_fadvise64]: Make code unconditional.
27926 [!__NR_fadvise64]: Remove conditional code.
27927 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27928 <kernel-features.h>.
27929 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27931 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27934 not include <kernel-features.h>.
27935 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27937 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27939 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27940 include <kernel-features.h>.
27941 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27943 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27946 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27948 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27949 slight instruction rearrangements per scrollpipe analysis.
27950 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27952 2012-08-20 Roland McGrath <roland@hack.frob.com>
27954 * manual/syslog.texi (syslog; vsyslog, closelog):
27955 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27956 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27958 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27959 DSOCAPS to match condition on defining it.
27961 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27963 * sysdeps/unix/sysv/linux/kernel-features.h
27964 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27966 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27967 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27969 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27970 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27972 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27973 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27975 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27976 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27978 * sysdeps/unix/sysv/linux/kernel-features.h
27979 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27980 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27982 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27984 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27985 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27986 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27987 Make code unconditional.
27988 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27989 (__mmap64) [!__NR_mmap2]: Likewise.
27990 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27991 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27992 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27993 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27994 [__NR_mmap2]: Make code unconditional.
27995 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27996 (__mmap64) [!__NR_mmap2]: Likewise.
27998 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28000 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28002 2012-08-18 Andreas Jaeger <aj@suse.de>
28004 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28006 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28008 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28009 * include/unistd.h (__have_sock_cloexec): Likewise.
28010 (__have_pipe2): Likewise.
28011 (__have_dup3): Likewise.
28013 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28016 * include/unistd.h (__have_pipe2): Change define into an extern int.
28017 (__have_dup3): Likewise.
28018 * socket/have_sock_cloexec.c: Include fcntl.h.
28019 (__have_pipe2): New variable.
28020 (__have_dup3): Likewise.
28022 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28024 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28026 2012-08-17 Marek Polacek <polacek@redhat.com>
28028 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28029 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28031 2012-08-17 Roland McGrath <roland@hack.frob.com>
28033 * configure.in: Add AC_SUBST for sysheaders.
28034 * configure: Regenerated.
28035 * config.make.in (sysheaders): New substituted variable.
28037 * sysdeps/unix/mkfifo.c: Moved ...
28038 * sysdeps/posix/mkfifo.c: ... here.
28039 * sysdeps/unix/mkfifoat.c: Moved ...
28040 * sysdeps/posix/mkfifoat.c: ... here.
28042 * sysdeps/unix/utime.c: Moved ...
28043 * sysdeps/posix/utime.c: ... here.
28045 * sysdeps/unix/time.c: Moved ...
28046 * sysdeps/posix/time.c: ... here.
28047 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28048 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28050 * sysdeps/unix/nice.c: Moved ...
28051 * sysdeps/posix/nice.c: ... here.
28053 * sysdeps/unix/alarm.c: Moved ...
28054 * sysdeps/posix/alarm.c: ... here.
28056 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28058 2012-08-17 Jeff Law <law@redhat.com>
28060 * intl/Makefile (codeset_mo): New variable.
28061 ($(codeset_mo)): New target.
28062 (tst-codeset.out): Depend on that. Remove explicit rule.
28063 (tst-gettext3.out, tst-gettext5.out): Likewise.
28064 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28065 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28066 * intl/tst-codeset.sh: Remove.
28067 * intl/tst-gettext3.sh: Likewise.
28068 * intl/tst-gettext5.sh: Likewise.
28070 2012-08-17 Roland McGrath <roland@hack.frob.com>
28072 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28073 * sysdeps/unix/syscalls.list: ... here.
28075 * sysdeps/posix/getaddrinfo.c
28076 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28077 (gaiconf_init, gaiconf_reload): Use them.
28078 [!_STATBUF_ST_NSEC]
28079 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28080 Define using time_t rather than struct timespec.
28082 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28083 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28085 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28087 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28088 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28091 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28092 __libc_cleanup_push argument.
28094 * bits/param.h: New file.
28095 * misc/sys/param.h: New file.
28096 * include/sys/param.h: New file.
28097 * misc/Makefile (headers): Add bits/param.h.
28098 * sysdeps/generic/sys/param.h: File removed.
28099 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28100 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28101 * sysdeps/mach/hurd/bits/param.h: New file.
28102 * sysdeps/mach/hurd/sys/param.h: File removed.
28104 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28107 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28109 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28110 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28113 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28114 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28115 rather than -D_IO_MTSAFE_IO conditionally.
28116 * stdio-common/Makefile (CPPFLAGS): Likewise.
28117 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28118 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28119 Use $(libio-mtsafe).
28120 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28121 of -D_IO_MTSAFE_IO.
28122 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28123 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28124 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28125 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28126 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28127 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28128 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28129 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28130 (CFLAGS-fread_u_chk.c): Likewise.
28131 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28132 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28133 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28134 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28135 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28136 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28137 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28138 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28139 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28141 * libio/Makefile: Test [$(libc-reentrant) = yes]
28142 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28145 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28146 * sysdeps/pthread/configure: File removed.
28147 * sysdeps/pthread/Makeconfig: New file.
28148 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28149 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28151 2012-08-16 Gary Benson <gbenson@redhat.com>
28153 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28154 unmapping the first object in a namespace.
28156 2012-08-16 Roland McGrath <roland@hack.frob.com>
28158 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28159 (__internal_setnetgrent): ... this. Add internal_function to
28160 definition. Add libc_hidden_def.
28161 (setnetgrent): Update caller.
28162 (internal_endnetgrent): Renamed to ...
28163 (__internal_endnetgrent): ... this. Add internal_function to
28164 definition. Add libc_hidden_def.
28165 (endnetgrent): Update caller.
28166 (internal_getnetgrent_r): Renamed to ...
28167 (__internal_getnetgrent_r): ... this. Add internal_function to
28168 definition. Add libc_hidden_def.
28169 (__getnetgrent_r): Update caller.
28170 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28172 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28174 * stdlib/longlong.h: Update from GCC.
28176 2012-08-16 Roland McGrath <roland@hack.frob.com>
28178 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28179 on _QL, which is set by umul_ppmm but never used.
28180 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28181 variables, which are set by GMP macros but never used.
28182 * stdio-common/_itowa.c (_itowa): Likewise.
28183 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28184 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28186 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28188 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28189 struct La_sh_regs is not constant.
28190 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28191 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28192 and struct La_sparc64_regs are not constant.
28194 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28196 * sysdeps/unix/sysv/linux/kernel-features.h
28197 (__ASSUME_POSIX_TIMERS): Remove.
28198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28199 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28200 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28201 Make code unconditional.
28202 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28203 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28204 Make code unconditional.
28205 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28206 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28207 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28208 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28209 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28210 Make code unconditional.
28211 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28212 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28213 (__libc_missing_posix_timers): Remove.
28215 2012-08-15 Roland McGrath <roland@hack.frob.com>
28217 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28218 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28220 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28222 * elf/dl-sym.c: Include <stdlib.h>.
28224 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28225 constants, which avoids warnings in 32-bit builds.
28227 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28228 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28230 * misc/lseek.c: File moved to ...
28231 * io/lseek.c: ... here.
28233 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28235 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28236 shifting LEN more than 31 bits at once.
28238 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28241 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28242 segmentation fault for a case of two empty input strings.
28243 * string/test-strncasecmp.c (check1): Renamed to...
28244 (bz12205): ...this.
28245 (bz14195): Add new testcase for two empty input strings and N > 0.
28246 (test_main): Call new testcase, adapt for renamed function.
28248 2012-08-15 Andreas Jaeger <aj@suse.de>
28251 * crypt/md5test2.c: New test, based on test supplied by Serge
28252 Belyshev <belyshev@depni.sinp.msu.ru>.
28253 * crypt/Makefile (xtests): Add md5test-giant..
28254 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28256 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28259 * crypt/md5.c (md5_process_block): Don't assume the buffer
28260 length is less than 2**32.
28261 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28262 length is less than 2**64.
28264 2012-08-15 Roland McGrath <roland@hack.frob.com>
28266 * string/str-two-way.h: Include <sys/param.h>.
28267 (MAX): Macro removed.
28269 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28270 Move #define and #undef of memmove to just before and after
28271 including <string.h>.
28273 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28274 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28275 and after including <string.h>. Move declarations of
28276 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28277 to before #include "string/memmove.c".
28279 * include/dirent.h: Declare __getdirentries.
28281 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28282 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28284 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28286 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28287 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28288 * sysdeps/i386/configure: Regenerated.
28289 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28290 STABS_CURRENT_FILE, and STABS_FUN.
28291 (END): Remove call to STABS_FUN_END.
28292 (STABS_CURRENT_FILE1): Delete.
28293 (STABS_CURRENT_FILE): Likewise.
28294 (STABS_FUN): Likewise.
28295 (STABS_FUN_END): Likewise.
28296 (STABS_FUN2): Likewise.
28297 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28298 * sysdeps/x86_64/configure: Regenerated.
28300 2012-08-14 Roland McGrath <roland@hack.frob.com>
28302 * elf/dl-open.c: Include <atomic.h>.
28303 * elf/dl-lookup.c: Likewise.
28305 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28307 * sysdeps/unix/sysv/linux/kernel-features.h
28308 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28309 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28311 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28313 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28314 condition on __ASSUME_CLONE_THREAD_FLAGS.
28316 2012-08-14 Andreas Jaeger <aj@suse.de>
28318 * sysdeps/i386/fpu/libm-test-ulps: Update.
28320 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28322 * include/atomic.h (atomic_exchange_and_add): Split into ...
28323 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28326 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28330 2012-08-13 Jeff Law <law@redhat.com>
28332 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28333 null byte in the output string.
28335 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28337 * sysdeps/unix/sysv/linux/kernel-features.h
28338 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28339 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28340 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28341 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28342 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28343 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28344 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28346 2012-08-09 Jeff Law <law@redhat.com>
28349 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28350 When avoid_arena is set, don't retry in the that arena. Pick the
28351 next one, whatever it might be.
28352 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28353 (arena_lock): Pass in new parameter to arena_get2.
28354 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28356 (__libc_malloc): Unify retrying after main arena failure with
28357 __libc_memalign version.
28358 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28360 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28363 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28364 to __redirect_strstr.
28365 (__strstr_sse42): Use typeof __redirect_strstr.
28366 (__strstr_ia32): Likewise.
28367 (__libc_strstr): New prototype.
28368 (strstr): Renamed to ...
28369 (__libc_strstr): This.
28370 (strstr): New strong alias of __libc_strstr.
28371 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28372 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28375 (__libc_time): New prototype.
28376 (time_ifunc): Replace time with __libc_time.
28377 (time): New strong alias and hidden definition of __libc_time.
28378 (__GI_time): Remove strong alias.
28379 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28380 Include <stddef.h>.
28381 (memmove): Redefined to __redirect_memmove.
28382 (__memmove_sse2): Use typeof __redirect_memmove.
28383 (__memmove_ssse3): Likewise.
28384 (__memmove_ssse3_back): Likewise.
28385 (__libc_memmove): New prototype.
28386 (memmove): Renamed to ...
28387 (__libc_memmove): This.
28388 (memmove): New strong alias of __libc_memmove.
28390 2012-08-08 Mark Salter <msalter@redhat.com>
28393 (R_MN10300_TLS_GD): Define.
28394 (R_MN10300_TLS_LD): Likewise.
28395 (R_MN10300_TLS_LDO): Likewise.
28396 (R_MN10300_TLS_GOTIE): Likewise.
28397 (R_MN10300_TLS_IE): Likewise.
28398 (R_MN10300_TLS_LE): Likewise.
28399 (R_MN10300_TLS_DTPMOD): Likewise.
28400 (R_MN10300_TLS_DTPOFF): Likewise.
28401 (R_MN10300_TLS_TPOFF): Likewise.
28402 (R_MN10300_SYM_DIFF): Likewise.
28403 (R_MN10300_ALIGN): Likewise.
28404 (R_MN10300_NUM): Update.
28406 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28411 2012-08-08 Roland McGrath <roland@hack.frob.com>
28413 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28415 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28416 sysdeps/unix -> sysdeps/posix move.
28417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28419 2012-08-07 Allan McRae <allan@archlinux.org>
28422 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28423 (SUNOS_CPP): Likewise.
28424 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28426 (open_input): Call CPP using execvp.
28428 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28430 * sysdeps/unix/sysv/linux/kernel-features.h
28431 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28432 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28433 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28434 (__ASSUME_WAITID_SYSCALL): Likewise.
28435 * sysdeps/unix/sysv/linux/dl-execstack.c
28436 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28437 code unconditional.
28438 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28441 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28442 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28444 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28446 [__ASSUME_WAITID_SYSCALL]: Likewise.
28447 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28449 2012-08-07 Roland McGrath <roland@hack.frob.com>
28451 * sysdeps/unix/closedir.c: Renamed to ...
28452 * sysdeps/posix/closedir.c: ... here.
28453 * sysdeps/unix/dirfd.c: Renamed to ...
28454 * sysdeps/posix/dirfd.c: ... here.
28455 * sysdeps/unix/dirstream.h: Renamed to ...
28456 * sysdeps/posix/dirstream.h: ... here.
28457 * sysdeps/unix/fdopendir.c: Renamed to ...
28458 * sysdeps/posix/fdopendir.c: ... here.
28459 * sysdeps/unix/opendir.c: Renamed to ...
28460 * sysdeps/posix/opendir.c: ... here.
28461 * sysdeps/unix/readdir.c: Renamed to ...
28462 * sysdeps/posix/readdir.c: ... here.
28463 * sysdeps/unix/readdir_r.c: Renamed to ...
28464 * sysdeps/posix/readdir_r.c: ... here.
28465 * sysdeps/unix/rewinddir.c: Renamed to ...
28466 * sysdeps/posix/rewinddir.c: ... here.
28467 * sysdeps/unix/seekdir.c: Renamed to ...
28468 * sysdeps/posix/seekdir.c: ... here.
28469 * sysdeps/unix/telldir.c: Renamed to ...
28470 * sysdeps/posix/telldir.c: ... here.
28471 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28472 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28473 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28474 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28476 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28477 * bits/fcntl.h: ... here.
28479 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28481 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28482 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28483 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28484 (struct flock): Move l_start, l_len to the beginning.
28485 Use __pid_t for l_pid.
28486 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28487 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28488 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28489 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28490 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28491 [__USE_LARGEFILE64] (struct flock64): New type.
28492 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28494 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28495 * bits/dirent.h: ... here.
28497 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28498 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28500 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28503 Change from 2.6.0 to 2.6.16.
28504 * sysdeps/unix/sysv/linux/configure: Regenerated.
28505 * sysdeps/unix/sysv/linux/kernel-features.h
28506 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28507 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28509 (__ASSUME_UTIMES): Likewise.
28510 (__ASSUME_CLONE_STOPPED): Remove.
28511 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28512 architectures, not kernel version.
28513 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28514 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28515 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28516 (__ASSUME_WAITID_SYSCALL): Likewise.
28517 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28518 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28519 * README: State 2.6.16 as minimum Linux kernel version. Do not
28520 refer to older versions.
28522 2012-08-06 Roland McGrath <roland@hack.frob.com>
28524 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28525 Define alphasort64 as an alias.
28526 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28527 Define versionsort64 as an alias.
28528 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28529 Define scandir64 as an alias.
28530 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28531 Define scandirat64 as an alias.
28532 * dirent/alphasort64.c (alphasort64):
28533 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28534 * dirent/versionsort64.c: Likewise.
28535 * dirent/scandir64.c: Likewise.
28536 * dirent/scandirat64.c: Likewise.
28537 * sysdeps/wordsize-64/alphasort.c: File removed.
28538 * sysdeps/wordsize-64/alphasort64.c: File removed.
28539 * sysdeps/wordsize-64/scandir.c: File removed.
28540 * sysdeps/wordsize-64/scandir64.c: File removed.
28541 * sysdeps/wordsize-64/scandirat.c: File removed.
28542 * sysdeps/wordsize-64/scandirat64.c: File removed.
28543 * sysdeps/wordsize-64/versionsort.c: File removed.
28544 * sysdeps/wordsize-64/versionsort64.c: File removed.
28545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28546 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28552 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28554 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28556 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28558 [defined __arch64__ || defined __sparcv9]
28559 (__INO_T_MATCHES_INO64_T): New macro.
28560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28561 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28562 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28563 * sysdeps/unix/sysv/linux/bits/dirent.h
28564 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28565 (_DIRENT_MATCHES_DIRENT64): New macro.
28567 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28568 Define lockf64 as an alias.
28569 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28570 Define fseeko64 as an alias.
28571 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28572 Define ftello64 as an alias.
28573 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28574 Define _IO_fgetpos64 and fgetpos64 as aliases.
28575 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28576 Define _IO_fsetpos64 and fsetpos64 as aliases.
28577 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28578 Conditionalize body on this.
28579 * libio/fseeko64.c: Likewise.
28580 * libio/ftello64.c: Likewise.
28581 * libio/iofgetpos64.c: Likewise.
28582 * libio/iofsetpos64.c: Likewise.
28583 * sysdeps/wordsize-64/lockf.c: File removed.
28584 * sysdeps/wordsize-64/lockf64.c: File removed.
28585 * sysdeps/wordsize-64/fseeko.c: File removed.
28586 * sysdeps/wordsize-64/fseeko64.c: File removed.
28587 * sysdeps/wordsize-64/ftello.c: File removed.
28588 * sysdeps/wordsize-64/ftello64.c: File removed.
28589 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28590 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28591 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28592 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28602 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28604 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28606 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28608 [defined __arch64__ || defined __sparcv9]
28609 (__OFF_T_MATCHES_OFF64_T): New macro.
28610 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28611 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28613 (__OFF_T_MATCHES_OFF64_T): New macro.
28615 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28617 * stdlib/secure-getenv.c (__secure_getenv): Replace
28618 GLIBC_2_16 with GLIBC_2_17.
28620 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28623 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28625 2012-08-03 David S. Miller <davem@davemloft.net>
28627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28629 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28631 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28633 (__ASSUME_CORRECT_SI_PID): Likewise.
28634 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28635 (__ASSUME_TMPFS_NAME): Likewise.
28636 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28637 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28638 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28639 (HAVE_AUX_SECURE): Make definition unconditional.
28640 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28641 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28643 2012-08-03 Roland McGrath <roland@hack.frob.com>
28645 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28646 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28647 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28649 __eloop_threshold instead of SYMLOOP_MAX.
28651 * sysdeps/generic/eloop-threshold.h: New file.
28652 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28654 * elf/chroot_canon.c (chroot_canon): Likewise.
28656 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28659 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28660 Change to 2.6.0 everywhere.
28661 * sysdeps/unix/sysv/linux/configure: Regenerated.
28662 * sysdeps/unix/sysv/linux/kernel-features.h
28663 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28664 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28666 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28667 (__ASSUME_FUTEX_REQUEUE): Remove.
28668 (__ASSUME_STATFS64): Define unconditionally.
28669 (__ASSUME_AT_SECURE): Likewise.
28670 (__ASSUME_CORRECT_SI_PID): Likewise.
28671 (__ASSUME_TGKILL): Define without depending on kernel version for
28673 (__ASSUME_UTIMES): Likewise.
28674 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28676 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28677 (__ASSUME_TMPFS_NAME): Likewise.
28678 * README: Update reference to Linux kernel versions.
28680 2012-08-02 Marek Polacek <polacek@redhat.com>
28683 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28684 libc_cv_asm_type_prefix with %.
28685 * configure: Regenerated.
28686 * include/libc-symbols.h: Remove comment about
28687 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28688 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28689 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28690 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28691 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28692 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28694 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28695 * elf/tst-unique2mod1.c: Likewise.
28696 * elf/tst-unique1mod2.c: Likewise.
28697 * elf/tst-unique1mod1.c: Likewise.
28698 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28699 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28700 Replace ASM_TYPE_DIRECTIVE with .type.
28701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28702 * sysdeps/i386/sysdep.h: Likewise.
28703 * sysdeps/x86_64/sysdep.h: Likewise.
28704 * sysdeps/sh/sysdep.h: Likewise.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28706 Do not define ASM_TYPE_DIRECTIVE.
28707 * sysdeps/powerpc/sysdep.h: Likewise.
28708 * sysdeps/powerpc/powerpc32/sysdep.h:
28709 Replace ASM_TYPE_DIRECTIVE with .type.
28710 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28712 * sysdeps/i386/fpu/e_powf.S: Likewise.
28713 * sysdeps/i386/fpu/e_expl.S: Likewise.
28714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28715 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28716 * sysdeps/i386/fpu/e_pow.S: Likewise.
28717 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28718 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28719 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28720 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28721 * sysdeps/i386/fpu/e_log2.S: Likewise.
28722 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28723 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28724 * sysdeps/i386/fpu/e_powl.S: Likewise.
28725 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28726 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28727 * sysdeps/i386/fpu/e_logl.S: Likewise.
28728 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28729 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28730 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28731 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28732 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28733 * sysdeps/i386/fpu/e_log.S: Likewise.
28734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28735 * sysdeps/i386/fpu/e_logf.S: Likewise.
28736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28738 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28739 * sysdeps/i386/fpu/e_log10.S: Likewise.
28740 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28741 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28742 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28743 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28746 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28747 * sysdeps/i386/i686/strtok.S: Likewise.
28748 * sysdeps/i386/i386-mcount.S: Likewise.
28749 * sysdeps/i386/strtok.S: Likewise.
28750 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28752 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28753 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28754 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28756 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28757 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28759 * sysdeps/x86_64/_mcount.S: Likewise.
28760 * sysdeps/x86_64/strtok.S: Likewise.
28761 * sysdeps/sh/_mcount.S: Likewise.
28763 2012-08-01 Roland McGrath <roland@hack.frob.com>
28765 * libio/iofopen.c: Include <fcntl.h>.
28766 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28767 (_IO_fopen64, fopen64): Define as aliases.
28768 * libio/iofopen64.c: Include <fcntl.h>.
28769 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28770 Conditionalize body on this.
28771 * sysdeps/wordsize-64/iofopen.c: File removed.
28772 * sysdeps/wordsize-64/iofopen64.c: File removed.
28774 2012-08-01 Marek Polacek <polacek@redhat.com>
28776 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28777 Use dlfcn directly instead of a variable.
28778 (binfmt-subdir): Do not define.
28781 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28783 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28784 Remove all definitions.
28785 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28786 <kernel-features.h>.
28787 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28788 (miss_F_GETOWN_EX): Remove all definitions.
28789 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28791 [!__ASSUME_FCNTL64]: Remove conditional code.
28792 [__ASSUME_FCNTL64]: Make code unconditional.
28793 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28794 <kernel-features.h>.
28795 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28796 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28797 (lockf64) [__NR_fcntl64]: Make code unconditional.
28798 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28800 * sysdeps/unix/sysv/linux/kernel-features.h
28801 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28802 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28803 Make code unconditional.
28804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28807 [__NR_vfork]: Make code unconditional.
28808 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28809 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28811 [__NR_vfork]: Make code unconditional.
28812 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28813 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28815 2012-08-01 Roland McGrath <roland@hack.frob.com>
28817 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28818 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28820 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28821 Define mkstemp64 as an alias.
28822 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28823 Define mkstemps64 as an alias.
28824 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28825 Define mkostemp64 as an alias.
28826 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28827 Define mkostemps64 as an alias.
28828 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28829 Conditionalize body on this.
28830 * misc/mkostemp64.c: Likewise.
28831 * misc/mkostemps64.c: Likewise.
28832 * misc/mkstemps64.c: Likewise.
28833 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28834 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28835 * sysdeps/wordsize-64/mkostemp.c: File removed.
28836 * sysdeps/wordsize-64/mkstemp.c: File removed.
28837 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28843 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28844 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28845 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28846 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28848 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28849 compat_symbol macros from <shlib-compat.h> rather than the underlying
28850 default_symbol_version and symbol_version macros, so that DEFAULT
28851 lines in shlib-versions are respected.
28852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28854 2012-08-01 Florian Weimer <fweimer@redhat.com>
28856 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28857 Declare with warn_unused_result.
28858 (setgid, setregid, setegid, setresgid): Likewise.
28859 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28861 * WUR-REPORT: Remove set*id functions.
28863 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28865 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28867 2012-07-31 Roland McGrath <roland@hack.frob.com>
28870 * include/sys/socket.h (__libc_accept, __libc_accept4):
28871 Add attribute_hidden.
28872 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28874 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28876 * inet/getnetgrent_r.c (setup): Likewise.
28878 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28880 2012-07-31 David S. Miller <davem@davemloft.net>
28882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28884 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28887 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28888 value between 1.0 and 2.0 and smaller part has absolute value less
28890 * math/s_clog10.c (__clog10): Likewise.
28891 * math/s_clog10f.c (__clog10f): Likewise.
28892 * math/s_clog10l.c (__clog10l): Likewise.
28893 * math/s_clogf.c (__clogf): Likewise.
28894 * math/s_clogl.c (__clogl): Likewise.
28895 * math/libm-test.inc (clog_test): Add more tests.
28896 (clog10_test): Likewise.
28897 * sysdeps/i386/fpu/libm-test-ulps: Update.
28898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28900 2012-07-31 Florian Weimer <fweimer@redhat.com>
28902 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28903 Exit with zero in case no suitable GID is found, and write a
28904 message to standard error.
28906 2012-07-30 Roland McGrath <roland@hack.frob.com>
28908 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28910 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28911 (MAXPATHLEN): Removed.
28912 (NOGROUP, NODEV): New macros.
28913 (setbit, clrbit, isset, isclr): New macros.
28914 (howmany, roundup, powerof2): New macros.
28915 (DEV_BSIZE): New macro.
28917 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28918 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28920 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28921 definition on [!__NO_LONG_DOUBLE_MATH].
28923 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28924 PTR_MANGLE and PTR_DEMANGLE.
28926 * socket/accept4.c (accept4): Rename to __libc_accept4.
28927 Define accept4 as a weak alias.
28929 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28930 on [_DIRENT_HAVE_D_TYPE].
28931 * io/ftw.c (ftw_dir): Likewise.
28933 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28935 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28937 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28938 Use the BSD numbers rather than the arbitrary ones we had.
28939 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28940 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28941 (SIGXCPU, SIGXFSZ): New macros.
28944 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28945 initializer on [_LIBC_REENTRANT].
28947 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28948 definitions inside [_POSIX_MAPPED_FILES].
28950 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28952 * dirent/opendir.c: Include <fcntl.h>.
28954 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28955 (__libc_getspecific): Likewise.
28956 (__libc_key_create): Likewise.
28958 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28959 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28960 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28961 (tmpfile64): Define as alias.
28962 * sysdeps/wordsize-64/tmpfile.c: File removed.
28963 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28967 * stdio-common/vfscanf.c: Include <stdbool.h>.
28968 * nss/makedb.c: Likewise.
28969 * stdio-common/_i18n_number.h: Likewise.
28970 * argp/argp-help.c: Likewise.
28971 * posix/wordexp.c: Likewise.
28972 * sysdeps/posix/spawni.c: Likewise.
28973 * nss/nss_files/files-initgroups.c: Likewise.
28974 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28975 * nss/nss_files/files-initgroups.c: Likewise.
28976 * nss/nss_db/db-netgrp.c: Likewise.
28977 * nss/nss_db/db-initgroups.c: Likewise.
28978 * io/fchmodat.c: Include <sys/stat.h>.
28980 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28981 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28983 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28986 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28987 Add multiple inclusion protection.
28989 2012-07-27 David S. Miller <davem@davemloft.net>
28991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28993 2012-07-27 Gary Benson <gbenson@redhat.com>
28996 * elf/rtld.c: Include <stap-probe.h>.
28997 (dl_main): Added static probes "init_start" and "init_complete".
28998 * elf/dl-load.c: Include <stap-probe.h>.
28999 (lose): Take new parameter "nsid".
29000 Added static probe "map_failed".
29001 (_dl_map_object_from_fd): Pass namespace id to lose.
29002 Added static probe "map_start".
29003 (open_verify): Pass namespace id to lose.
29004 * elf/dl-open.c: Include <stap-probe.h>.
29005 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29006 and "reloc_complete".
29007 * elf/dl-close.c: Include <stap-probe.h>.
29008 (_dl_close_worker): Added static probes "unmap_start" and
29010 * elf/rtld-debugger-interface.txt: New file documenting the above.
29012 2012-07-26 Roland McGrath <roland@hack.frob.com>
29014 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29015 rather than a string variable.
29016 * sunrpc/rpc_main.c (h_output): Likewise.
29017 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29019 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29021 * inet/check_native.c: New file.
29023 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29026 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29027 if larger part has absolute value 1.0.
29028 * math/s_clog10.c (__clog10): Likewise.
29029 * math/s_clog10f.c (__clog10f): Likewise.
29030 * math/s_clog10l.c (__clog10l): Likewise.
29031 * math/s_clogf.c (__clogf): Likewise.
29032 * math/s_clogl.c (__clogl): Likewise.
29033 * math/libm-test.inc (clog_test): Add more tests.
29034 (clog10_test): Likewise.
29035 * sysdeps/i386/fpu/libm-test-ulps: Update.
29036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29038 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29039 (pltexit): Likewise.
29040 (La_regs): Likewise.
29041 (La_retval): Likewise.
29042 (int_retval): Likewise.
29043 Update #error for removed macros to refer only to definitions in
29045 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29047 (pltexit): Likewise.
29048 (La_regs): Likewise.
29049 (La_retval): Likewise.
29050 (int_retval): Likewise.
29051 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29053 (pltexit): Likewise.
29054 (La_regs): Likewise.
29055 (La_retval): Likewise.
29056 (int_retval): Likewise.
29057 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29059 (pltexit): Likewise.
29060 (La_regs): Likewise.
29061 (La_retval): Likewise.
29062 (int_retval): Likewise.
29063 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29065 (pltexit): Likewise.
29066 (La_regs): Likewise.
29067 (La_retval): Likewise.
29068 (int_retval): Likewise.
29069 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29071 (pltexit): Likewise.
29072 (La_regs): Likewise.
29073 (La_retval): Likewise.
29074 (int_retval): Likewise.
29075 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29077 (pltexit): Likewise.
29078 (La_regs): Likewise.
29079 (La_retval): Likewise.
29080 (int_retval): Likewise.
29081 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29082 macro definitions in tst-audit.h.
29083 * sysdeps/i386/tst-audit.h: New file.
29084 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29085 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29086 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29087 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29088 * sysdeps/sh/tst-audit.h: Likewise.
29089 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29090 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29091 * sysdeps/x86_64/tst-audit.h: Likewise.
29093 2012-07-26 Andreas Jaeger <aj@suse.de>
29095 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29098 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29099 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29100 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29102 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29103 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29104 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29106 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29109 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29111 (si_call_addr, si_syscall, si_arch): Define new macro.
29112 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29114 (si_call_addr, si_syscall, si_arch): Define new marcro.
29115 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29117 (si_call_addr, si_syscall, si_arch): Define new macro.
29118 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29120 (si_call_addr, si_syscall, si_arch): Define new macro.
29122 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29125 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29126 Change to 2.4.21 where previously 2.4.1.
29127 * sysdeps/unix/sysv/linux/configure: Regenerated.
29128 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29129 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29130 Linux kernel version.
29131 (__ASSUME_STD_AUXV): Remove.
29132 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29134 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29135 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29136 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29137 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29138 (__ASSUME_NETLINK_SUPPORT): Likewise.
29139 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29140 (__no_netlink_support): Remove conditional definition.
29141 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29143 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29144 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29145 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29146 (if_nameindex_ioctl): Remove.
29147 (if_nameindex_netlink): Do not handle __no_netlink_support.
29148 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29150 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29151 Remove conditional code.
29152 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29154 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29156 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29157 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29158 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29160 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29161 [!__ASSUME_STD_AUXV]: Remove conditional code.
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29163 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29164 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29166 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29167 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29169 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29171 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29172 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29174 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29176 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29179 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29182 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29183 code unconditional.
29184 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29186 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29188 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29191 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29193 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29196 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29197 code unconditional.
29198 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29200 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29202 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29205 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29206 code unconditional.
29207 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29209 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29211 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29214 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29216 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29217 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29218 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29219 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29220 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29221 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29222 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29223 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29224 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29225 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29226 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29227 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29228 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29229 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29230 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29231 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29232 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29233 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29234 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29240 2012-07-25 Florian Weimer <fweimer@redhat.com>
29242 * Versions.def: Add GLIBC_2.17.
29243 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29244 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29245 Introduce __libc_secure_getenv.
29246 * stdlib/Versions (2.17): Add secure_getenv
29247 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29248 * stdlib/secure-getenv.c: Rename __secure_getenv to
29249 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29250 symbol __secure_getenv for GLIBC_2.0.
29251 * stdlib/tst-secure-getenv.c: New.
29252 * stdlib/Makefile (tests): Add testcase.
29253 * manual/startup.texi (Environment Access): Document
29255 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29256 __libc_secure_getenv.
29257 * inet/ruserpass.c (ruserpass): Likewise.
29258 * malloc/mtrace.c (mtrace): Likewise.
29259 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29260 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29261 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29262 * sysdeps/posix/tempname.c: Likewise. Evaluate
29263 HAVE_SECURE_GETENV.
29264 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29265 __secure_getenv to __libc_secure_getenv.
29266 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29273 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29279 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29281 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29282 (struct La_i86_retval): Likewise.
29283 (struct La_x86_64_regs): Likewise.
29284 (struct La_x86_64_retval): Likewise.
29285 (struct La_x32_regs): Likewise.
29286 (struct La_x32_retval): Likewise.
29287 (struct La_ppc32_regs): Likewise.
29288 (struct La_ppc32_retval): Likewise.
29289 (struct La_ppc64_regs): Likewise.
29290 (struct La_ppc64_retval): Likewise.
29291 (struct La_sh_regs): Likewise.
29292 (struct La_sh_retval): Likewise.
29293 (struct La_s390_32_regs): Likewise.
29294 (struct La_s390_32_retval): Likewise.
29295 (struct La_s390_64_regs): Likewise.
29296 (struct La_s390_64_retval): Likewise.
29297 (struct La_sparc32_regs): Likewise.
29298 (struct La_sparc32_retval): Likewise.
29299 (struct La_sparc64_regs): Likewise.
29300 (struct La_sparc64_retval): Likewise.
29301 (struct audit_ifaces): Remove architecture-specific pltenter and
29303 * sysdeps/i386/ldsodefs.h: New file.
29304 * sysdeps/powerpc/ldsodefs.h: Likewise.
29305 * sysdeps/s390/ldsodefs.h: Likewise.
29306 * sysdeps/sh/ldsodefs.h: Likewise.
29307 * sysdeps/sparc/ldsodefs.h: Likewise.
29308 * sysdeps/x86_64/ldsodefs.h: Likewise.
29310 2012-07-25 Marek Polacek <polacek@redhat.com>
29313 * math/libm-test.inc (yn_test): Add another test.
29314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29315 to ERANGE when the result is +-Inf.
29316 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29317 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29318 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29319 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29321 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29323 * conform/data/time.h-data (NULL): Use macro-constant. Require
29325 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29327 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29329 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29331 * configure.in <sysdeps resolving>: Correct printing
29333 * configure: Regenerate.
29335 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29337 * math/w_ilogb.c: Include <limits.h>.
29338 * math/w_ilogbl.c: Likewise.
29340 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29342 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29343 va_copy. Document allowing for unavailable va_copy only as
29344 pre-C99 compatibility.
29345 * manual/string.texi (Copying and Concatenation): Use va_copy
29346 instead of __va_copy in concat example.
29348 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29350 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29351 (__sendto): Use create_address_port. Initialize APORT and deallocate
29354 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29355 with O_NOLINK passed to __file_name_lookup.
29357 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29358 with O_NOLINK passed to __file_name_lookup.
29360 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29361 negative N or less than NGIDS.
29363 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29364 type to string_t. Set ERANGE as errno and return it if NAME is not big
29365 enough. Use memcpy instead of strncpy.
29367 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29369 * elf/Makefile (check-data): Remove.
29370 (localplt.data): New vpath directive.
29371 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29372 instead of $(check-data).
29373 * scripts/data/localplt-generic.data: Move to ...
29374 * sysdeps/generic/localplt.data: ... here.
29375 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29376 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29377 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29380 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29383 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29386 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29389 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29392 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29396 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29398 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29399 PPC32 and PPC64 files.
29400 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29401 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29403 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29405 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29406 __makecontext_ret to ...
29407 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29408 ... here and call exit if uc_link is NULL. New file.
29409 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29410 __makecontext_ret.S.
29411 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29412 __makecontext_ret to ...
29413 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29414 ... here and call exit if uc_link is NULL. New file.
29415 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29416 __makecontext_ret.S.
29418 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29420 * elf/elf.h (R_390_IRELATIVE): New definition.
29421 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29422 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29423 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29424 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29425 (elf_machine_lazy_rel): Likewise.
29426 * sysdeps/s390/dl-irel.h: New file.
29427 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29428 * sysdeps/s390/s390-64/memset.S: New asm code.
29429 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29430 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29431 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29432 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29433 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29434 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29436 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29437 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29438 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29439 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29440 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29441 * sysdeps/s390/s390-32/memset.S: New asm code.
29442 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29444 2012-07-17 Marek Polacek <polacek@redhat.com>
29447 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29448 * sysdeps/s390/s390-64/configure.in: Likewise.
29449 * sysdeps/sparc/configure.in: Likewise.
29450 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29451 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29452 * sysdeps/i386/configure.in: Likewise.
29453 * sysdeps/x86_64/configure.in: Likewise.
29454 * sysdeps/sh/configure.in: Likewise.
29455 * sysdeps/s390/s390-32/configure: Regenerated.
29456 * sysdeps/s390/s390-64/configure: Likewise.
29457 * sysdeps/x86_64/configure: Likewise.
29458 * sysdeps/sh/configure: Likewise.
29459 * sysdeps/powerpc/powerpc64/configure: Likewise.
29460 * sysdeps/powerpc/powerpc32/configure: Likewise.
29461 * sysdeps/sparc/configure: Likwise.
29462 * sysdeps/i386/configure: Likewise.
29464 * elf/dl-open.c: Comment fixes.
29466 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29468 * Makefile [CXX] (check-data): Remove.
29469 [CXX] (c++-types.data): New vpath directive.
29470 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29471 vpath. Do not allow for C++ type data being missing.
29472 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29473 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29474 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29475 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29476 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29477 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29478 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29481 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29484 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29487 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29490 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29493 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29496 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29499 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29502 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29503 definitions to architecture-specific files.
29504 (TLS_IE): Likewise.
29505 (TLS_LD): Likewise.
29506 (TLS_GD): Likewise.
29507 * sysdeps/i386/tls-macros.h: New file.
29508 * sysdeps/powerpc/tls-macros.h: Likewise.
29509 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29510 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29511 * sysdeps/sh/tls-macros.h: Likewise.
29512 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29513 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29514 * sysdeps/x86_64/tls-macros.h: Likewise.
29516 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29518 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29519 zero value for regular exit case.
29521 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29522 (__start_context): Preserve zero value for regular exit case.
29524 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29525 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29527 * manual/setjmp.texi (setcontext): Clarify normal process
29528 termination when uc_link is the null pointer.
29529 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29532 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29534 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29535 preprocessor. Test for each exception mask separately.
29537 2012-07-16 Andreas Jaeger <aj@suse.de>
29539 * po/ru.po: Update from translation team.
29541 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29543 * conform/data/string.h-data (NULL): Use macro-constant. Require
29545 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29546 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29547 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29548 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29551 2012-07-13 Andreas Jaeger <aj@suse.de>
29553 * po/fr.po: Update from translation team.
29555 2012-07-12 Marek Polacek <polacek@redhat.com>
29558 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29559 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29562 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29566 Change to 2.4.1 where previously 2.4.0.
29567 * sysdeps/unix/sysv/linux/configure: Regenerated.
29568 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29569 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29571 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29572 (__ASSUME_AT_CLKTCK): Remove.
29573 (__ASSUME_AT_PAGESIZE): Likewise.
29574 (__ASSUME_AT_XID): Likewise.
29575 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29576 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29577 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29579 (HAVE_AUX_PAGESIZE): Likewise.
29580 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29581 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29582 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29584 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29588 the temporary buffer used to invoke __gethostbyname2_r,
29589 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29590 host_data / struct gaih_addrtuple.
29591 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29592 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29593 header file nss/nsswitch.h.
29594 * nss/nsswitch.h (global scope): Add definition of implementation
29595 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29596 resolv/nss_dns/dns-host.c).
29598 2012-07-11 Andreas Jaeger <aj@suse.de>
29600 * po/fr.po: Update from translation team.
29602 * po/sv.po: Update from translation team
29603 * po/fr.po: Another update from translation team.
29605 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29607 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29608 for subnormals or multiply small sinh result by itself.
29609 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29612 2012-07-11 David S. Miller <davem@davemloft.net>
29614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29616 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29619 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29620 (INTERNAL_MARK): Shift it here.
29622 2012-07-10 Marek Polacek <polacek@redhat.com>
29625 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29626 libc_cv_asm_global_directive with .globl.
29627 * configure: Regenerated.
29628 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29630 * sysdeps/i386/configure: Regenerated.
29631 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29633 * sysdeps/x86_64/configure: Regenerated.
29634 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29635 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29636 * elf/tst-unique2mod2.c: Likewise.
29637 * elf/tst-unique2mod1.c: Likewise.
29638 * elf/tst-unique1mod2.c: Likewise.
29639 * elf/tst-unique1mod1.c: Likewise.
29640 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29641 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29642 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29644 * sysdeps/mach/sysdep.h: Likewise.
29645 * sysdeps/i386/sysdep.h: Likewise.
29646 * sysdeps/i386/i386-mcount.S: Likewise.
29647 * sysdeps/x86_64/_mcount.S: Likewise.
29648 * sysdeps/x86_64/sysdep.h: Likewise.
29649 * sysdeps/sh/_mcount.S: Likewise.
29650 * sysdeps/sh/sysdep.h: Likewise.
29651 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29652 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29653 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29654 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29655 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29656 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29657 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29658 * locale/localeinfo.h: Likewise.
29659 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29660 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29662 2012-07-09 Roland McGrath <roland@hack.frob.com>
29665 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29667 * manual/message.texi (The Uniforum approach): Likewise.
29668 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29669 (glibc iconv Implementation): Likewise.
29671 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29674 * math/s_clog.c (__clog): Avoid scaling a value down where that
29675 could result in underflow.
29676 * math/s_clog10.c (__clog10): Likewise.
29677 * math/s_clog10f.c (__clog10f): Likewise.
29678 * math/s_clog10l.c (__clog10l): Likewise.
29679 * math/s_clogf.c (__clogf): Likewise.
29680 * math/s_clogl.c (__clogl): Likewise.
29681 * math/libm-test.inc (clog_test): Add more tests.
29682 (clog10_test): Likewise.
29683 * sysdeps/i386/fpu/libm-test-ulps: Update.
29684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29686 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29689 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29690 by 7 not 8 to examine high bit of fractional part.
29693 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29694 for call to __mcount_internal.
29695 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29696 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29697 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29699 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29702 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29703 approximation for values within 0x1p-13f of an odd multiple of
29705 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29706 exception. Add more tests.
29707 * sysdeps/i386/fpu/libm-test-ulps: Update.
29710 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29711 inputs and return -1 for them. Do not check for +Inf in case not
29712 reachable for +Inf.
29713 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29714 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29715 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29716 and return -1 for them. Do not check for +Inf in case not
29717 reachable for +Inf.
29718 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29721 and return -1 for them. Do not check for +Inf in case not
29722 reachable for +Inf.
29723 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29724 spurious underflow.
29725 * sysdeps/i386/fpu/libm-test-ulps: Update.
29726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29728 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29730 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29732 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29736 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29737 could result in spurious underflow. Scale down values above
29738 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29739 * math/s_csqrtf.c (__csqrtf): Likewise.
29740 * math/s_csqrtl.c (__csqrtl): Likewise.
29741 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29742 spurious underflow.
29743 * sysdeps/i386/fpu/libm-test-ulps: Update.
29744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29748 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29750 * catgets/xopen-msg.awk: New file.
29751 * catgets/xopen-msg.sed: Removed.
29753 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29755 * intl/po2test.awk: New file.
29756 * intl/po2test.sed: Removed.
29758 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29761 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29762 or multiply small sinh result by itself.
29763 * math/s_ctanf.c (__ctanf): Likewise.
29764 * math/s_ctanh.c (__ctanh): Likewise.
29765 * math/s_ctanhf.c (__ctanhf): Likewise.
29766 * math/s_ctanhl.c (__ctanhl): Likewise.
29767 * math/s_ctanl.c (__ctanl): Likewise.
29768 * math/libm-test.inc (ctan_test_tonearest): New function.
29769 (ctan_test_towardzero): Likewise.
29770 (ctan_test_downward): Likewise.
29771 (ctan_test_upward): Likewise.
29772 (ctanh_test_tonearest): Likewise.
29773 (ctanh_test_towardzero): Likewise.
29774 (ctanh_test_downward): Likewise.
29775 (ctanh_test_upward): Likewise.
29776 (main): Call these new functions.
29777 * sysdeps/i386/fpu/libm-test-ulps: Update.
29778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29780 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29782 * .gitignore: Delete /ports entry.
29784 2012-07-03 Andreas Jaeger <aj@suse.de>
29786 * po/bg.po: Update from translation team.
29787 * po/cs.po: Likewise.
29788 * po/de.po: Likewise.
29789 * po/hr.po: Likewise.
29790 * po/nl.pl: Likewise.
29791 * po/pl.po: Likewise.
29792 * po/vi.po: Likewise.
29794 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29796 * Makeconfig [!+link] (+link-before-libc): New variable.
29797 [!+link] (+link-after-libc): Likewise.
29798 [!+link] (+link-tests): Likewise.
29799 [!+link] (+link): Define in terms of $(+link-before-libc) and
29800 $(+link-after-libc).
29801 [!+link-static] (+link-static-before-libc): New variable.
29802 [!+link-static] (+link-static-after-libc): Likewise.
29803 [!+link-static] (+link-static-tests): Likewise.
29804 [!+link-static] (+link-static): Define in terms of
29805 $(+link-static-before-libc) and $(+link-static-after-libc).
29806 [build-shared] (link-libc-before-gnulib): New variable.
29807 [build-shared] (link-libc-tests): Likewise.
29808 [build-shared] (link-libc): Define in terms of
29809 $(link-libc-before-gnulib).
29810 [!build-shared] (link-libc-tests): New variable.
29811 (link-libc-static-tests): New variable.
29812 [!gnulib] (gnulib-arch): New variable.
29813 [!gnulib] (gnulib-tests): Likewise.
29814 [!gnulib] (static-gnulib-arch): Likewise.
29815 [!gnulib] (static-gnulib-tests): Likewise.
29816 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29817 Define with "=" instead of ":=".
29818 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29819 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29820 * Rules (binaries-all-notests): New variable.
29821 (binaries-all-tests): Likewise.
29822 (binaries-static-notests): Likewise.
29823 (binaries-static-tests): Likewise.
29824 (binaries-all): Define using $(binaries-all-notests) and
29825 $(binaries-all-tests).
29826 (binaries-static): Define using $(binaries-static-notests) and
29827 $(binaries-static-tests).
29828 (binaries-shared-tests): New variable.
29829 (binaries-shared-notests): Likewise.
29830 (binaries-shared): Remove variable.
29831 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29832 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29833 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29834 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29835 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29836 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29837 * elf/Makefile (sln-modules): New variable.
29838 (extra-objs): Add $(sln-modules:=.o).
29839 (ldconfig-modules): Add static-stubs.
29840 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29841 * elf/static-stubs.c: New file.
29844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29845 by 7 not 8 to examine high bit of fractional part. Use volatile
29846 variables when splitting into final array of floats if
29847 __FLT_EVAL_METHOD__ != 0.
29848 * math/libm-test.inc (cos_test): Add another test.
29849 (sin_test): Likewise.
29850 * sysdeps/i386/fpu/libm-test-ulps: Update.
29853 * math/libm-test.inc (cosh_test): Add more tests.
29855 * version.h (RELEASE): Set to "development".
29856 (VERSION): Set to "2.16.90".
29858 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29860 * NEWS: Update copyright. Remove last-updated date.
29861 Mention math library bug fixes and timezone data changes.
29862 * README: Mention GNU/Hurd, x32, and HPPA support status.
29864 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29866 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29868 2012-06-27 Andreas Jaeger <aj@suse.de>
29870 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29872 2012-06-25 Andreas Jaeger <aj@suse.de>
29874 * sysdeps/s390/fpu/libm-test-ulps: Update.
29876 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29877 Thomas Schwinge <thomas@codesourcery.com>
29879 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29880 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29884 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29886 * sysdeps/mach/start.c: Remove file.
29887 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29888 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29889 * sysdeps/sh/init-first.c: Likewise.
29891 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29892 registers for frame unwinding purposes, add CFI directives.
29893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29894 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29895 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29898 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29899 __fortify_fail returning.
29900 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29903 sysdeps/sh/____longjmp_chk.S.
29904 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29905 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29906 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29907 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29909 * sysdeps/sh/abort-instr.h: New file.
29910 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29911 process in case exit returns.
29913 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29914 initialize the GOT register before use.
29916 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29917 calculation of ARGC > 4.
29919 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29920 meaningful names to some local labels.
29922 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29923 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29925 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29926 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29927 (__arch_compare_and_exchange_val_16_acq): Likewise.
29928 (__arch_compare_and_exchange_val_32_acq): Likewise.
29929 (atomic_exchange_and_add): Fix gUSA sequence.
29930 (atomic_add): Likewise.
29931 (atomic_add_negative): Likewise.
29932 (atomic_add_zero): Likewise.
29933 (atomic_bit_test_set): Likewise.
29935 2012-06-22 Andreas Schwab <schwab@redhat.com>
29938 * include/link.h (struct link_map): Add l_free_initfini.
29939 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29941 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29942 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29943 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29946 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29948 * configure.in: Use AC_LANG_SOURCE.
29949 * configure: Regenerate.
29951 2012-06-22 Roland McGrath <roland@hack.frob.com>
29953 * configure.in (libc_cv_localstatedir): New substituted variable.
29954 * configure: Regenerated.
29955 * config.make.in (localstatedir): New variable, substituted from
29956 libc_cv_localstatedir.
29957 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29958 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29959 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29960 * sysdeps/gnu/configure: Regenerated.
29962 2012-06-21 Jeff Law <law@redhat.com>
29965 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29966 free. Simplify list management for _LIBC case.
29968 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29971 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29972 Clear sign bit of 64-bit integer value before comparing against
29975 * sysdeps/mach/configure: Regenerated.
29977 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29980 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29982 2012-06-21 Jeff Law <law@redhat.com>
29985 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29986 uint16_t for elements in the "seen" array to avoid char overflows.
29987 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29988 * elf/dl-open.c (dl_open_worker): Likewise.
29990 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29992 * scripts/list-sources.sh: Scan PORTS for translations.
29993 * po/libc.pot: Regenerated.
29995 2012-06-21 Andreas Jaeger <aj@suse.de>
29998 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30000 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30001 * bits/byteswap-16.h (__bswap_16): Likewise.
30002 * bits/byteswap.h (__bswap_constant_16): Likewise.
30004 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30007 * sysdeps/i386/fpu_control.h: Removed.
30008 * sysdeps/x86_64/fpu_control.h: Moved to ...
30009 * sysdeps/x86/fpu_control.h: Here.
30011 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30012 (_FPU_SETCW): Likewise.
30014 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30017 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30018 * sysdeps/x86/fpu/bits/mathinline.h: This.
30019 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30023 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30024 functions if __x86_64__ is defined.
30026 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30028 * string/endian.h: Add !__ASSEMBLER__ condition for including
30029 conversion interfaces.
30031 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30035 of ABS(x) in calculating zero to negative powers other than odd
30037 * math/libm-test.inc (pow_test): Add more tests.
30039 2012-06-15 Andreas Jaeger <aj@suse.de>
30041 * manual/contrib.texi (Contributors): Update entry of Liubov
30042 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30045 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30047 * string/string.h: Add __wur to GNU version of strerror_r.
30049 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30052 * string/Makefile (tests): Add tst-strtok_r.
30053 * string/tst-strtok_r.c: New file.
30054 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30055 RAX_LP/RDX_LP on SAVE_PTR.
30057 2012-06-14 Roland McGrath <roland@hack.frob.com>
30059 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30061 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30063 * libm_test.inc (csqrt_test): Allow more spurious underflow
30065 (j0_test): Likewise.
30066 (j1_test): Likewise.
30067 (y0_test): Likewise.
30068 (y1_test): Likewise.
30070 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30072 * po/Makefile (libc.pot): Use UTF-8 charset.
30074 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30077 Suppress sign-conversion warning from FD_SET.
30078 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30079 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30080 not unsigned long int.
30081 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30083 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30087 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30088 __extern_always_inline instead of __extern_inline.
30089 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30090 (__signbit): Likewise.
30091 (__signbitl): Support C++ namespace.
30092 (lrintf): New inline function.
30094 (llrintf): Likewise.
30095 (llrint): Likewise.
30105 (floorf): Likewise.
30106 (nearbyint): Likewise.
30107 (nearbyintf): Likewise.
30109 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30112 non-default versions.
30114 2012-06-11 Roland McGrath <roland@hack.frob.com>
30117 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30119 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30121 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30122 (FE_UPWARD, FE_DOWNWARD): Don't define.
30123 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30126 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30128 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30129 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30131 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30133 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30135 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30136 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30138 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30141 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30142 * sysdeps/i386/fpu/Implies: New file.
30143 * sysdeps/x86_64/fpu/Implies: Likewise.
30144 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30145 * sysdeps/x86/fpu/bits/fenv.h: This.
30147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30150 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30153 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30154 character 0xffff that matches the last element of the
30157 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30162 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30165 values higher than 25.6283.
30167 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30169 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30170 subnormal exponent extraction and add some __builtin_expect.
30171 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30172 Fix for subnormal mantissa calculation.
30174 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30176 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30177 cpu2 is -1 and errno is not ENOSYS.
30179 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30182 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30183 * sysdeps/x86/bits/string.h: This.
30184 * sysdeps/x86_64/bits/string.h: Removed.
30186 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30187 if not compiling for x86-64, but compiling for >= i486.
30189 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30190 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30192 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30193 New macro from Linux kernel 3.4.0.
30194 (FP_XSTATE_MAGIC2): Likewise.
30195 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30196 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30197 (struct _fpx_sw_bytes): New struct.
30198 (struct _xsave_hdr): Likewise.
30199 (struct _ymmh_state): Likewise.
30200 (struct _xstate): Likewise.
30202 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30203 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30205 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30207 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30209 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30210 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30211 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30212 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30213 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30214 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30216 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30219 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30220 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30221 (sysdep_headers): Include sys/platform/ppc.h.
30222 * sysdeps/powerpc/test-gettimebase.c: Test for
30223 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30224 * manual/Makefile (appendices): Include platform.texi.
30225 * manual/contrib.texi (Contributors): Update @node pointers.
30226 * manual/maint.texi (Maintenance): Likewise.
30227 (Platform): New node.
30228 * manual/platform.texi: New file. Document the new features.
30230 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30231 Jakub Jelinek <jakub@redhat.com>
30234 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30235 where __builtin_expect is unavailable.
30237 2012-06-03 David S. Miller <davem@davemloft.net>
30239 * stdlib/longlong.h: Updated from GCC.
30241 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30244 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30245 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30248 (GLIBC_2.16): Likewise.
30250 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30254 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30257 (default-abi): New variable.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30259 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30261 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30263 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30265 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30268 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30269 definition. Document in comment.
30271 2012-06-01 David S. Miller <davem@davemloft.net>
30273 * stdlib/longlong.h: Updated from GCC.
30275 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30278 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30279 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30280 sys/debugreg.h sys/io.h here.
30281 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30282 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30284 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30285 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30286 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30287 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30288 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30289 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30291 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30292 Define only if __x86_64__ is defined.
30294 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30297 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30298 Use int64_t for variable i.
30299 * math/libm-test.inc (fmod_test): Add more tests.
30301 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30302 z computation is not scheduled after fetestexcept.
30303 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30304 Use math_force_eval instead of asm to ensure calculation scheduled
30305 before exception test.
30306 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30307 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30309 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30312 computation is not scheduled after fetestexcept.
30314 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30317 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30318 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30320 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30322 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30323 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30325 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30328 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30330 (__WCHAR_MIN): Support __WORDSIZE == 64.
30331 (__WCHAR_MAX): Likewise.
30333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30334 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30338 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30341 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30342 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30344 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30345 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30347 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30348 Defined to 1 if __x86_64__ isn't defined.
30349 (_STAT_VER_LINUX_OLD): New.
30350 (st_atime): Remove duplicate.
30351 (st_mtime): Likewise.
30352 (st_ctime): Likewise.
30354 2012-05-31 David S. Miller <davem@davemloft.net>
30356 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30359 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30361 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30365 * elf/dl-reloc.c: Include <_itoa.h>.
30366 (_dl_reloc_bad_type): Remove use of INTUSE.
30367 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30368 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30369 * stdio-common/psiginfo.c (psiginfo): Likewise.
30370 * stdio-common/psignal.c (psignal): Likewise.
30371 * string/strsignal.c (strsignal): Likewise.
30372 * include/signal.h (_sys_siglist): Declare hidden proto.
30373 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30374 INTVARDEF with libc_hidden_data_def.
30375 * stdio-common/itoa-udigits.c: Likewise.
30376 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30377 (_itoa_lower_digits_internal): Remove declaration.
30378 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30379 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30380 (_sys_sigabbrev_internal): Remove aliases.
30381 (_sys_siglist): Define hidden alias.
30383 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30388 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30391 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30392 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30394 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30395 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30396 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30397 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30399 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30401 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30403 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30413 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30415 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30417 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30418 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30420 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30421 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30422 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30424 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30425 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30427 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30428 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30432 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30434 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30435 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30437 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30439 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30440 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30441 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30443 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30445 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30447 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30449 * math/math.h (M_El): Use two more decimal places.
30450 (M_LOG2El): Likewise.
30451 (M_LOG10El): Likewise.
30452 (M_LN2l): Likewise.
30453 (M_LN10l): Likewise.
30455 (M_PI_2l): Likewise.
30456 (M_PI_4l): Likewise.
30457 (M_1_PIl): Likewise.
30458 (M_2_PIl): Likewise.
30459 (M_2_SQRTPIl): Likewise.
30460 (M_SQRT2l): Likewise.
30461 (M_SQRT1_2l): Likewise.
30463 2012-05-31 David S. Miller <davem@davemloft.net>
30465 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30466 values between float registers.
30467 * sysdeps/sparc/sparc64/memset.S: Likewise.
30468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30470 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30472 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30473 -D_FORTIFY_SOURCE=1.
30474 (CPPFLAGS-tst-longjmp_chk.c): Define.
30475 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30476 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30477 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30478 CFLAGS-tst-wchar-h.c.
30480 2012-05-31 Marek Polacek <polacek@redhat.com>
30483 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30484 __endmntent_internal): Remove declaration.
30485 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30486 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30487 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30489 2012-05-30 David S. Miller <davem@davemloft.net>
30491 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30492 (___Q_simulate_exceptions): Use real FP ops rather than writing
30494 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30497 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30500 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30501 * sysdeps/x86/bits/xtitypes.h: This.
30503 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30504 * sysdeps/x86/bits/wordsize.h: This.
30506 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30507 * sysdeps/x86/bits/huge_vall.h: This.
30509 * sysdeps/i386/bits/select.h: Removed.
30510 * sysdeps/x86_64/bits/select.h: Renamed to ...
30511 * sysdeps/x86/bits/select.h: This.
30513 * sysdeps/i386/bits/setjmp.h: Removed.
30514 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30515 * sysdeps/x86/bits/setjmp.h: This.
30517 * sysdeps/i386/bits/mathdef.h: Removed.
30518 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30519 * sysdeps/x86/bits/mathdef.h: This.
30521 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30524 * include/sys/socket.h (__connect_internal)
30525 (__libc_sa_len_internal): Remove declaration.
30526 (__connect, __libc_sa_len): Declare hidden_proto.
30527 (SA_LEN): Remove use of INTUSE.
30528 * socket/connect.c: Add libc_hidden_def.
30529 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30530 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30531 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30533 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30534 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30535 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30536 of adding _internal alias.
30538 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30541 * sysdeps/i386/bits/link.h: Removed.
30542 * sysdeps/i386/bits/linkmap.h: Likewise.
30543 * sysdeps/x86_64/bits/link.h: Renamed to ...
30544 * sysdeps/x86/bits/link.h: This.
30545 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30546 * sysdeps/x86/bits/linkmap.h: This.
30548 * sysdeps/i386/bits/endian.h: Removed.
30549 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30550 * sysdeps/x86/bits/endian.h: This.
30552 * sysdeps/i386/bits/byteswap.h: Removed.
30553 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30554 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30555 * sysdeps/x86/bits/byteswap.h: This.
30556 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30557 * sysdeps/x86/bits/byteswap-16.h: This.
30558 * sysdeps/i386/Implies: Add x86.
30559 * sysdeps/x86_64/Implies: Likewise.
30561 2012-05-30 David S. Miller <davem@davemloft.net>
30563 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30564 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30566 (FP_TRAPPING_EXCEPTIONS): Define.
30567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30568 (FP_TRAPPING_EXCEPTIONS): Define.
30569 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30570 subnormals only when inexact has been signalled or underflow
30571 exceptions are enabled.
30572 (_FP_PACK_CANONICAL): Likewise.
30574 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30577 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30578 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30580 2012-05-30 Richard Henderson <rth@twiddle.net>
30582 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30583 with #ifndef NOT_IN_libc.
30585 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30586 marked to avoid plt entry.
30588 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30591 * Makeconfig (default-abi): New macro.
30592 (abi-includes): Likewise.
30593 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30594 $(abi-$(default-abi)-lib-soname) for soname if defined.
30595 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30597 * Makefile (installed-stubs): Likewise.
30598 * include/stubs-biarch.h: Removed.
30599 * scripts/lib-names.awk: Only handle one library at a time.
30600 * scripts/soversions.awk: Remove WORDSIZE support.
30601 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30603 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30605 (syscall-list-default-condition): Likewise.
30606 (syscall-list-default-condition): Likewise.
30607 (syscall-list-includes): Likewise.
30608 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30609 syscall-list-* with abi-*. Handle undefined abi-variants.
30610 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30611 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30612 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30613 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30614 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30615 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30617 (syscall-list-32-options): Likewise.
30618 (syscall-list-32-condition): Likewise.
30619 (syscall-list-64-options): Likewise.
30620 (syscall-list-64-condition): Likewise.
30621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30623 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30626 (abi-64-ld-soname): New macro.
30627 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30628 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30631 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30632 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30634 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30636 * sysdeps/unix/sysv/linux/kernel-features.h
30637 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30638 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30639 include <kernel-features.h>.
30640 [!__NR_ftruncate64]: Remove conditional code.
30641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30642 [__NR_ftruncate64]: Make code unconditional.
30643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30644 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30645 include <kernel-features.h>.
30646 [!__NR_ftruncate64]: Remove conditional code.
30647 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30648 [__NR_ftruncate64]: Make code unconditional.
30649 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30651 include <kernel-features.h>.
30652 [!__NR_ftruncate64]: Remove conditional code.
30653 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30654 [__NR_ftruncate64]: Make code unconditional.
30655 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30657 include <kernel-features.h>.
30658 [!__NR_ftruncate64]: Remove conditional code.
30659 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30660 [__NR_ftruncate64]: Make code unconditional.
30661 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30663 * configure.in (libc_cv_fpie): Weaken to a compile test using
30664 LIBC_TRY_CC_OPTION.
30665 * configure: Regenerated.
30667 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30682 2012-05-27 David S. Miller <davem@davemloft.net>
30684 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30686 (__Q_simulate_exceptions): Return void. Change to simulate
30687 exceptions by writing into the %fsr.
30688 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30689 (__Qp_handle_exceptions): Likewise.
30691 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30692 __Qp_handle_exceptions.
30693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30694 __Qp_handle_exceptions.
30695 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30696 as unused and give dummy FP_RND_NEAREST initializer.
30697 (FP_INHIBIT_RESULTS): Define.
30698 (___Q_simulate_exceptions): Update declaration.
30699 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30701 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30702 as unused and give dummy FP_RND_NEAREST initializer.
30703 (__Qp_handle_exceptions): Update declaration.
30704 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30707 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30709 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30710 the temporary FPU control word.
30711 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30712 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30713 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30714 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30715 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30716 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30717 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30718 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30719 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30720 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30721 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30723 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30725 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30728 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30730 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30731 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30732 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30733 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30735 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30736 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30739 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30741 * po/h.po: Update from translation team.
30743 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30745 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30747 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30748 handling of denormals.
30749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30750 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30751 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30752 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30758 2012-05-26 Marek Polacek <polacek@redhat.com>
30761 * math/libm-test.inc (fma_test): Don't always expect underflow
30764 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30767 * elf/tst-execstack.c: Include stackinfo.h.
30768 (do_test): Adjust test case to ensure that pthread_getattr_np
30769 behaviour remains the same after marking stack executable.
30771 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30773 * sysdeps/unix/sysv/linux/kernel-features.h
30774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30775 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30777 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30778 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30779 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30781 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30782 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30784 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30786 * configure.in: Define the default includes to being none.
30787 * configure: Regenerated.
30789 2012-05-25 Roland McGrath <roland@hack.frob.com>
30791 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30792 * sysdeps/x86_64/setjmp.S: Likewise.
30793 * sysdeps/i386/bsd-setjmp.S: Likewise.
30794 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30795 * sysdeps/i386/setjmp.S: Likewise.
30796 * sysdeps/i386/__longjmp.S: Likewise.
30797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30798 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30800 * include/stap-probe.h: New file.
30801 * configure.in: Handle --enable-systemtap.
30802 * configure: Regenerated.
30803 * config.h.in (USE_STAP_PROBE): New #undef.
30804 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30805 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30806 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30808 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30811 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30812 to 2.4.0 where earlier.
30813 * sysdeps/unix/sysv/linux/configure: Regenerated.
30814 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30815 <kernel-features.h>.
30816 [__ASSUME_32BITUIDS]: Make code unconditional.
30817 [!__ASSUME_32BITUIDS]: Remove conditional code.
30818 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30819 <kernel-features.h>.
30820 [__ASSUME_32BITUIDS]: Make code unconditional.
30821 [!__ASSUME_32BITUIDS]: Remove conditional code.
30822 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30823 [__ASSUME_32BITUIDS]: Make code unconditional.
30824 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30825 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30826 <kernel-features.h>.
30827 [__ASSUME_32BITUIDS]: Make code unconditional.
30828 [!__ASSUME_32BITUIDS]: Remove conditional code.
30829 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30830 <kernel-features.h>.
30831 [__ASSUME_32BITUIDS]: Make code unconditional.
30832 [!__ASSUME_32BITUIDS]: Remove conditional code.
30833 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30834 <kernel-features.h>.
30835 [__ASSUME_32BITUIDS]: Make code unconditional.
30836 [!__ASSUME_32BITUIDS]: Remove conditional code.
30837 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30838 <kernel-features.h>.
30839 [__ASSUME_32BITUIDS]: Make code unconditional.
30840 [!__ASSUME_32BITUIDS]: Remove conditional code.
30841 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30842 <kernel-features.h>.
30843 [__ASSUME_32BITUIDS]: Make code unconditional.
30844 [!__ASSUME_32BITUIDS]: Remove conditional code.
30845 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30846 <kernel-features.h>.
30847 [__ASSUME_32BITUIDS]: Make code unconditional.
30848 [!__ASSUME_32BITUIDS]: Remove conditional code.
30849 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30850 <kernel-features.h>.
30851 [__ASSUME_32BITUIDS]: Make code unconditional.
30852 [!__ASSUME_32BITUIDS]: Remove conditional code.
30853 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30854 <kernel-features.h>.
30855 [__ASSUME_32BITUIDS]: Make code unconditional.
30856 [!__ASSUME_32BITUIDS]: Remove conditional code.
30857 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30858 <kernel-features.h>.
30859 [__ASSUME_32BITUIDS]: Make code unconditional.
30860 [!__ASSUME_32BITUIDS]: Remove conditional code.
30861 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30862 <kernel-features.h>.
30863 [__ASSUME_32BITUIDS]: Make code unconditional.
30864 [!__ASSUME_32BITUIDS]: Remove conditional code.
30865 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30866 <kernel-features.h>.
30867 [__NR_setresgid] (__setresgid): Do not declare.
30868 [__ASSUME_32BITUIDS]: Make code unconditional.
30869 [!__ASSUME_32BITUIDS]: Remove conditional code.
30870 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30871 <kernel-features.h>.
30872 [__NR_setresuid] (__setresuid): Do not declare.
30873 [__ASSUME_32BITUIDS]: Make code unconditional.
30874 [!__ASSUME_32BITUIDS]: Remove conditional code.
30875 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30876 <kernel-features.h>.
30877 [__ASSUME_32BITUIDS]: Make code unconditional.
30878 [!__ASSUME_32BITUIDS]: Remove conditional code.
30879 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
30916 (__ASSUME_SETRESUID_SYSCALL): Remove.
30917 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30918 (__ASSUME_32BITUIDS): Likewise.
30919 (__ASSUME_LDT_WORKS): Likewise.
30920 (__ASSUME_O_DIRECTORY): Likewise.
30921 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30922 architecture but not kernel version.
30923 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30924 (__ASSUME_MMAP2_SYSCALL): Likewise.
30925 (__ASSUME_STAT64_SYSCALL): Likewise.
30926 (__ASSUME_IPC64): Likewise.
30927 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30928 <kernel-features.h>.
30929 [__ASSUME_32BITUIDS]: Make code unconditional.
30930 [!__ASSUME_32BITUIDS]: Remove conditional code.
30931 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30932 <kernel-features.h>.
30933 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30934 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30935 132096]: Remove conditional code.
30936 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30937 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
30946 <kernel-features.h>.
30947 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30949 (__setresgid): Do not declare.
30950 [__ASSUME_32BITUIDS]: Make code unconditional.
30951 [!__ASSUME_32BITUIDS]: Remove conditional code.
30952 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30953 <kernel-features.h>.
30954 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30956 (__setresuid): Do not declare.
30957 [__ASSUME_32BITUIDS]: Make code unconditional.
30958 [!__ASSUME_32BITUIDS]: Remove conditional code.
30959 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30960 <kernel-features.h>.
30961 [__ASSUME_32BITUIDS]: Make code unconditional.
30962 [!__ASSUME_32BITUIDS]: Remove conditional code.
30963 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30964 <kernel-features.h>.
30965 [__ASSUME_32BITUIDS]: Make code unconditional.
30966 [!__ASSUME_32BITUIDS]: Remove conditional code.
30968 2012-05-25 Richard Henderson <rth@twiddle.net>
30970 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30971 dl_hwcap to ifunc resolver.
30972 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30974 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30975 dl_hwcap to ifunc resolver.
30976 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30978 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30981 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30982 for |x| <= 2**-26, not 2**-57.
30983 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30986 2012-05-24 Jeff Law <law@redhat.com>
30988 * stdio-common/Makefile (tests): Add bug25.
30989 * stdio-common/bug25.c: New test.
30991 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30994 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30995 multiple of MALLOC_ALIGNMENT in size.
30996 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30998 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31000 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31002 (FILENAME_MAX): Use macro-int-constant.
31003 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31004 (_IOFBF): Use macro-int-constant.
31005 (_IOLBF): Likewise.
31006 (_IONBF): Likewise.
31007 (SEEK_CUR): Likewise.
31008 (SEEK_END): Likewise.
31009 (SEEK_SET): Likewise.
31010 (TMP_MAX): Likewise.
31011 (EOF): Use macro-int-constant. Require < 0.
31012 (NULL): Use macro-constant. Require == 0.
31013 (stdin): Require type to be FILE *.
31014 (stdout): Likewise.
31015 (stderr): Likewise.
31016 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31017 macro-int-constant.
31018 (EXIT_SUCCESS): Likewise.
31019 (NULL): Use macro-constant. Require == 0.
31020 (RAND_MAX): Use macro-int-constant.
31021 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31022 [C99-based standards] (strtof): Require function.
31023 [C99-based standards] (strtold): Likewise.
31024 [C99-based standards] (strtoll): Likewise.
31025 [C99-based standards] (strtoull): Likewise.
31026 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31027 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31028 [ISO || ISO99 || ISO11] (math.h): Likewise.
31029 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31030 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31033 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31036 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31037 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31038 * intl/dgettext.c (DCGETTEXT): Likewise.
31039 * intl/gettext.c (DCGETTEXT): Likewise.
31040 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31041 * posix/regex_internal.h (gettext): Likewise.
31042 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31043 Remove declaration.
31044 * include/argz.h (__argz_count_internal)
31045 (__argz_stringify_internal): Remove declaration.
31046 (__argz_count, __argz_stringify): Declare hidden proto.
31047 * intl/dcgettext.c: Remove use of INTDEF.
31048 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31049 * string/argz-stringify.c: Likewise.
31050 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31051 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31052 Declare hidden proto.
31053 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31054 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31055 Declare hidden proto.
31056 * include/stdio.h (__asprintf_internal): Don't declare.
31057 (__asprintf): Don't define as macro. Declare hidden proto.
31058 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31059 (__fsetlocking): Declare hidden proto.
31060 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31061 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31063 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31064 (_IO_setlinebuf): Remove use of INTUSE.
31065 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31066 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31067 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31068 Remove declaration.
31069 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31070 (_IO_do_flush): Remove use of INTUSE.
31071 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31072 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31073 (_IO_adjust_column, _IO_least_wmarker)
31074 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31075 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31076 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31077 (_IO_default_doallocate, _IO_wdefault_doallocate)
31078 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31079 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31080 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31081 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31082 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31083 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31084 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31085 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31086 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31087 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31088 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31089 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31090 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31092 (_IO_flush_all_internal, _IO_adjust_column_internal)
31093 (_IO_default_uflow_internal, _IO_default_finish_internal)
31094 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31095 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31096 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31097 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31098 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31099 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31100 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31101 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31102 (_IO_file_close_internal, _IO_file_close_it_internal)
31103 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31104 (_IO_file_init_internal, _IO_file_attach_internal)
31105 (_IO_file_fopen_internal, _IO_file_read_internal)
31106 (_IO_file_sync_internal, _IO_file_seek_internal)
31107 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31108 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31109 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31110 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31111 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31112 (_IO_list_all_internal, _IO_link_in_internal)
31113 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31114 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31115 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31116 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31117 (_IO_do_write_internal, _IO_padn_internal)
31118 (_IO_getline_info_internal, _IO_getline_internal)
31119 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31120 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31121 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31122 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31123 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31124 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31125 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31126 with libc_hidden_ver, remove use of INTUSE.
31127 * libio/genops.c: Likewise.
31128 * libio/freopen.c: Likewise.
31129 * libio/freopen64.c: Likewise.
31130 * libio/iofclose.c: Likewise.
31131 * libio/iofdopen.c: Likewise.
31132 * libio/iofflush.c: Likewise.
31133 * libio/iofflush_u.c: Likewise.
31134 * libio/iofgets.c: Likewise.
31135 * libio/iofgets_u.c: Likewise.
31136 * libio/iofopen.c: Likewise.
31137 * libio/iofopncook.c: Likewise.
31138 * libio/iofread.c: Likewise.
31139 * libio/iofread_u.c: Likewise.
31140 * libio/ioftell.c: Likewise.
31141 * libio/iofwrite.c: Likewise.
31142 * libio/iogetline.c: Likewise.
31143 * libio/iogets.c: Likewise.
31144 * libio/iogetwline.c: Likewise.
31145 * libio/iopadn.c: Likewise.
31146 * libio/iopopen.c: Likewise.
31147 * libio/ioseekoff.c: Likewise.
31148 * libio/ioseekpos.c: Likewise.
31149 * libio/iosetbuffer.c: Likewise.
31150 * libio/iosetvbuf.c: Likewise.
31151 * libio/ioungetc.c: Likewise.
31152 * libio/ioungetwc.c: Likewise.
31153 * libio/iovdprintf.c: Likewise.
31154 * libio/iovsprintf.c: Likewise.
31155 * libio/iovsscanf.c: Likewise.
31156 * libio/memstream.c: Likewise.
31157 * libio/obprintf.c: Likewise.
31158 * libio/oldfileops.c: Likewise.
31159 * libio/oldiofclose.c: Likewise.
31160 * libio/oldiofdopen.c: Likewise.
31161 * libio/oldiofopen.c: Likewise.
31162 * libio/oldiopopen.c: Likewise.
31163 * libio/oldstdfiles.c: Likewise.
31164 * libio/putc.c: Likewise.
31165 * libio/setbuf.c: Likewise.
31166 * libio/setlinebuf.c: Likewise.
31167 * libio/stdfiles.c: Likewise.
31168 * libio/strops.c: Likewise.
31169 * libio/vasprintf.c: Likewise.
31170 * libio/vscanf.c: Likewise.
31171 * libio/vsnprintf.c: Likewise.
31172 * libio/vswprintf.c: Likewise.
31173 * libio/wfiledoalloc.c: Likewise.
31174 * libio/wfileops.c: Likewise.
31175 * libio/wgenops.c: Likewise.
31176 * libio/wmemstream.c: Likewise.
31177 * libio/wstrops.c: Likewise.
31178 * libio/__fpurge.c: Likewise.
31179 * libio/__fsetlocking.c: Likewise.
31180 * assert/assert.c: Likewise.
31181 * debug/fgets_chk.c: Likewise.
31182 * debug/fgets_u_chk.c: Likewise.
31183 * debug/fread_chk.c: Likewise.
31184 * debug/fread_u_chk.c: Likewise.
31185 * debug/gets_chk.c: Likewise.
31186 * debug/obprintf_chk.c: Likewise.
31187 * debug/vasprintf_chk.c: Likewise.
31188 * debug/vdprintf_chk.c: Likewise.
31189 * debug/vsnprintf_chk.c: Likewise.
31190 * debug/vsprintf_chk.c: Likewise.
31191 * malloc/mtrace.c: Likewise.
31192 * misc/error.c: Likewise.
31193 * misc/syslog.c: Likewise.
31194 * stdio-common/asprintf.c: Likewise.
31195 * stdio-common/fxprintf.c: Likewise.
31196 * stdio-common/getw.c: Likewise.
31197 * stdio-common/isoc99_fscanf.c: Likewise.
31198 * stdio-common/isoc99_scanf.c: Likewise.
31199 * stdio-common/isoc99_vfscanf.c: Likewise.
31200 * stdio-common/isoc99_vscanf.c: Likewise.
31201 * stdio-common/isoc99_vsscanf.c: Likewise.
31202 * stdio-common/printf-prs.c: Likewise.
31203 * stdio-common/printf_fp.c: Likewise.
31204 * stdio-common/printf_fphex.c: Likewise.
31205 * stdio-common/printf_size.c: Likewise.
31206 * stdio-common/putw.c: Likewise.
31207 * stdio-common/scanf.c: Likewise.
31208 * stdio-common/sprintf.c: Likewise.
31209 * stdio-common/tmpfile.c: Likewise.
31210 * stdio-common/vfprintf.c: Likewise.
31211 * stdio-common/vfscanf.c: Likewise.
31212 * stdlib/strfmon_l.c: Likewise.
31213 * sunrpc/openchild.c: Likewise.
31214 * sunrpc/xdr_stdio.c: Likewise.
31215 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31216 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31218 2012-05-24 Roland McGrath <roland@hack.frob.com>
31220 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31222 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31223 in the third column, to generate for the shared library an IFUNC
31224 that uses _dl_vdso_vsym.
31225 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31226 * Makeconfig (object-suffixes-noshared): New variable.
31228 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31229 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31230 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31231 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31234 * include/sys/time.h (__gettimeofday): Remove macro.
31235 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31236 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31238 (__gettimeofday): Add libc_hidden_def.
31239 (gettimeofday): Add libc_hidden_weak.
31240 * sysdeps/mach/gettimeofday.c: Likewise.
31241 * sysdeps/posix/gettimeofday.c: Likewise.
31242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31243 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31245 (__gettimeofday_internal): Remove strong_alias.
31246 (__gettimeofday): Add libc_hidden_def.
31247 (gettimeofday): Add libc_hidden_weak.
31248 * sysdeps/unix/syscalls.list (gettimeofday):
31249 Remove __gettimeofday_internal alias.
31251 2012-05-24 Daniel Jacobowitz <drow@false.org>
31252 H.J. Lu <hongjiu.lu@intel.com>
31255 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31256 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31257 (largebin_index_32_big): New.
31258 (largebin_index): Use it for 16-byte alignment.
31259 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31260 correction with front_misalign.
31262 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31290 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31291 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31293 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31297 * math/libm-test.inc (exp_test): Add test from bug 14036.
31298 (pow_test): Add test from bug 10846.
31300 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31302 (special_function): Do not include flags in test name.
31303 (parse_args): Likewise.
31304 * sysdeps/i386/fpu/libm-test-ulps: Update.
31305 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31306 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31307 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31310 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31312 * math/libm-test.inc ("Philosophy"): Update comment about
31314 (UNDERFLOW_EXCEPTION): New macro.
31315 (UNDERFLOW_EXCEPTION_OK): Likewise.
31316 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31317 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31318 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31319 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31320 (INVALID_EXCEPTION_OK): Update value.
31321 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31322 (OVERFLOW_EXCEPTION_OK): Likewise.
31323 (IGNORE_ZERO_INF_SIGN): Likewise.
31324 (test_exceptions): Handle underflow exceptions.
31325 (acos_test): Update for underflow exception expectations.
31326 (cexp_test): Likewise.
31327 (clog_test): Likewise.
31328 (clog10_test): Likewise.
31329 (csqrt_test): Likewise.
31330 (ctan_test): Likewise.
31331 (ctanh_test): Likewise.
31332 (exp_test): Likewise.
31333 (exp10_test): Likewise.
31334 (exp2_test): Likewise.
31335 (expm1_test): Likewise.
31336 (fma_test): Likewise.
31337 (j0_test): Likewise.
31338 (jn_test): Likewise.
31339 (nexttoward_test): Likewise.
31340 (pow_test): Likewise.
31341 (scalbn_test): Likewise.
31342 (scalbln_test): Likewise.
31343 (tan_test): Likewise.
31344 (y1_test): Likewise.
31345 * sysdeps/i386/fpu/libm-test-ulps: Update.
31346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31348 2012-05-23 David S. Miller <davem@davemloft.net>
31350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31351 (__libc_sigaction): Remove unused local variables.
31353 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31355 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31357 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31359 mktime: avoid signed integer overflow
31360 * time/mktime.c (__mktime_internal): Do not mishandle the case
31361 where diff == INT_MIN.
31363 mktime: simplify computation of average
31364 * time/mktime.c (ranged_convert): Use new time_t_avg function
31365 instead of rolling our own (probably-slower) code.
31367 mktime: do not assume signed right shift propagates sign bit
31368 * time/mktime.c (isdst_differ): New static function.
31369 (__mktime_internal): No need to normalize tm_isdst now.
31370 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31373 mktime: merge another wrapv change from gnulib
31374 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31375 from some compilers.
31377 mktime: remove incorrect attempt at unusual arithmetics
31378 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31379 The code didn't really work on such machines anyway.
31380 (TYPE_MINIMUM): Assume two's complement.
31381 (twos_complement_arithmetic): Verify that long_int and time_t
31382 are two's complement (or unsigned, in the latter case).
31384 mktime: check signed shifts on long_int and time_t, too
31385 * time/mktime.c (SHR): Check that shifts work as desired
31386 on the types long_int and time_t too, as SHR is used on
31389 mktime: do not assume 'long' is wide enough
31390 * time/mktime.c (verify): Move decl up.
31391 (long_int): New type.
31392 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31393 to remove assumption in the code that 'long' is wide enough to
31394 store year values. This assumption is not true on x32 and on
31395 some non-glibc platforms.
31397 mktime: merge wrapv change from gnulib
31398 * time/mktime.c (WRAPV): New macro.
31399 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31400 (guess_time_tm, __mktime_internal): Do not assume that signed
31401 integer overflow wraps around; modern compilers generate code
31402 where this assumption is no longer valid.
31404 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31406 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31407 Replace "jmp L(pseudo_end)" with "ret".
31408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31411 2012-05-23 Andreas Jaeger <aj@suse.de>
31413 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31414 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31416 2012-05-23 Andreas Jaeger <aj@suse.de>
31417 Maximilian Attems <max@stro.at>
31419 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31422 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31425 code so that pseudo_end is just ret and the stack pointer is
31426 correct also for static library in error case.
31428 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31430 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31431 move to syscalls.list.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31437 * manual/install.texi (Running make install): Do not mention Linux
31438 kernel version for which pt_chown is not needed.
31439 (Linux): Do not mention problems with nscd with 2.0 kernels.
31440 * INSTALL: Regenerated.
31442 2012-05-23 Andreas Jaeger <aj@suse.de>
31444 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31445 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31447 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31448 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31449 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31450 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31451 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31452 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31454 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31456 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31457 * sysdeps/unix/sysv/linux/bits/in.h
31458 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31460 2012-05-22 Roland McGrath <roland@hack.frob.com>
31462 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31463 (PREPARE_VERSION): Just use assert instead, it will be elided
31464 under [NDEBUG] anyway.
31466 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31468 * sysdeps/unix/sysv/linux/Makefile: Include
31469 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31470 (sysdep_routines): Remove sysctl.
31471 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31472 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31473 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31474 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31475 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31477 2012-05-22 Andreas Jaeger <aj@suse.de>
31479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31480 that pseudo_end is just ret and the stack pointer is correct also
31481 for static library in error case.
31483 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31486 * nss/nsswitch.c (defconfig_entries): New variable.
31487 (__nss_database_lookup): Don't leak defconfig entries.
31488 (nss_parse_service_list): Don't leak on error paths.
31489 (free_database_entries): New function.
31490 (free_defconfig): New function.
31491 (free_mem): Move common code to free_database_entries.
31493 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31495 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31497 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31499 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31500 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31503 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31504 (INTERNAL_SYSCALL_TYPES): Likewise.
31505 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31506 (LOAD_REGS_TYPES_[1-6]): Likewise.
31507 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31508 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31510 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31512 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31513 copysignl for GLIBC_2_0.
31514 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31515 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31517 logbl for GLIBC_2_0.
31518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31519 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31521 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31524 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31526 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31529 * time/mktime.c: Update copyright years.
31531 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31533 mktime: merge comment-quoting-style change from gnulib
31534 * time/mktime.c: Quote 'like this' in comments.
31535 The GNU coding standards suggest that we no longer quote `like this',
31536 as "`" and "'" are typically rendered asymmetrically nowadays.
31537 The typical gnulib style is to quote 'like this' when quoting
31538 code, and "like this" when quoting English.
31540 * time/mktime.c (compile-command): Add "-I.".
31542 mktime: merge mktime-internal.h change from gnulib
31543 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31545 mktime: merge time_r change from gnulib
31546 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31548 mktime: merge DEBUG change from gnulib
31549 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31550 case system <time.h> has a #define.
31552 mktime: merge <sys/types.h> change from gnulib
31553 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31554 since <time.t> is now guaranteed to define time_t.
31556 mktime: merge HAVE_CONFIG_H change from gnulib
31557 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31559 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31564 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31566 (struct rusage): Use anonymous union to pad each field to
31569 2012-05-21 David S. Miller <davem@davemloft.net>
31571 * Makefules (o-iterator): Remove .s cases.
31572 (compile-command.s): Delete.
31573 (COMPILE.s): Delete.
31574 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31576 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31578 * configure.in (libc_cv_predef_stack_protector): Only consider
31579 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31580 * configure: Regenerated.
31582 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31585 New macro. Use R*LP on int and pointer.
31586 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31587 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31588 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31591 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31592 [__WORDSIZE_TIME64_COMPAT32] instead of
31593 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31594 (struct utmp): Likewise.
31595 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31596 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31598 (__WORDSIZE_TIME64_COMPAT32): This.
31599 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31600 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31601 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31602 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31603 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31604 (__WORDSIZE_TIME64_COMPAT32): New macro.
31606 2012-05-21 Andreas Jaeger <aj@suse.de>
31608 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31609 only if [SHARED]. Add prototype for __wcschr_ia32.
31611 2012-05-21 Roland McGrath <roland@hack.frob.com>
31613 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31614 of %rbp unmolested in the jmp_buf while mangling the low bits.
31615 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31616 unmolested high bits of %rbp while demangling the low bits.
31617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31619 2012-05-21 Andreas Jaeger <aj@suse.de>
31621 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31622 * sunrpc/svc_simple.c: Use it for registerrpc.
31623 * sunrpc/xcrypt.c: Use it for passwd2des.
31625 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31627 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31629 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31630 Don't define if [__SYSCALL_WORDSIZE != 32].
31631 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31634 2012-05-21 Bruno Haible <bruno@clisp.org>
31635 Andreas Jaeger <aj@suse.de>
31637 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31638 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31639 inptr and inend for must_buffer_ch.
31640 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31641 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31642 * stdio-common/Makefile (tests): Remove bug15.
31643 (bug15-ENV): Remove macro.
31644 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31647 2012-05-19 Andreas Jaeger <aj@suse.de>
31648 Roland McGrath <roland@hack.frob.com>
31650 * manual/contrib.texi: Completely rewritten. It contains now an
31651 alphabetical list of contributors and their contributions.
31653 2012-05-21 Richard Henderson <rth@twiddle.net>
31655 * misc/getauxval.c (__getauxval): Use unsigned long int.
31656 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31657 (getauxval): Use unsigned long int.
31659 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31661 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31663 2012-05-21 Roland McGrath <roland@hack.frob.com>
31665 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31666 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31667 __alignof__ (long double).
31669 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31673 2012-05-20 Richard Henderson <rth@twiddle.net>
31675 * misc/getauxval.c: New file.
31676 * misc/sys/auxv.h: New file.
31677 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31678 (routines): Add getauxval.
31679 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31680 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31681 * elf/dl-sysdep.c (_dl_auxv): Remove.
31682 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31683 * elf/dl-support.c (_dl_auxv): New variable.
31684 (_dl_aux_init): Initialize it.
31685 * manual/startup.texi (Auxiliary Vector): New node.
31686 * sysdeps/generic/bits/hwcap.h: New file.
31687 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31688 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31689 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31690 * sysdeps/sparc/sysdep.h: ... here. Include it.
31691 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31704 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31708 2012-05-19 David S. Miller <davem@davemloft.net>
31710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31712 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31715 * math/s_ccosh.c: Include <float.h>
31716 (__ccosh): Avoid internal overflow calculating sinh and cosh
31717 values before multiplying by sin and cos values.
31718 * math/s_ccoshf.c: Likewise.
31719 * math/s_ccoshl.c: Likewise.
31720 * math/s_csin.c: Likewise.
31721 * math/s_csinf.c: Likewise.
31722 * math/s_csinl.c: Likewise.
31723 * math/s_csinh.c: Likewise.
31724 * math/s_csinhf.c: Likewise.
31725 * math/s_csinhl.c: Likewise.
31726 * math/libm-test.inc (ccos_test): Add more tests.
31727 (ccosh_test): Likewise.
31728 (csin_test): Likewise.
31729 (csinh_test): Likewise.
31730 * sysdeps/i386/fpu/libm-test-ulps: Update.
31731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31733 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31735 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31736 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31738 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31740 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31742 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31743 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31744 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31745 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31746 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31747 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31748 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31749 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31750 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31751 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31752 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31753 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31754 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31755 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31756 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31757 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31758 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31759 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31760 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31761 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31762 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31763 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31764 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31765 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31766 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31767 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31768 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31769 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31770 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31771 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31772 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31774 2012-05-18 Andreas Jaeger <aj@suse.de>
31776 * csu/.gitignore: Delete.
31778 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31780 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31781 (timex): Use __syscall_slong_t.
31783 2012-05-18 Andreas Jaeger <aj@suse.de>
31784 Carlos O'Donell <carlos_odonell@mentor.com>
31786 * manual/install.texi (Configuring and compiling): Update
31787 description about files modified in the source directory.
31788 * INSTALL: Regenerated.
31790 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31792 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31793 value. Use "or" to set return value to -1.
31794 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31795 negate return value.
31797 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31799 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31800 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31801 failure if the compiler has Graphite support disabled.
31802 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31804 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31805 (CFLAGS-memmove.c): Likewise.
31806 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31809 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31811 * sysdeps/x86_64/x32/_itoa.h: New file.
31813 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31814 getdents system call only if kernel and user dirents have the
31815 same d_ino and d_off.
31817 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31818 LLONG_MAX != LONG_MAX.
31819 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31820 (_fitoa_word): Likewise.
31822 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31824 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31825 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31826 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31828 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31829 include <bits/wordsize.h>. Check __x86_64__ instead of
31831 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31832 if __x86_64__ is defined. Use anonymous union on fpstate.
31834 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31837 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31839 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31840 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31841 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31842 Refer to _rtld_local_ro instead of _rtld_global_ro.
31843 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31845 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31847 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31849 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31850 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31851 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31853 * sysdeps/powerpc/powerpc32/dl-machine.c
31854 (__elf_machine_runtime_setup) [PROF]: Don't reference
31857 2012-05-18 Andreas Jaeger <aj@suse.de>
31859 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31860 function only available for GCCs before 3.4 since GCC 3.4
31861 introduced a builtin.
31863 (llrintf): Likewise.
31864 (llrint): Likewise.
31871 (nearbyint): Likewise.
31872 (nearbyintf): Likewise.
31876 (floorf): Likewise.
31878 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31880 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31881 on both fields and cast pointer to __syscall_ulong_t.
31883 * bits/types.h (__fsword_t): New type.
31884 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31885 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31887 (__FSWORD_T_TYPE): Likewise.
31888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31889 (__FSWORD_T_TYPE): Likewise.
31890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31891 (__FSWORD_T_TYPE): Likewise.
31892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31893 (__FSWORD_T_TYPE): Likewise.
31894 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31895 __SWORD_TYPE with __fsword_t.
31896 (statfs64): Likewise.
31898 2012-05-17 David S. Miller <davem@davemloft.net>
31900 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31902 2012-05-17 Andreas Jaeger <aj@suse.de>
31904 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31907 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31909 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31911 2012-05-17 Andreas Jaeger <aj@suse.de>
31913 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31916 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31918 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31920 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31922 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31923 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31925 2012-05-17 Andreas Jaeger <aj@suse.de>
31926 Carlos O'Donell <carlos_odonell@mentor.com>
31929 * sysdeps/x86_64/multiarch/init-arch.h
31930 (bit_YMM_Usable): Rename to...
31931 (bit_AVX_Usable): ... this.
31932 (bit_FMA4_Usable): New macro.
31933 (bit_XMM_state): New macro.
31934 (bit_YMM_state): New macro.
31935 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31936 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31937 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31938 (CPUID_OSXSAVE): New macro.
31939 (CPUID_AVX): New macro.
31940 (CPUID_FMA4): New macro.
31941 (index_YMM_Usable): Rename to...
31942 (index_AVX_Usable): ... this.
31943 (HAS_AVX): Use HAS_ARCH_FEATURE.
31944 (HAS_FMA4): Likewise.
31945 (HAS_YMM_USABLE): Remove.
31946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31947 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31949 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31950 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31951 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31952 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31953 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31955 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31957 * math/libm-test.c: Support platforms without multiple rounding modes.
31958 * math/bug-nextafter.c: Support platforms without FP exceptions.
31959 * math/bug-nexttoward.c: Likewise.
31960 * math/test-fenv.c: Likewise.
31961 * math/test-misc.c: Likewise.
31962 * stdlib/bug-getcontext.c: Likewise.
31964 2012-05-17 Andreas Jaeger <aj@suse.de>
31966 * manual/examples/search.c (critter_cmp): Change signature to
31968 * manual/string.texi (Collation Functions): Likewise.
31970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31972 * bits/types.h: Fold copyright years.
31973 * bits/typesizes.h: Likewise.
31974 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31977 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31978 * time/time.h: Likewise.
31980 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31983 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31984 in instead of returning them. Return void.
31985 (__libc_mallinfo): Accumulate over all arenas.
31986 (__malloc_stats): Adjust for change in int_mallinfo interface.
31988 2012-05-16 Roland McGrath <roland@hack.frob.com>
31991 * configure.in (NM): Add AC_CHECK_TOOL for it.
31992 (libc_extra_cflags): New substituted variable.
31993 Check for -fstack-protector being used implicitly.
31994 * configure: Regenerated.
31995 * config.make.in (config-extra-cflags): New variable,
31996 gets @libc_extra_cflags@.
31997 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32000 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32001 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32002 * configure: Regenerated.
32003 * config.make.in (CPPUNDEFS): New substituted variable.
32004 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32005 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32006 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32010 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32011 (mq_attr): Use __syscall_slong_t.
32013 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32015 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32016 Check __x86_64__ instead of __WORDSIZE.
32017 (_STAT_VER_LINUX): Likewise.
32018 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32019 __syscall_ulong_t and __syscall_slong_t.
32020 (stat64): Likewise.
32022 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32024 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32026 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32028 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32030 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32032 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32035 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32036 include <bits/wordsize.h>. Check __x86_64__ instead of
32038 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32040 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32043 include <bits/wordsize.h>. Check __x86_64__ instead of
32045 (user_regs_struct): Use "__extension__ unsigned long long"
32046 instead of "unsigned long" if __x86_64__ is defined.
32047 (user): Likewise. Pad after pointer field if __ILP32__ is
32050 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32052 * configure.in (makeinfo): Require version 4.5 or later. Allow
32054 * configure: Regenerated.
32055 * manual/install.texi (texinfo): Increase version requirement to
32057 * INSTALL: Regenerated.
32059 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32061 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32063 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32065 * sysdeps/x86_64/x32/ffs.c: New file.
32067 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32069 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32070 defined. Use __syscall_ulong_t.
32071 (shminfo): Use __syscall_ulong_t.
32072 (shm_info): Likewise.
32074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32077 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32079 (msgqnum_t): Use __syscall_ulong_t.
32080 (msglen_t): Likewise.
32081 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32084 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32085 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32087 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32089 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32090 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32092 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32095 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32096 include <bits/wordsize.h>. Check __x86_64__ instead of
32099 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32100 "unsigned long long int" if __x86_64__ is defined.
32101 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32104 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32105 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32107 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32109 (GET_PC): Cast to uintptr_t first.
32110 (GET_FRAME): Likewise.
32111 (GET_STACK): Likewise.
32113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32116 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32118 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32121 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32123 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32125 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32127 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32131 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32133 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32135 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32137 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32141 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32143 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32145 * Makerules (+depfiles): Also collect depfiles from .oS in
32147 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32148 .oS, $(libnldbl-routines)).
32150 * Makerules (native-compile-mkdep-flags): Define.
32151 * sunrpc/Makefile (extra-objs): Add $(addprefix
32152 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32153 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32154 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32155 calling $(make-target-directory).
32157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32159 * bits/types.h (__snseconds_t): Removed.
32160 * time/time.h (struct timespec): Replace __snseconds_t with
32162 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32163 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32165 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32166 (__SNSECONDS_T_TYPE): Likewise.
32167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32168 (__SNSECONDS_T_TYPE): Likewise.
32169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32170 (__SNSECONDS_T_TYPE): Likewise.
32172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32174 * sysdeps/mach/hurd/bits/typesizes.h
32175 (__SYSCALL_SLONG_TYPE): New macro.
32176 (__SYSCALL_ULONG_TYPE): Likewise.
32178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32180 * bits/types.h (__syscall_slong_t): New type.
32181 (__syscall_ulong_t): Likewise.
32183 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32184 (__SYSCALL_ULONG_TYPE): Likewise.
32185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32186 (__SYSCALL_SLONG_TYPE): Likewise.
32187 (__SYSCALL_ULONG_TYPE): Likewise.
32188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32189 (__SYSCALL_SLONG_TYPE): Likewise.
32190 (__SYSCALL_ULONG_TYPE): Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32192 (__SYSCALL_SLONG_TYPE): Likewise.
32193 (__SYSCALL_ULONG_TYPE): Likewise.
32195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32197 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32198 Add sigaltstack-offsets.sym.
32199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32200 <sigaltstack-offsets.h>.
32201 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32202 longjmp_msg pointer.
32203 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32204 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32206 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32208 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32210 * elf/stackguard-macros.h: Remove file.
32211 * sysdeps/generic/stackguard-macros.h: New file.
32212 * sysdeps/i386/stackguard-macros.h: Likewise.
32213 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32214 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32215 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32216 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32217 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32218 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32219 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32220 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32221 <elf/stackguard-macros.h>.
32224 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32225 __aligned__ in attribute.
32226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32227 (gregset_t): Likewise.
32229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32231 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32232 * sysdeps/x86_64/64/Implies-after: Here. New file.
32233 * sysdeps/x86_64/x32/Implies-after: New file.
32235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32237 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32238 and access return value for _dl_profile_fixup. Use R10_LP to
32241 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32243 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32247 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32248 * sysdeps/x86_64/x32/sysdep.h: New file.
32250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32252 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32253 * sysdeps/x86_64/setjmp.S: Likewise.
32255 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32258 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32259 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32260 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32261 remove unused global constant.
32263 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32265 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32266 include of <not-cancel.h>.
32268 2012-05-15 Roland McGrath <roland@hack.frob.com>
32270 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32272 2012-05-15 Jeff Law <law@redhat.com>
32273 Andreas Jaeger <aj@suse.de>
32276 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32278 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32279 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32280 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32281 code changing __hst_map_handle.map.
32283 2012-05-15 Roland McGrath <roland@hack.frob.com>
32285 * configure.in (sysnames): Look for Implies-before and Implies-after
32287 * configure: Regenerated.
32289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32291 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32292 8-byte data alignment with LP_SIZE alignment.
32294 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32296 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32301 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32306 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32307 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32309 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32313 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32314 (stackinfo_sub_sp): Likewise.
32316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32318 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32328 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32333 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32337 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32338 into R11_LP and load __x86_64_shared_cache_size_half into
32341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32343 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32346 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32355 powerpc32/power7/fpu/s_logb.c via #include.
32356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32357 powerpc32/power7/fpu/s_logbf.c via #include.
32358 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32359 powerpc32/power7/fpu/s_logbl.c via #include.
32361 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32363 * README.libm: Remove file.
32365 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32367 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32368 count for x32. Use R*_LP and omit operand-size suffix.
32370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32372 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32373 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32374 * sysdeps/x86_64/x32/shlib-versions: New file.
32376 2012-05-14 Roland McGrath <roland@hack.frob.com>
32378 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32379 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32380 Use _dl_fatal_printf instead.
32382 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32384 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32385 set if not set by the user. Do not allow for being unset.
32386 * sysdeps/unix/sysv/linux/configure: Regenerated.
32388 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32390 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32391 the `q' suffix from lea and replace .quad with ASM_ADDR.
32393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32396 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32398 (PTR_DEMANGLE): Likewise.
32400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32402 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32404 (ASM_ADDR): Likewise.
32405 (RAX_LP): Likewise.
32406 (RBP_LP): Likewise.
32407 (RBX_LP): Likewise.
32408 (RCX_LP): Likewise.
32409 (RDI_LP): Likewise.
32410 (RSI_LP): Likewise.
32411 (RSP_LP): Likewise.
32414 (R10_LP): Likewise.
32415 (R10_LP): Likewise.
32416 (R11_LP): Likewise.
32417 (R12_LP): Likewise.
32418 (R13_LP): Likewise.
32419 (R14_LP): Likewise.
32420 (R15_LP): Likewise.
32422 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32424 * sysdeps/x86_64/x32/dl-machine.h: New file.
32426 2012-05-14 Andreas Jaeger <aj@suse.de>
32428 * manual/Makefile (subdir): Remove export of subdir.
32429 (all): Remove target.
32430 (.PHONY): Remove all from list.
32431 (mkinstalldirs): Remove.
32432 (.PHONY): Remove installdirs from list.
32433 ($(inst_infodir)/libc.info): Use make-target-directory.
32434 (installdirs): Remove.
32435 (subdir_%): Remove.
32436 (glibc-targets): Remove.
32439 ($(objpfx)stubs ../po/manual.pot): Remove.
32440 ($(objpfx)stamp%): Remove.
32441 (make-target-directory): Remove.
32442 (subdir_install): Remove.
32443 (routines): Remove.
32450 * manual/.gitignore: Remove, it's not needed anymore.
32451 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32453 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32455 (texis): Renamed to $(objpfx)texis.
32456 (texis-path): New, contains path to generated files.
32457 (chapters.%): Use texis-path for complete path, add extra argument
32459 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32460 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32461 (summary,texi, stamp-summary): Use complete path of
32462 files. Generate files in build dir.
32463 (dir-add.texi): Build in build dir.
32464 (libm-err.texi,stamp-libm-err): Likewise.
32465 (version.texi, stamp-version): Likewise.
32466 (.%c.texi): Likewise.
32467 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32468 (mostlyclean): Remove target.
32469 (realclean): Remove target.
32470 (generated): Add new variable with contents from mostlyclean and
32471 realclean, remove entries duplicated in common-mostlyclean, add
32472 stamp-libm-err and stamp-version.
32473 (generated-dirs): Add libc directory.
32474 ($(inst_infodir)/libc.info): Install files from build dir.
32476 * manual/install.texi (Configuring and compiling): Adjust since
32477 the info files are not part of the tar ball anymore.
32479 2012-05-14 Andreas Jaeger <aj@suse.de>
32481 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32484 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32488 to 2.2.0 where earlier.
32489 * sysdeps/unix/sysv/linux/configure: Regenerated.
32490 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32491 Remove conditional code.
32492 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32493 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32494 Remove conditional code.
32495 [!__NR_lchown]: Likewise.
32496 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32497 [__NR_lchown]: Likewise.
32498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32499 comment referencing __ASSUME_LCHOWN_SYSCALL.
32500 * sysdeps/unix/sysv/linux/i386/sigaction.c
32501 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32502 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32503 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32504 Remove conditional code.
32505 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32506 (__protocol_available): Remove #if 0 code.
32507 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32509 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32510 * sysdeps/unix/sysv/linux/kernel-features.h
32511 (__ASSUME_GETCWD_SYSCALL): Don't define.
32512 (__ASSUME_REALTIME_SIGNALS): Likewise.
32513 (__ASSUME_PREAD_SYSCALL): Likewise.
32514 (__ASSUME_PWRITE_SYSCALL): Likewise.
32515 (__ASSUME_POLL_SYSCALL): Likewise.
32516 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32517 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32519 (__ASSUME_SIOCGIFNAME): Don't define.
32520 (__ASSUME_MSG_NOSIGNAL): Likewise.
32521 (__ASSUME_SENDFILE): Define unconditionally.
32522 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32523 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32525 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32526 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32527 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32528 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32529 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32530 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32531 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32533 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32556 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32557 Remove conditional code.
32558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32559 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32560 Remove conditional code.
32561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32562 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32563 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32564 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32565 Remove conditional code.
32566 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32567 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32568 Remove conditional code.
32569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32570 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32571 Remove conditional code.
32572 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32573 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32574 Remove conditional code.
32575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32576 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32577 Remove conditional code.
32578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32579 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32580 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32582 * sysdeps/unix/sysv/linux/sigaction.c
32583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32585 * sysdeps/unix/sysv/linux/sigpending.c
32586 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32587 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32588 * sysdeps/unix/sysv/linux/sigprocmask.c
32589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32591 * sysdeps/unix/sysv/linux/sigsuspend.c
32592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32594 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32595 (__libc_missing_rt_sigs): Remove.
32596 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32597 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32598 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32599 Remove conditional code.
32600 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32601 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32604 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32605 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32606 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32608 2012-05-14 Andreas Jaeger <aj@suse.de>
32610 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32611 it's not used in glibc.
32612 (__coshm1): Likewise.
32613 (__acosh1p): Likewise.
32616 * manual/string.texi (Copying and Concatenation): Add missing
32617 variable in concat example.
32618 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32623 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32624 __builtin_clzl with __builtin_clzll.
32626 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32629 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32632 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32634 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32635 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32636 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32637 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32639 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32641 * NEWS: Update ia64 info.
32643 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32645 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32648 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32650 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32651 * sysdeps/unix/syscalls.list (dup3): Likewise.
32652 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32653 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32655 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32657 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32658 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32660 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32662 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32664 (TLS_IE): Use mov/add instead of movq/addq to load thread
32666 (TLS_GD_PREFIX): New.
32669 2012-05-11 David S. Miller <davem@davemloft.net>
32671 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32672 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32673 (_FPU_SETCW): Likewise.
32675 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32677 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32678 is 32-byte aligned.
32680 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32683 * iconvdata/gb18030.c: Update tables.
32684 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32685 characters specially.
32686 (BODY for TO_LOOP): Add encoding of missing ranges.
32688 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32691 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32692 * sysdeps/mach/hurd/dup3.c: Likewise.
32693 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32694 * sysdeps/powerpc/memmove.c:: Likewise.
32696 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32699 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32701 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32703 * elf/elf.h (R_X86_64_RELATIVE64): New.
32704 (R_X86_64_NUM): Updated.
32705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32706 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32707 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32708 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32709 tst-quad1pie tst-quad2pie
32710 (modules-names): Add tst-quadmod1 tst-quadmod2.
32711 ($(objpfx)tst-quad1): New dependency.
32712 ($(objpfx)tst-quad2): Likewise.
32713 ($(objpfx)tst-quad1pie): Likewise.
32714 ($(objpfx)tst-quad2pie): Likewise.
32715 * sysdeps/x86_64/tst-quad1.c: New file.
32716 * sysdeps/x86_64/tst-quad1pie.c: New file.
32717 * sysdeps/x86_64/tst-quad2.c: Likewise.
32718 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32719 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32720 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32721 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32722 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32726 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32727 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32728 * streams/stropts.h (t_scalar_t): Define type.
32730 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32731 (_PATH_PRESERVE): Set to "/var/lib".
32732 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32734 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32737 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32738 if __dir_mkfile succeeded.
32740 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32741 checking for _hurd_dtablesize. Unlock it right after having
32742 finished _hurd_dtable allocation.
32744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32746 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32747 * sysdeps/mach/hurd/configure: Regenerated.
32748 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32749 special-casing to...
32750 * sysdeps/gnu/configure.in: ... this new file.
32751 * sysdeps/unix/sysv/linux/configure: Regenerated.
32752 * sysdeps/gnu/configure: New generated file.
32754 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32755 for Linux: use nsec instead of usec, as well as:
32756 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32757 members of type struct timespec.
32758 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32760 (struct stat64): Likewise.
32761 (_STATBUF_ST_NSEC): New macro.
32762 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32764 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32765 __strtoul_internal rather than strtoul.
32767 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32769 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32774 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32775 which preserves existing values.
32776 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32778 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32780 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32781 TIMEOUT values. Return EINVAL for NFDS values either negative or
32782 greater than FD_SETSIZE.
32784 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32786 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32787 allocated, call __vm_protect to finish enabling the existing space, and
32788 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32789 allocate the remainder.
32791 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32793 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32794 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32798 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32799 sysdeps/mach/hurd/readlink.c.
32801 * posix/tst-sysconf.c (posix_options): Only use
32802 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32803 _POSIX_SYNCHRONIZED_IO when they are defined
32804 * sysdeps/mach/hurd/bits/posix_opt.h:
32805 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32806 (_XOPEN_REALTIME): Undefine macro.
32807 (_XOPEN_REALTIME_THREADS): Undefine macro.
32808 (_XOPEN_SHM): Undefine macro.
32809 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32811 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32813 (_POSIX_ASYNC_IO): Undefine macro.
32814 (_POSIX_PRIORITIZED_IO): Undefine macro.
32815 (_POSIX_SPIN_LOCKS): Define macro to -1.
32817 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32818 SA_NODEFER, SA_RESETHAND.
32819 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32820 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32823 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32825 * elf/Makefile (pldd-modules): Define unconditionally.
32827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32829 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32831 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32833 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32834 Return ENOENT when name is empty.
32835 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32839 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32841 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32843 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32845 Fix mlock in all cases except non-readable pages.
32846 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32847 instead of VM_PROT_ALL as parameter to __vm_wire function.
32849 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32850 (__mkdir): When path is `/', just fail with EEXIST.
32851 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32853 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32855 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32856 <sys/uio.h> (for writev).
32857 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32858 and <sys/param.h> (for MIN).
32860 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32862 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32863 REQUESTED_TIME. Properly set the remaining time and return EINTR
32866 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32868 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32869 Depend on against $(link-rpcuserlibs).
32871 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32873 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32874 (__libc_stack_end): Do not use attribute_relro.
32875 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32876 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32877 to libthread-provided value.
32878 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32884 * bits/libc-lock.h (__libc_once_get): New macro.
32885 * sysdeps/mach/bits/libc-lock.h: Likewise.
32886 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32888 instead of using implementation details.
32890 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32891 * libio/freopen.c: Likewise.
32892 * libio/freopen64.c: Likewise.
32893 * misc/syslog.c: Likewise.
32894 * nscd/connections.c: Likewise.
32895 * nscd/netgroupcache.c: Likewise.
32896 * sysdeps/posix/getcwd.c: Likewise.
32898 2012-05-10 Roland McGrath <roland@hack.frob.com>
32900 * math/w_ilogbf.c: Add #include <limits.h>.
32902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32904 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32905 path instead of returning without unlocking.
32907 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32908 immediate-write ioctls.
32909 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32911 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32913 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32914 __builtin_frame_address instead of making assumptions about the
32915 location of the return address relative to DATA. Force early load of
32916 the return address.
32917 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32918 __builtin_frame_address.
32921 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32922 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32923 implement dup3 and do some further code clean-ups.
32924 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32925 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32927 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32929 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32931 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32932 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32933 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32934 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32935 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32938 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32939 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32940 when handler == SIG_ERR, not when handler != SIG_ERR.
32942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32944 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32945 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32948 accept4 for GNU Hurd.
32949 * include/sys/socket.h (__libc_accept4): New prototype.
32950 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32951 to implement __libc_accept4.
32952 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32954 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32956 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32957 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32958 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32959 signal-defines.sym.
32961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32963 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32967 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32968 assertion on O_CLOEXEC flag.
32969 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32970 * hurd/intern-fd.c: Likewise.
32971 * hurd/port2fd.c: Likewise.
32973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32976 * bits/in.h (IPV6_PKTINFO): Define new macro.
32977 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32979 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32985 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32986 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32987 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32989 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32990 * math/libm-test.inc (logb_test) : Additional logb tests.
32992 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32993 Andreas Jaeger <aj@suse.de>
32995 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32996 * configure: Regenerated.
32997 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32998 * config.make.in (link-obsolete-rpc): New substituted variable.
32999 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33000 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33001 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33002 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33003 so that libc.a contains the symbols.
33004 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33005 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33006 * sunrpc/auth_none.c: Likewise.
33007 * sunrpc/auth_unix.c: Likewise.
33008 * sunrpc/authdes_prot.c: Likewise.
33009 * sunrpc/authuxprot.c: Likewise.
33010 * sunrpc/clnt_gen.c: Likewise.
33011 * sunrpc/clnt_perr.c: Likewise.
33012 * sunrpc/clnt_raw.c: Likewise.
33013 * sunrpc/clnt_simp.c: Likewise.
33014 * sunrpc/clnt_tcp.c: Likewise.
33015 * sunrpc/clnt_udp.c: Likewise.
33016 * sunrpc/clnt_unix.c: Likewise.
33017 * sunrpc/des_crypt.c: Likewise.
33018 * sunrpc/des_soft.c: Likewise.
33019 * sunrpc/get_myaddr.c: Likewise.
33020 * sunrpc/key_call.c: Likewise.
33021 * sunrpc/key_prot.c: Likewise.
33022 * sunrpc/netname.c: Likewise.
33023 * sunrpc/pm_getmaps.c: Likewise.
33024 * sunrpc/pm_getport.c: Likewise.
33025 * sunrpc/pmap_clnt.c: Likewise.
33026 * sunrpc/pmap_prot.c: Likewise.
33027 * sunrpc/pmap_prot2.c: Likewise.
33028 * sunrpc/pmap_rmt.c: Likewise.
33029 * sunrpc/publickey.c: Likewise.
33030 * sunrpc/rpc_cmsg.c: Likewise.
33031 * sunrpc/rpc_common.c: Likewise.
33032 * sunrpc/rpc_dtable.c: Likewise.
33033 * sunrpc/rpc_prot.c: Likewise.
33034 * sunrpc/rpc_thread.c: Likewise.
33035 * sunrpc/rtime.c: Likewise.
33036 * sunrpc/svc.c: Likewise.
33037 * sunrpc/svc_auth.c: Likewise.
33038 * sunrpc/svc_raw.c: Likewise.
33039 * sunrpc/svc_run.c: Likewise.
33040 * sunrpc/svc_tcp.c: Likewise.
33041 * sunrpc/svc_udp.c: Likewise.
33042 * sunrpc/svc_unix.c: Likewise.
33043 * sunrpc/svcauth_des.c: Likewise.
33044 * sunrpc/xcrypt.c: Likewise.
33045 * sunrpc/xdr.c: Likewise.
33046 * sunrpc/xdr_array.c: Likewise.
33047 * sunrpc/xdr_float.c: Likewise.
33048 * sunrpc/xdr_intXX_t.c: Likewise.
33049 * sunrpc/xdr_mem.c: Likewise.
33050 * sunrpc/xdr_rec.c: Likewise.
33051 * sunrpc/xdr_ref.c: Likewise.
33052 * sunrpc/xdr_sizeof.c: Likewise.
33053 * sunrpc/xdr_stdio.c: Likewise.
33055 2012-05-10 Roland McGrath <roland@hack.frob.com>
33057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33058 change. Update copyright years.
33060 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33062 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33064 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33065 Joseph Myers <joseph@codesourcery.com>
33066 Paul Pluzhnikov <ppluzhnikov@google.com>
33069 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33071 [cross-compiling] (extra-libs): Likewise.
33072 [cross-compiling] (extra-libs-others): Likewise.
33073 [cross-compiling] (librpcsvc-routines): Likewise.
33074 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33075 [cross-compiling] (omit-deps): Likewise.
33076 (sunrpc-CPPFLAGS): New variable.
33077 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33078 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33079 (cross-rpcgen-objs): New variable.
33080 (extra-objs): Append $(cross-rpcgen-objs).
33081 ($(cross-rpcgen-objs)): New rule.
33082 ($(objpfx)cross-rpcgen): Likewise.
33083 (rpcgen-cmd): Define to use $(built-program-file). Expand
33085 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33086 ($(objpfx)x%.stmp): Likewise.
33087 * sunrpc/proto.h [IS_IN_build] (_): Define.
33088 [IS_IN_build] (_libc_intl_domainname): Likewise.
33090 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33093 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33094 and R_X86_64_TPOFF64.
33096 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33099 sysdeps/unix/sysv/syscalls.list.
33102 * sysdeps/unix/sysv/syscalls.list: Remove file.
33104 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33107 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33108 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33109 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33110 (__LC_IDENTIFICATION): Make these macros useful in #if
33111 expressions, as required by C99.
33113 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33115 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33116 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33119 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33121 * stdlib/longlong.h: Updated from GCC.
33123 2012-05-09 Andreas Jaeger <aj@suse.de>
33125 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33126 default is first entry.
33127 (run_mode): Set type.
33128 (main): Remove informal message about syslog.
33129 (options): Fix typo.
33132 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33135 (llrintf): Likewise.
33136 (llrint): Likewise.
33139 (nearbyint): Likewise.
33140 (nearbyintf): Likewise.
33142 2012-05-09 Andreas Jaeger <aj@suse.de>
33143 Pedro Alves <palves@redhat.com>
33145 * nscd/nscd.c (run_mode): Use enum.
33146 (main): Cleanup coding style issue.
33148 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33149 Andreas Jaeger <aj@suse.de>
33151 * nscd/nscd.c (go_background): Replaced with...
33152 (run_mode): ... this.
33153 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33154 (options): Add -F --foreground.
33155 (main): Implement it.
33156 (parse_opt): Parse it.
33158 2012-05-09 Andreas Jaeger <aj@suse.de>
33161 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33162 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33163 -Wconversion warning.
33164 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33167 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33169 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33171 (LC_ALL): Use macro-int-constant.
33172 (LC_COLLATE): Likewise.
33173 (LC_CTYPE): Likewise.
33174 (LC_MESSAGES): Likewise.
33175 (LC_MONETARY): Likewise.
33176 (LC_NUMERIC): Likewise.
33177 (LC_TIME): Likewise.
33178 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33179 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33181 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33183 [C99-based standards] (float_t): Expect type.
33184 [C99-based standards] (double_t): Expect type.
33185 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33187 [C99-based standards] (HUGE_VALL): Likewise.
33188 [C99-based standards] (INFINITY): Likewise.
33189 [C99-based standards] (NAN): Likewise.
33190 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33191 [C99-based standards] (FP_NAN): Likewise.
33192 [C99-based standards] (FP_NORMAL): Likewise.
33193 [C99-based standards] (FP_SUBNORMAL): Likewise.
33194 [C99-based standards] (FP_ZERO): Likewise.
33195 [C99-based standards] (FP_FAST_FMA): Use
33196 optional-macro-int-constant. Specify type. Require == 1.
33197 [C99-based standards] (FP_FAST_FMAF): Likewise.
33198 [C99-based standards] (FP_FAST_FMAL): Likewise.
33199 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33200 [C99-based standards] (FP_ILOGBNAN): Likewise.
33201 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33203 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33204 [C99-based standards] (math_errhandling): Specify type.
33205 [ISO99 || ISO11] (signgam): Do not allow.
33206 [non-C99-based standards] (copysignf): Do not allow.
33207 [non-C99-based standards] (exp2f): Likewise.
33208 [non-C99-based standards] (log2f): Likewise.
33209 [non-C99-based standards] (modff): Allow.
33210 [non-C99-based standards] (erff): Do not allow.
33211 [non-C99-based standards] (erfcf): Likewise.
33212 [non-C99-based standards] (gammaf): Likewise.
33213 [non-C99-based standards] (hypotf): Likewise.
33214 [non-C99-based standards] (j0f): Likewise.
33215 [non-C99-based standards] (j1f): Likewise.
33216 [non-C99-based standards] (jnf): Likewise.
33217 [non-C99-based standards] (lgammaf): Likewise.
33218 [non-C99-based standards] (tgammaf): Likewise.
33219 [non-C99-based standards] (y0f): Likewise.
33220 [non-C99-based standards] (y1f): Likewise.
33221 [non-C99-based standards] (ynf): Likewise.
33222 [non-C99-based standards] (isnanf): Likewise.
33223 [non-C99-based standards] (acoshf): Likewise.
33224 [non-C99-based standards] (asinhf): Likewise.
33225 [non-C99-based standards] (atanhf): Likewise.
33226 [non-C99-based standards] (cbrtf): Likewise.
33227 [non-C99-based standards] (expm1f): Likewise.
33228 [non-C99-based standards] (ilogbf): Likewise.
33229 [non-C99-based standards] (log1pf): Likewise.
33230 [non-C99-based standards] (logbf): Likewise.
33231 [non-C99-based standards] (nextafterf): Likewise.
33232 [non-C99-based standards] (remainderf): Likewise.
33233 [non-C99-based standards] (rintf): Likewise.
33234 [non-C99-based standards] (scalbf): Likewise.
33235 [non-C99-based standards] (copysignl): Likewise.
33236 [non-C99-based standards] (exp2l): Likewise.
33237 [non-C99-based standards] (log2l): Likewise.
33238 [non-C99-based standards] (modfl): Allow.
33239 [non-C99-based standards] (erfl): Do not allow.
33240 [non-C99-based standards] (erfcl): Likewise.
33241 [non-C99-based standards] (gammal): Likewise.
33242 [non-C99-based standards] (hypotl): Likewise.
33243 [non-C99-based standards] (j0l): Likewise.
33244 [non-C99-based standards] (j1l): Likewise.
33245 [non-C99-based standards] (jnl): Likewise.
33246 [non-C99-based standards] (lgammal): Likewise.
33247 [non-C99-based standards] (tgammal): Likewise.
33248 [non-C99-based standards] (y0l): Likewise.
33249 [non-C99-based standards] (y1l): Likewise.
33250 [non-C99-based standards] (ynl): Likewise.
33251 [non-C99-based standards] (isnanl): Likewise.
33252 [non-C99-based standards] (acoshl): Likewise.
33253 [non-C99-based standards] (asinhl): Likewise.
33254 [non-C99-based standards] (atanhl): Likewise.
33255 [non-C99-based standards] (cbrtl): Likewise.
33256 [non-C99-based standards] (expm1l): Likewise.
33257 [non-C99-based standards] (ilogbl): Likewise.
33258 [non-C99-based standards] (log1pl): Likewise.
33259 [non-C99-based standards] (logbl): Likewise.
33260 [non-C99-based standards] (nextafterl): Likewise.
33261 [non-C99-based standards] (remainderl): Likewise.
33262 [non-C99-based standards] (rintl): Likewise.
33263 [non-C99-based standards] (scalbl): Likewise.
33264 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33265 [non-C99-based standards] (FP_*): Do not allow.
33266 [C99-based standards] (FP_*): Change to
33267 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33268 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33270 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33271 (SIG_ERR): Likewise.
33272 [X/Open-based standards] (SIG_HOLD): Likewise.
33273 (SIG_IGN): Likewise.
33274 (SIGABRT): Use macro-int-constant. Specify type. Require
33276 (SIGFPE): Likewise.
33277 (SIGILL): Likewise.
33278 (SIGINT): Likewise.
33279 (SIGSEGV): Likewise.
33280 (SIGTER): Likewise.
33281 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33282 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33283 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33284 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33285 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33286 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33287 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33288 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33289 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33290 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33291 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33292 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33293 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33294 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33295 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33296 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33297 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33298 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33299 [X/Open-based standards] (SIGTRAP): Likewise.
33300 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33301 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33302 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33303 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33304 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33307 2012-05-08 Ian Wienand <ianw@vmware.com>
33310 * time/tzset.c (__tzset_parse_tz): Update default rules for
33311 daylight time changes in the Energy Policy Act of 2005.
33313 2012-05-09 Andreas Jaeger <aj@suse.de>
33316 * elf/ldconfig.c (parse_conf): Change string to make clear that
33317 ldconfig only issued a warning if ld.so.conf does not exist.
33319 2012-05-08 David S. Miller <davem@davemloft.net>
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33322 movxtod instead of popping the value on the stack.
33324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33326 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33328 * config.h.in: Add HAVE_ARM_PCS_VFP.
33330 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33333 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33334 checking but the checks are disabled for any reason.
33336 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33338 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33339 and ELF64_R_TYPE with ELFW(R_TYPE).
33341 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33343 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33344 (ulimit): Likewise.
33346 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33347 (settimeofday): Likewise.
33349 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33351 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33352 a struct th_u2 inside the union, and move tu_block/tu_code into
33353 a new th_u3 union of tu_block/tu_code inside of that. Move
33354 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33355 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33356 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33357 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33358 (th_stuff): Change to th_u1.tu_stuff.
33360 (th_msg): Change to th_u1.th_u2.tu_data.
33362 2012-05-07 David S. Miller <davem@davemloft.net>
33364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33367 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33368 (SETUP_PIC_REG): Use it.
33369 (SETUP_PIC_REG_LEAF): Use it.
33371 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33377 (EXPL_FINITE): Likewise.
33378 (FLDLOG): Likewise.
33379 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33380 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33384 (EXPL_FINITE): Likewise.
33385 (FLDLOG): Likewise.
33386 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33387 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33389 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33390 test of -max_value argument for long double.
33391 * sysdeps/i386/fpu/libm-test-ulps: Update.
33392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33394 2012-05-06 David S. Miller <davem@davemloft.net>
33396 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33397 quad soft-float symbols whose references which are compiler
33399 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33401 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33405 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33407 (EXPL_FINITE): Likewise.
33408 (FLDLOG): Likewise.
33411 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33412 Adjust comments for base varying.
33413 (__expl_finite): Change alias to EXPL_FINITE.
33414 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33416 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33417 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33419 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33420 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33422 (EXPL_FINITE): Likewise.
33423 (FLDLOG): Likewise.
33426 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33427 Adjust comments for base varying.
33428 (__expl_finite): Change alias to EXPL_FINITE.
33429 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33434 * math/libm-test.inc (check_float_internal): Correct ulp
33435 calculation for subnormal expected results.
33437 2012-05-06 Andreas Jaeger <aj@suse.de>
33439 * Makeconfig (+math-flags): New, set to -frounding-math.
33440 (+cflags): Add +math-flags so that all of glibc gets compiled with
33443 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33445 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33447 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33453 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33454 (__ieee754_expl): Allow for and saturate large arguments.
33455 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33456 (u_threshold): Likewise.
33457 (__exp): Call __ieee754_exp before checking for overflow and
33459 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33460 (u_threshold): Likewise.
33461 (__expf): Call __ieee754_expf before checking for overflow and
33463 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33464 (u_threshold): Likewise.
33465 (__expl): Call __ieee754_expl before checking for overflow and
33467 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33468 (__ieee754_expl): Allow for and saturate large arguments.
33469 * math/libm-test.inc (exp_test): Add another test. Do not allow
33470 missing overflow exception on overflow.
33471 (expm1_test): Do not allow missing overflow exception on overflow.
33473 * sysdeps/i386/fpu/e_expl.c: Move to ...
33474 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33475 rather than using inline asm.
33476 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33477 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33478 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33480 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33483 (signal): Likewise.
33487 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33489 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33490 sysdeps/unix/common/syscalls.list.
33491 (fchmod): Likewise.
33492 (fchown): Likewise.
33493 (ftruncate): Likewise.
33494 (getrusage): Likewise.
33495 (gettimeofday): Likewise.
33496 (setpgid): Likewise.
33497 (setregid): Likewise.
33498 (setreuid): Likewise.
33499 (sigaction): Likewise.
33500 (truncate): Likewise.
33501 (vhangup): Likewise.
33502 * sysdeps/unix/common/syscalls.list: Remove file.
33503 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33504 * sysdeps/unix/sysv/linux/Implies: Likewise.
33506 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33508 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33510 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33514 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33517 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33520 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33523 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33526 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33529 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33532 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33536 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33540 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33543 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33547 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33551 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33553 * sysdeps/unix/common/bits/dirent.h: Remove file.
33554 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33556 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33557 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33558 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33559 * sysdeps/unix/bsd/isatty.c: Likewise.
33560 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33561 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33562 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33564 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33568 long double comparison inaccuracies.
33569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33572 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33574 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33577 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33581 nonzero digits before rounding a hex value.
33582 * stdlib/tst-strtod.c (tests): Add another test.
33584 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33586 * sysdeps/s390/fpu/libm-test-ulps: Update.
33588 2012-05-03 Andreas Jaeger <aj@suse.de>
33590 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33591 does not get optimized out.
33592 (malloc_opt_barrier): New.
33594 2012-05-03 Andreas Jaeger <aj@suse.de>
33595 Roland McGrath <roland@hack.frob.com>
33597 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33598 intermediate file deletion.
33599 (generated): Add .symlist files.
33601 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33604 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33605 Redirect under this condition.
33606 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33607 [__USE_GNU] (__dprintf_chk): Not under this condition.
33608 [__USE_GNU] (__vdprintf_chk): Likewise.
33609 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33610 under this condition.
33611 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33612 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33613 [__USE_XOPEN2K8] (vdprintf): Likewise.
33614 [__USE_GNU] (__dprintf_chk): Not under this condition.
33615 [__USE_GNU] (__vdprintf_chk): Likewise.
33616 [__USE_GNU] (dprintf): Likewise.
33617 [__USE_GNU] (vdprintf): Likewise.
33619 2012-05-03 Roland McGrath <roland@hack.frob.com>
33621 * elf/Makefile (common-generated): Set this instead of generated for
33622 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33623 $(all-built-dso)-derived lists.
33625 2012-05-03 Andreas Jaeger <aj@suse.de>
33627 * sysdeps/i386/fpu/libm-test-ulps: Update.
33630 * FAQ.in: Likewise.
33631 * scripts/gen-FAQ.pl: Likewise.
33632 * manual/install.texi (Installation): Point to online location of
33634 * Makefile (files-for-dist): Remove FAQ.
33637 2012-05-02 Allan McRae <allan@archlinux.org>
33639 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33640 (LDFLAGS-reldepmod5.so): Likewise.
33641 (LDFLAGS-reldep6mod1.so): Likewise.
33642 (LDFLAGS-reldep6mod4.so): Likewise.
33643 (LDFLAGS-reldep8mod3.so): Likewise.
33644 (LDFLAGS-unload4mod1.so): Likewise.
33645 (LDFLAGS-unload4mod2.so): Likewise.
33646 (LDFLAGS-tst-initorder): Likewise.
33647 (LDFLAGS-tst-initordera2.so): Likewise.
33648 (LDFLAGS-tst-initordera3.so): Likewise.
33649 (LDFLAGS-tst-initordera4.so): Likewise.
33650 (LDFLAGS-tst-initorderb2.so): Likewise.
33651 (LDFLAGS-noload): Likewise.
33652 (LDFLAGS-next): Likewise.
33653 (LDFLAGS-order2mod1.so): Likewise.
33654 (LDFLAGS-order2mod2.so): Likewise.
33655 (LDFLAGS-tst-initorder2): Likewise.
33656 (LDFLAGS-tst-initorder2a.so): Likewise.
33657 (LDFLAGS-tst-initorder2b.so): Likewise.
33658 (LDFLAGS-tst-initorder2c.so): Likewise.
33659 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33661 2012-05-02 David S. Miller <davem@davemloft.net>
33663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33665 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33668 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33670 2012-05-02 Andreas Jaeger <aj@suse.de>
33672 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33673 since we manipulate rounding mode.
33674 (CPPFLAGS-test-idouble.c): Likewise.
33675 (CPPFLAGS-test-ifloat.c): Likewise.
33676 (CFLAGS-test-ldouble.c): Likewise.
33677 (CFLAGS-test-double.c): Likewise.
33678 (CFLAGS-test-float.c): Likewise.
33679 (CFLAGS-test-misc.c): Likewise.
33680 (CFLAGS-test-test-fenv.c): Likewise.
33682 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33687 comparisons to determine direction to adjust input.
33689 2012-05-01 Roland McGrath <roland@hack.frob.com>
33691 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33692 output to the target.
33694 * scripts/localplt.awk: New file.
33695 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33696 (check-localplt-CFLAGS): Variable removed.
33697 ($(all-built-dso:=.jmprel)): New static pattern rule.
33698 (generated): Add those targets.
33699 (localplt-built-dso): New variable.
33700 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33702 * elf/check-localplt.c: File removed.
33704 * scripts/check-execstack.awk: New file.
33705 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33706 (check-execstack-CFLAGS): Variable removed.
33707 ($(objpfx)check-execstack.h): Target removed.
33708 ($(objpfx)execstack-default): New target.
33709 (generated): Add that instead of check-execstack.h.
33710 ($(all-built-dso:=.phdr)): New static pattern rule.
33711 (generated): Add those targets.
33712 * elf/check-execstack.c: File removed.
33714 * scripts/check-textrel.awk: New file.
33715 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33716 (check-textrel-CFLAGS): Variable removed.
33717 (all-built-dso): Use := to define.o
33718 ($(all-built-dso:=.dyn)): New static pattern rule.
33719 (generated): Add those targets.
33720 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33721 * config.make.in (READELF): New substituted variable.
33722 * elf/check-textrel.c: File removed.
33724 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33726 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33728 * conform/data/ctype.h-data [C99-based standards] (isblank):
33730 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33731 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33732 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33733 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33734 Specify type. Require positive value.
33735 (EILSEQ): Likewise.
33736 (ERANGE): Likewise.
33737 [ISO || POSIX] (EILSEQ): Do not expect.
33738 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33739 Specify type. Require positive value.
33740 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33741 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33742 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33743 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33744 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33745 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33746 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33747 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33748 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33749 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33750 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33751 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33752 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33753 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33754 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33755 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33756 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33757 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33758 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33759 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33760 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33761 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33762 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33763 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33764 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33765 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33766 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33767 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33768 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33769 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33770 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33771 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33772 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33773 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33774 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33775 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33776 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33777 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33778 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33779 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33780 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33781 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33782 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33783 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33784 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33785 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33786 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33787 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33788 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33789 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33790 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33791 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33792 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33793 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33794 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33795 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33796 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33797 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33798 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33799 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33800 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33801 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33802 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33803 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33804 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33805 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33806 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33807 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33808 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33809 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33810 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33811 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33812 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33813 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33814 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33815 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33816 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33818 (FLT_ROUNDS): Expect as macro, not constant.
33819 (FLT_MANT_DIG): Use macro-int-constant.
33820 (DBL_MANT_DIG): Likewise.
33821 (LDBL_MANT_DIG): Likewise.
33822 (FLT_DIG): Likewise.
33823 (DBL_DIG): Likewise.
33824 (LDBL_DIG): Likewise.
33825 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33826 (DBL_MIN_EXP): Likewise.
33827 (LDBL_MIN_EXP): Likewise.
33828 (FLT_MAX_EXP): Use macro-int-constant.
33829 (DBL_MAX_EXP): Likewise.
33830 (LDBL_MAX_EXP): Likewise.
33831 (FLT_MAX_10_EXP): Likewise.
33832 (DBL_MAX_10_EXP): Likewise.
33833 (LDBL_MAX_10_EXP): Likewise.
33834 (FLT_MAX): Use macro-constant.
33835 (DBL_MAX): Likewise.
33836 (LDBL_MAX): Likewise.
33837 (FLT_EPSILON): Use macro-constant. Give upper bound.
33838 (DBL_EPSILON): Likewise.
33839 (LDBL_EPSILON): Likewise.
33840 (FLT_MIN): Likewise.
33841 (DBL_MIN): Likewise.
33842 (LDBL_MIN): Likewise.
33843 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33844 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33845 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33846 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33847 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33848 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33849 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33850 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33851 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33852 [ISO11] (FLT_TRUE_MIN): Likewise.
33853 [ISO11] (LDBL_TRUE_MIN): Likewise.
33854 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33855 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33856 (SCHAR_MIN): Use macro-int-constant. Specify type.
33857 (SCHAR_MAX): Likewise.
33858 (UCHAR_MAX): Likewise.
33859 (CHAR_MIN): Likewise.
33860 (CHAR_MAX): Likewise.
33861 (MB_LEN_MAX): Use macro-int-constant.
33862 (SHRT_MIN): Use macro-int-constant. Specify type.
33863 (SHRT_MAX): Likewise.
33864 (USHRT_MAX): Likewise.
33865 (INT_MAX): Likewise.
33866 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33868 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33870 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33872 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33873 bound negative. Suffix upper bound with "L".
33874 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33876 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33878 [C99-based standards] (LLONG_MAX): Likewise.
33879 [C99-based standards] (ULLONG_MAX): Likewise.
33880 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33882 [ISO11] (max_align_t): Require type.
33883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33885 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33886 from $CFLAGS, without defining away __attribute__ calls.
33887 (checknamespace): Use $CFLAGS_namespace.
33889 * conform/conformtest.pl (@keywords): Only include C99 keywords
33890 for standards based on C99 or C11.
33892 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33894 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33897 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33898 usability of symbols in #if.
33900 * conform/conformtest.pl: If macro or constant types start
33901 "promoted:", expect the symbol to be of the following type
33902 promoted by the integer promotions.
33904 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33905 in one place. Also handle "macro-constant".
33907 * conform/conformtest.pl: Only accept expected macro values with
33908 "==". Parse all "macro" lines in one place.
33909 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33911 * conform/conformtest.pl: Handle braced types on "constant" lines
33912 instead of handling "typed-constant".
33913 * conform/data/signal.h-data: Use "constant" instead of
33916 * conform/conformtest.pl: Handle "optional-" at start of lines in
33917 one place rather than duplicating several cases. Handle each
33918 format of "macro" line with initial "optional-".
33920 * conform/conformtest.pl: Only accept expected constant or
33921 optional-constant values with "==". Parse all "constant" lines in
33922 one place. Parse all "optional-constant" lines in one place.
33923 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33924 * conform/data/fmtmsg.h-data: Likewise.
33925 * conform/data/netinet/in.h-data: Likewise.
33926 * conform/data/tar.h-data: Likewise.
33927 * conform/data/limits.h-data: Use "==" form on "constant" and
33928 "optional-constant" lines.
33930 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33931 Use -std=c99 for XOPEN2K.
33932 (@knownproblems): Remove.
33933 (newtoken): Don't check %isknown.
33935 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33936 Do not expect macro.
33937 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33938 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33939 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33940 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33941 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33942 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33943 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33944 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33945 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33946 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33947 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33948 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33949 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33950 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33951 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33952 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33953 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33954 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33955 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33956 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33957 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33960 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33961 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33962 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33963 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33964 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33965 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33966 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33967 [XPG3] (acosh): Likewise.
33968 [XPG3] (asinh): Likewise.
33969 [XPG3] (atanh): Likewise.
33970 [XPG3] (cbrt): Likewise.
33971 [XPG3] (expm1): Likewise.
33972 [XPG3] (ilogb): Likewise.
33973 [XPG3] (log1p): Likewise.
33974 [XPG3] (logb): Likewise.
33975 [XPG3] (nextafter): Likewise.
33976 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33977 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33978 [XPG3] (remainder): Likewise.
33979 [XPG3] (rint): Likewise.
33980 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33981 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33982 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33983 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33984 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33985 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33986 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33987 [UNIX98 || XOPEN2K] (scalb): Expect.
33988 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33989 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33990 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33991 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33992 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33993 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33994 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33995 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33996 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33997 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33998 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33999 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34000 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34001 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34002 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34003 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34004 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34005 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34006 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34007 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34008 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34009 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34010 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34011 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34012 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34013 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34014 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34015 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34016 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34017 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34018 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34019 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34020 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34021 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34022 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34023 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34024 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34025 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34026 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34027 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34028 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34029 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34030 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34031 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34032 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34033 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34034 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34035 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34036 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34037 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34038 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34039 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34040 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34041 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34042 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34043 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34044 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34045 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34046 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34047 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34048 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34049 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34050 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34051 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34052 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34053 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34054 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34055 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34056 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34057 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34058 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34059 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34060 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34061 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34062 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34063 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34064 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34065 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34066 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34067 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34068 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34069 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34070 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34071 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34072 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34073 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34074 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34075 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34076 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34077 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34078 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34079 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34080 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34081 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34082 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34083 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34084 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34085 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34086 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34087 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34088 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34089 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34090 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34091 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34092 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34093 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34094 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34095 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34096 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34097 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34098 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34099 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34100 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34101 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34102 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34103 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34104 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34105 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34106 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34107 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34108 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34109 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34110 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34111 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34112 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34113 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34114 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34115 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34116 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34117 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34118 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34119 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34120 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34121 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34122 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34123 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34124 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34126 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34127 _XOPEN_SOURCE_EXTENDED for XPG4.
34129 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34131 * Makeconfig (localtime): Remove variable.
34132 (inst_localtime-file): Likewise.
34134 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34155 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34159 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34160 comparisons to determine direction to adjust input.
34161 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34162 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34163 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34167 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34169 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34170 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34172 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34174 * math/libm-test.inc (nexttoward_test): Add more tests.
34176 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34179 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34180 in version GLIBC_2.1, not GLIBC_2.0.
34181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34184 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34187 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34189 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34190 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34191 * math/libm-test.inc (acos_test): Add more tests.
34192 (asin_test): Likewise.
34193 * sysdeps/i386/fpu/libm-test-ulps: Update.
34194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34197 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34199 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34200 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34201 * math/libm-test.inc (acos_test_tonearest): New function.
34202 (acos_test_towardzero): Likewise.
34203 (acos_test_downward): Likewise.
34204 (acos_test_upward): Likewise.
34205 (asin_test_tonearest): Likewise.
34206 (asin_test_towardzero): Likewise.
34207 (asin_test_downward): Likewise.
34208 (asin_test_upward): Likewise.
34209 (main): Call the new functions.
34210 * sysdeps/i386/fpu/libm-test-ulps: Update.
34211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34215 * math/e_exp10.c: Include <float.h>.
34216 (__ieee754_exp10): Handle underflow here rather than multiplying
34217 large negative argument by M_LN10.
34218 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34220 * math/e_exp10l.c: Include <float.h>.
34221 (__ieee754_exp10l): Handle underflow here rather than multiplying
34222 large negative argument by M_LN10l.
34223 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34224 spurious overflow exception on underflow.
34226 2012-04-29 Marek Polacek <polacek@redhat.com>
34228 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34229 (__fortify_function): New macro.
34230 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34231 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34232 __extern_always_inline.
34233 * libio/bits/stdio2.h: Likewise.
34234 * libio/bits/stdio.h: Likewise.
34235 * string/string.h: Likewise.
34236 * string/bits/string3.h: Likewise.
34237 * include/stdio.h: Likewise.
34238 * stdlib/bits/stdlib.h: Likewise.
34239 * stdlib/stdlib.h: Likewise.
34240 * rt/bits/mqueue2.h: Likewise.
34241 * rt/mqueue.h: Likewise.
34242 * posix/bits/unistd.h: Likewise.
34243 * posix/unistd.h: Likewise.
34244 * io/bits/poll2.h: Likewise.
34245 * io/bits/fcntl2.h: Likewise.
34246 * io/fcntl.h: Likewise.
34247 * io/sys/poll.h: Likewise.
34248 * misc/bits/syslog.h: Likewise.
34249 * misc/bits/syslog-ldbl.h: Likewise.
34250 * misc/sys/syslog.h: Likewise.
34251 * socket/bits/socket2.h: Likewise.
34252 * socket/sys/socket.h: Likewise.
34253 * debug/tst-chk1.c: Likewise.
34254 * wcsmbs/bits/wchar2.h: Likewise.
34255 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34256 * wcsmbs/wchar.h: Likewise.
34258 2012-04-29 Andreas Jaeger <aj@suse.de>
34260 * Makerules (tests): Remove enable-check-abi protection.
34261 (check-abi-warn): Remove.
34262 (check-abi-%): Remove check-abi-warn usage.
34264 * configure.in: Remove check-abi configure option.
34265 * configure: Regenerated.
34266 * config.make.in (enable-check-abi): Remove.
34268 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34271 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34272 double functions to double *_finite functions.
34275 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34276 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34278 * stdio-common/Makefile (tests): Add tst-sprintf3.
34279 * stdio-common/tst-sprintf3.c: New file.
34281 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34282 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34284 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34286 * conform/conformtest.pl: Remove duplicate typed-constant
34289 2012-04-28 David S. Miller <davem@davemloft.net>
34291 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34292 (check-abi-%): Remove AWK script prerequisite and explicit
34294 (check-abi): Rewrite to just diff the symlist with the abilist.
34295 (config-tls, config-abi-config): Delete, no longer used.
34296 (update-abi-%): Remove AWK script and explicit abilist directory.
34297 (update-abi): Rewrite to simply compare and conditionally copy the
34298 symlist and the sysdep abilist file. Remove update-abi-config
34300 * abilist/ld.abilist: Remove.
34301 * abilist/libBrokenLocale.abilist: Remove.
34302 * abilist/libanl.abilist: Remove.
34303 * abilist/libcrypt.abilist: Remove.
34304 * abilist/libdl.abilist: Remove.
34305 * abilist/librt.abilist: Remove.
34306 * abilist/libthread_db.abilist: Remove.
34307 * abilist/libutil.abilist: Remove.
34308 * scripts/extract-abilist.awk: Remove.
34309 * scripts/merge-abilist.awk: Remove.
34310 * sysdeps/generic/libcidn.abilist: New file.
34311 * sysdeps/generic/libnss_compat.abilist: New file.
34312 * sysdeps/generic/libnss_db.abilist: New file.
34313 * sysdeps/generic/libnss_dns.abilist: New file.
34314 * sysdeps/generic/libnss_files.abilist: New file.
34315 * sysdeps/generic/libnss_hesiod.abilist: New file.
34316 * sysdeps/generic/libnss_nis.abilist: New file.
34317 * sysdeps/generic/libnss_nisplus.abilist: New file.
34318 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34319 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34320 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34322 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34323 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34324 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34325 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34326 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34327 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34328 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34329 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34330 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34332 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34333 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34334 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34335 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34337 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34338 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34339 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34340 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34341 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34342 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34344 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34345 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34346 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34348 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34357 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34359 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34361 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34363 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34365 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34367 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34369 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34371 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34373 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34452 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34453 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34456 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34457 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34458 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34459 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34460 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34461 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34462 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34463 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34464 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34513 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34516 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34518 * conform/conformtest.pl: Fix typo in handling typed-constant from
34521 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34523 * README: Cut down references to pre-2.6 Linux kernels and
34524 Linuxthreads. Update lists of configurations in libc and ports
34525 and sort alphabetically. Say "or newer" with Linux kernel version
34528 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34530 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34533 * math/libm-test.inc (logb_test_downward): New test to expose
34534 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34537 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34540 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34542 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34543 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34545 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34547 * sysdeps/unix/i386/brk.S: Remove file.
34548 * sysdeps/unix/i386/dl-brk.S: Likewise.
34549 * sysdeps/unix/i386/pipe.S: Likewise.
34550 * sysdeps/unix/i386/sigreturn.S: Likewise.
34551 * sysdeps/unix/i386/syscall.S: Likewise.
34552 * sysdeps/unix/i386/vfork.S: Likewise.
34553 * sysdeps/unix/i386/wait.S: Likewise.
34555 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34556 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34558 * configure.in (arm*-none*): Do not allow without
34559 --enable-hacker-mode.
34560 (netbsd*): Remove case setting base_os.
34561 (386bsd*): Likewise.
34562 (freebsd*): Likewise.
34565 (sunos*): Likewise.
34566 (ultrix*): Likewise.
34567 (newsos*): Likewise.
34568 (dynix*): Likewise.
34574 (minix*): Likewise.
34575 (irix4*): Likewise.
34576 (irix6*): Likewise.
34577 (solaris[2-9]*): Likewise.
34579 * configure: Regenerated.
34581 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34584 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34585 overflow or cancellation in calculating denominator.
34586 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34588 down expression to avoid unexpected rounding in newer GCCs.
34589 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34591 2012-04-26 David S. Miller <davem@davemloft.net>
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34594 long-double compat symbols.
34595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34609 2012-04-25 David S. Miller <davem@davemloft.net>
34611 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34612 HWCAP_* values only after the memory barriers have been defined.
34613 (atomic_full_barrier): Define.
34614 (atomic_read_barrier): Define.
34615 (atomic_write_barrier): Define.
34617 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34619 * shlib-versions: Add libgcc_s version information.
34620 * sysdeps/generic/libgcc_s.h: Remove.
34621 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34623 * sysdeps/gnu/unwind-resume.c: Likewise.
34624 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34626 2012-04-25 David S. Miller <davem@davemloft.net>
34628 * sysdeps/unix/sparc/brk.S: Delete.
34629 * sysdeps/unix/sparc/dl-brk.S: Delete.
34630 * sysdeps/unix/sparc/pipe.S: Delete.
34631 * sysdeps/unix/sparc/sysdep.S: Delete.
34632 * sysdeps/unix/sparc/sysdep.h: Delete.
34633 * sysdeps/unix/sparc/vfork.S: Delete.
34634 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34635 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34637 (ret_ERRVAL, r0, r1, MOVE): Define.
34638 (JUMPTARGET): Remove.
34639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34640 sysdeps/unix/sparc/sysdep.h
34641 (ENTRY, END): Remove.
34642 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34644 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34646 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34647 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34650 * timezone/README: Update upstream location and email address for
34652 * timezone/zdump.c: Update from tzcode 2012b.
34653 * timezone/zic.c: Likewise.
34655 * configure.in (libc_cv_as_needed): Remove test.
34656 * configure: Regenerated.
34657 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34658 conditional definition.
34659 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34660 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34661 * config.make.in (have-as-needed): Remove variable.
34663 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34664 Paul Pluzhnikov <ppluzhnikov@google.com>
34666 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34669 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34671 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34672 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34673 * sysdeps/sh/strlen.S: Likewise.
34675 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34677 * sysdeps/unix/fork.S: Remove file.
34678 * sysdeps/unix/i386/fork.S: Likewise.
34679 * sysdeps/unix/sparc/fork.S: Likewise.
34681 * sysdeps/unix/system.c: Remove file.
34682 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34684 * sysdeps/unix/getegid.S: Remove file.
34685 * sysdeps/unix/geteuid.S: Likewise.
34687 2012-04-24 Roland McGrath <roland@hack.frob.com>
34689 * scripts/check-localplt.awk: New file.
34690 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34692 * scripts/data/localplt-generic.data: Add a comment.
34694 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34695 NODE when __dir_mkfile failed.
34696 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34697 Reported by Ludovic Courtès <ludo@gnu.org>.
34699 2012-04-24 Andreas Jaeger <aj@suse.de>
34701 * Makerules (common-clean): Also remove gen-as-const-headers
34704 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34706 * Makerules (native-compile): Do not change working directory for
34707 build. Use $(OUTPUT_OPTION) in command.
34708 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34710 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34713 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34714 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34715 * math/libm-test.inc (floor_test): Add more tests.
34716 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34718 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34720 * sysdeps/unix/getdents.c: Remove file.
34721 * sysdeps/unix/sysv/getdents.c: Likewise.
34722 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34724 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34725 sysdeps/unix/mman/syscalls.list.
34727 (mprotect): Likewise.
34729 (munmap): Likewise.
34730 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34731 * sysdeps/unix/mman/syscalls.list: Remove.
34732 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34734 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34735 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34736 * configure: Regenerated.
34737 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34738 $(libgcc_s_suffix).
34739 * config.make.in (libgcc_s_suffix): Remove variable.
34741 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34743 * sysdeps/unix/sysv/gethostname.c: Move to ...
34744 * sysdeps/posix/gethostname.c: ... here.
34746 * sysdeps/unix/execve.S: Remove file.
34748 * sysdeps/unix/_exit.S: Remove file.
34750 2012-04-23 Andreas Jaeger <aj@suse.de>
34753 * manual/Makefile: Remove make dist support, there's no
34754 need for a stand-alone documentation tar ball.
34755 (TEXI2DVI): Define always, it's not in Makeconfig.
34758 (edition): Removed.
34759 (glibc-doc-$(edition).tar): Removed
34763 (ETAGS): Remove, it's in Makeconfig.
34764 (move-if-change): Remove, it's in Makeconfig.
34766 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34769 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34770 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34771 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34772 (strtod_l, strtof_l, strtold_l): Remove __wur.
34773 It is not necessarily an error to ignore strtol's return value.
34774 One can reliably look at the stored endptr to decide whether
34775 the number had valid syntax.
34777 2012-04-21 Andreas Jaeger <aj@suse.de>
34780 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34782 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34784 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34785 * sysdeps/unix/sysv/Versions: Remove file.
34787 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34792 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34796 version from __vm86.
34798 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34800 * sysdeps/unix/common/lxstat.c: Remove file.
34801 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34803 * sysdeps/unix/sysv/Makefile: Remove file.
34805 * sysdeps/unix/sysv/direct.h: Remove file.
34807 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34808 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34809 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34810 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34811 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34812 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34813 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34815 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34817 * sysdeps/unix/xmknod.c: Remove file.
34818 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34820 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34822 * sysdeps/unix/sysv/i386/time.S: Remove file.
34824 * sysdeps/unix/fxstat.c: Remove file.
34825 * sysdeps/unix/xstat.c: Likewise.
34826 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34828 * sysdeps/unix/sysv/sigaction.c: Remove file.
34830 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34831 (sysdep_headers): Remove variable.
34832 [termio.h not in sysdep_headers] (generated): Likewise.
34833 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34834 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34835 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34836 * sysdeps/unix/sysv/tcflow.c: Likewise.
34837 * sysdeps/unix/sysv/tcflush.c: Likewise.
34838 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34839 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34840 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34841 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34842 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34844 * sysdeps/unix/siglist.c: Remove file.
34846 * sysdeps/unix/getppid.S: Remove file.
34848 * sysdeps/unix/mkdir.c: Remove file.
34849 * sysdeps/unix/rmdir.c: Likewise.
34851 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34853 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34855 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34856 errlist-compat value.
34858 2012-04-18 David S. Miller <davem@davemloft.net>
34860 * sysdeps/generic/memcopy.h (reg_char): Delete.
34861 * debug/strcat_chk.c: Use char, not reg_char.
34862 * debug/strcpy_chk.c: Likewise.
34863 * debug/strncat_chk.c: Likewise.
34864 * debug/strncpy_chk.c: Likewise.
34865 * string/memchr.c: Likewise.
34866 * string/memrchr.c: Likewise.
34867 * string/rawmemchr.c: Likewise.
34868 * string/strcat.c: Likewise.
34869 * string/strchr.c: Likewise.
34870 * string/strchrnul.c: Likewise.
34871 * string/strcmp.c: Likewise.
34872 * string/strcpy.c: Likewise.
34873 * string/strncat.c: Likewise.
34874 * string/strncmp.c: Likewise.
34875 * string/strncpy.c: Likewise.
34877 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34879 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34880 __builtin_memcopy is called when src and dest ranges are known to not
34883 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34886 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34887 fwd_align_merge macro call.
34888 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34889 bwd_align_merge macro call.
34890 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34892 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34895 bwd_align_merge macros.
34896 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34897 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34898 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34900 2012-04-18 David S. Miller <davem@davemloft.net>
34902 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34904 2012-04-18 Andreas Jaeger <aj@suse.de>
34907 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34908 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34909 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34911 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34912 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34913 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34915 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34916 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34917 Adjust for changed ldbl-128 files.
34919 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34920 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34921 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34923 2012-04-17 David S. Miller <davem@davemloft.net>
34925 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34927 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34929 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34930 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34931 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34932 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34933 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34934 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34936 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34939 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34940 * math/libm-test.inc: Add ilogb errno and exception tests.
34941 * math/w_ilogb.c: New file: ilogb wrapper.
34942 * math/w_ilogbf.c: New file: ilogbf wrapper.
34943 * math/w_ilogbl.c: New file: ilogbl wrapper.
34944 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34945 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34946 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34947 exception being thrown with 0.0 as argument.
34948 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34949 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34950 exception being thrown with 0.0 as argument.
34951 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34952 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34953 exception being thrown with 0.0 as argument.
34954 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34955 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34956 exception being thrown with 0.0 as argument.
34957 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34958 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34959 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34960 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34961 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34962 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34963 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34964 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34965 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34967 2012-04-17 Petr Baudis <pasky@ucw.cz>
34969 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34972 2012-04-16 Marek Polacek <polacek@redhat.com>
34974 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34976 2012-04-16 Marek Polacek <polacek@redhat.com>
34978 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34979 operands of fdivp instruction.
34981 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34983 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34984 * elf/tst-auditmod3b.c: Likewise.
34985 * elf/tst-auditmod4b.c: Likewise.
34986 * elf/tst-auditmod5b.c: Likewise.
34987 * elf/tst-auditmod6b.c: Likewise.
34988 * elf/tst-auditmod6c.c: Likewise.
34989 * elf/tst-auditmod7b.c: Likewise.
34990 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34991 * sysdeps/x86_64/preconfigure.in: Likewise.
34992 * sysdeps/x86_64/preconfigure: Regenerated.
34994 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34996 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34999 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35002 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35004 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35007 * locale/iso-639.def: Fix gl language name. Spotted by
35010 2012-04-12 Roland McGrath <roland@hack.frob.com>
35013 * libio/libio.h (__io_write_fn): Update comment.
35015 2012-04-12 Petr Baudis <pasky@ucw.cz>
35018 * stdio.texi (Hook Functions): The user provided writer function
35019 is not allowed to return -1.
35021 2012-04-11 David S. Miller <davem@davemloft.net>
35023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35025 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35027 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35028 Add a leading slash to rtkaio.
35030 2012-04-11 Jim Meyering <meyering@redhat.com>
35033 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35034 It is not necessarily an error to ignore fwrite's return
35035 value. One can reliably use ferror to test for errors after
35038 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35040 * bits/types.h (__snseconds_t): New type.
35041 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35043 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35044 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35045 (__SNSECONDS_T_TYPE): Likewise.
35046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35047 (__SNSECONDS_T_TYPE): Likewise.
35048 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35049 (__SNSECONDS_T_TYPE): Likewise.
35051 2012-04-10 Andreas Jaeger <aj@suse.de>
35054 * manual/time.texi (Processor Time): Return type of times is
35055 elapsed real time since an arbitrary point in the past.
35056 (CPU Time): Move CLK_TCK from here...
35057 (Processor Time): ...to here. Correct description.
35058 * manual/conf.texi (Constants for Sysconf): Correct description of
35061 2012-04-10 David S. Miller <davem@davemloft.net>
35064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35065 where the is a gap between DT_REL(A) and DT_JMPREL.
35067 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35069 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35070 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35071 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35073 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35075 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35076 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35077 (dl_main): Handle --inhibit-cache.
35078 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35080 * elf/dl-load.c (_dl_map_object): Use it.
35081 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35083 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35086 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35087 (__ieee754_powl): Saturate large exponents rather than testing for
35088 overflow of y*log2(x).
35089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35090 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35094 * math/s_ctan.c: Include <float.h>.
35095 (__ctan): Avoid internal overflow or cancellation in calculating
35097 * math/s_ctanf.c: Likewise.
35098 * math/s_ctanl.c: Likewise.
35099 * math/s_ctanh.c: Likewise.
35100 * math/s_ctanhf.c: Likewise.
35101 * math/s_ctanhl.c: Likewise.
35102 * math/libm-test.inc (ctan_test): Add more tests.
35103 (ctanh_test): Likewise.
35104 * sysdeps/i386/fpu/libm-test-ulps: Update.
35105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35107 2012-04-09 Andreas Jaeger <aj@suse.de>
35110 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35111 is an optional BSD extension.
35114 * manual/stdio.texi (Opening Streams): Document additional fopen
35117 2012-04-09 Roland McGrath <roland@hack.frob.com>
35119 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35120 %eax without telling the compiler.
35122 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35125 * manual/install.texi: Use sourceware.org.
35127 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35130 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35131 (__ieee754_pow): Generate overflow and underflow using huge*huge
35132 and tiny*tiny rather than just returning constant infinity or zero
35133 for large exponents.
35134 * math/libm-test.inc (pow_test): Require overflow exceptions for
35135 applicable cases of large exponents.
35138 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35139 (__ieee754_pow): Use iterative multiplication algorithm only for
35140 integer exponents with absolute value below 1024. Check for odd
35141 integer exponents when using algorithm for real exponents.
35142 * math/libm-test.inc (pow_test): Add more tests.
35143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35145 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35148 * math/libm-test.inc (exp_test): Do not allow overflow exception
35151 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35154 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35155 instead of __kernel_standard_f.
35157 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35159 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35160 * sysdeps/x86_64/memset_chk.S: Likewise.
35162 2012-04-08 Andreas Jaeger <aj@suse.de>
35165 * manual/startup.texi (Environment Access): Describe return value
35166 for putenv and setenv.
35169 * manual/filesys.texi (Directory Entries): Add description for
35173 * manual/filesys.texi (Directory Entries): Clarify that it's file
35174 system not operating system in the description of DT_UNKNOWN.
35177 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35179 2012-04-08 Stephen Compall <s11@member.fsf.org>
35182 * manual/llio.texi (Opening and Closing Files): Add cross
35183 reference to explain mode argument.
35185 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35187 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35188 * sysdeps/x86_64/memset_chk.S: Likewise.
35190 2012-04-07 David S. Miller <davem@davemloft.net>
35192 * elf/elf.h (R_SPARC_WDISP10): Define.
35193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35196 R_SPARC_SIZE64 and R_SPARC_H34.
35198 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35201 conditions and remove no longer applicable assertion.
35203 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35205 * bits/byteswap.h: Include <features.h>.
35206 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35207 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35209 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35211 * bits/byteswap.h (__bswap_16): Removed.
35212 Include <bits/byteswap-16.h> to get __bswap_16.
35213 * sysdeps/i386/bits/byteswap.h: Likewise.
35214 * sysdeps/s390/bits/byteswap.h: Likewise.
35215 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35216 * bits/byteswap-16.h: New file.
35217 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35218 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35219 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35220 * string/Makefile (headers): Add bits/byteswap-16.h.
35222 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35225 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35227 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35228 * nss/tst-nss-static.c: New.
35230 2012-04-06 Robert Millan <rmh@gnu.org>
35233 * manual/llio.texi (File Position Primitive): lseek
35234 refers to WHENCE when it really means OFFSET.
35236 2012-04-06 Andreas Jaeger <aj@suse.de>
35238 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35239 strncmp declarations.
35241 * abilist/libc.abilist: Add __poll and __ppoll.
35243 2012-04-05 David S. Miller <davem@davemloft.net>
35245 * scripts/check-local-headers.sh: Accept a host triplet in the
35246 path matched by the exclude regexp.
35248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35250 * sysdeps/powerpc/powerpc32/dl-machine.h
35251 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35252 * sysdeps/s390/s390-32/dl-machine.h
35253 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35254 * sysdeps/sparc/sparc32/dl-machine.h
35255 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35256 * sysdeps/sparc/sparc64/dl-machine.h
35257 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35259 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35261 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35262 undefined symbol errors.
35264 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35267 2012-04-05 Michael Matz <matz@suse.de>
35270 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35272 2012-04-05 Andreas Jaeger <aj@suse.de>
35275 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35278 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35280 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35281 which ROUND is no valid rounding mode.
35283 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35285 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35287 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35289 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35291 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35292 an exception using FPU order intentionally.
35294 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35296 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35297 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35298 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35299 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35301 2012-04-05 Simon Josefsson <simon@josefsson.org>
35304 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35305 EINVAL when BUFLEN is too smal.
35307 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35310 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35311 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35313 2012-04-03 Andreas Jaeger <aj@suse.de>
35316 * manual/setjmp.texi (System V contexts): Fix sentence.
35319 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35320 New macro for this case.
35321 [!__GNUC__] (__bswap_64): New inline function for this case.
35322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35323 * bits/byteswap.h: Likewise.
35324 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35325 ull, guard with __GLIBC_HAVE_LONG_LONG.
35327 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35328 __GLIBC_HAVE_LONG_LONG.
35330 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35331 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35333 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35336 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35337 inptr and inend, rather than using last_ch.
35339 2012-04-02 David S. Miller <davem@davemloft.net>
35341 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35342 * stdio-common/printf-parse.h (read_int): Change return type to
35343 'int', return -1 on INT_MAX overflow.
35344 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35345 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35346 overflows INT_MAX. Check for overflow of in-format-string precision
35347 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35348 SIZE_MAX not INT_MAX for integer overflow test.
35349 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35350 skip the construct in the format string but do not record anything.
35351 * stdio-common/bug22.c: Adjust to test both width/prevision
35352 INT_MAX overflow as well as total length INT_MAX overflow. Check
35353 explicitly for proper errno values.
35355 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35357 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35359 * string/test-strcmp.c [! WIDE]: Likewise.
35360 * time/tst-mktime2.c: Likewise for INT_MAX.
35361 * string/test-string.h: #include <sys/param.h> for MIN.
35363 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35364 * sysdeps/i386/init-first.c (init): Likewise.
35365 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35366 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35367 * sysdeps/sh/init-first.c (init): Likewise.
35369 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35371 * po/ru.po: Update from translation team.
35372 * po/vi.po: Likewise.
35374 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35376 * resolv/nss_dns/dns-host.c: Merge copyright years.
35378 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35381 Optimize memcpy with prefetch if
35382 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35383 src, dst pointers have unequal 16 byte alignments.
35385 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35388 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35389 from a CNAME entry and return the minimum ttl for the query.
35390 (gaih_getanswer_slice): Likewise.
35392 2012-03-30 Jeff Law <law@redhat.com>
35394 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35396 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35397 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35399 * resolv/nss_dns/dns-host.c: Update copyright year.
35401 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35403 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35404 requests to save a system call. Fix check that all bytes are sent.
35406 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35407 comments for sendmmsg.
35409 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35412 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35413 with only 1 character between 0x0041 and 0x01b0.
35414 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35415 * wcsmbs/tst-mbsnrtowcs.c: New file.
35417 2012-03-29 David S. Miller <davem@davemloft.net>
35419 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35420 small copies by hand.
35422 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35425 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35426 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35429 2012-03-28 David S. Miller <davem@davemloft.net>
35431 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35432 that branches into memcpy.
35433 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35436 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35439 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35440 implementation too.
35441 * sysdeps/sparc/mempcpy.S: New file.
35443 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35444 the IFUNC routine in the libc case.
35445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35448 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35449 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35450 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35451 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35452 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35453 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35454 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35456 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35457 loop to 256 bytes instead of 64 bytes and fix test signedness.
35459 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35460 * sysdeps/sparc/sparc32/Makefile: rather than here...
35461 * sysdeps/sparc/sparc64/Makefile: and here.
35463 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35465 * malloc/mallocbug.c: Avoid warnings about unused variables.
35467 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35470 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35471 in the right place. Discard and retry query if response is
35472 larger than input buffer size.
35474 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35479 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35480 x for large integer exponent.
35481 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35482 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35483 sign of result as needed afterwards.
35484 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35485 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35486 result for underflowing pow the same as for overflow.
35487 (__kernel_standard_l): Handle powl overflow and underflow here
35488 rather than calling __kernel_standard.
35489 * math/libm-test.inc (pow_test): Add more tests.
35504 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35505 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35506 (__kernel_standard_l): New function.
35507 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35509 * math/w_acosl.c (__acosl): Likewise.
35510 * math/w_asinl.c (__asinl): Likewise.
35511 * math/w_atan2l.c (__atan2l): Likewise.
35512 * math/w_atanhl.c (__atanhl): Likewise.
35513 * math/w_coshl.c (__coshl): Likewise.
35514 * math/w_exp10l.c (__exp10l): Likewise.
35515 * math/w_exp2l.c (__exp2l): Likewise.
35516 * math/w_fmodl.c (__fmodl): Likewise.
35517 * math/w_hypotl.c (__hypotl): Likewise.
35518 * math/w_j0l.c (__j0l, __y0l): Likewise.
35519 * math/w_j1l.c (__j1l, __y1l): Likewise.
35520 * math/w_jnl.c (__jnl, __ynl): Likewise.
35521 * math/w_lgammal.c (__lgammal): Likewise.
35522 * math/w_log10l.c (__log10l): Likewise.
35523 * math/w_log2l.c (__log2l): Likewise.
35524 * math/w_logl.c (__logl): Likewise.
35525 * math/w_powl.c (__powl): Likewise.
35526 * math/w_remainderl.c (__remainderl): Likewise.
35527 * math/w_scalbl.c (sysv_scalbl): Likewise.
35528 * math/w_sinhl.c (__sinhl): Likewise.
35529 * math/w_sqrtl.c (__sqrtl): Likewise.
35530 * math/w_tgammal.c (__tgammal): Likewise.
35531 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35532 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35533 * math/libm-test.inc (acos_test): Add more tests.
35534 (acosh_test): Likewise.
35535 (asin_test): Likewise.
35536 (atanh_test): Likewise.
35537 (exp_test): Likewise.
35538 (exp10_test): Likewise.
35539 (exp2_test): Likewise.
35540 (expm1_test): Likewise.
35541 (lgamma_test): Likewise.
35542 (log_test): Likewise.
35543 (log10_test): Likewise.
35544 (log1p_test): Likewise.
35545 (log2_test): Likewise.
35546 (pow_test): Do not allow some spurious overflow exceptions.
35547 (sqrt_test): Add more tests.
35548 (tgamma_test): Likewise.
35549 (y0_test): Likewise.
35550 (y1_test): Likewise.
35551 (yn_test): Likewise.
35553 2012-03-27 Anton Blanchard <anton@samba.org>
35555 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35557 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35558 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35561 2012-03-27 David S. Miller <davem@davemloft.net>
35563 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35565 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35566 have-as-vis3 check.
35568 2012-03-27 Andreas Jaeger <aj@suse.de>
35570 * sysdeps/x86_64/elf/configure.in: Moved to ...
35571 * sysdeps/x86_64/configure.in: ... here.
35572 * sysdeps/x86_64/elf/start.S: Moved to ...
35573 * sysdeps/x86_64/start.S: ... here.
35574 * sysdeps/x86_64/elf/configure: Delete.
35576 * sysdeps/x86_64/configure.in: Merge contents from
35577 sysdeps/i386/configure.in (without i686 check).
35579 * sysdeps/i386/elf/Versions: Merge into ...
35580 * sysdeps/i386/Versions: ... this.
35581 * sysdeps/i386/elf/Versions: Delete file.
35582 * sysdeps/i386/elf/start.S: Moved to ...
35583 * sysdeps/i386/start.S: ...here.
35584 * sysdeps/i386/elf/configure.in: Merge into...
35585 * sysdeps/i386/configure.in: ...here.
35586 * sysdeps/i386/elf/configure.in: Delete file.
35587 * sysdeps/i386/elf/configure: Delete file.
35589 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35590 * debug/backtracesyms.c: ... here.
35591 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35592 * debug/backtracesymsfd.c: ... here.
35593 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35594 * sysdeps/generic/ifunc-sel.h: ... here.
35596 * sysdeps/unix/i386/start.c: Delete file.
35597 * sysdeps/unix/sparc/start.c: Delete file.
35598 * sysdeps/unix/start.c: Delete file.
35600 * sysdeps/sh/elf/configure.in: Moved to ...
35601 * sysdeps/sh/configure.in: ... here.
35602 * sysdeps/sh/elf/start.S: Moved to ...
35603 * sysdeps/sh/start.S: ... here.
35604 * sysdeps/sh/elf/configure: Delete file.
35606 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35607 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35608 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35609 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35610 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35611 * sysdeps/powerpc/powerpc64/start.S: here.
35612 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35613 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35614 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35615 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35616 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35618 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35619 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35620 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35621 * sysdeps/powerpc/powerpc32/start.S: ... here.
35622 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35623 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35624 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35626 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35627 * sysdeps/powerpc/ifunc-sel.h: ... here.
35628 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35629 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35631 * sysdeps/sparc/elf/configure.in: Moved to ...
35632 * sysdeps/sparc/configure.in: ... here.
35633 * sysdeps/sparc/elf/configure: Delete file.
35634 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35635 * sysdeps/sparc/sparc32/start.S: ... here.
35636 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35637 * sysdeps/sparc/sparc64/start.S: ... here.
35638 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35639 * sysdeps/sparc/sparc32/Makefile: ... this.
35640 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35641 * sysdeps/sparc/sparc64/Makefile: ... this.
35643 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35644 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35645 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35646 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35647 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35648 * sysdeps/s390/s390-32/setjmp.S: ... here.
35649 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35650 * sysdeps/s390/s390-32/configure.in: ... here.
35651 * sysdeps/s390/s390-32/elf/configure: Delete file.
35652 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35653 * sysdeps/s390/s390-32/start.S: ... here.
35655 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35656 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35657 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35658 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35659 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35660 * sysdeps/s390/s390-64/setjmp.S: ... here.
35661 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35662 * sysdeps/s390/s390-64/configure.in: ... here
35663 * sysdeps/s390/s390-64/elf/configure: Delete file.
35664 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35665 * sysdeps/s390/s390-64/start.S: ... here.
35666 * sysdeps/s390/s390-64/elf/configure: Delete.
35668 * configure.in: Remove support for elf directories in sysdeps.
35670 * configure: Regenerated.
35671 * sysdeps/i386/configure: Regenerated.
35672 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35673 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35674 * sysdeps/s390/s390-32/configure: Regenerated.
35675 * sysdeps/s390/s390-64/configure: Regenerated.
35676 * sysdeps/sh/configure: Regenerated.
35677 * sysdeps/sparc/configure: Regenerated.
35678 * sysdeps/x86_64/configure: Regenerated.
35680 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35685 denormal result into account.
35687 2012-03-25 Roland McGrath <roland@hack.frob.com>
35689 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35690 Reported by Allan McRae <allan@archlinux.org>.
35692 2012-03-23 Jeff Law <law@redhat.com>
35694 * nss/getnssent.c (__nss_getent): Fix typo.
35696 2012-03-23 David S. Miller <davem@davemloft.net>
35698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35700 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35702 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35703 to pad to uint64_t for each field.
35704 (dl_tls_index): Replace unsigned long with uint64_t.
35706 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35707 Paul Pluzhnikov <ppluzhnikov@google.com>
35710 * grp/Makefile (otherlibs): Don't set it.
35711 * inet/Makefile (otherlibs): Likewise.
35712 * login/Makefile (otherlibs): Likewise.
35713 * nscd/Makefile (otherlibs): Likewise.
35714 * posix/Makefile (otherlibs): Likewise.
35715 * pwd/Makefile (otherlibs): Likewise.
35716 * rt/Makefile (otherlibs): Likewise.
35717 * sunrpc/Makefile (otherlibs): Likewise.
35718 * nss/Makefile (otherlibs): Likewise.
35719 Add libnss_files to routines and static-only-routines.
35720 ($(objpfx)getent): Remove rule.
35721 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35722 static-only-routines.
35724 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35727 * math/s_cexp.c: Include <float.h>.
35728 (__cexp): Handle exp result overflowing not necessarily
35729 overflowing both real and imaginary parts of result.
35730 * math/s_cexpf.c: Likewise.
35731 * math/s_cexpl.c: Likewise.
35732 * math/libm-test.inc (cexp_test): Add more tests.
35733 * sysdeps/i386/fpu/libm-test-ulps: Update.
35734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35736 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35738 * include/link.h (ELFW): New macro.
35739 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35740 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35742 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35744 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35747 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35749 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35751 (struct La_x32_retval): Likewise.
35753 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35755 * sysdeps/x86_64/preconfigure.in: New file.
35756 * sysdeps/x86_64/preconfigure: New generated file.
35758 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35761 * math/e_exp2l.c: Include <float.h>.
35762 (__ieee754_exp2l): Handle overflow and underflow cases
35763 separately. Only pass fractional part of argument to
35765 * math/libm-test.inc (exp2_test): Add more tests.
35767 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35768 negating x to take absolute value.
35769 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35771 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35774 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35775 computing low part if x was negated.
35776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35778 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35780 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35781 la_x32_gnu_pltexit.
35782 (pltexit): Cast int_retval to ptrdiff_t.
35783 * elf/tst-auditmod3b.c: Likewise.
35784 * elf/tst-auditmod4b.c: Likewise.
35785 * elf/tst-auditmod5b.c: Likewise.
35786 * elf/tst-auditmod6b.c: Likewise.
35787 * elf/tst-auditmod6c.c: Likewise.
35788 * elf/tst-auditmod7b.c: Likewise.
35790 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35791 and x32_gnu_pltexit.
35793 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35794 __ELF_NATIVE_CLASS.
35795 (La_x32_regs): New macro.
35796 (La_x32_retval): Likewise.
35797 (la_x32_gnu_pltenter): New function prototype.
35798 (la_x32_gnu_pltexit): Likewise.
35800 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35802 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35807 * configure.in (libc_cv_cc_nofma): Check for option to disable
35808 generation of FMA instructions.
35809 * configure: Regenerate.
35810 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35811 * sysdeps/ieee754/dbl-64/Makefile: New file.
35812 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35813 Remove brandred-fma4.
35814 (CFLAGS-brandred-fma4.c): Remove.
35815 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35816 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35818 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35821 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35823 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35824 LLONG_MAX != LONG_MAX.
35825 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35826 (_fitoa_word): Likewise.
35827 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35828 LLONG_MAX != LONG_MAX.
35829 * stdio-common/_itowa.h: Include <_itoa.h>.
35830 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35831 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35832 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35833 only if not defined.
35834 (_ITOA_WORD_TYPE): Likewise.
35835 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35836 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35838 2012-03-21 David S. Miller <davem@davemloft.net>
35840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35842 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35844 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35845 of x86_64 when setting libc_cv_slibdir, libdir and
35847 * sysdeps/unix/sysv/linux/configure: Regenerated.
35849 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35851 * manual/lang.texi (Old Varargs): Remove section.
35852 (How Variadic): Update menu.
35853 (va_start): Do not mention varargs.h.
35855 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35856 Joseph Myers <joseph@codesourcery.com>
35858 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35860 * configure: Regenerated.
35862 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35864 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35865 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35868 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35871 * Makefile (files-for-dist): Remove NOTES.
35872 (NOTES): Remove rule.
35873 * README: Don't refer to NOTES.
35874 * manual/creature.texi: Don't include macros.texi.
35875 * manual/intro.texi (creature.texi): Remove comment referring to
35878 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35879 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35880 * configure: Regenerated.
35881 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35882 LIBC_TRY_CC_OPTION.
35883 (libc_cv_as_i686): Likewise.
35884 (libc_cv_cc_avx): Likewise.
35885 (libc_cv_cc_sse2avx): Likewise.
35886 (libc_cv_cc_fma4): Likewise.
35887 (libc_cv_cc_novzeroupper): Likewise.
35888 * sysdeps/i386/configure: Regenerated.
35891 * sysdeps/i386/fpu/s_cexp.S: Remove.
35892 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35893 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35894 * math/libm-test.inc (cexp_test): Add more tests.
35895 * sysdeps/i386/fpu/libm-test-ulps: Update.
35896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35898 2012-03-21 Allan McRae <allan@archlinux.org>
35900 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35902 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35905 * math/w_exp2.c: Do not include <float.h>.
35906 (o_threshold, u_threshold): Remove.
35907 (__exp2): Calculate result before checking finiteness and calling
35909 * math/w_exp2f.c: Likewise.
35910 * math/w_exp2l.c: Likewise.
35911 * math/libm-test.inc (exp2_test): Require overflow exception for
35915 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35916 range of signed 64-bit integers before using fistpll. Remove
35917 checks for whether integers fit in mantissa bits.
35918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35919 the range of signed 32-bit integers before using fistpl. Remove
35920 checks for whether integers fit in mantissa bits.
35921 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35922 (__ieee754_powl): Test for y outside the range of signed 64-bit
35923 integers before using fistpll. Reduce 64-bit values to 63-bit
35925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35926 divide-by-zero is raised for zero to large negative powers.
35927 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35928 (__ieee754_powl): Test for y outside the range of signed 64-bit
35929 integers before using fistpll. Reduce 64-bit values to 63-bit
35931 * math/libm-test.inc (pow_test): Add more tests.
35933 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35935 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35936 <stdio-common/_itoa.h>.
35937 * debug/segfault.c: Likewise.
35938 * elf/dl-cache.c: Likewise.
35939 * elf/dl-minimal.c: Likewise.
35940 * elf/dl-misc.c: Likewise.
35941 * elf/dl-sysdep.c: Likewise.
35942 * elf/dl-version.c: Likewise.
35943 * elf/rtld.c: Likewise.
35944 * hurd/hurdsock.c: Likewise.
35945 * hurd/lookup-retry.c: Likewise.
35946 * malloc/malloc.c: Likewise.
35947 * malloc/mtrace.c: Likewise.
35948 * nscd/nscd_getgr_r.c: Likewise.
35949 * nscd/nscd_getpw_r.c: Likewise.
35950 * nscd/nscd_getserv_r.c: Likewise.
35951 * posix/getopt_init.c: Likewise.
35952 * posix/wordexp.c: Likewise.
35953 * stdio-common/_itoa.c: Likewise.
35954 * stdio-common/printf_fphex.c: Likewise.
35955 * stdio-common/vfprintf.c: Likewise.
35956 * string/_strerror.c: Likewise.
35957 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35958 * sysdeps/i386/i686/hp-timing.h: Likewise.
35959 * sysdeps/mach/_strerror.c: Likewise.
35960 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35961 * sysdeps/mach/hurd/sethostid.c: Likewise.
35962 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35963 * sysdeps/mach/xpg-strerror.c: Likewise.
35964 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35966 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35967 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35968 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35969 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35970 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35971 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35972 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35973 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35974 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35975 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35976 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35977 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35978 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35979 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35980 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35981 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35982 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35983 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35984 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35986 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35988 * stdio-common/_itoa.h: Moved to ...
35989 * sysdeps/generic/_itoa.h: Here.
35991 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35993 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35994 instead of "_itoa.h" and "_itowa.h".
35995 * stdio-common/vfprintf.: Likewise.
35997 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35999 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36001 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36002 (__signbit): Likwise.
36003 (llrintf): Likwise.
36006 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36008 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36011 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36013 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36014 OVERFLOW_EXCEPTION_OK.
36015 * math/libm-test.inc ("Philosophy"): Update comment about
36017 (OVERFLOW_EXCEPTION): Define.
36018 (OVERFLOW_EXCEPTION_OK): Likewise.
36019 (INVALID_EXCEPTION_OK): Renumber.
36020 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36021 (IGNORE_ZERO_INF_SIGN): Likewise.
36022 (test_exceptions): Handle FE_OVERFLOW.
36023 (exp10_test): Expect overflow exceptions.
36024 (exp2_test): Likewise.
36025 (expm1_test): Likewise.
36026 (nextafter_test): Likewise.
36027 (pow_test): Likewise.
36028 (scalbn_test): Likewise.
36029 (scalbln_test): Likewise.
36031 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36033 * sysdeps/x86_64/bits/atomic.h
36034 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36036 (atomic_exchange_acq): Likewise.
36037 (__arch_exchange_and_add_body): Likewise.
36038 (__arch_add_body): Likewise.
36039 (atomic_add_negative): Likewise.
36040 (atomic_add_zero): Likewise.
36042 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36044 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36045 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36047 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36049 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36050 Check __x86_64__ instead of __WORDSIZE.
36052 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36054 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36056 2012-03-19 David S. Miller <davem@davemloft.net>
36058 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36060 * sysdeps/sparc/fpu/fenv_private.h: New file.
36061 * sysdeps/sparc/fpu/math_private.h: Use it.
36062 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36064 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36065 (libc_feholdexcept_setroundl): Remove.
36066 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36068 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36069 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36071 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36073 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36074 int64_t instead of long int.
36075 (INSERT_WORDS64): Likwise.
36077 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36079 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36080 _Unwind_GetCFA return to _Unwind_Ptr first.
36082 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36085 * math/s_clog.c: Include <float.h>.
36086 (__clog): Scale large or subnormal inputs.
36087 * math/s_clogf.c: Likewise.
36088 * math/s_clogl.c: Likewise.
36089 * math/s_clog10.c: Include <float.h>.
36090 (M_LOG10_2): Define.
36091 (__clog10): Scale large or subnormal inputs.
36092 * math/s_clog10f.c: Likewise.
36093 * math/s_clog10l.c: Likewise.
36094 * math/libm-test.inc (clog_test): Add more tests.
36095 (clog10_test): Likewise.
36096 * sysdeps/i386/fpu/libm-test-ulps: Update.
36097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36102 * math/libm-test.inc (atan2_test): Add another test.
36104 * Makerules (common-objdir-compile): Remove.
36105 * sysdeps/unix/Makefile (config-generated): Do not add
36106 $(unix-generated) to variable.
36107 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36108 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36110 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36112 [generic bits/local_lim.h] (before-compile): Do not append to
36114 [generic bits/local_lim.h] (common-generated): Likewise.
36115 [generic sys/param.h] (before-compile): Do not append to variable.
36116 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36117 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36119 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36121 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36122 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36123 [generic sys/param.h] ($(addprefix
36124 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36125 [generic sys/param.h] (common-generated): Do not append to
36127 [generic sys/param.h] (sysdep_headers): Likewise.
36128 [generic bits/errno.h] (before-compile): Do not append to
36130 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36132 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36133 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36134 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36135 [generic bits/errno.h] (common-generated): Do not append to
36137 [generic bits/ioctls.h] (before-compile): Do not append to
36139 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36141 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36142 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36143 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36145 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36146 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36147 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36148 [generic bits/ioctls.h] (common-generated): Do not append to
36150 [generic sys/syscall.h] (syscall.h): Remove variable.
36151 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36153 [generic sys/syscall.h] (before-compile): Do not append to
36155 [generic sys/syscall.h] (common-generated): Likewise.
36156 * sysdeps/unix/errnos-tmpl.c: Remove file.
36157 * sysdeps/unix/errnos.awk: Likewise.
36158 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36159 * sysdeps/unix/ioctls.awk: Likewise.
36160 * sysdeps/unix/mk-local_lim.c: Likewise.
36161 * sysdeps/unix/snarf-ioctls: Likewise.
36163 2012-03-19 Richard Henderson <rth@twiddle.net>
36165 * sysdeps/i386/fpu/fenv_private.h: New file.
36166 * sysdeps/i386/fpu/math_private.h: Use it.
36167 (math_opt_barrier, math_force_eval): Remove.
36168 (libc_feholdexcept_setround_53bit): Remove.
36169 (libc_feupdateenv_53bit): Remove.
36170 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36171 (math_opt_barrier, math_force_eval): Remove.
36172 (libc_feholdexcept): Remove.
36173 (libc_feholdexcept_setround): Remove.
36174 (libc_fetestexcept, libc_fesetenv): Remove.
36175 (libc_feupdateenv_test): Remove.
36176 (libc_feupdateenv, libc_feholdsetround): Remove.
36177 (libc_feresetround): Remove.
36179 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36180 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36182 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36183 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36184 (libc_feupdateenv_testl): New.
36185 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36186 (libc_feupdateenv_testf): New.
36187 (libc_feupdateenv): Use libc_feupdateenv_test.
36188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36189 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36191 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36192 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36193 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36194 (libc_feresetround_noex): New.
36195 (libc_feresetround_noexf): New.
36196 (libc_feresetround_noexl): New.
36197 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36198 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36199 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36200 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36205 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36206 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36207 SET_RESTORE_ROUND_NOEX.
36208 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36209 SET_RESTORE_ROUND_NOEXF.
36210 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36211 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36212 (libc_feholdsetroundf): New.
36213 (libc_feresetround, libc_feresetroundf): New.
36215 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36216 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36217 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36219 * sysdeps/generic/math_private.h: Include <fenv.h>.
36220 (default_libc_feholdexcept): New.
36221 (default_libc_feholdexcept_setround): New.
36222 (default_libc_fesetenv, default_libc_feupdateenv): New.
36223 (libc_feholdexcept): Only define if undefined.
36224 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36225 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36226 (libc_feholdexcept_setroundl): Likewise.
36227 (libc_feholdexcept_setround_53bit): Likewise.
36228 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36229 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36230 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36231 (libc_feupdateenv_53bit): Likewise.
36232 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36233 (libc_feholdexcept): Convert from macro to inline function.
36234 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36235 (libc_fesetenv, libc_feupdateenv): Likewise.
36237 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36238 not previously defined.
36239 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36240 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36241 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36242 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36243 * sysdeps/ieee754/flt-32/math_private.h: New file.
36244 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36245 math_private.h below SET_FLOAT_WORD.
36246 (__isnan, __isinf_ns, __finite): Remove.
36247 (__isnanf, __isinf_nsf, __finitef): Remove.
36249 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36253 2012-03-17 David S. Miller <davem@davemloft.net>
36256 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36259 2012-03-16 David S. Miller <davem@davemloft.net>
36261 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36265 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36267 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36268 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36269 sysdep_routines when subdir is sysvipc.
36270 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36271 __getshmlba helper.
36273 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36277 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36280 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36283 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36284 (__lround): Renamed to ...
36285 (__llround): This. Replace long int with long long int.
36286 Define lround functions as aliases of llround functions.
36287 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36291 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36292 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36293 adresses to uintptr_t. Replace "long int" and "unsigned long
36294 int" with "greg_t" on va_arg.
36296 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36298 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36299 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36301 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36302 Move e_machine check before EI_CLASS check. Handle x32
36303 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36304 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36305 SKIP_EM_IA_64 and include
36306 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36308 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36309 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36310 (add_system_dir): New macro.
36312 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36313 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36315 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36326 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36328 * math/w_j0f.c (j0f): Likewise.
36330 * math/w_j0l.c (__j0l): Likewise.
36332 * math/w_j1.c (j1): Likewise.
36334 * math/w_j1f.c (j1f): Likewise.
36336 * math/w_j1l.c (__j1l): Likewise.
36338 * math/w_jn.c (jn): Likewise.
36340 * math/w_jnf.c (jnf): Likewise.
36342 * math/w_jnl.c (__jnl): Likewise.
36344 * math/libm-test.inc (j0_test): Add more tests.
36345 (j1_test): Likewise.
36346 (jn_test): Likewise. Add trailing semicolon to existing test.
36347 (y0_test): Likewise.
36348 (y1_test): Likewise.
36349 * sysdeps/i386/fpu/libm-test-ulps: Update.
36350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36355 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36356 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36357 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36358 (__tanl): Set errno for infinite argument.
36359 * sysdeps/i386/fpu/mptan.c: Remove.
36360 * sysdeps/i386/fpu/s_tan.S: Likewise.
36361 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36362 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36363 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36364 * math/libm-test.inc (tan_test): Add more tests and enable more
36365 tests for double and long double.
36366 * sysdeps/i386/fpu/libm-test-ulps: Update.
36367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36369 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36371 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36372 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36374 2012-03-16 Roland McGrath <roland@hack.frob.com>
36376 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36377 * configure.in: Use it for both main tree and add-ons.
36378 * configure: Regenerated.
36380 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36382 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36384 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36386 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36390 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36391 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36392 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36393 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36394 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36396 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36398 != 0 for prec == 2.
36399 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36400 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36401 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36402 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36403 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36404 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36405 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36406 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36407 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36408 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36409 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36410 * math/libm-test.inc (cos_test): Add more tests and enable more
36411 tests for long double.
36412 (sin_test): Likewise.
36413 (sincos_test): Likewise.
36414 * sysdeps/i386/fpu/libm-test-ulps: Update.
36415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36417 2012-03-16 David S. Miller <davem@davemloft.net>
36419 * sysdeps/sparc/fpu/math_private.h: New file.
36421 2012-03-15 David S. Miller <davem@davemloft.net>
36423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36437 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36438 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36440 * sysdeps/sparc/sparc-ifunc.h: New file.
36441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36468 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36478 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36486 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36488 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36492 2012-03-15 Andreas Jaeger <aj@suse.de>
36495 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36496 ieee754/flt-32 implementation for sin, cos and sincos.
36497 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36498 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36499 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36500 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36501 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36502 ieee754/flt-32 implementation for tan.
36504 * math/libm-test.inc (cos_test): Enable some large input tests for
36506 (sin_test): Likewise.
36507 (sincos_test): Likewise.
36508 (tan_test): Add tests for large input.
36510 * sysdeps/i386/fpu/libm-test-ulps: Update.
36512 2012-03-15 Andreas Jaeger <aj@suse.de>
36515 * math/libm-test.inc (cos_test): Add more test cases.
36516 (sin_test): Likewise.
36517 (sincos_test): Likewise.
36519 2012-03-15 Andreas Jaeger <aj@suse.de>
36522 * math/libm-test.inc (cos_test): Add a test case for large input
36524 (sin_test): Likewise.
36525 (sincos_test): Likewise.
36527 2012-03-15 Andreas Jaeger <aj@suse.de>
36528 Joseph Myers <joseph@codesourcery.com>
36531 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36532 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36533 * sysdeps/i386/fpu/branred.c: Likewise.
36534 * sysdeps/i386/fpu/dosincos.c: Likewise.
36535 * sysdeps/i386/fpu/mpa.c: Likewise.
36536 * sysdeps/i386/fpu/s_cos.S: Likewise.
36537 * sysdeps/i386/fpu/s_sin.S: Likewise.
36538 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36539 * sysdeps/i386/fpu/sincos32.c: Likewise.
36541 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36543 (libc_feupdateenv_53bit): Define.
36544 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36546 (libc_feupdateenv_53bit): Define.
36548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36549 53 bit (without extend i386 double precision).
36551 * math/libm-test.inc (sincos_test): Add tests for large input.
36555 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36557 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36561 2012-03-15 David S. Miller <davem@davemloft.net>
36563 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36564 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36565 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36566 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36591 fmin/fmax sysdep routines.
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36594 2012-03-14 David S. Miller <davem@davemloft.net>
36596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36603 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36619 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36624 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36673 * sysdeps/sparc/configure.in: New file.
36674 * sysdeps/sparc/configure: Generate.
36675 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36676 * configure: Regenerate.
36677 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36678 * config.make.in (have-as-vis3): New.
36679 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36680 available use -Av9d instead of -Av9a.
36681 * sysdeps/sparc/sparc64/Makefile: Likewise.
36682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36697 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36698 fzeros/fnegs to load 0x80000000 into a float register instead of
36700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36702 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36706 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36707 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36708 ($(inst_includedir)/bits/syscall.h): Remove rule.
36709 ($(objpfx)bits/syscall.d): Include instead of
36710 $(objpfx)syscall-list.d.
36711 (generated): Change syscall-list.h and syscall-list.d to
36712 bits/syscall.h and bits/syscall.d.
36714 2012-03-14 Roland McGrath <roland@hack.frob.com>
36717 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36719 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36722 * math/s_csqrt.c: Include <float.h>.
36723 (__csqrt): Scale large or subnormal inputs.
36724 * math/s_csqrtf.c: Likewise.
36725 * math/s_csqrtl.c: Likewise.
36726 * math/libm-test.inc (csqrt_test): Add more tests.
36727 * sysdeps/i386/fpu/libm-test-ulps: Update.
36728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36731 * math/libm-test.inc (hypot_test): Add more tests.
36733 2012-03-13 David S. Miller <davem@davemloft.net>
36736 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36737 double-precision for the calculation instead of scaling.
36739 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36741 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36742 manipulate bits before adding and subtracting TWO52[sx].
36743 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36746 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36748 2012-03-13 David S. Miller <davem@davemloft.net>
36750 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36751 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36753 rtld-global-offsets.h
36754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36756 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36761 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36762 'err' in the ifdef scope in which it is actually used.
36764 * nss/nss_db/db-init.c: Include string.h
36766 2012-03-12 David S. Miller <davem@davemloft.net>
36768 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36769 masking out of the most significant byte of random value used.
36770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36771 Fix coding style in previous change.
36773 * sysdeps/unix/sysv/linux/kernel-features.h
36774 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36775 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36777 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36780 2012-03-11 David S. Miller <davem@davemloft.net>
36782 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36783 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36785 for 'resultvar' otherwise things get truncated on 64-bit.
36787 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36788 Fix masking out of the most significant byte of random value used.
36790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36792 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36796 2012-03-09 David S. Miller <davem@davemloft.net>
36798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36799 variables with appropriate CPP guards.
36800 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36801 from the frame pointer, not the stack pointer. Correct layout
36802 comments. Fix test on resulting framesize and the management of
36803 the outregs buffer for pltexit. Preserve floating point return
36804 values across _dl_call_pltexit call.
36805 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36806 framesize and the management of the outregs buffer for pltexit.
36807 Preserve floating point return values across _dl_call_pltexit
36809 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36810 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36811 (la_sparc64_gnu_pltexit): New functions.
36812 (print_exit): Fix format string for return register value.
36814 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36816 * sunrpc/Makefile (others): Add rpcgen.
36817 ($(objpfx)rpcgen): Remove special build rule and dependency on
36819 * sunrpc/rpcgen.c: New file.
36821 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36824 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36825 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36826 * sysdeps/i386/crti.S: Likewise.
36827 * sysdeps/i386/crtn.S: Likewise.
36828 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36829 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36830 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36831 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36832 * sysdeps/sh/crti.S: Likewise.
36833 * sysdeps/sh/crtn.S: Likewise.
36834 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36837 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36839 * locale/programs/locfile-kw.gperf: Likewise.
36840 * locale/programs/charmap-kw.h: Regenerated.
36841 * locale/programs/locfile-kw.h: Likewise.
36844 * intl/plural.y: Replace FSF snail mail address with URL.
36845 * intl/plural.c: Regenerated.
36847 2012-03-09 Richard Henderson <rth@twiddle.net>
36849 * include/math_private.h: Remove file.
36850 * math/math_private.h: Move file ...
36851 * sysdeps/generic/math_private.h: ... here.
36853 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36854 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36855 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36857 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36858 and <math_private.h>.
36859 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36860 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36861 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36862 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36863 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36864 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36867 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36868 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36870 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36872 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36874 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36875 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36876 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36877 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36878 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36880 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36881 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36883 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36889 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36891 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36892 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36893 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36899 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36900 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36901 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36902 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36903 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36904 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36905 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36906 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36909 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36910 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36911 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36912 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36913 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36914 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36915 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36916 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36920 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36921 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36922 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36923 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36927 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36928 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36932 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36933 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36936 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36938 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36939 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36941 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36942 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36943 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36947 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36948 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36949 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36950 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36951 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36952 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36953 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36954 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36956 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36959 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36960 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36961 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36962 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36964 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36965 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36966 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36967 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36969 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36970 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36971 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36972 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36973 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36975 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36976 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36977 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36978 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36979 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36980 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36981 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36982 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36983 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36984 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36986 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36987 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36988 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36989 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36990 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36991 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36992 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36993 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36994 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36995 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36997 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36998 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36999 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37000 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37001 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37002 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37003 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37004 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37005 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37006 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37007 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37008 * sysdeps/ieee754/k_standard.c: Likewise.
37009 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37010 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37011 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37012 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37013 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37014 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37015 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37016 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37018 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37019 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37020 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37021 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37022 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37023 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37024 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37025 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37026 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37027 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37028 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37029 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37030 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37031 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37032 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37033 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37034 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37035 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37036 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37042 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37043 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37046 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37047 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37048 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37049 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37050 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37052 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37053 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37054 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37055 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37057 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37058 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37059 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37060 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37061 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37062 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37065 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37075 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37093 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37124 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37158 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37167 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37168 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37169 * sysdeps/ieee754/s_lib_version.c: Likewise.
37170 * sysdeps/ieee754/s_matherr.c: Likewise.
37171 * sysdeps/ieee754/s_signgam.c: Likewise.
37172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37174 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37175 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37176 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37177 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37178 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37179 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37180 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37181 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37182 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37183 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37184 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37185 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37186 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37187 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37189 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37190 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37194 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37196 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37197 * sunrpc/rpc_main.c: Likewise.
37198 * sunrpc/rpc_svcout.c: Likewise.
37200 2012-03-09 David S. Miller <davem@davemloft.net>
37202 * include/math_private.h: New file.
37204 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37206 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37207 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37208 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37209 from <bits/socket_type.h>.
37210 (enum __socket_type): Don't define here.
37211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37213 bits/socket_type.h.
37216 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37217 checking __USE_GNU.
37219 * Makerules ($(inst_includedir)/%.h): New rule.
37220 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37221 (install-others): Remove variable setting.
37222 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37224 2012-03-08 Richard Henderson <rth@twiddle.net>
37226 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37227 from macro to inline function; merge with the
37228 !__LIBC_INTERNAL_MATH_INLINES version.
37229 (__ieee754_sqrtf): Likewise.
37231 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37232 to inline function.
37233 (__rintf, __floor, __floorf): Likewise.
37235 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37236 macro to inline function.
37237 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37239 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37240 not <math/math_private.h>.
37242 2012-03-08 David S. Miller <davem@davemloft.net>
37244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37246 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37248 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37250 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37252 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37253 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37255 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37257 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37258 be defined individually, they must be defined as a block. Define
37259 S for printing a string instead of hidint the different by using a
37260 macro for adding the 'l'.
37261 * stdio-common/tst-fphex-wide.c: Adjust.
37263 2012-03-07 Marek Polacek <polacek@redhat.com>
37265 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37267 2012-03-08 Marek Polacek <polacek@redhat.com>
37270 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37271 * stdio-common/tst-fphex.c: Define a few macros to make the
37272 test reusable. Use them.
37273 * stdio-common/tst-fphex-wide.c: New file.
37275 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37278 * manual/macros.texi (gnusystems): New macro.
37279 (nongnusystems): Likewise.
37280 (gnulinuxhurdsystems): Likewise.
37281 (gnuhurdsystems): Likewise..
37282 (gnulinuxsystems): Likewise.
37283 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37284 variants of the GNU system, not "GNU system".
37285 * manual/conf.texi: Likewise.
37286 * manual/errno.texi: Likewise. Update example of errno macro
37288 * manual/filesys.texi: Likewise.
37289 (getumask): Document as specific to GNU/Hurd.
37290 * manual/install.texi: Likewise. Reword some references to
37292 * manual/intro.texi: Likewise.
37293 * manual/io.texi: Likewise.
37294 (File Name Portability): Detail which constraints are inapplicable
37295 to all GNU systems and which are only inapplicable to GNU/Hurd.
37296 * manual/job.texi: Likewise.
37297 * manual/llio.texi: Likewise.
37298 (O_NOCTTY): Document as present on GNU/Linux.
37299 * manual/maint.texi: Likewise.
37300 * manual/memory.texi: Likewise.
37301 * manual/pattern.texi: Likewise.
37302 * manual/pipe.texi: Likewise.
37303 * manual/process.texi: Likewise.
37304 * manual/resource.texi: Likewise.
37305 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37307 * manual/setjmp.texi: Likewise.
37308 * manual/signal.texi: Likewise.
37309 * manual/startup.texi: Likewise.
37310 * manual/stdio.texi: Likewise.
37311 * manual/terminal.texi: Likewise.
37312 (ONLCR): Document as POSIX.
37313 (OXTABS): Document availability on GNU/Linux as XTABS.
37314 (ONOEOT): Document availability separately from other bits.
37315 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37316 * manual/time.texi: Likewise.
37317 * manual/users.texi: Likewise.
37318 * INSTALL: Regenerated.
37319 * sysdeps/gnu/errlist.c: Regenerated.
37321 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37322 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37323 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37325 * configure: Regenerated.
37327 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37329 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37330 default includes instead of AC_HEADER_CHECK.
37331 * sysdeps/i386/configure: Regenerated.
37334 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37335 * math/s_cacoshf.c (__cacoshf): Likewise.
37336 * math/s_cacoshl.c (__cacoshl): Likewise.
37337 * math/s_casinh.c (__casinh): Set signs of result from argument.
37338 * math/s_casinhf.c (__casinhf): Likewise.
37339 * math/s_casinhl.c (__casinhl): Likewise.
37340 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37341 (casinh_test): Add more tests.
37342 * sysdeps/i386/fpu/libm-test-ulps: Update.
37343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37345 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37347 * po/zh_TW.po: Update from translation team.
37349 * login/Makefile (distribute): Remove variable.
37350 * catgets/Makefile: Likewise.
37351 * mach/Makefile: Likewise.
37352 * malloc/Makefile: Likewise.
37353 * misc/Makefile: Likewise.
37354 * iconv/Makefile: Likewise.
37355 * nscd/Makefile: Likewise.
37356 * hurd/Makefile: Likewise.
37357 * manual/Makefile: Likewise.
37358 * locale/Makefile: Likewise.
37359 * intl/Makefile: Likewise.
37360 * conform/Makefile: Likewise.
37361 * nss/Makefile: Likewise.
37362 * time/Makefile: Likewise.
37363 * soft-fp/Makefile: Likewise.
37364 * dirent/Makefile: Likewise.
37365 * gmon/Makefile: Likewise.
37366 * po/Makefile: Likewise.
37367 * rt/Makefile: Likewise.
37368 * socket/Makefile: Likewise.
37369 * math/Makefile: Likewise.
37370 * signal/Makefile: Likewise.
37371 * debug/Makefile: Likewise.
37372 * elf/Makefile: Likewise.
37373 * timezone/Makefile: Likewise.
37374 * stdlib/Makefile: Likewise.
37375 * iconvdata/Makefile: Likewise.
37376 * sunrpc/Makefile: Likewise.
37377 * io/Makefile: Likewise.
37378 * argp/Makefile: Likewise.
37379 * inet/Makefile: Likewise.
37380 * hesiod/Makefile: Likewise.
37381 * grp/Makefile: Likewise.
37382 * csu/Makefile: Likewise.
37383 * wctype/Makefile: Likewise.
37384 * crypt/Makefile: Likewise.
37385 * libio/Makefile: Likewise.
37386 * string/Makefile: Likewise.
37387 * nis/Makefile: Likewise.
37388 * resolv/Makefile: Likewise.
37389 * stdio-common/Makefile: Likewise.
37390 * wcsmbs/Makefile: Likewise.
37391 * dlfcn/Makefile: Likewise.
37392 * posix/Makefile: Likewise.
37395 * timezone/Makefile: Don't install timezone files, just the programs
37398 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37400 * nss/databases.def: Add missing gshadow entry.
37402 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37404 2012-03-06 Marek Polacek <polacek@redhat.com>
37407 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37408 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37409 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37410 * stdio-common/tst-long-dbl-fphex.c: New file.
37412 2012-03-06 David S. Miller <davem@davemloft.net>
37414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37415 (set_obp_int): New function.
37416 (get_obp_int): New function.
37417 (__get_clockfreq_via_dev_openprom): Likewise.
37418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37419 Avoid unused variable warnings on 'val' and use builtin_expect.
37420 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37422 (INLINE_CLONE_SYSCALL): Likewise.
37424 2012-03-05 David S. Miller <davem@davemloft.net>
37426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37428 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37433 only for |x| >= 40.
37434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37436 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37439 Replace gettimeofday with __vdso_gettimeofday.
37441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37442 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37443 __vdso_clock_gettime and __vdso_getcpu.
37445 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37446 time with __vdso_time.
37448 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37450 * manual/lang.texi (size_t): Note types to which size_t may be
37451 equivalent with the GNU C Library, but do not describe when
37452 differences between them are significant.
37454 2012-03-05 Andreas Jaeger <aj@suse.de>
37456 * sysdeps/i386/fpu/libm-test-ulps: Update.
37458 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37461 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37462 (__ieee754_pow): Save and restore rounding mode and use
37463 round-to-nearest for main computations.
37464 * math/libm-test.inc (pow_test_tonearest): New function.
37465 (pow_test_towardzero): Likewise.
37466 (pow_test_downward): Likewise.
37467 (pow_test_upward): Likewise.
37468 (main): Call the new functions.
37469 * sysdeps/i386/fpu/libm-test-ulps: Update.
37470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37473 * math/libm-test.inc (cosh_test_tonearest): New function.
37474 (cosh_test_towardzero): Likewise.
37475 (cosh_test_downward): Likewise.
37476 (cosh_test_upward): Likewise.
37477 (sinh_test_tonearest): Likewise.
37478 (sinh_test_towardzero): Likewise.
37479 (sinh_test_downward): Likewise.
37480 (sinh_test_upward): Likewise.
37481 (main): Call the new functions.
37482 * sysdeps/i386/fpu/libm-test-ulps: Update.
37483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37485 2012-03-05 Tom de Vries <tom@codesourcery.com>
37487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37488 default stack guard is set in last bytes.
37489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37491 2012-03-05 Kees Cook <keescook@chromium.org>
37493 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37496 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37497 possibly allocate from heap instead of stack.
37498 * stdio-common/bug-vfprintf-nargs.c: New file.
37499 * stdio-common/Makefile (tests): Add nargs overflow test.
37501 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37505 2012-03-03 Marek Polacek <polacek@redhat.com>
37507 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37508 * math/math_private.h: Likewise.
37509 * stdlib/tst-strtod.c: Likewise.
37510 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37511 * sysdeps/x86_64/bits/atomic.h: Likewise.
37513 2012-03-02 David S. Miller <davem@davemloft.net>
37515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37519 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37520 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37521 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37522 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37524 2012-03-02 Roland McGrath <roland@hack.frob.com>
37527 * manual/examples/README: New file, says the example source files
37528 can be used under GPL>=2.
37529 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37530 line containing just "*/".
37531 * manual/examples/add.c: Add copyright header (GPL>=2).
37532 * manual/examples/argp-ex1.c: Likewise.
37533 * manual/examples/argp-ex2.c: Likewise.
37534 * manual/examples/argp-ex3.c: Likewise.
37535 * manual/examples/argp-ex4.c: Likewise.
37536 * manual/examples/atexit.c: Likewise.
37537 * manual/examples/db.c: Likewise.
37538 * manual/examples/dir.c: Likewise.
37539 * manual/examples/dir2.c: Likewise.
37540 * manual/examples/execinfo.c: Likewise.
37541 * manual/examples/filecli.c: Likewise.
37542 * manual/examples/filesrv.c: Likewise.
37543 * manual/examples/fmtmsgexpl.c: Likewise.
37544 * manual/examples/genpass.c: Likewise.
37545 * manual/examples/inetcli.c: Likewise.
37546 * manual/examples/inetsrv.c: Likewise.
37547 * manual/examples/isockad.c: Likewise.
37548 * manual/examples/longopt.c: Likewise.
37549 * manual/examples/memopen.c: Likewise.
37550 * manual/examples/memstrm.c: Likewise.
37551 * manual/examples/mkfsock.c: Likewise.
37552 * manual/examples/mkisock.c: Likewise.
37553 * manual/examples/mygetpass.c: Likewise.
37554 * manual/examples/pipe.c: Likewise.
37555 * manual/examples/popen.c: Likewise.
37556 * manual/examples/rprintf.c: Likewise.
37557 * manual/examples/search.c: Likewise.
37558 * manual/examples/select.c: Likewise.
37559 * manual/examples/setjmp.c: Likewise.
37560 * manual/examples/sigh1.c: Likewise.
37561 * manual/examples/sigusr.c: Likewise.
37562 * manual/examples/stpcpy.c: Likewise.
37563 * manual/examples/strdupa.c: Likewise.
37564 * manual/examples/strftim.c: Likewise.
37565 * manual/examples/strncat.c: Likewise.
37566 * manual/examples/subopt.c: Likewise.
37567 * manual/examples/swapcontext.c: Likewise.
37568 * manual/examples/termios.c: Likewise.
37569 * manual/examples/testopt.c: Likewise.
37570 * manual/examples/testpass.c: Likewise.
37571 * manual/examples/timeval_subtract.c: Likewise.
37574 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37576 * manual/timeval_subtract.c.texi: ... here, new file.
37578 2012-03-02 David S. Miller <davem@davemloft.net>
37580 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37582 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37585 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37586 (__sin): Save and restore rounding mode and use round-to-nearest
37587 for all computations.
37588 (__cos): Save and restore rounding mode and use round-to-nearest
37589 for all computations.
37590 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37592 (tan): Save and restore rounding mode and use round-to-nearest for
37594 * math/libm-test.inc (cos_test_tonearest): New function.
37595 (cos_test_towardzero): Likewise.
37596 (cos_test_downward): Likewise.
37597 (cos_test_upward): Likewise.
37598 (sin_test_tonearest): Likewise.
37599 (sin_test_towardzero): Likewise.
37600 (sin_test_downward): Likewise.
37601 (sin_test_upward): Likewise.
37602 (tan_test_tonearest): Likewise.
37603 (tan_test_towardzero): Likewise.
37604 (tan_test_downward): Likewise.
37605 (tan_test_upward): Likewise.
37606 (main): Call the new functions.
37607 * sysdeps/i386/fpu/libm-test-ulps: Update.
37608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37611 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37612 small n, then large n, before computing and testing k+n.
37613 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37616 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37618 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37619 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37622 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37623 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37626 * math/libm-test.inc (scalbn_test): Add more tests.
37627 (scalbln_test): Likewise.
37629 * manual/filesys.texi (mode_t): Describe constraints on size and
37630 signedness, not exact equivalence to a particular type.
37632 (ino64_t): Likewise.
37634 (nlink_t): Likewise.
37635 (blkcnt_t): Likewise.
37636 (blkcnt64_t): Likewise.
37637 * manual/llio.texi (off_t): Likewise.
37640 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37641 (__ieee754_exp): Save and restore rounding mode and use
37642 round-to-nearest for all computations.
37643 * math/libm-test.inc (exp_test_tonearest): New function.
37644 (exp_test_towardzero): Likewise.
37645 (exp_test_downward): Likewise.
37646 (exp_test_upward): Likewise.
37647 (main): Call the new functions.
37648 * sysdeps/i386/fpu/libm-test-ulps: Update.
37649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37651 2012-03-01 Chris Demetriou <cgd@google.com>
37653 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37654 have predictable order.
37656 2012-03-01 David S. Miller <davem@davemloft.net>
37658 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37660 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37661 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37662 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37663 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37665 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37666 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37667 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37670 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37671 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37672 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37673 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37678 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37679 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37681 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37682 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37683 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37684 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37685 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37687 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37689 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37690 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37691 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37694 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37695 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37697 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37698 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37699 * sysdeps/sparc/elf/configure: Regenerated.
37701 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37703 * configure.in (AS, LD): Require binutils 2.20 or later.
37704 * configure: Regenerated.
37705 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37706 as required minimum version.
37707 * INSTALL: Regenerated.
37711 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37712 before squaring exponent.
37713 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37714 bottom long double and 27 bits of top long double before squaring
37716 * math/libm-test.inc (erfc_test): Add more tests.
37717 * sysdeps/i386/fpu/libm-test-ulps: Update.
37718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37721 2012-03-01 Kai Tietz <ktietz@redhat.com>
37723 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37724 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37725 containing bit-fields.
37726 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37727 * soft-fp/single.h (_FP_UNION_S): Likewise.
37728 * soft-fp/double.h (_FP_UNION_D): Likewise.
37730 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37733 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37734 not include ../strcmp.S.
37735 [USE_AS_STRNCASECMP_L]: Likewise.
37736 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37737 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37738 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37739 (__strncasecmp_l_ia32): Define as alias to
37740 __strncasecmp_l_nonascii.
37743 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37744 * sysdeps/i386/fpu/libm-test-ulps: Update.
37745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37747 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37750 2012-02-29 Jeff Law <law@redhat.com>
37752 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37753 out of bounds read.
37755 2012-02-29 Marek Polacek <polacek@redhat.com>
37758 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37759 * elf/Makefile: Add rules to run tst-unused-dep.out.
37761 2012-02-28 David S. Miller <davem@davemloft.net>
37763 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37764 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37765 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37766 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37767 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37768 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37770 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37772 * math/libm-test.inc (llround_test): Move one test from
37773 lround_test. Use TEST_f_L in moved test.
37774 (lround_test): Move misplaced test to llround_test. Add testcase
37777 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37779 * sysdeps/x86_64/fpu/e_expf.S: New file.
37780 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37782 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37785 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37786 of remain_len that may cause incomplete multi-byte character and
37788 * posix/bug-regex33.c: New file.
37789 * posix/Makefile (tests): Add bug-regex33.
37791 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37793 * manual/macros.texi: New file.
37794 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37795 * manual/libc.texinfo: Include macros.texi.
37796 * manual/creatute.texi: Likewise.
37797 * manual/install.texi: Likewise.
37798 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37799 @glibcadj{} in references to the GNU C Library.
37800 * manual/charset.texi: Likewise.
37801 * manual/conf.texi: Likewise.
37802 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37803 when not using those macros.
37804 * manual/creature.texi: Likewise.
37805 * manual/crypt.texi: Likewise.
37806 * manual/errno.texi: Likewise.
37807 * manual/filesys.texi: Likewise.
37808 * manual/header.texi: Likewise.
37809 * manual/install.texi: Likewise.
37810 * manual/intro.texi: Likewise.
37811 * manual/io.texi: Likewise.
37812 * manual/job.texi: Likewise.
37813 * manual/lang.texi: Likewise.
37814 * manual/libc.texiinfo: Likewise.
37815 * manual/llio.texi: Likewise.
37816 * manual/locale.texi: Likewise.
37817 * manual/maint.texi: Likewise.
37818 * manual/math.texi: Likewise.
37819 * manual/memory.texi: Likewise.
37820 * manual/message.texi: Likewise.
37821 * manual/nss.texi: Likewise.
37822 * manual/pattern.texi: Likewise.
37823 * manual/process.texi: Likewise.
37824 * manual/resource.texi: Likewise.
37825 * manual/search.texi: Likewise.
37826 * manual/setjmp.texi: Likewise.
37827 * manual/signal.texi: Likewise.
37828 * manual/socket.texi: Likewise.
37829 * manual/startup.texi: Likewise.
37830 * manual/stdio.texi: Likewise.
37831 * manual/string.texi: Likewise.
37832 * manual/sysinfo.texi: Likewise.
37833 * manual/syslog.texi: Likewise.
37834 * manual/terminal.texi: Likewise.
37835 * manual/time.texi: Likewise.
37836 * manual/users.texi: Likewise.
37837 * INSTALL: Regenerated.
37838 * NOTES: Regenerated.
37839 * sysdeps/gnu/errlist.c: Regenerated.
37841 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37843 * include/dirent.h: Include <dirstream.h> before
37846 2012-02-28 David S. Miller <davem@davemloft.net>
37848 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37849 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37850 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37853 2012-02-27 David S. Miller <davem@davemloft.net>
37855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37857 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37858 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37861 frame pointer instead of stack pointer relative arg slot.
37862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37863 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37864 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37866 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37869 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37871 2012-02-27 David S. Miller <davem@davemloft.net>
37873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37879 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37880 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37882 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37884 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37885 later. Allow versions 5-9.
37886 * configure: Regenerated.
37887 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37888 required minimum version and 4.6 as recommended version. Do not
37889 mention bugs in GCC 2.7 and 2.8.
37890 * INSTALL: Regenerated.
37892 2012-02-27 David S. Miller <davem@davemloft.net>
37894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37898 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37899 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37900 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37901 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37904 manipulate bits before adding and subtracting TWO112[sx].
37905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37907 2012-02-27 Roland McGrath <roland@hack.frob.com>
37910 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37911 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37912 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37913 being in POSIX, because they are in 1003.1-2008.
37915 * rt/tst-aio.c: Include <fcntl.h>.
37916 * rt/tst-aio7.c: Likewise.
37917 * rt/tst-aio64.c: Likewise.
37919 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37921 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37923 * manual/install.texi (--with-headers): Describe headers as
37924 interface headers, not private headers.
37925 (Specific advice for GNU/Linux systems): Describe use of headers
37926 from "make headers_install", not private headers from older
37928 * INSTALL: Regenerated.
37929 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37931 * sysdeps/unix/sysv/linux/configure: Regenerated.
37933 * manual/llio.texi (fclean): Remove documentation.
37935 * manual/Makefile (libc-texi-generated): New variable. Include
37937 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37938 $(libc-texi-generated), not duplicated list of files.
37939 (version.texi, stamp-version): New rules.
37940 (realclean): Remove $(libc-texi-generated), not individual files
37941 from that list. Do not remove dir-add.texinfo.
37942 * manual/libc.texinfo: Comment out uses of edition numbers and
37943 references to printed manual. Remove last-updated dates.
37944 (EDITION): Comment out.
37946 (VERSION, UPDATED): Remove.
37947 (version.texi): Include.
37949 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37951 * sysdeps/posix/spawni.c: Include <signal.h>.
37952 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37953 * sysdeps/pthread/aio_fsync.c: Likewise.
37955 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37957 * conform/Makefile (tests): Run only when not cross-compiling and
37958 when fast-check is not defined.
37960 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37961 * conform/data/limits.h-data: Fixes for POSIX2008.
37962 * conform/run-conformtest.sh: Run all tests.
37963 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37965 * include/bits/dlfcn.h: Likewise.
37966 * include/langinfo.h: Likewise.
37967 * include/monetary.h: Likewise.
37968 * include/sys/poll.h: Likewise.
37970 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37972 * posix/spawn.h: Define __need_sigset_t.
37973 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37974 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37975 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37976 to get sigevent_t only.
37977 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37978 only for __USE_GNU.
37979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37980 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37981 process_vm_writev only for __USE_GNU.
37982 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37984 * conform/Makefile: For now ignore errors from run-conformtest.
37985 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37986 POSIX to avoid namespace pollution. Don't prepend headers.
37987 * conform/data/aio.h-data: Fixes for POSIX testing.
37988 * conform/data/fcntl.h-data: Likewise.
37989 * conform/data/glob.h-data: Likewise.
37990 * conform/data/grp.h-data: Likewise.
37991 * conform/data/pthread.h-data: Likewise.
37992 * conform/data/pwd.h-data: Likewise.
37993 * conform/data/signal.h-data: Likewise.
37994 * conform/data/spawn.h-data: Likewise.
37995 * conform/data/stdio.h-data: Likewise.
37996 * conform/data/stdlib.h-data: Likewise.
37997 * conform/data/stropts.h-data: Likewise.
37998 * conform/data/sys/mman.h-data: Likewise.
37999 * conform/data/sys/stat.h-data: Likewise.
38000 * conform/data/sys/types.h-data: Likewise.
38001 * conform/data/sys/wait.h-data: Likewise.
38002 * conform/data/time.h-data: Likewise.
38003 * conform/data/unistd.h-data: Likewise.
38004 * conform/data/utime.h-data: Likewise.
38006 * io/sys/stat.h: fchmod was always in POSIX.
38007 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38008 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38009 * rt/aio.h: Define __need_timespec before including <time.h>.
38010 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38011 struct. Add forward declaration of pthread_attr_t and use it in
38013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38015 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38016 always remove CLK_TCK definition.
38018 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38020 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38022 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38024 * conform/run-conformtest.sh: New file.
38025 * conform/Makefile: Run run-conformtest for tests.
38026 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38029 * conform/data/uchar.h-data: New file.
38030 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38031 * conform/data/arpa/inet.h-data: Likewise.
38032 * conform/data/assert.h-data: Likewise.
38033 * conform/data/complex.h-data: Likewise.
38034 * conform/data/cpio.h-data: Likewise.
38035 * conform/data/ctype.h-data: Likewise.
38036 * conform/data/dirent.h-data: Likewise.
38037 * conform/data/dlfcn.h-data: Likewise.
38038 * conform/data/errno.h-data: Likewise.
38039 * conform/data/fcntl.h-data: Likewise.
38040 * conform/data/float.h-data: Likewise.
38041 * conform/data/fmtmsg.h-data: Likewise.
38042 * conform/data/fnmatch.h-data: Likewise.
38043 * conform/data/ftw.h-data: Likewise.
38044 * conform/data/glob.h-data: Likewise.
38045 * conform/data/grp.h-data: Likewise.
38046 * conform/data/iconv.h-data: Likewise.
38047 * conform/data/inttypes.h-data: Likewise.
38048 * conform/data/langinfo.h-data: Likewise.
38049 * conform/data/libgen.h-data: Likewise.
38050 * conform/data/limits.h-data: Likewise.
38051 * conform/data/locale.h-data: Likewise.
38052 * conform/data/math.h-data: Likewise.
38053 * conform/data/monetary.h-data: Likewise.
38054 * conform/data/mqueue.h-data: Likewise.
38055 * conform/data/ndbm.h-data: Likewise.
38056 * conform/data/net/if.h-data: Likewise.
38057 * conform/data/netdb.h-data: Likewise.
38058 * conform/data/netinet/in.h-data: Likewise.
38059 * conform/data/nl_types.h-data: Likewise.
38060 * conform/data/poll.h-data: Likewise.
38061 * conform/data/pthread.h-data: Likewise.
38062 * conform/data/pwd.h-data: Likewise.
38063 * conform/data/regex.h-data: Likewise.
38064 * conform/data/sched.h-data: Likewise.
38065 * conform/data/search.h-data: Likewise.
38066 * conform/data/semaphore.h-data: Likewise.
38067 * conform/data/setjmp.h-data: Likewise.
38068 * conform/data/signal.h-data: Likewise.
38069 * conform/data/spawn.h-data: Likewise.
38070 * conform/data/stdarg.h-data: Likewise.
38071 * conform/data/stdio.h-data: Likewise.
38072 * conform/data/stdlib.h-data: Likewise.
38073 * conform/data/string.h-data: Likewise.
38074 * conform/data/strings.h-data: Likewise.
38075 * conform/data/stropts.h-data: Likewise.
38076 * conform/data/sys/ipc.h-data: Likewise.
38077 * conform/data/sys/mman.h-data: Likewise.
38078 * conform/data/sys/msg.h-data: Likewise.
38079 * conform/data/sys/resource.h-data: Likewise.
38080 * conform/data/sys/select.h-data: Likewise.
38081 * conform/data/sys/sem.h-data: Likewise.
38082 * conform/data/sys/shm.h-data: Likewise.
38083 * conform/data/sys/socket.h-data: Likewise.
38084 * conform/data/sys/stat.h-data: Likewise.
38085 * conform/data/sys/statvfs.h-data: Likewise.
38086 * conform/data/sys/time.h-data: Likewise.
38087 * conform/data/sys/timeb.h-data: Likewise.
38088 * conform/data/sys/times.h-data: Likewise.
38089 * conform/data/sys/types.h-data: Likewise.
38090 * conform/data/sys/uio.h-data: Likewise.
38091 * conform/data/sys/un.h-data: Likewise.
38092 * conform/data/sys/utsname.h-data: Likewise.
38093 * conform/data/sys/wait.h-data: Likewise.
38094 * conform/data/syslog.h-data: Likewise.
38095 * conform/data/tar.h-data: Likewise.
38096 * conform/data/termios.h-data: Likewise.
38097 * conform/data/utime.h-data: Likewise.
38098 * conform/data/utmpx.h-data: Likewise.
38099 * conform/data/varargs.h-data: Likewise.
38100 * conform/data/wchar.h-data: Likewise.
38101 * conform/data/wctype.h-data: Likewise.
38102 * conform/data/wordexp.h-data: Likewise.
38104 * include/stropts.h: New file.
38105 * include/uchar.h: New file.
38106 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38107 * include/assert.h: Likewise.
38108 * include/ctype.h: Likewise.
38109 * include/dirent.h: Likewise.
38110 * include/dlfcn.h: Likewise.
38111 * include/fcntl.h: Likewise.
38112 * include/fnmatch.h: Likewise.
38113 * include/glob.h: Likewise.
38114 * include/grp.h: Likewise.
38115 * include/libio.h: Likewise.
38116 * include/locale.h: Likewise.
38117 * include/math.h: Likewise.
38118 * include/net/if.h: Likewise.
38119 * include/netdb.h: Likewise.
38120 * include/netinet/in.h: Likewise.
38121 * include/pthread.h: Likewise.
38122 * include/pwd.h: Likewise.
38123 * include/regex.h: Likewise.
38124 * include/sched.h: Likewise.
38125 * include/search.h: Likewise.
38126 * include/setjmp.h: Likewise.
38127 * include/signal.h: Likewise.
38128 * include/stdio.h: Likewise.
38129 * include/stdlib.h: Likewise.
38130 * include/string.h: Likewise.
38131 * include/sys/cdefs.h: Likewise.
38132 * include/sys/mman.h: Likewise.
38133 * include/sys/msg.h: Likewise.
38134 * include/sys/resource.h: Likewise.
38135 * include/sys/select.h: Likewise.
38136 * include/sys/socket.h: Likewise.
38137 * include/sys/stat.h: Likewise.
38138 * include/sys/statvfs.h: Likewise.
38139 * include/sys/time.h: Likewise.
38140 * include/sys/times.h: Likewise.
38141 * include/sys/uio.h: Likewise.
38142 * include/sys/utsname.h: Likewise.
38143 * include/sys/wait.h: Likewise.
38144 * include/termios.h: Likewise.
38145 * include/time.h: Likewise.
38146 * include/ulimit.h: Likewise.
38147 * include/unistd.h: Likewise.
38148 * include/utime.h: Likewise.
38149 * include/wchar.h: Likewise.
38150 * include/wctype.h: Likewise.
38151 * include/wordexp.h: Likewise.
38153 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38155 * time/time.h: TIME_UTC must be a macro.
38156 Make timespec_get available for ISO C11 only as well.
38158 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38160 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38161 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38163 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38165 * configure.in: Use -o not -a in test for unsupported multi-arch.
38167 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38169 * manual/texinfo.tex: Update to version 2012-01-19.16.
38171 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38173 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38175 2012-02-24 Roland McGrath <roland@hack.frob.com>
38178 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38179 * manual/fdl-1.3.texi: New file.
38180 * manual/fdl-1.1.texi: File removed.
38183 * manual/libc.texinfo (FDL_VERSION): New @set.
38184 Use it for mention of FDL in cover text.
38185 (Documentation License): Use it in @include file name.
38187 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38188 Roland McGrath <roland@hack.frob.com>
38191 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38192 (not LONG_LONG_MAX and LONG_LONG_MIN.
38193 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38194 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38196 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38198 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38202 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38203 manipulate bits before adding and subtracting TWO23[sx].
38204 * math/libm-test.inc (nearbyint_test): Add more tests.
38206 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38209 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38210 bits before adding and subtracting TWO23[sx].
38211 * math/libm-test.inc (rint_test): Add more tests.
38212 (rint_test_tonearest): Likewise.
38213 (rint_test_towardzero): Likewise.
38214 (rint_test_downward): Likewise.
38215 (rint_test_upward: Likewise.
38217 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38220 * include/stdc-predef.h: New file. Extracted from features.h.
38221 * include/features.h: Include stdc-predef.h.
38222 * Makefile (headers): Add stdc-predef.h.
38223 * CONFORMANCE (Compiler limitations): Update.
38225 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38227 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38229 2012-02-21 David S. Miller <davem@davemloft.net>
38231 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38232 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38234 2012-02-20 David S. Miller <davem@davemloft.net>
38236 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38237 using a normal save/restore sequence, rather than allocating a
38238 dummy stack frame just to store a frame pointer and restore.
38239 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38241 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38243 * manual/install.texi: Fix stray word in line-wrapped comment.
38245 2012-02-20 David S. Miller <davem@davemloft.net>
38247 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38248 both binutils and gcc support GOTDATA.
38250 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38251 "rd %pc" in the PIC register setup sequences.
38253 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38254 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38256 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38257 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38262 (SYSCALL_ERROR_HANDLER): Likewise.
38263 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38264 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38266 (SYSCALL_ERROR_HANDLER): Likewise.
38268 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38269 (HAVE_GCC_GOTDATA): New.
38270 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38271 relocation support in both binutils and gcc.
38272 * sysdeps/sparc/elf/configure: Regenerate.
38274 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38275 * sysdeps/sparc/sparc32/elf/configure: Delete.
38276 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38277 * sysdeps/sparc/sparc64/elf/configure: Delete.
38278 * sysdeps/sparc/elf/configure.in: New file.
38279 * sysdeps/sparc/elf/configure: Generate.
38281 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38282 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38283 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38284 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38285 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38287 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38289 * manual/install.texi: Do not mention specific glibc version
38291 * manual/libc.texinfo (VERSION, UPDATED): Update.
38292 (@copying): Use @copyright{} and range of years.
38294 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38297 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38298 [crti.S not in sysdirs] (generated): Do not append.
38299 [crti.S not in sysdirs] (omit-deps): Likewise.
38300 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38301 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38302 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38303 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38304 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38306 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38307 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38308 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38309 * csu/defs.awk: Remove file.
38310 * sysdeps/generic/initfini.c: Likewise.
38311 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38313 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38316 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38318 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38319 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38320 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38321 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38323 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38325 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38326 (__EPOLL_PACKED): Define to empty if not defined by
38328 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38332 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38334 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38335 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38336 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38339 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38343 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38345 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38348 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38349 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38352 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38354 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38357 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38359 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38360 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38362 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38364 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38367 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38369 * math/w_acos.c: Use non-signaling floating-point comparisons.
38370 * math/w_acosf.c: Likewise.
38371 * math/w_acosh.c: Likewise.
38372 * math/w_acoshf.c: Likewise.
38373 * math/w_acoshl.c: Likewise.
38374 * math/w_acosl.c: Likewise.
38375 * math/w_asin.c: Likewise.
38376 * math/w_asinf.c: Likewise.
38377 * math/w_asinl.c: Likewise.
38378 * math/w_atanh.c: Likewise.
38379 * math/w_atanhf.c: Likewise.
38380 * math/w_atanhl.c: Likewise.
38381 * math/w_exp2.c: Likewise.
38382 * math/w_exp2f.c: Likewise.
38383 * math/w_exp2l.c: Likewise.
38384 * math/w_j0.c: Likewise.
38385 * math/w_j0f.c: Likewise.
38386 * math/w_j0l.c: Likewise.
38387 * math/w_j1.c: Likewise.
38388 * math/w_j1f.c: Likewise.
38389 * math/w_j1l.c: Likewise.
38390 * math/w_jn.c: Likewise.
38391 * math/w_jnf.c: Likewise.
38392 * math/w_log.c: Likewise.
38393 * math/w_log10.c: Likewise.
38394 * math/w_log10f.c: Likewise.
38395 * math/w_log10l.c: Likewise.
38396 * math/w_log2.c: Likewise.
38397 * math/w_log2f.c: Likewise.
38398 * math/w_log2l.c: Likewise.
38399 * math/w_logf.c: Likewise.
38400 * math/w_logl.c: Likewise.
38401 * math/w_sqrt.c: Likewise.
38402 * math/w_sqrtf.c: Likewise.
38403 * math/w_sqrtl.c: Likewise.
38404 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38405 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38408 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38410 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38413 * manual/string.texi (strnlen): Use correct parameter name in
38414 equivalent expression.
38416 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38419 * manual/users.texi (seteuid): Consistently use neweuid for
38422 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38425 * manual/nss.texi (Services in the NSS configuration): Correct
38426 list of services in example configuration file.
38428 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38431 * manual/arith.texi: Remove statements about negative zero
38432 behaving identically to zero.
38434 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38437 * manual/install.texi: Do not document upgrading from libc5.
38439 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38442 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38444 2012-02-18 David S. Miller <davem@davemloft.net>
38446 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38447 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38448 %o7 across the call.
38449 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38452 SETUP_PIC_REG_LEAF.
38453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38454 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38455 * sysdeps/sparc/crtn.S: Likewise.
38457 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38459 * aout/Makefile: Remove.
38461 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38464 * manual/examples/argp-ex1.c (main): Format definition in GNU
38466 * manual/examples/argp-ex2.c (main): Likewise.
38467 * manual/examples/argp-ex3.c (main): Likewise.
38468 * manual/examples/argp-ex4.c (main): Likewise.
38469 * manual/examples/longopt.c (main): Use new-style prototype
38471 * manual/examples/strncat.c (main): Specify return type and use
38472 (void) for arguments.
38473 * manual/examples/subopt.c (main): Use char **argv argument.
38475 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38478 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38481 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38484 * manual/string.texi (strchr): Change when strchrnul is
38487 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38490 * manual/locale.texi (setlocale): Document LOCPATH.
38492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38495 * manual/process.texi (execle): Move @dots{} before last argument.
38497 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38500 * manual/charset.texi (Generic Charset Conversion): Fix typo
38501 (LC_TYPE -> LC_CTYPE).
38503 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38506 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38507 (scalbnf): Likewise.
38508 (scalbnl): Likewise.
38509 (scalbln): Likewise.
38510 (scalblnf): Likewise.
38511 (scalblnl): Likewise.
38512 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38513 (vwarnx): Likewise.
38516 * manual/filesys.texi (telldir): Use braces around return type.
38517 * manual/llio.texi (mmap): Add space after comma.
38518 (mmap64): Likewise.
38519 * manual/math.texi (jn): Use @var{} on parameter names.
38525 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38527 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38529 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38530 (sched_get_priority_max): Likewise.
38531 * manual/signal.texi (sigvec): Add space after comma.
38532 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38534 (if_indextoname): Likewise.
38535 (if_freenameindex): Likewise.
38536 (sendto): Use ',' instead of '.' in prototype.
38537 * manual/startup.texi (syscall): Use @dots{} instead of literal
38539 * manual/stdio.texi (__fpending): Separate initial words of
38540 paragraph from @deftypefun line.
38541 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38543 (vsyslog): Use @var{} on parameter names.
38544 * manual/terminal.texi (stty): Use @var{} on parameter names.
38545 * manual/users.texi (getutmp): Use @var{} on parameter names.
38546 (getutmpx): Likewise.
38548 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38551 * manual/stdio.texi (fopen): Fix typos in description of
38554 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38557 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38558 get clock_id definition.
38560 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38563 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38564 (madvise): Cast every argument to void on its own.
38566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38569 * manual/startup.texi (Exit Status): Fix typo.
38571 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38574 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38575 * manual/examples/argp-ex2.c: Likewise.
38576 * manual/examples/argp-ex3.c: Likewise.
38578 2012-02-16 Richard Henderson <rth@redhat.com>
38580 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38581 * sysdeps/s390/s390-32/initfini.c: Remove.
38582 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38583 * sysdeps/s390/s390-64/initfini.c: Remove.
38585 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38587 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38588 compiler output for sysdeps/generic/initfini.c.
38589 * sysdeps/sh/elf/initfini.c: Remove file.
38591 2012-02-16 David S. Miller <davem@davemloft.net>
38594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38596 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38597 * sysdeps/sparc/crti.S: New file.
38598 * sysdeps/sparc/crtn.S: New file.
38599 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38600 * sysdeps/sparc/sparc64/Makefile: Likewise.
38602 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38605 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38607 2012-02-15 Roland McGrath <roland@hack.frob.com>
38610 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38612 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38613 (write, read, close): Likewise.
38614 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38616 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38618 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38619 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38620 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38621 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38623 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38627 2012-02-14 Marek Polacek <polacek@redhat.com>
38629 * sysdeps/x86_64/crti.S: New file.
38630 * sysdeps/x86_64/crtn.S: New file.
38631 * sysdeps/x86_64/elf/initfini.c: Remove file.
38633 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38635 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38636 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38637 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38638 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38640 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38644 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38646 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38648 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38649 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38651 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38655 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38657 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38658 __feraiseexcept instead of feraiseexcept.
38660 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38661 nanosleep invocations.
38662 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38663 strings, and add error checking for a nanosleep invocations.
38665 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38667 Replace FSF snail mail address with URLs, as per GNU coding standards.
38668 Most of the snail mail addresses were wrong anyway, and omitting
38669 them makes the source code easier to maintain. Almost all of the
38670 changes are to license notices and to locale LC_IDENTIFICATION
38671 addresses, except for this one:
38672 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38673 not its snail mail address.
38675 2012-02-09 Richard Henderson <rth@twiddle.net>
38677 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38678 of kernel-features.h.
38680 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38682 2012-02-08 Marek Polacek <polacek@redhat.com>
38684 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38685 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38686 * sysdeps/gnu/_G_config.h: Likewise.
38687 * sysdeps/generic/_G_config.h: Likewise.
38689 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38691 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695 * sysdeps/powerpc/powerpc32/crti.S: New file.
38696 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38697 * sysdeps/powerpc/powerpc64/crti.S: New file.
38698 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38700 * Makeconfig (have-initfini): Don't set.
38701 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38702 * configure.in (nopic_initfini): Don't substitute.
38703 * config.h.in (HAVE_INITFINI): Don't #undef.
38704 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38705 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38707 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38709 Support crti.S and crtn.S provided directly by architectures.
38710 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38711 [crti.S in sysdirs] (omit-deps): Likewise.
38712 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38713 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38714 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38715 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38716 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38717 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38718 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38719 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38720 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38721 compiler output for sysdeps/generic/initfini.c.
38722 * sysdeps/i386/elf/Makefile: Remove file.
38723 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38725 2012-02-07 Marek Polacek <polacek@redhat.com>
38727 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38728 * sysdeps/gnu/_G_config.h: Likewise.
38729 * sysdeps/mach/hurd/_G_config.h: Likewise.
38731 2012-02-07 Marek Polacek <polacek@redhat.com>
38733 * math/Makefile (tests): Add tst-CMPLX2.
38734 * math/tst-CMPLX2.c: New file.
38736 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38740 * math/libm-test.inc (jn_test): Add missing L suffix.
38742 2012-02-06 Marek Polacek <polacek@redhat.com>
38744 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38745 * sysdeps/i386/fpu/e_powf.S: Likewise.
38746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38747 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38748 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38749 * sysdeps/i386/fpu/e_pow.S: Likewise.
38750 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38752 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38753 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38754 * sysdeps/i386/fpu/e_log2.S: Likewise.
38755 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38756 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38757 * sysdeps/i386/fpu/e_powl.S: Likewise.
38758 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38759 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38760 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38761 * sysdeps/i386/fpu/e_logl.S: Likewise.
38762 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38763 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38764 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38765 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38766 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38767 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38768 * sysdeps/i386/fpu/e_log.S: Likewise.
38769 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38770 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38771 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38772 * sysdeps/i386/fpu/e_logf.S: Likewise.
38773 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38774 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38775 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38776 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38777 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38778 * sysdeps/i386/fpu/e_log10.S: Likewise.
38779 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38780 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38781 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38782 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38784 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38785 * sysdeps/i386/asm-syntax.h: Likewise.
38786 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38787 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38788 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38789 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38790 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38791 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38792 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38793 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38794 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38795 * sysdeps/powerpc/sysdep.h: Likewise.
38796 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38797 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38799 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38802 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38804 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38806 * sysdeps/i386/sysdep.h: Include <features.h>.
38807 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38810 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38812 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38814 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38817 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38819 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38820 (SETUP_PIC_REG): Use GET_PC_THUNK.
38821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38824 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38826 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38827 for non-PIC compilation.
38828 (SETUP_PIC_REG): Add .p2align directive.
38829 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38830 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38831 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38832 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38833 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38834 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38835 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38837 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38838 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38839 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38840 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38841 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38842 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38843 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38844 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38845 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38846 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38847 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38848 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38849 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38853 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38856 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38857 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38858 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38859 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38860 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38862 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38863 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38864 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38865 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38866 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38867 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38868 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38869 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38871 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38873 * math/tst-CMPLX.c: Include <stdio.h>.
38875 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38877 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38880 * sysdeps/sparc/bits/mathdef.h: Likewise.
38882 2012-01-31 Marek Polacek <polacek@redhat.com>
38884 * libio/libio.h: Don't define _PARAMS.
38885 * locale/programs/config.h: Don't define PARAMS.
38886 * stdlib/strtol_l.c: Likewise.
38887 (__strtol_l): Remove PARAMS from the prototype.
38889 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38891 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38892 names. Just use the correct names. Remove unnecessary wrapper
38894 * malloc/arena.c: Likewise.
38895 * malloc/hooks.c: Likewise.
38897 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38898 ARENA_TEST says not to. Simplify test for creation of a new arena.
38899 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38901 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38903 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38905 (update_get_addr): New function.
38906 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38907 GET_ADDR_MODULE parameter.
38909 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38911 * crypt/cert.c: Remove __STDC__ conditionals.
38912 * crypt/crypt-entry.c: Likewise.
38913 * crypt/crypt_util.c: Likewise.
38914 * libio/filedoalloc.c: Likewise.
38915 * libio/fileops.c: Likewise.
38916 * libio/genops.c: Likewise.
38917 * libio/iofclose.c: Likewise.
38918 * libio/iofdopen.c: Likewise.
38919 * libio/iofopen.c: Likewise.
38920 * libio/iofopen64.c: Likewise.
38921 * libio/iogetdelim.c: Likewise.
38922 * libio/iopopen.c: Likewise.
38923 * libio/obprintf.c: Likewise.
38924 * libio/oldfileops.c: Likewise.
38925 * libio/oldiofclose.c: Likewise.
38926 * libio/oldiofdopen.c: Likewise.
38927 * libio/oldiofopen.c: Likewise.
38928 * libio/oldiopopen.c: Likewise.
38929 * libio/wfiledoalloc.c: Likewise.
38930 * libio/wgenops.c: Likewise.
38931 * locale/programs/xmalloc.c: Likewise.
38932 * misc/syslog.c: Likewise.
38933 * stdio-common/xbug.c: Likewise.
38934 * string/memchr.c: Likewise.
38935 * string/memcmp.c: Likewise.
38936 * string/memrchr.c: Likewise.
38937 * string/rawmemchr.c: Likewise.
38938 * sysdeps/posix/getcwd.c: Likewise.
38939 * time/strftime_l.c: Likewise.
38941 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38943 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38944 * config.make.in (config-cflags-sse2avx): Define.
38945 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38948 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38950 * scripts/config.guess: Update from upstream config git repository.
38951 * scripts/config.sub: Likewise.
38953 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38955 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38957 (R_TILEPRO_*, R_TILEGX_*): New macros.
38959 * scripts/firstversions.awk: Fix bug in version range handling.
38961 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38963 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38965 * include/sys/epoll.h: New file.
38966 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38969 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38971 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38972 Avoid unnecessary __WORDSIZE == 64 test.
38973 (fmaxf): Use VEX format if possible.
38978 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38979 * math/math_private.h: Remove libc_fegetround* and
38981 * sysdeps/i386/configure.in: Check for -msse2avx.
38982 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38983 also if SSE2AVX is defined.
38984 Remove libc_fegetround* and libc_fesetround*.
38985 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38986 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38987 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38995 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38997 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38999 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39001 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39003 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39006 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39008 * Makeconfig (libm): Define.
39009 * elf/Makefile: Add rules to build and run tst-relsort1.
39010 * elf/tst-relsort1.c: New file.
39011 * elf/tst-relsort1mod1.c: New file.
39012 * elf/tst-relsort1mod2.c: New file.
39014 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39016 * math/s_ldexp.c: Remove __STDC__ conditionals.
39017 * math/s_ldexpf.c: Likewise.
39018 * math/s_ldexpl.c: Likewise.
39019 * math/s_nextafter.c: Likewise.
39020 * math/s_nexttowardf.c: Likewise.
39021 * math/s_significand.c: Likewise.
39022 * math/s_significandf.c: Likewise.
39023 * math/s_significandl.c: Likewise.
39024 * math/w_jnl.c: Likewise.
39025 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39026 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39027 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39028 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39029 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39031 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39032 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39033 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39034 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39035 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39037 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39038 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39040 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39041 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39042 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39044 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39045 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39046 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39047 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39048 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39049 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39050 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39051 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39052 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39053 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39054 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39055 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39056 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39059 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39060 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39061 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39062 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39063 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39064 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39065 * sysdeps/ieee754/k_standard.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39076 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39077 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39078 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39085 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39088 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39092 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39093 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39095 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39098 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39105 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39141 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39145 * sysdeps/ieee754/s_matherr.c: Likewise.
39146 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39147 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39149 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39151 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39153 * crypt/md5.h: Remove __STDC__ conditionals.
39154 * libio/libioP.h: Likewise.
39155 * locale/programs/config.h: Likewise.
39156 * sysdeps/generic/sysdep.h: Likewise.
39157 * sysdeps/i386/asm-syntax.h: Likewise.
39158 * sysdeps/s390/asm-syntax.h: Likewise.
39159 * sysdeps/unix/sysdep.h: Likewise.
39160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39163 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39165 * libio/libio.h: Remove __STDC__ conditionals.
39166 * malloc/obstack.h: Likewise.
39167 * math/complex.h: Likewise.
39168 * math/math.h: Likewise.
39169 * sysdeps/generic/_G_config.h: Likewise.
39170 * sysdeps/gnu/_G_config.h: Likewise.
39171 * sysdeps/mach/hurd/_G_config.h: Likewise.
39172 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39173 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39174 * sysdeps/sparc/bits/mathdef.h: Likewise.
39176 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39180 Clean up HAS_* macros.
39181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39182 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39184 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39186 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39187 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39188 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39189 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39190 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39192 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39194 * elf/tst-unique3.cc (gets): Remove declaration.
39195 * elf/tst-unique3lib.cc (gets): Likewise.
39196 * elf/tst-unique3lib2.cc (gets): Likewise.
39197 * elf/tst-unique4.cc (gets): Likewise.
39199 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39201 * include/stdio.h: Add C++ protection. Add gets declarations and
39203 * debug/tst-chk1.c: Don't declare gets here.
39204 * stdio-common/tst-gets.c: Likewise.
39206 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39208 * posix/glob: Remove directory.
39210 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39212 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39214 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39216 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39217 of the non-standard EPFNOSUPPORT.
39219 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39221 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39222 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39223 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39225 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39227 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39229 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39231 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39233 * nscd/grpcache.c (cache_addgr): Likewise.
39234 * nscd/hstcache.c (cache_addhst): Likewise.
39235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39236 * nscd/pwdcache.c (cache_addpw): Likewise.
39237 * nscd/servicescache.c (cache_addserv): Likewise.
39239 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39241 * malloc/malloc.c: Various cleanups.
39242 * malloc/hooks.c: Likewise.
39244 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39245 * stdlib/bug-fmtmsg1.c: New file.
39247 * stdlib/fmtmsg.c (init): Add missing unlock.
39248 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39250 2012-01-12 Marek Polacek <polacek@redhat.com>
39252 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39255 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39257 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39258 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39259 macro to ensure uniqueness of label name.
39260 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39261 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39263 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39265 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39268 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39272 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39274 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39276 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39277 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39278 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39280 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39282 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39283 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39287 * math/bits/math-finite.h: Add ldexp support.
39289 2012-01-10 Marek Polacek <polacek@redhat.com>
39291 * locale/programs/localedef.h (show_archive_content): Add noreturn
39294 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39298 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39300 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39302 * io/Makefile (headers): Add bits/poll2.h.
39304 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39307 typo #include statement.
39309 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39311 * include/sys/cdefs.h: Define __attribute_alloc_size.
39312 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39313 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39314 * elf/pldd.c: Likewise.
39315 * iconv/iconv_charmap.c: Likewise.
39316 * iconv/iconvconfig.c: Likewise.
39317 * iconv/strtab.c: Likewise.
39318 * locale/programs/locale.c: Likewise.
39319 * locale/programs/localedef.h: Likewise.
39320 * locale/programs/simple-hash.c: Likewise.
39321 * nscd/nscd.h: Likewise.
39322 * nss/makedb.c: Likewise.
39323 * sysdeps/generic/ldconfig.h: Likewise.
39324 * locale/programs/localedef.c: Remove xmalloc prototype.
39325 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39327 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39332 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39334 * math/Makefile (tests): Add tst-CMPLX.
39335 * math/tst-CMPLX.c: New file.
39337 * math/complex.h (CMPLXL): Fix typo.
39339 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39340 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39342 * debug/tst-chk1.c: Add poll and ppoll tests.
39343 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39344 * include/sys/poll.h: Add hidden proto for ppoll.
39345 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39346 * sysdeps/mach/hurd/ppoll.c: Likewise.
39347 * io/ppoll.c: Likewise.
39348 * debug/poll_chk.c: New file.
39349 * debug/ppoll_chk.c: New file.
39350 * include/bits/poll2.h: New file.
39351 * io/bits/poll2.h: New file.
39354 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39356 * configure.in: static is always set to yes. Remove.
39357 * config.make.in: Don't set build-static.
39358 * Makeconfig: Remove use of build-static.
39359 * dlfcn/Makefile: Likewise.
39360 * elf/Makefile: Likewise.
39361 * math/Makefile: Likewise.
39362 * misc/Makefile: Likewise.
39363 * nptl/Makefile: Likewise.
39364 * sysdeps/mach/hurd/Makefile: Likewise.
39366 * configure.in: PWD_P is not used anymore.
39367 * config.make.in: Remove PWD_P entry.
39369 * configure.in: Remove last remnants of RANLIB.
39370 No need to check for signed size_t anymore.
39371 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39373 Remove __builtin_expect test because we require at least gcc 3.4.
39374 * aclocal.m4: Likewise.
39376 * wcsmbs/mbrtoc16.c: Implement using towc function.
39377 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39378 * wcsmbs/wcsmbsload.c: Likewise.
39379 * iconv/gconv_simple.c: Likewise.
39380 * iconv/gconv_int.h: Likewise.
39381 * iconv/gconv_builtin.h: Likewise.
39382 * iconv/iconv_prog.c: Remove CHAR16 handling.
39384 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39386 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39388 * configure.in: Remove --with-elf and --enable-bounded options.
39389 Dont set base_machine for ia64. More non-ELF conditions removed.
39390 Remove testing and setting of leading underscore information.
39391 * config.make.in (build-bounded): Set to no.
39392 * config.h.in: Remove NO_UNDERSCORES entry.
39393 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39395 * csu/start.c: Remove !NO_UNDERSCORE code.
39396 * locale/localeinfo.h: Likewise.
39397 * sysdeps/generic/machine-gmon.h: Likewise.
39398 * sysdeps/generic/sysdep.h: Likewise.
39399 * sysdeps/i386/sysdep.h: Likewise.
39400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39401 * sysdeps/mach/sysdep.h: Likewise.
39402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39404 * sysdeps/sh/sysdep.h: Likewise.
39405 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39406 * sysdeps/unix/i386/sysdep.S: Likewise.
39407 * sysdeps/unix/sparc/start.c: Likewise.
39408 * sysdeps/unix/sparc/sysdep.S: Likewise.
39409 * sysdeps/unix/sparc/sysdep.h: Likewise.
39410 * sysdeps/unix/start.c: Likewise.
39411 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39412 * sysdeps/x86_64/sysdep.h: Likewise.
39414 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39417 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39419 * argp/argp-fmtstream.h: Use const instead __const.
39420 * argp/argp.h: Likewise.
39421 * assert/assert.h: Likewise.
39422 * bits/fenv.h: Likewise.
39423 * bits/sched.h: Likewise.
39424 * bits/sigset.h: Likewise.
39425 * bits/sigthread.h: Likewise.
39426 * catgets/nl_types.h: Likewise.
39427 * conform/data/pthread.h-data: Likewise.
39428 * crypt/crypt-private.h: Likewise.
39429 * crypt/crypt.h: Likewise.
39430 * crypt/crypt_util.c: Likewise.
39431 * ctype/ctype.h: Likewise.
39432 * debug/execinfo.h: Likewise.
39433 * debug/mbsnrtowcs_chk.c: Likewise.
39434 * debug/mbsrtowcs_chk.c: Likewise.
39435 * debug/wcsnrtombs_chk.c: Likewise.
39436 * debug/wcsrtombs_chk.c: Likewise.
39437 * debug/wcstombs_chk.c: Likewise.
39438 * dirent/dirent.h: Likewise.
39439 * dlfcn/dlfcn.h: Likewise.
39440 * elf/neededtest4.c: Likewise.
39441 * grp/grp.h: Likewise.
39442 * gshadow/gshadow.h: Likewise.
39443 * iconv/gconv.h: Likewise.
39444 * iconv/gconv_int.h: Likewise.
39445 * iconv/gconv_simple.c: Likewise.
39446 * iconv/iconv.h: Likewise.
39447 * iconv/loop.c: Likewise.
39448 * iconv/skeleton.c: Likewise.
39449 * include/aio.h: Likewise.
39450 * include/aliases.h: Likewise.
39451 * include/argz.h: Likewise.
39452 * include/arpa/inet.h: Likewise.
39453 * include/assert.h: Likewise.
39454 * include/dirent.h: Likewise.
39455 * include/dlfcn.h: Likewise.
39456 * include/execinfo.h: Likewise.
39457 * include/fcntl.h: Likewise.
39458 * include/fenv.h: Likewise.
39459 * include/glob.h: Likewise.
39460 * include/grp.h: Likewise.
39461 * include/libintl.h: Likewise.
39462 * include/mntent.h: Likewise.
39463 * include/netdb.h: Likewise.
39464 * include/pwd.h: Likewise.
39465 * include/rpc/netdb.h: Likewise.
39466 * include/sched.h: Likewise.
39467 * include/search.h: Likewise.
39468 * include/shadow.h: Likewise.
39469 * include/signal.h: Likewise.
39470 * include/stdio.h: Likewise.
39471 * include/stdlib.h: Likewise.
39472 * include/string.h: Likewise.
39473 * include/sys/socket.h: Likewise.
39474 * include/sys/stat.h: Likewise.
39475 * include/sys/statfs.h: Likewise.
39476 * include/sys/statvfs.h: Likewise.
39477 * include/sys/syslog.h: Likewise.
39478 * include/sys/time.h: Likewise.
39479 * include/sys/uio.h: Likewise.
39480 * include/time.h: Likewise.
39481 * include/unistd.h: Likewise.
39482 * include/utmp.h: Likewise.
39483 * include/wchar.h: Likewise.
39484 * include/wctype.h: Likewise.
39485 * inet/aliases.h: Likewise.
39486 * inet/arpa/inet.h: Likewise.
39487 * inet/netinet/ether.h: Likewise.
39488 * inet/netinet/in.h: Likewise.
39489 * intl/libintl.h: Likewise.
39490 * io/bits/fcntl2.h: Likewise.
39491 * io/fcntl.h: Likewise.
39492 * io/ftw.h: Likewise.
39493 * io/sys/poll.h: Likewise.
39494 * io/sys/stat.h: Likewise.
39495 * io/sys/statfs.h: Likewise.
39496 * io/sys/statvfs.h: Likewise.
39497 * io/utime.h: Likewise.
39498 * libio/bits/stdio.h: Likewise.
39499 * libio/bits/stdio2.h: Likewise.
39500 * libio/libio.h: Likewise.
39501 * libio/libioP.h: Likewise.
39502 * libio/stdio.h: Likewise.
39503 * locale/lc-ctype.c: Likewise.
39504 * locale/locale.h: Likewise.
39505 * login/utmp.h: Likewise.
39506 * malloc/arena.c: Likewise.
39507 * malloc/malloc.c: Likewise.
39508 * malloc/malloc.h: Likewise.
39509 * malloc/mcheck.c: Likewise.
39510 * malloc/mtrace.c: Likewise.
39511 * math/bits/mathcalls.h: Likewise.
39512 * math/fenv.h: Likewise.
39513 * math/math_private.h: Likewise.
39514 * misc/bits/error.h: Likewise.
39515 * misc/bits/syslog.h: Likewise.
39516 * misc/err.h: Likewise.
39517 * misc/error.h: Likewise.
39518 * misc/fstab.h: Likewise.
39519 * misc/mntent.h: Likewise.
39520 * misc/regexp.h: Likewise.
39521 * misc/search.h: Likewise.
39522 * misc/sgtty.h: Likewise.
39523 * misc/sys/mman.h: Likewise.
39524 * misc/sys/syslog.h: Likewise.
39525 * misc/sys/uio.h: Likewise.
39526 * misc/sys/xattr.h: Likewise.
39527 * misc/ttyent.h: Likewise.
39528 * nis/rpcsvc/ypclnt.h: Likewise.
39529 * nss/nss.h: Likewise.
39530 * posix/bits/unistd.h: Likewise.
39531 * posix/fnmatch.h: Likewise.
39532 * posix/glob.h: Likewise.
39533 * posix/sched.h: Likewise.
39534 * posix/spawn.h: Likewise.
39535 * posix/sys/wait.h: Likewise.
39536 * posix/unistd.h: Likewise.
39537 * posix/wordexp.h: Likewise.
39538 * pwd/pwd.h: Likewise.
39539 * resolv/netdb.h: Likewise.
39540 * resource/sys/resource.h: Likewise.
39541 * rt/aio.h: Likewise.
39542 * rt/bits/mqueue2.h: Likewise.
39543 * rt/mqueue.h: Likewise.
39544 * shadow/shadow.h: Likewise.
39545 * signal/signal.h: Likewise.
39546 * socket/send.c: Likewise.
39547 * socket/sendto.c: Likewise.
39548 * socket/sys/socket.h: Likewise.
39549 * stdio-common/printf.h: Likewise.
39550 * stdlib/bits/stdlib.h: Likewise.
39551 * stdlib/fmtmsg.h: Likewise.
39552 * stdlib/monetary.h: Likewise.
39553 * stdlib/stdlib.h: Likewise.
39554 * stdlib/ucontext.h: Likewise.
39555 * streams/stropts.h: Likewise.
39556 * string/argz.h: Likewise.
39557 * string/bits/string2.h: Likewise.
39558 * string/string.h: Likewise.
39559 * string/strings.h: Likewise.
39560 * sunrpc/rpc/auth.h: Likewise.
39561 * sunrpc/rpc/auth_des.h: Likewise.
39562 * sunrpc/rpc/clnt.h: Likewise.
39563 * sunrpc/rpc/netdb.h: Likewise.
39564 * sunrpc/rpc/pmap_clnt.h: Likewise.
39565 * sunrpc/rpc/xdr.h: Likewise.
39566 * sysdeps/generic/inttypes.h: Likewise.
39567 * sysdeps/generic/net/if.h: Likewise.
39568 * sysdeps/generic/sys/swap.h: Likewise.
39569 * sysdeps/gnu/net/if.h: Likewise.
39570 * sysdeps/gnu/utmpx.h: Likewise.
39571 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39572 * sysdeps/i386/i486/bits/string.h: Likewise.
39573 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39574 * sysdeps/s390/bits/string.h: Likewise.
39575 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39576 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39577 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39578 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39579 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39580 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39581 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39582 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39583 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39584 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39585 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39586 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39587 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39588 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39589 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39590 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39591 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39594 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39596 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39597 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39598 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39599 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39600 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39601 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39603 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39604 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39605 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39606 * sysvipc/sys/ipc.h: Likewise.
39607 * sysvipc/sys/msg.h: Likewise.
39608 * sysvipc/sys/sem.h: Likewise.
39609 * sysvipc/sys/shm.h: Likewise.
39610 * termios/termios.h: Likewise.
39611 * time/sys/time.h: Likewise.
39612 * time/time.h: Likewise.
39613 * wcsmbs/bits/wchar2.h: Likewise.
39614 * wcsmbs/uchar.h: Likewise.
39615 * wcsmbs/wchar.h: Likewise.
39616 * wctype/wctype.h: Likewise.
39619 * Makeconfig: Remove all but ELF support including AIX support.
39620 * Makerules: Likewise.
39621 * config.h.in: Likewise.
39622 * config.make.in: Likewise.
39623 * configure: Likewise.
39624 * configure.in: Likewise.
39625 * csu/Makefile: Likewise.
39626 * csu/version.c: Likewise.
39627 * debug/Makefile: Likewise.
39628 * dlfcn/Makefile: Likewise.
39629 * elf/Makefile: Likewise.
39630 * extra-lib.mk: Likewise.
39631 * iconv/Makefile: Likewise.
39632 * include/libc-symbols.h: Likewise.
39633 * include/shlib-compat.h: Likewise.
39634 * resolv/Makefile: Likewise.
39635 * resolv/res_libc.c: Likewise.
39636 * rt/Makefile: Likewise.
39637 * sysdeps/i386/asm-syntax.h: Likewise.
39638 * sysdeps/i386/sysdep.h: Likewise.
39639 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39640 * sysdeps/mach/sysdep.h: Likewise.
39641 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39642 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39643 * sysdeps/s390/asm-syntax.h: Likewise.
39644 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39645 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39646 * sysdeps/sh/sysdep.h: Likewise.
39647 * sysdeps/unix/sparc/sysdep.h: Likewise.
39648 * sysdeps/wordsize-32/divdi3.c: Likewise.
39649 * sysdeps/x86_64/sysdep.h: Likewise.
39651 * argp/Versions: Remove _argp_unlock_xxx.
39654 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39655 * abilist/libBrokenLocale.abilist: Likewise.
39656 * abilist/libanl.abilist: Likewise.
39657 * abilist/libc.abilist: Likewise.
39658 * abilist/libcrypt.abilist: Likewise.
39659 * abilist/libdl.abilist: Likewise.
39660 * abilist/libm.abilist: Likewise.
39661 * abilist/libnsl.abilist: Likewise.
39662 * abilist/libpthread.abilist: Likewise.
39663 * abilist/libresolv.abilist: Likewise.
39664 * abilist/librt.abilist: Likewise.
39665 * abilist/libthread_db.abilist: Likewise.
39666 * abilist/libutil.abilist: Likewise.
39667 * abilist/libnss_db.abilist: New file.
39669 * scripts/abilist.awk: Add support for indirect functions.
39671 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39673 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39675 * shlib-versions: Remove entries for ports architectures.
39677 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39679 * elf/stackguard-macros.h: Remove support for IA-64.
39680 * elf/tst-auditmod1.c: Likewise.
39681 * sysdeps/generic/ldsodefs.h: Likewise.
39683 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39684 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39688 * configure.in: Remove --enable-omitfp support.
39690 * config.make.in: Likewise.
39691 * Makeconfig: Likewise.
39692 * manual/install.texi: Likewise.
39694 In case anyone cares, the IA-64 architecture could move to ports.
39695 * sysdeps/ia64/*: Removed.
39696 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39697 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39700 * configure.in: Remove entries for unsupported architectures.
39703 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39704 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39706 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39707 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39708 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39709 fall back to using wcrtomb.
39710 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39711 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39713 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39714 * wcsmbs/tst-c16c32-1.c: New file.
39716 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39719 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39721 * elf/tst-unique3.cc: Add explicit declaration of gets.
39722 * elf/tst-unique3lib.cc: Likewise.
39723 * elf/tst-unique3lib2.cc: Likewise.
39724 * elf/tst-unique4.cc: Likewise.
39726 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39728 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39731 * assert/assert.h (static_assert): Don't define for C++.
39732 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39733 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39735 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39737 * iconv/loop.c (single loop): Fix assertion in storing of
39740 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39742 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39744 * posix/getconf.c: Update copyright year.
39745 * nss/getent.c: Likewise.
39746 * nss/makedb.c: Likewise.
39747 * iconv/iconvconfig.c: Likewise.
39748 * iconv/iconv_prog.c: Likewise.
39749 * elf/ldconfig.c: Likewise.
39750 * elf/pldd.c: Likewise.
39751 * elf/sotruss.ksh: Likewise.
39752 * catgets/gencat.c: Likewise.
39753 * csu/version.c: Likewise.
39754 * elf/ldd.bash.in: Likewise.
39755 * elf/sprof.c (print_version): Likewise.
39756 * locale/programs/locale.c: Likewise.
39757 * locale/programs/localedef.c: Likewise.
39758 * login/programs/pt_chown.c: Likewise.
39759 * nscd/nscd.c (print_version): Likewise.
39760 * debug/xtrace.sh: Likewise.
39761 * malloc/memusage.sh: Likewise.
39762 * malloc/mtrace.pl: Likewise.
39763 * debug/catchsegv.sh: Likewise.
39765 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39767 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39770 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39773 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39774 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39776 * iconv/gconv_int.h: Likewise.
39777 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39778 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39779 from libc for GLIBC_2.16.
39780 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39781 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39782 * wcsmbs/uchar.h: Really define mbstate_t.
39783 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39784 * wcsmbs/c16rtomb.c: New file.
39785 * wcsmbs/mbrtoc16.c: New file.
39786 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39787 for C/POSIX locale.
39788 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39789 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39791 * wcsmbs/wchar.h: Add missing __restrict.
39793 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39796 * time/Makefile (routines): Add timespec_get.
39797 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39798 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39799 timespec for ISO C11.
39800 * time/timespec_get.c: New file.
39801 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39802 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39805 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39806 * stdlib/stdlib.h: Declare aligned_alloc.
39807 * Versions.def: Add GLIBC_2.16 for libc.
39808 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39811 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39814 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39818 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39821 * assert/assert.h (static_assert): Define.
39823 * version.h: Update for 2.16 development version.
39826 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39829 * version.h (RELEASE): Bump for 2.15 release.
39830 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39832 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39833 Patch by Marek Polacek <mpolacek@redhat.com>.
39835 * bits/byteswap.h: Protect long long constants with __extension__.
39836 * sysdeps/i386/bits/byteswap.h: Likewise.
39837 * sysdeps/ia64/bits/byteswap.h: Likewise.
39838 * sysdeps/s390/bits/byteswap.h: Likewise.
39839 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39841 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39844 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39845 destination buffer.
39846 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39848 2011-12-23 Marek Polacek <polacek@redhat.com>
39850 * elf/dl-addr.c (determine_info): Add inline keyword.
39851 * elf/tst-auditmod4b.c (check_avx): Likewise.
39852 * elf/tst-auditmod6b.c (check_avx): Likewise.
39853 * elf/tst-auditmod6c.c (check_avx): Likewise.
39854 * elf/tst-auditmod7b.c (check_avx): Likewise.
39856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39858 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39861 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39864 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39865 processing for last bytes.
39867 2011-08-06 Bruno Haible <bruno@clisp.org>
39870 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39871 U+0385, not to U+1FEE.
39874 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39875 entry for U+00A5 U+0301.
39877 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39880 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39881 buffer for the output is too small.
39883 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39887 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39888 SSE flags if possible.
39890 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39894 processing for last bytes.
39896 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39898 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39899 (syscall-list-default-options, syscall-list-default-condition)
39900 (syscall-list-includes): Define.
39901 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39902 list of ABIs and options and #if conditions for each ABI. Do not
39903 handle common syscalls between ABIs specially.
39904 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39906 (syscall-list-variants, syscall-list-32bit-options)
39907 (syscall-list-32bit-condition, syscall-list-64bit-options)
39908 (syscall-list-64bit-condition): Define.
39909 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39910 (syscall-list-variants, syscall-list-32bit-options)
39911 (syscall-list-32bit-condition, syscall-list-64bit-options)
39912 (syscall-list-64bit-condition): Define.
39913 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39915 (syscall-list-variants, syscall-list-32bit-options)
39916 (syscall-list-32bit-condition, syscall-list-64bit-options)
39917 (syscall-list-64bit-condition): Define.
39918 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39920 (syscall-list-variants, syscall-list-32bit-options)
39921 (syscall-list-32bit-condition, syscall-list-64bit-options)
39922 (syscall-list-64bit-condition): Define.
39924 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39926 * locale/iso-639.def: Add brx entry.
39929 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39930 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39932 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39933 __feraiseexcept_renamed.
39935 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39938 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39939 EPOLLET with unsigned values.
39940 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39941 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39943 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39944 to large cancellation.
39945 * math/s_cacoshf.c: Likewise.
39946 * math/s_cacoshl.c: Likewise.
39948 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39952 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39953 * math/s_cacoshf.c: Likewise.
39954 * math/s_cacoshl.c: Likewise.
39956 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39959 * iconv/gconv.h: Define __GCONV_SWAP.
39960 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39961 * iconvdata/utf-16.c: Likewise.
39962 * iconvdata/utf-32.c: Likewise.
39964 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39967 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39968 numerator after shifting it by one limb.
39970 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39972 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39973 under [__USE_EXTERN_INLINES].
39975 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39978 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39980 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39982 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39983 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39985 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39986 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39987 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39988 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39989 for strncasecmp/strncasecmp_l compilation.
39990 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39991 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39993 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39996 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39999 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40002 * time/tzfile.c (__tzfile_read): Check values from file header.
40004 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40006 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40007 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40008 * powerpc/powerpc32/dl-start.S: Likewise.
40009 * powerpc/powerpc32/elf/start.S: Likewise.
40010 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40011 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40012 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40013 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40014 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40015 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40016 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40017 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40018 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40019 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40020 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40021 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40022 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40023 * powerpc/powerpc32/memset.S: Likewise.
40024 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40025 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40026 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40027 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40028 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40029 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40030 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40031 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40032 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40033 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40034 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40035 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40036 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40038 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40040 * math/libm-test.inc: Added more nearbyint tests.
40041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40042 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40046 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40048 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40051 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40053 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40054 Add wcscpy-ssse3 wcscpy-c.
40055 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40056 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40057 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40058 * sysdeps/x86_64/wcschr.S: New file.
40059 * sysdeps/x86_64/wcsrchr.S: New file.
40060 * string/test-strcmp.c: Remove checking of wcscmp function for
40062 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40063 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40064 wcsrchr-sse2 wcsrchr-c.
40065 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40066 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40067 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40068 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40069 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40070 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40071 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40072 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40073 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40074 * wcsmbc/wcschr.c (WCSCHR): New macro.
40076 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40078 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40079 * wcsmbs/test-wcsrchr.c: New file.
40080 * string/test-strrchr.c: Add wcsrchr support.
40082 * wcsmbs/test-wcscpy.c: New file.
40083 * string/test-strcpy.c: Add wcscpy support.
40086 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40088 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40091 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40094 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40096 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40098 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40099 Minor optimizations.
40101 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40102 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40103 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40105 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40107 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40108 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40109 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40110 for gcc to avoid warnings.
40111 * inet/Makefile (tests): Add tst-checks.
40112 * inet/tst-checks.c: New file.
40114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40117 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40120 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40121 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40123 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40125 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40127 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40130 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40132 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40134 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40135 conditional on GCC version.
40136 (__arch_compare_and_exchange_val_8_acq)
40137 (__arch_compare_and_exchange_val_16_acq)
40138 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40139 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40140 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40142 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40144 * sysdeps/sh/backtrace.c: New file.
40146 2011-12-02 Andreas Schwab <schwab@redhat.com>
40148 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40151 2011-12-01 Andreas Schwab <schwab@redhat.com>
40153 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40154 falling back to utime.
40156 2011-11-30 Andreas Schwab <schwab@redhat.com>
40158 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40159 expectations for float.
40161 2011-11-29 Andreas Schwab <schwab@redhat.com>
40163 * locale/weight.h (findidx): Add parameter len.
40164 * locale/weightwc.h (findidx): Likewise.
40165 * posix/fnmatch_loop.c (FCT): Adjust caller.
40166 * posix/regcomp.c (build_equiv_class): Likewise.
40167 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40168 * posix/regexec.c (check_node_accept_bytes): Likewise.
40169 * string/strcoll_l.c (STRCOLL): Likewise.
40170 * string/strxfrm_l.c (STRXFRM): Likewise.
40172 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40174 * Makefile.in: Remove CVSOPT handling.
40175 * configure.in: Remove use of AC_REVISION.
40176 * iconvdata/Makefile (distribute): No need to filter out CVS.
40177 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40180 2011-11-16 Andreas Schwab <schwab@redhat.com>
40182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40183 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40184 [USE_AS_STRNCASECMP_L]: Likewise.
40185 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40186 NO_TLS_DIRECT_SEG_REFS.
40187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40188 Fix argument offsets for non-PIC.
40189 [USE_AS_STRNCASECMP_L]: Likewise.
40190 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40191 NO_TLS_DIRECT_SEG_REFS.
40193 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40195 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40197 * locale/loadlocale.c (_nl_load_locale): Likewise.
40199 2011-11-15 Andreas Schwab <schwab@redhat.com>
40201 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40202 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40203 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40204 (SYSCALL_GETTIME): Set errno on error.
40206 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40207 count references to noai6ai_cached.
40209 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40211 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40213 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40214 FD_CLOEXEC for /proc/self/maps.
40216 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40217 FD_CLOEXEC for /proc/meminfo.
40219 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40222 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40223 FD_CLOEXEC for given file.
40225 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40227 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40228 FD_CLOEXEC for /etc/hosts.
40229 (_gethtent): Likewise.
40231 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40233 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40234 cancellation and set FD_CLOEXEC for /etc/netgroup.
40236 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40237 reading /etc/publickey.
40239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40240 allow cancellation when reading /etc/group.
40242 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40244 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40246 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40247 when using data file.
40249 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40251 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40252 (write_nis_obj): Use "c" and "e" in fopen.
40254 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40256 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40258 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40260 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40262 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40265 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40267 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40269 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40271 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40272 file parsing and set FD_CLOEXEC.
40274 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40276 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40278 2011-11-14 Andreas Schwab <schwab@redhat.com>
40280 * malloc/arena.c (arena_get2): Don't call reused_arena when
40281 _int_new_arena failed.
40283 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40285 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40286 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40288 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40289 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40291 to compile strcasecmp and strncasecmp.
40292 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40293 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40297 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40299 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40300 locale-defines.sym to gen-as-const-headers.
40301 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40302 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40304 to compile strcasecmp and strncasecmp.
40305 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40306 strcasecmp_l and strncasecmp_l.
40307 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40308 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40309 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40310 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40311 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40312 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40313 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40314 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40315 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40316 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40317 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40319 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40321 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40322 result of SYSDEP_GETTIME_CPU to retval.
40323 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40324 parameter list to macro. Remove trailing semicolon. Adjust users.
40326 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40329 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40331 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40333 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40334 from unused variable.
40336 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40338 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40341 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40344 * sunrpc/rpc_prot.c (rejected): Fix case value.
40346 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40347 unsigned long long int to avoid warnings in shift.
40349 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40351 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40355 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40358 * nis/nis_table.c (nis_list): Use variable of correct type for
40359 result of __follow_path call.
40361 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40363 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40364 of math functions ceil, trunc, floor, round, and sqrt, when
40365 avaliable on the platform.
40366 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40368 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40369 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40370 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40372 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40374 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40377 2011-11-11 Roland McGrath <roland@hack.frob.com>
40379 * include/unistd.h: Fix __readlink return type.
40380 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40382 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40384 * stdlib/ucontext.h: Undo last change for makecontext.
40386 2011-11-11 Andreas Schwab <schwab@redhat.com>
40388 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40390 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40391 * setjmp/setjmp.h: Mark functions as non-leaf.
40392 * setjmp/bits/setjmp2.h: Likewise.
40393 * stdlib/ucontext.h: Likewise.
40395 2011-11-10 Andreas Schwab <schwab@redhat.com>
40397 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40398 (reused_arena): Don't check arena limit.
40399 (arena_get2): Atomically check arena limit.
40401 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40403 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40404 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40409 2011-11-07 Andreas Schwab <schwab@redhat.com>
40411 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40412 handler when locking.
40414 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40415 Fix size of allocated buffer.
40417 2011-11-04 Andreas Schwab <schwab@redhat.com>
40420 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40421 declarations for long double functions.
40422 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40424 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40426 2011-11-03 Andreas Schwab <schwab@redhat.com>
40428 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40431 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40434 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40436 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40438 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40440 * include/alloca.h (stackinfo_alloca_round): Define.
40441 (extend_alloca): Use it.
40442 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40443 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40446 * scripts/check-local-headers.sh: Ignore libaudit.h.
40448 * nscd/Makefile (extra-objs): Make recursively expanded.
40450 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40452 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40455 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40456 * posix/tst-rfc3484-2.c: Likewise.
40457 * posix/tst-rfc3484-3.c: Likewise.
40459 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40461 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40463 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40464 process_vm_writev from libc using GLIBC_2.15 version.
40466 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40468 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40470 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40473 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40476 * nss/getent.c (initgroups_keys): Show error message in case no group
40479 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40480 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40481 __bump_nl_timestamp.
40482 * nscd/connections (nscd_init): When host database is served open
40483 netlink socket and request notification about configuration changes.
40484 (main_loop_poll): Track netlink file descriptor and bump timestamp
40485 in case data becomes available.
40486 (main_loop_epoll): Likewise.
40487 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40488 (database_pers_head): Add extra_data fileds.
40489 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40490 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40491 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40494 in6ai data, call __free_in6ai.
40495 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40496 Add -DHAVE_NETLINK.
40497 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40498 interface information. Reuse previous data if netlink timestamp
40500 (__bump_nl_timestamp): New function.
40501 (__free_in6ai): New function.
40503 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40505 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40506 close_not_cancel_no_status here.
40507 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40509 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40512 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40515 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40516 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40517 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40519 2011-07-03 Andreas Jaeger <aj@suse.de>
40522 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40523 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40524 * math/libm-test.inc (sin_test): Add test case.
40526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40529 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40530 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40532 * elf/chroot_canon.c (chroot_canon): Cleanups.
40534 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40537 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40538 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40540 * string/test-strchr.c: Make usable for strchrnul testing.
40541 * string/test-strchrnul.c: New file.
40542 * string/Makefile (strop-tests): Add strchrnul.
40544 * po/it.po: Update from translation team.
40545 * po/es.po: Likewise.
40547 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40550 the three constants needed as parameters. Drop the others.
40551 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40552 __m128i_strloadu_tolower.
40553 Create and initialize variable zero and use it in all the places
40554 where _mm_setzero_si128 was used.
40556 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40557 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40558 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40559 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40561 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40562 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40563 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40564 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40566 __mpranred, __mptan.
40567 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40568 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40569 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40570 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40571 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40572 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40574 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40577 2011-10-28 Andreas Schwab <schwab@redhat.com>
40579 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40580 redefine if SHARED.
40581 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40584 wide char related routines to wcsmbs subdir.
40586 2011-10-27 Andreas Schwab <schwab@redhat.com>
40589 * misc/sys/cdefs.h (__THROWNL): Define.
40590 * posix/unistd.h: Use __THREADNL instead of __THREAD
40591 for memory synchronization functions.
40593 2011-10-26 Roland McGrath <roland@hack.frob.com>
40596 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40598 * manual/stdio.texi (Obstack Streams): Node removed.
40600 2011-10-26 Andreas Schwab <schwab@redhat.com>
40602 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40606 * math/math_private.h (math_force_eval): Allow non-addressable
40608 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40610 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40612 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40613 file is not needed.
40615 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40622 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40628 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40629 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40630 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40631 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40632 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40633 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40634 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40635 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40638 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40639 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40640 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40641 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40642 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40644 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40645 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40647 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40648 place. Use VEX encoding when compiling for AVX.
40650 2011-10-25 Andreas Schwab <schwab@redhat.com>
40652 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40653 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40655 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40657 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40659 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40660 useless if() expression.
40661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40662 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40663 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40667 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40669 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40671 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40672 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40673 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40674 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40675 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40679 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40681 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40683 2011-10-25 Andreas Schwab <schwab@redhat.com>
40685 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40687 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40689 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40691 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40692 .text section. Avoid duplicate constants.
40693 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40695 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40699 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40700 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40701 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40702 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40704 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40705 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40706 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40707 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40708 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40710 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40712 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40713 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40714 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40715 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40716 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40717 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40718 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40719 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40720 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40721 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40722 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40723 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40724 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40725 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40726 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40727 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40728 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40730 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40731 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40732 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40733 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40734 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40735 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40736 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40737 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40739 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40741 * sysdeps/x86_64/dla.h: Move to ...
40742 * sysdeps/x86_64/fpu/dla.h: ...here.
40743 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40744 situations. Use __builtin_fma only for gcc 4.6 and up.
40746 * config.make.in: Add have-mfma4 entry.
40747 * configure.in: Substitute libc_cv_cc_fma4.
40748 * math/Makefile (dbl-only-routines): Add sincostab.
40749 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40750 Use __sincostab not sincos.
40751 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40753 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40758 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40759 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40760 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40761 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40763 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40764 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40766 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40767 define aliases when function name is a macro.
40768 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40769 sysdeps/ieee754/dbl-64/sincos.tbl.
40770 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40771 fma4-enabled routines.
40772 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40773 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40774 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40775 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40779 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40781 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40782 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40783 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40784 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40785 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40786 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40787 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40788 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40789 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40790 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40792 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40793 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40799 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40801 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40803 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40814 2011-10-24 Andreas Schwab <schwab@redhat.com>
40816 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40820 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40822 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40826 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40827 Remove unused variable magic_bits.
40828 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40830 * string/strnlen.c: Define and use STRNLEN macro.
40831 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40832 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40834 * wcsmbs/wcslen.c: Define and use WCSLEN.
40835 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40836 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40837 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40838 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40839 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40840 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40841 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40843 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40846 strnlen-sse2-no-bsf.
40847 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40848 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40849 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40850 Add strnlen support.
40851 (USE_AS_STRNLEN): New macro.
40852 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40854 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40855 * sysdeps/x86_64/wcslen.S: New file.
40857 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40860 XMM-moves are used for copying on small sizes.
40862 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40864 * wcsmbs/Makefile (strop-tests): Add wcschr.
40865 * wcsmbs/test-wcschr.c: New file.
40866 * string/test-strchr.c: Update.
40867 Add wcschr support.
40870 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40872 * wcsmbs/Makefile (strop-tests): Add wcslen.
40873 * wcsmbs/test-wcslen.c: New file.
40874 * string/test-strlen.c: Update.
40875 Add wcslen support.
40878 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40880 * po/it.po: Update from translation team.
40882 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40884 * sysdeps/x86_64/wcscmp.S: Update.
40885 Fix wrong comparison semantics.
40886 wcscmp shall use signed comparison not unsigned.
40887 Don't use substraction to avoid overflow bug.
40888 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40889 * wcsmbc/wcscmp.c: Likewise.
40890 * string/test-strcmp.c: Likewise.
40891 Add new tests to check cases with negative values.
40893 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40895 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40896 * sysdeps/x86_64/dla.h: ...here. New file.
40897 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40907 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40910 __ynl_finite aliases.
40912 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40916 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40918 [DLA_FMA] (EMULV): Use DLA_FMA.
40919 [DLA_FMA] (MUL12): Use EMULV.
40920 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40921 that are not needed.
40922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40930 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40932 * math/s_nan.c: Undef __nan.
40933 * math/s_nanf.c: Undef __nanf.
40934 * math/s_nanl.c: Undef __nanl.
40935 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40938 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40940 * math/s_catan.c: Add branch predictions.
40941 * math/s_catanf.c: Likewise.
40942 * math/s_catanh.c: Likewise.
40943 * math/s_catanhf.c: Likewise.
40944 * math/s_catanhl.c: Likewise.
40945 * math/s_catanl.c: Likewise.
40946 * math/s_cexp.c: Likewise.
40947 * math/s_cexpf.c: Likewise.
40948 * math/s_cexpl.c: Likewise.
40949 * math/s_clog.c: Likewise.
40950 * math/s_clog10.c: Likewise.
40951 * math/s_clog10f.c: Likewise.
40952 * math/s_clog10l.c: Likewise.
40953 * math/s_clogf.c: Likewise.
40954 * math/s_clogl.c: Likewise.
40955 * math/s_csqrt.c: Likewise.
40956 * math/s_csqrtf.c: Likewise.
40957 * math/s_csqrtl.c: Likewise.
40958 * math/s_ctanf.c: Likewise.
40959 * math/s_ctanh.c: Likewise.
40960 * math/s_ctanhf.c: Likewise.
40961 * math/s_ctanhl.c: Likewise.
40962 * math/s_ctanl.c: Likewise.
40964 * math/math_private.h: Define __nan, __nanf, __nanl.
40965 * math/s_cacosh.c: Include <math_private.h>.
40966 * math/s_cacoshl.c: Likewise.
40967 * math/s_casinh.c: Likewise.
40968 * math/s_casinhf.c: Likewise.
40969 * math/s_casinhl.c: Likewise.
40970 * math/s_ccos.c: Rely entire on ccosh.
40971 * math/s_ccosf.c: Rely entire on ccoshf.
40972 * math/s_ccosl.c: Rely entirely on ccoshl.
40973 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40974 Remove tests for FE_INVALID.
40975 * math/s_ccoshf.c: Likewise.
40976 * math/s_ccoshl.c: Likewise.
40977 * math/s_csin.c: Likewise.
40978 * math/s_csinf.c: Likewise.
40979 * math/s_csinh.c Likewise.
40980 * math/s_csinhf.c: Likewise.
40981 * math/s_csinhl.c: Likewise.
40982 * math/s_csinl.c: Likewise.
40983 * math/s_ctan.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40985 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40988 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40991 compilation problems.
40993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40996 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40998 * sysdeps/i386/configure.in: Test for -mfma4 option.
40999 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41000 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41001 COMMON_CPUID_INDEX_80000001.
41002 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41003 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41004 use it if FMA3 is not supported.
41005 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41007 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41008 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41010 2011-10-20 Andreas Schwab <schwab@redhat.com>
41013 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41014 it would create a cycle with a link time dependency.
41016 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41018 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41020 * string/Makefile (strop-tests): Add rawmemchr.
41021 * string/test-rawmemchr.c: New file.
41023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41024 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41025 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41026 when compiling str{,n}casecmp and when AVX is available. Hook up
41027 new optimized code in initializers.
41029 2011-10-19 Andreas Schwab <schwab@redhat.com>
41031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41032 __feraiseexcept instead of feraiseexcept.
41034 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41036 * math/math_private.h: Define defaults for libc_fetestexcept and
41038 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41039 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41040 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41041 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41042 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41043 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41044 libc_fetestexcept and libc_feupdateenv.
41046 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41047 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41048 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41049 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41050 libc_feholdexcept_setround.
41052 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41053 Add s_nearbyint-c and s_nearbyintf-c.
41054 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41055 nearbyintf inlines.
41056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41057 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41058 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41059 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41061 * math/math_private.h: Define defaults for libc_fegetround,
41062 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41063 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41064 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41065 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41066 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41067 standard functions.
41068 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41069 Remove comments and hacks for old compiler versions.
41070 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41071 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41072 libc_feholdexceptl.
41074 2011-10-18 Andreas Schwab <schwab@redhat.com>
41076 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41077 (__feraiseexcept_renamed): Add __NTH.
41078 (feraiseexcept): Add __NTH. Rename local variables to fix
41079 namespace violations.
41081 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41085 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41087 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41088 recently added interfaces.
41089 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41091 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41092 about macro parameter expansion.
41094 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41095 __NO_MATH_INLINES is defined. Cleanups.
41097 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41098 and __floorf is target has SSE4.1.
41099 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41101 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41102 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41104 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41106 (floorf): Likewise.
41108 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41110 2011-10-17 Andreas Schwab <schwab@redhat.com>
41112 * misc/sys/cdefs.h: Fix last change.
41114 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41117 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41119 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41121 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41123 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41129 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41130 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41131 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41132 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41133 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41134 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41135 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41136 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41137 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41138 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41139 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41140 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41141 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41142 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41144 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41145 ceil, ceilf, floor, floorf.
41147 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41148 Perform IRELATIVE relocations last.
41150 * elf/do-rel.h: Add another parameter nrelative, replacing the
41151 local variable with the same name. Change name of the function
41152 to end in Rel or Rela (uppercase).
41153 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41154 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41155 elf_dynamic_do_##reloc function.
41157 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41159 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41160 is sufficient, at least on modern CPUs.
41162 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41164 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41165 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41167 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41169 * math/bits/math-finite.h: Add entries for exp.
41170 * math/e_expl.c: Add __*_finite alias.
41171 * sysdeps/i386/fpu/e_exp.S: Likewise.
41172 * sysdeps/i386/fpu/e_expf.S: Likewise.
41173 * sysdeps/i386/fpu/e_expl.c: Likewise.
41174 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41175 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41178 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41179 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41180 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41182 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41183 is sufficient, at least on modern CPUs.
41185 * ctype/ctype-info.c (__ctype_init): Define.
41186 * include/ctype.h (__ctype_init): Declare.
41187 (__ctype_b_loc): The variable is always initialized.
41188 (__ctype_toupper_loc): Likewise.
41189 (__ctype_tolower_loc): Likewise.
41190 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41191 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41193 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41195 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41197 * configure.in: Also look in $cxxmachine/include for C++ system
41200 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41202 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41203 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41204 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41205 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41207 (USE_AS_WMEMCMP): New macro.
41209 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41210 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41211 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41212 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41214 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41215 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41216 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41217 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41218 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41219 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41220 (USE_AS_WMEMCMP): New macro.
41221 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41222 * sysdeps/string/test-memcmp.c: Update.
41223 Fix simple_wmemcmp.
41225 * wcsmbs/wmemcmp.c: Update.
41226 (WMEMCMP): New macro.
41229 2011-10-12 Andreas Jaeger <aj@suse.de>
41232 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41234 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41236 * libio/iofwide.c (do_length): Avoid warning.
41238 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41240 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41242 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41244 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41245 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41246 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41247 * sysdeps/i386/i686/fpu/e_log.S: New file.
41248 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41249 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41251 * ctype/ctype.h: Add support for inlined isXXX functions when
41252 compiling C++ code.
41254 2011-10-14 Andreas Schwab <schwab@redhat.com>
41256 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41258 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41260 2011-10-13 Roland McGrath <roland@hack.frob.com>
41263 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41265 2011-10-13 Andreas Schwab <schwab@redhat.com>
41267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41268 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41271 * sysdeps/x86_64/memrchr.S: Check for zero size.
41273 * string/stratcliff.c: Add memrchr tests.
41275 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41278 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41279 rawmemchr-sse2 rawmemchr-sse2-bsf.
41280 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41281 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41282 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41283 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41284 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41285 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41286 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41287 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41288 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41289 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41290 * string/memrchr.c (MEMRCHR): New macro.
41292 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41294 Add integration with gcc's -ffinite-math-only and optimize wrapper
41296 * Versions.def: Define GLIBC_2.15 version for libm.
41297 * math/Makefile (headers): Add bits/math-finite.h.
41298 * math/bits/math-finite.h: New file.
41299 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41300 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41301 * math/e_acoshl.c: Add __*_finite alias.
41302 * math/e_acosl.c: Likewise.
41303 * math/e_asinl.c: Likewise.
41304 * math/e_atan2l.c: Likewise.
41305 * math/e_atanhl.c: Likewise.
41306 * math/e_coshl.c: Likewise.
41307 * math/e_exp10.c: Likewise.
41308 * math/e_exp10f.c: Likewise.
41309 * math/e_exp10l.c: Likewise.
41310 * math/e_exp2l.c: Likewise.
41311 * math/e_fmodl.c: Likewise.
41312 * math/e_gammal_r.c: Likewise.
41313 * math/e_hypotl.c: Likewise.
41314 * math/e_j0l.c: Likewise.
41315 * math/e_j1l.c: Likewise.
41316 * math/e_jnl.c: Likewise.
41317 * math/e_lgammal_r.c: Likewise.
41318 * math/e_log10l.c: Likewise.
41319 * math/e_log2l.c: Likewise.
41320 * math/e_logl.c: Likewise.
41321 * math/e_powl.c: Likewise.
41322 * math/e_sinhl.c: Likewise.
41323 * math/e_sqrtl.c: Likewise.
41324 * math/e_scalb.c: Completely rewritten and optimized.
41325 * math/e_scalbf.c: Likewise.
41326 * math/e_scalbl.c: Likewise.
41327 * math/w_acos.c: Likewise.
41328 * math/w_acosf.c: Likewise.
41329 * math/w_acosl.c: Likewise.
41330 * math/w_acosh.c: Likewise.
41331 * math/w_acoshf.c: Likewise.
41332 * math/w_acoshl.c: Likewise.
41333 * math/w_asin.c: Likewise.
41334 * math/w_asinf.c: Likewise.
41335 * math/w_asinl.c: Likewise.
41336 * math/w_atan2.c: Likewise.
41337 * math/w_atan2f.c: Likewise.
41338 * math/w_atan2l.c: Likewise.
41339 * math/w_atanh.c: Likewise.
41340 * math/w_atanhf.c: Likewise.
41341 * math/w_atanhl.c: Likewise.
41342 * math/w_exp10.c: Likewise.
41343 * math/w_exp10f.c: Likewise.
41344 * math/w_exp10l.c: Likewise.
41345 * math/w_fmod.c: Likewise.
41346 * math/w_fmodf.c: Likewise.
41347 * math/w_fmodl.c: Likewise.
41348 * math/w_j0.c: Likewise.
41349 * math/w_j0f.c: Likewise.
41350 * math/w_j0l.c: Likewise.
41351 * math/w_j1.c: Likewise.
41352 * math/w_j1f.c: Likewise.
41353 * math/w_j1l.c: Likewise.
41354 * math/w_jn.c: Likewise.
41355 * math/w_jnf.c: Likewise.
41356 * math/w_log.c: Likewise.
41357 * math/w_logf.c: Likewise.
41358 * math/w_logl.c: Likewise.
41359 * math/w_log10.c: Likewise.
41360 * math/w_log10f.c: Likewise.
41361 * math/w_log10l.c: Likewise.
41362 * math/w_log2.c: Likewise.
41363 * math/w_log2f.c: Likewise.
41364 * math/w_log2l.c: Likewise.
41365 * math/w_pow.c: Likewise.
41366 * math/w_powf.c: Likewise.
41367 * math/w_powl.c: Likewise.
41368 * math/w_remainder.c: Likewise.
41369 * math/w_remainderf.c: Likewise.
41370 * math/w_remainderl.c: Likewise.
41371 * math/w_scalb.c: Likewise.
41372 * math/w_scalbf.c: Likewise.
41373 * math/w_scalbl.c: Likewise.
41374 * math/w_sqrt.c: Likewise.
41375 * math/w_sqrtf.c: Likewise.
41376 * math/w_sqrtl.c: Likewise.
41377 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41378 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41380 * math/math_private.h: Declare __kernel_standard_f.
41381 * math/w_cosh.c: Remove cruft and optimize a bit.
41382 * math/w_coshf.c: Likewise.
41383 * math/w_coshl.c: Likewise.
41384 * math/w_exp2.c: Likewise.
41385 * math/w_exp2f.c: Likewise.
41386 * math/w_exp2l.c: Likewise.
41387 * math/w_hypot.c: Likewise.
41388 * math/w_hypotf.c: Likewise.
41389 * math/w_hypotl.c: Likewise.
41390 * math/w_lgamma.c: Likewise.
41391 * math/w_lgamma_r.c: Likewise.
41392 * math/w_lgammaf.c: Likewise.
41393 * math/w_lgammaf_r.c: Likewise.
41394 * math/w_lgammal.c: Likewise.
41395 * math/w_lgammal_r.c: Likewise.
41396 * math/w_sinh.c: Likewise.
41397 * math/w_sinhf.c: Likewise.
41398 * math/w_sinhl.c: Likewise.
41399 * math/w_tgamma.c: Likewise.
41400 * math/w_tgammaf.c: Likewise.
41401 * math/w_tgammal.c: Likewise.
41402 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41404 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41405 Minor optimizations. Pretty printing. Remove cruft.
41406 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41410 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41411 * sysdeps/i386/fpu/e_asin.S: Likewise.
41412 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41413 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41414 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41415 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41417 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41418 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41419 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41420 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41421 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41422 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41423 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41424 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41425 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41426 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41427 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41428 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41429 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41430 * sysdeps/i386/fpu/e_log.S: Likewise.
41431 * sysdeps/i386/fpu/e_log10.S: Likewise.
41432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41433 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41434 * sysdeps/i386/fpu/e_log2.S: Likewise.
41435 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41436 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41437 * sysdeps/i386/fpu/e_logf.S: Likewise.
41438 * sysdeps/i386/fpu/e_logl.S: Likewise.
41439 * sysdeps/i386/fpu/e_pow.S: Likewise.
41440 * sysdeps/i386/fpu/e_powf.S: Likewise.
41441 * sysdeps/i386/fpu/e_powl.S: Likewise.
41442 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41443 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41444 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41445 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41447 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41448 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41449 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41450 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41451 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41452 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41453 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41454 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41455 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41457 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41458 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41459 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41460 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41461 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41462 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41464 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41465 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41466 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41467 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41468 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41469 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41470 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41471 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41472 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41473 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41474 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41475 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41476 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41477 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41478 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41479 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41480 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41481 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41482 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41483 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41485 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41486 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41487 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41488 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41489 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41490 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41491 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41492 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41493 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41494 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41495 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41496 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41497 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41498 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41499 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41500 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41501 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41506 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41507 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41508 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41509 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41510 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41511 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41512 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41513 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41516 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41517 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41521 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41522 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41525 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41526 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41528 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41529 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41530 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41531 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41532 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41533 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41534 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41535 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41537 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41538 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41539 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41540 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41541 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41542 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41543 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41544 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41548 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41549 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41550 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41551 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41552 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41553 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41554 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41555 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41556 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41557 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41559 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41560 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41561 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41562 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41563 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41564 (__isnanf): Likewise.
41565 (__isinf_ns): Likewise.
41566 (__isinf_nsf): Likewise.
41567 (__finite): Likewise.
41568 (__finitef): Likewise.
41569 (__ieee754_sqrt): Define as macro.
41570 (__ieee754_sqrtf): Define as macro.
41571 (__ieee754_sqrtl): Define as macro.
41572 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41574 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41575 __FINITE_MATH_ONLY__ consistent.
41576 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41578 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41580 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41585 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41587 * po/ja.po: Update from translation team.
41589 2011-10-08 Roland McGrath <roland@hack.frob.com>
41591 * locale/programs/locarchive.c (prepare_address_space): New function.
41592 (create_archive, enlarge_archive, open_archive): Use it.
41594 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41595 inside [SHARED], where it is used.
41597 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41599 * nss/getent.c (netgroup_keys): Remove unused variable.
41600 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41602 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41604 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41605 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41606 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41608 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41609 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41610 * math/Makefile (libm-calls): Add s_isinf_ns.
41611 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41612 * math/multc3.c: Likewise.
41613 * math/s_casin.c: Likewise.
41614 * math/s_casinf.c: Likewise.
41615 * math/s_casinl.c: Likewise.
41616 * math/s_ccos.c: Likewise.
41617 * math/s_ccosf.c: Likewise.
41618 * math/s_ccosl.c: Likewise.
41619 * math/s_ctan.c: Likewise.
41620 * math/s_ctanf.c: Likewise.
41621 * math/s_ctanh.c: Likewise.
41622 * math/s_ctanhf.c: Likewise.
41623 * math/s_ctanhl.c: Likewise.
41624 * math/s_ctanl.c: Likewise.
41625 * math/w_fmod.c: Likewise.
41626 * math/w_fmodf.c: Likewise.
41627 * math/w_fmodl.c: Likewise.
41628 * math/w_remainder.c: Likewise.
41629 * math/w_remainderf.c: Likewise.
41630 * math/w_remainderl.c: Likewise.
41631 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41632 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41633 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41635 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41636 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41637 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41638 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41640 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41642 * stdio-common/printf_fphex.c: Likewise.
41643 * stdio-common/printf_size.c: Likewise.
41645 * math/e_exp10.c: Include math_private.h using <...> not "...".
41646 * math/e_exp10f.c: Likewise.
41647 * math/e_exp10l.c: Likewise.
41648 * math/e_exp2l.c: Likewise.
41649 * math/e_j0l.c: Likewise.
41650 * math/e_j1l.c: Likewise.
41651 * math/e_jnl.c: Likewise.
41652 * math/e_lgammal_r.c: Likewise.
41653 * math/e_rem_pio2l.c: Likewise.
41654 * math/e_scalb.c: Likewise.
41655 * math/e_scalbf.c: Likewise.
41656 * math/e_scalbl.c: Likewise.
41657 * math/k_cosl.c: Likewise.
41658 * math/k_sinl.c: Likewise.
41659 * math/k_tanl.c: Likewise.
41660 * math/s_cacoshf.c: Likewise.
41661 * math/s_catan.c: Likewise.
41662 * math/s_catanf.c: Likewise.
41663 * math/s_catanh.c: Likewise.
41664 * math/s_catanhf.c: Likewise.
41665 * math/s_catanhl.c: Likewise.
41666 * math/s_catanl.c: Likewise.
41667 * math/s_ccosh.c: Likewise.
41668 * math/s_ccoshf.c: Likewise.
41669 * math/s_ccoshl.c: Likewise.
41670 * math/s_cexp.c: Likewise.
41671 * math/s_cexpf.c: Likewise.
41672 * math/s_cexpl.c: Likewise.
41673 * math/s_clog.c: Likewise.
41674 * math/s_clog10.c: Likewise.
41675 * math/s_clog10f.c: Likewise.
41676 * math/s_clog10l.c: Likewise.
41677 * math/s_clogf.c: Likewise.
41678 * math/s_clogl.c: Likewise.
41679 * math/s_csin.c: Likewise.
41680 * math/s_csinf.c: Likewise.
41681 * math/s_csinh.c: Likewise.
41682 * math/s_csinhf.c: Likewise.
41683 * math/s_csinhl.c: Likewise.
41684 * math/s_csinl.c: Likewise.
41685 * math/s_csqrt.c: Likewise.
41686 * math/s_csqrtf.c: Likewise.
41687 * math/s_csqrtl.c: Likewise.
41688 * math/s_ctan.c: Likewise.
41689 * math/s_ctanf.c: Likewise.
41690 * math/s_ctanh.c: Likewise.
41691 * math/s_ctanhf.c: Likewise.
41692 * math/s_ctanhl.c: Likewise.
41693 * math/s_ctanl.c: Likewise.
41694 * math/s_ldexp.c: Likewise.
41695 * math/s_ldexpf.c: Likewise.
41696 * math/s_ldexpl.c: Likewise.
41697 * math/s_significand.c: Likewise.
41698 * math/s_significandf.c: Likewise.
41699 * math/s_significandl.c: Likewise.
41700 * math/w_acos.c: Likewise.
41701 * math/w_acosf.c: Likewise.
41702 * math/w_acosh.c: Likewise.
41703 * math/w_acoshf.c: Likewise.
41704 * math/w_acoshl.c: Likewise.
41705 * math/w_acosl.c: Likewise.
41706 * math/w_asin.c: Likewise.
41707 * math/w_asinf.c: Likewise.
41708 * math/w_asinl.c: Likewise.
41709 * math/w_atan2.c: Likewise.
41710 * math/w_atan2f.c: Likewise.
41711 * math/w_atan2l.c: Likewise.
41712 * math/w_atanh.c: Likewise.
41713 * math/w_atanhf.c: Likewise.
41714 * math/w_atanhl.c: Likewise.
41715 * math/w_cosh.c: Likewise.
41716 * math/w_coshf.c: Likewise.
41717 * math/w_coshl.c: Likewise.
41718 * math/w_dremf.c: Likewise.
41719 * math/w_exp10.c: Likewise.
41720 * math/w_exp10f.c: Likewise.
41721 * math/w_exp10l.c: Likewise.
41722 * math/w_exp2.c: Likewise.
41723 * math/w_exp2f.c: Likewise.
41724 * math/w_fmod.c: Likewise.
41725 * math/w_fmodf.c: Likewise.
41726 * math/w_fmodl.c: Likewise.
41727 * math/w_hypot.c: Likewise.
41728 * math/w_hypotf.c: Likewise.
41729 * math/w_hypotl.c: Likewise.
41730 * math/w_j0.c: Likewise.
41731 * math/w_j0f.c: Likewise.
41732 * math/w_j0l.c: Likewise.
41733 * math/w_j1.c: Likewise.
41734 * math/w_j1f.c: Likewise.
41735 * math/w_j1l.c: Likewise.
41736 * math/w_jn.c: Likewise.
41737 * math/w_jnf.c: Likewise.
41738 * math/w_jnl.c: Likewise.
41739 * math/w_lgamma.c: Likewise.
41740 * math/w_lgamma_r.c: Likewise.
41741 * math/w_lgammaf.c: Likewise.
41742 * math/w_lgammaf_r.c: Likewise.
41743 * math/w_lgammal.c: Likewise.
41744 * math/w_lgammal_r.c: Likewise.
41745 * math/w_log.c: Likewise.
41746 * math/w_log10.c: Likewise.
41747 * math/w_log10f.c: Likewise.
41748 * math/w_log10l.c: Likewise.
41749 * math/w_log2.c: Likewise.
41750 * math/w_log2f.c: Likewise.
41751 * math/w_log2l.c: Likewise.
41752 * math/w_logf.c: Likewise.
41753 * math/w_logl.c: Likewise.
41754 * math/w_pow.c: Likewise.
41755 * math/w_powf.c: Likewise.
41756 * math/w_powl.c: Likewise.
41757 * math/w_remainder.c: Likewise.
41758 * math/w_remainderf.c: Likewise.
41759 * math/w_remainderl.c: Likewise.
41760 * math/w_scalb.c: Likewise.
41761 * math/w_scalbf.c: Likewise.
41762 * math/w_scalbl.c: Likewise.
41763 * math/w_sinh.c: Likewise.
41764 * math/w_sinhf.c: Likewise.
41765 * math/w_sinhl.c: Likewise.
41766 * math/w_sqrt.c: Likewise.
41767 * math/w_sqrtf.c: Likewise.
41768 * math/w_sqrtl.c: Likewise.
41769 * math/w_tgamma.c: Likewise.
41770 * math/w_tgammaf.c: Likewise.
41771 * math/w_tgammal.c: Likewise.
41773 * po/ja.po: Update from translation team.
41775 2011-09-29 Andreas Jaeger <aj@suse.de>
41778 * sunrpc/netname.c (netname2host): Fix logic.
41782 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41784 * math/w_remainder.c (__remainder): Likewise.
41785 * math/w_remainderf.c (__remainderf): Likewise.
41786 * math/libm-test.inc (remainder_test): Add test cases.
41788 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41790 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41793 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41795 * string/test-memcmp.c: Avoid unncessary #defines.
41796 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41798 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41800 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41801 Use new sse2 version for core i3 - i7 as it's faster
41802 than sse42 version.
41803 (bit_Prefer_PMINUB_for_stringop): New.
41804 * sysdeps/x86_64/rawmemchr.S: Update.
41805 Replace with faster SSE2 version.
41806 * sysdeps/x86_64/memrchr.S: New file.
41807 * sysdeps/x86_64/memchr.S: Update.
41808 Replace with faster SSE2 version.
41810 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41812 * elf/dl-load.c (lose): Add cast to avoid warning.
41814 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41816 * po/ca.po: Update from translation team.
41818 * inet/getnetgrent_r.c: Hook up nscd.
41819 * nscd/Makefile (routines): Add nscd_netgroup.
41820 (nscd-modules): Add netgroupcache.
41821 (CFLAGS-netgroupcache.c): Define.
41822 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41823 (cache_search): Add const to second parameter.
41824 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41826 (dbs): Add netgrdb entry.
41827 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41828 (verify_persistent_db): Handle netgrdb.
41829 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41830 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41832 (netgroup_response_header): Define.
41833 (innetgroup_response_header): Define.
41834 (datahead): Add netgroup_response_header and innetgroup_response_header
41836 * nscd/nscd.conf: Add entries for netgroup cache.
41837 * nscd/nscd.h (dbtype): Add netgrdb.
41838 (_PATH_NSCD_NETGROUP_DB): Define.
41839 (netgroup_iov_disabled): Declare.
41840 (xmalloc, xcalloc, xrealloc): Move declarations here.
41841 (cache_search): Adjust prototype.
41842 Add netgroup-related prototypes.
41843 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41844 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41845 (__nscd_innetgr): Declare.
41846 * nscd/selinux.c (perms): Use access_vector_t as element type and
41847 add netgroup-related initializers.
41848 * nscd/netgroupcache.c: New file.
41849 * nscd/nscd_netgroup.c: New file.
41850 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41851 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41852 For four parameters use innetgr.
41853 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41854 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41855 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41856 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41858 * nscd/connections.c (register_traced_file): Don't register file
41859 for disabled databases.
41861 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41863 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41865 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41866 from tree and freeing node.
41868 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41870 * nss/nsswitch.c (__nss_database_lookup): Handle
41871 nss_parse_service_list out of memory case.
41873 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41875 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41876 out of memory case.
41878 2011-10-04 Andreas Schwab <schwab@redhat.com>
41880 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41881 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41883 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41884 elf_machine_rela, elf_machine_lazy_rel.
41885 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41886 (ELF_DYNAMIC_DO_REL): Likewise.
41887 (ELF_DYNAMIC_DO_RELA): Likewise.
41888 (ELF_DYNAMIC_RELOCATE): Likewise.
41889 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41890 to ELF_DYNAMIC_DO_REL.
41891 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41892 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41893 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41896 skip_ifunc, don't call ifunc function if non-zero.
41897 (elf_machine_rela): Likewise.
41898 (elf_machine_lazy_rel): Likewise.
41899 (elf_machine_lazy_rela): Likewise.
41900 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41901 (elf_machine_lazy_rel): Likewise.
41902 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41904 (elf_machine_lazy_rel): Likewise.
41905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41907 (elf_machine_lazy_rel): Likewise.
41908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41909 (elf_machine_lazy_rel): Likewise.
41910 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41911 (elf_machine_lazy_rel): Likewise.
41912 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41913 (elf_machine_lazy_rel): Likewise.
41914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41915 (elf_machine_lazy_rel): Likewise.
41916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41917 (elf_machine_lazy_rel): Likewise.
41918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41919 (elf_machine_lazy_rel): Likewise.
41921 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41923 * nss/nss_files/files-init.c (_nss_files_init): Use static
41924 initialization for all the *_traced_file variables.
41926 2011-09-28 Andreas Schwab <schwab@redhat.com>
41928 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41930 2011-09-27 Roland McGrath <roland@hack.frob.com>
41933 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41935 2011-09-27 Andreas Schwab <schwab@redhat.com>
41937 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41938 Reread the line before reparsing it.
41940 2011-09-26 Andreas Schwab <schwab@redhat.com>
41942 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41944 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41945 Maxim Kuvyrkov <maxim@codesourcery.com>
41946 Joseph Myers <joseph@codesourcery.com>
41948 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41949 if needed for __stack_chk_guard.
41951 2011-09-19 Roland McGrath <roland@hack.frob.com>
41953 * sysdeps/posix/spawni.c (script_execute): Always define it.
41954 It will be optimized away if unused.
41955 (maybe_script_execute): New function.
41956 (__spawni): Call it.
41958 * Makerules: Don't include tls.make.
41959 (config-tls): Always set to thread.
41960 * tls.make.c: File removed.
41962 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41964 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41965 * config.make.in (CPPFLAGS-config): New substituted variable.
41967 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41972 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41973 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41975 2011-09-15 Roland McGrath <roland@hack.frob.com>
41977 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41978 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41980 (CALL_FAIL): Likewise.
41981 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41982 (CALL_FAIL): Macro removed.
41983 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41985 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41988 for __FINITE_MATH_ONLY__ == 1.
41990 2011-09-15 Andreas Schwab <schwab@redhat.com>
41992 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41993 __ieee754_sqrt instead of sqrt.
41994 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41995 __ieee754_sqrtf instead of sqrtf.
41996 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41997 __floorf instead of floorf.
41998 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41999 __floorf, __truncf instead of floorf, truncf.
42001 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42003 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42005 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42006 __extern_always_inline.
42007 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42010 2011-09-14 Andreas Schwab <schwab@redhat.com>
42012 * elf/rtld.c (dl_main): Also relocate in dependency order when
42013 doing symbol dependency testing.
42015 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42018 Always define `refsym'.
42020 2011-09-13 Andreas Schwab <schwab@redhat.com>
42022 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42023 (__FD_ELT): Renamed from __FDELT.
42024 * misc/bits/select2.h (__FD_ELT): Likewise.
42025 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42026 __FD_MASK instead of __FDELT, __FDMASK.
42027 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42029 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42032 * elf/Makefile (gen-ldd): Fix pattern.
42034 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42035 (init_tls): Likewise.
42037 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42041 2011-09-12 Andreas Schwab <schwab@redhat.com>
42043 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42044 `struct cmsghdr *' instead of `void *'.
42045 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42048 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42050 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42052 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42053 ldd_rewrite_script.
42055 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42057 * configure.in: Remove --with-tls option.
42058 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42059 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42060 out in case it is missing.
42061 * sysdeps/ia64/elf/configure.in: Likewise.
42062 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42063 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42064 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42065 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42066 * sysdeps/sh/elf/configure.in: Likewise.
42067 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42069 * sysdeps/x86_64/elf/configure.in: Likewise.
42070 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42071 * sysdeps/mach/hurd/tls.h: Likewise.
42074 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42077 * configure.in: Fix use of AC_INIT.
42079 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42081 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42083 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42085 * malloc/hooks.c: Likewise.
42088 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42089 variables statically.
42090 (narenas): Initialize.
42091 (list_lock): Initialize.
42092 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42093 initializtion of main_arena and list_lock. Small cleanups.
42094 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42095 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42096 Add initializers to main_arena and mp_.
42097 (malloc_state): Remove pagesize member. Change all users to use
42100 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42101 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42102 is always initialized.
42104 * malloc/malloc.c: Removed unused configurations and dead code.
42105 * malloc/arena.c: Likewise.
42106 * malloc/hooks.c: Likewise.
42107 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42109 * include/tls.h: Removed. USE___THREAD must always be defined.
42110 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42111 * elf/dl-libc.c: Likewise.
42112 * elf/dl-tsd.c: Likewise.
42113 * include/errno.h: Likewise.
42114 * include/netdb.h: Likewise.
42115 * include/resolv.h: Likewise.
42116 * inet/herrno-loc.c: Likewise.
42117 * inet/herrno.c: Likewise.
42118 * malloc/arena.c: Likewise.
42119 * malloc/hooks.c: Likewise.
42120 * malloc/malloc.c: Likewise.
42121 * resolv/res-state.c: Likewise.
42122 * resolv/res_libc.c: Likewise.
42123 * sysdeps/i386/dl-machine.h: Likewise.
42124 * sysdeps/ia64/dl-machine.h: Likewise.
42125 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42126 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42127 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42128 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42129 * sysdeps/sh/dl-machine.h: Likewise.
42130 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42131 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42132 * sysdeps/unix/i386/sysdep.S: Likewise.
42133 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42134 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42139 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42140 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42144 * sysdeps/x86_64/dl-machine.h: Likewise.
42145 * tls.make.c: Likewise.
42147 * configure.in: Remove --with-__thread option. Make tests for
42148 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42149 tls_model attribute fail if no support is available. Remove
42151 * Makeconfig: Adjust for dropped configure option. All features are
42153 * Makerules: Likewise.
42154 * Versions.def: Likewise.
42155 * argp/argp-fmtstream.c: Likewise.
42156 * argp/argp-fmtstream.h: Likewise.
42157 * argp/argp-help.c: Likewise.
42158 * assert/assert.c: Likewise.
42159 * config.h.in: Likewise.
42160 * config.make.in: Likewise.
42161 * configure: Likewise.
42162 * configure.in: Likewise.
42163 * csu/Versions: Likewise.
42164 * csu/init.c: Likewise.
42165 * elf/tst-audit2.c: Likewise.
42166 * elf/tst-tls10.c: Likewise.
42167 * elf/tst-tls10.h: Likewise.
42168 * elf/tst-tls11.c: Likewise.
42169 * elf/tst-tls12.c: Likewise.
42170 * elf/tst-tls14.c: Likewise.
42171 * elf/tst-tlsmod11.c: Likewise.
42172 * elf/tst-tlsmod12.c: Likewise.
42173 * elf/tst-tlsmod13.c: Likewise.
42174 * elf/tst-tlsmod13a.c: Likewise.
42175 * elf/tst-tlsmod14a.c: Likewise.
42176 * elf/tst-tlsmod15b.c: Likewise.
42177 * elf/tst-tlsmod16a.c: Likewise.
42178 * elf/tst-tlsmod16b.c: Likewise.
42179 * elf/tst-tlsmod7.c: Likewise.
42180 * elf/tst-tlsmod8.c: Likewise.
42181 * elf/tst-tlsmod9.c: Likewise.
42182 * gmon/gmon.c: Likewise.
42183 * grp/fgetgrent_r.c: Likewise.
42184 * grp/putgrent.c: Likewise.
42185 * hurd/fopenport.c: Likewise.
42186 * include/libc-symbols.h: Likewise.
42187 * include/tls.h: Likewise.
42188 * intl/gettextP.h: Likewise.
42189 * intl/loadinfo.h: Likewise.
42190 * locale/global-locale.c: Likewise.
42191 * locale/localeinfo.h: Likewise.
42192 * mach/devstream.c: Likewise.
42193 * malloc/arena.c: Likewise.
42194 * malloc/set-freeres.c: Likewise.
42195 * misc/err.c: Likewise.
42196 * misc/getttyent.c: Likewise.
42197 * misc/mntent_r.c: Likewise.
42198 * posix/getopt.c: Likewise.
42199 * posix/wordexp.c: Likewise.
42200 * pwd/fgetpwent_r.c: Likewise.
42201 * resolv/Versions: Likewise.
42202 * resolv/res_hconf.c: Likewise.
42203 * shadow/fgetspent_r.c: Likewise.
42204 * shadow/putspent.c: Likewise.
42205 * stdio-common/printf_fphex.c: Likewise.
42206 * stdio-common/tmpfile.c: Likewise.
42207 * stdlib/abort.c: Likewise.
42208 * stdlib/fmtmsg.c: Likewise.
42209 * sunrpc/auth_unix.c: Likewise.
42210 * sunrpc/clnt_perr.c: Likewise.
42211 * sunrpc/clnt_tcp.c: Likewise.
42212 * sunrpc/clnt_udp.c: Likewise.
42213 * sunrpc/clnt_unix.c: Likewise.
42214 * sunrpc/openchild.c: Likewise.
42215 * sunrpc/svc_simple.c: Likewise.
42216 * sunrpc/svc_tcp.c: Likewise.
42217 * sunrpc/svc_udp.c: Likewise.
42218 * sunrpc/svc_unix.c: Likewise.
42219 * sunrpc/xdr.c: Likewise.
42220 * sunrpc/xdr_array.c: Likewise.
42221 * sunrpc/xdr_rec.c: Likewise.
42222 * sunrpc/xdr_ref.c: Likewise.
42223 * sunrpc/xdr_stdio.c: Likewise.
42225 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42227 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42229 2011-07-03 Andreas Jaeger <aj@suse.de>
42231 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42232 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42233 regenerate with gen-libm-tests.pl.
42235 2010-05-12 Petr Baudis <pasky@suse.cz>
42238 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42239 around j0() zero points by switching to j1().
42240 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42241 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42245 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42247 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42249 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42252 Patch in part by Pavel Roskin <proski@gnu.org>.
42255 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42257 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42258 Free memory block if necessary.
42261 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42262 be NULL. Don't lock in this case.
42264 2011-09-09 Roland McGrath <roland@hack.frob.com>
42266 * elf/elf.h (ELFOSABI_GNU): New macro.
42267 (ELFOSABI_LINUX): Define to that.
42269 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42271 * string/strncat.c (strncat): Undef the symbol in case it has been
42272 defined in bits/string.h.
42274 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42276 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42278 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42281 2011-08-17 Andreas Jaeger <aj@suse.de>
42283 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42285 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42286 Ian Lance Taylor <iant@google.com>
42288 * math/libm-test.inc (lround_test): New testcase.
42289 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42291 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42293 * Makefile: Remove support for automatic cvs check-ins.
42294 * Makerules: Likewise.
42295 * config.make.in: Likewise.
42296 * configure.in: Likewise.
42297 * intl/Makefile: Likewise.
42298 * locale/Makefile: Likewise.
42299 * po/Makefile: Likewise.
42300 * posix/Makefile: Likewise.
42301 * sysdeps/gnu/Makefile: Likewise.
42302 * sysdeps/mach/hurd/Makefile: Likewise.
42303 * sysdeps/sparc/sparc32/Makefile: Likewise.
42306 * posix/Makefile (bug-regex32-ENV): Define.
42307 Patch by John Stanley <jpsinthemix@verizon.net>.
42309 * misc/Makefile (headers): Add bits/select2.h.
42310 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42311 * misc/bits/select2.h: New file.
42312 * include/bits/select2.h: New file.
42313 * debug/Makefile (routines): Add fdelt_chk.
42314 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42315 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42317 * debug/fdelt_chk.c: New file.
42319 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42320 * wcsmbs/test-wmemcmp.c: Likewise.
42321 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42322 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42324 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42326 * string/Makefile (strop-tests): Add memcmp.
42327 * string/test-wmemcmp.c: New file.
42328 * string/test-memcmp.c: Add wmemcmp support.
42330 2011-09-08 Roland McGrath <roland@hack.frob.com>
42333 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42336 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42337 garbage value in a __mach_port_mod_refs call in the cases of the
42338 task-self and thread-self ports.
42340 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42342 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42344 2011-09-08 Andreas Schwab <schwab@redhat.com>
42346 * elf/dl-load.c (lose): Check for non-null L.
42348 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42350 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42352 * elf/dl-libc.c (dlerror_run): Pass back error code from
42356 * elf/dl-load.c (lose): Free l_origin if it is valid.
42358 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42361 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42362 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42365 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42367 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42369 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42370 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42371 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42372 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42373 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42374 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42375 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42376 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42377 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42378 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42380 2011-08-15 Alan Modra <amodra@gmail.com>
42383 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42384 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42385 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42386 ppc_mcount to static-only-routines.
42387 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42389 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42390 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42392 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42394 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42395 for finite and infinity parameters.
42397 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42400 and add nop instructions for throughput optimization.
42401 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42403 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42406 aligned copy for power7 with vector-scalar instructions.
42407 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42409 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42414 2011-09-07 Andreas Schwab <schwab@redhat.com>
42417 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42420 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42422 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42423 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42424 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42425 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42428 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42430 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42431 Forgot to demangle the pointer.
42433 * sysdeps/i386/sysdep.h: Define atom_text_section.
42434 * sysdeps/x86_64/sysdep.h: Likewise.
42435 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42436 section with atom_text_section.
42437 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42438 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42439 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42441 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42444 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42445 already be defined. Change to take two parameters and don't assign
42446 result to variable. Adjust all users.
42447 Define INTERNAL_GETTIME if not already defined.
42448 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42451 HAVE_CLOCK_GETTIME_VSYSCALL.
42452 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42455 gettimeofday vsyscall, just use time.
42457 2011-09-06 Andreas Schwab <schwab@redhat.com>
42459 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42462 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42464 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42468 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42469 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42470 syscall if possible.
42472 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42474 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42475 e_ident. Don't pass to find_mapsXX.
42476 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42478 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42481 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42482 * sysdeps/x86_64/multiarch/strchr.S: Update.
42483 Check bit_slow_BSF bit.
42484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42486 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42488 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42491 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42493 (tryshell): Define.
42494 (__spawni): Change last parameter to be flag. Test
42495 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42496 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42497 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42498 * posix/spawni.c: Likewise.
42499 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42500 * posix/spawnp.c: Likewise. Change normal version to use
42501 SPAWN_XFLAGS_USE_PATH.
42502 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42503 SPAWN_XFLAGS_TRY_SHELL.
42506 * posix/glob.h: Remove gcc 1.x support.
42509 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42511 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42514 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42516 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42517 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42518 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42519 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42521 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42523 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42525 * sysdeps/x86_64/wcscmp.S: New file.
42527 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42528 wcscmp-c wcscmp-sse2
42529 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42530 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42531 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42532 * wcsmbs/wcscmp.c: Allow renaming.
42534 2011-09-05 David S. Miller <davem@davemloft.net>
42536 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42537 stack slot, rather than the struct return pointer slot.
42538 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42539 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42541 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42543 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42545 * po/ja.po: Update from translation team.
42548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42549 kernel in 64-bit binaries.
42551 2011-09-01 David S. Miller <davem@davemloft.net>
42553 * elf/elf.h (HWCAP_SPARC_*): Move to..
42554 * sysdeps/sparc/sysdep.h: this new file and add new values.
42555 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42556 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42557 _DL_HWCAP_COUNT to 24.
42558 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42560 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42561 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42562 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42564 instead of magic constants.
42565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42567 2011-08-31 David S. Miller <davem@davemloft.net>
42569 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42571 Reimplement to do errno handling inline.
42572 (SYSCALL_ERROR_HANDLER): New macro.
42573 (__SYSCALL_STRING): Do not do errno handling in asm.
42574 (__CLONE_SYSCALL_STRING): Delete.
42575 (__INTERNAL_SYSCALL_STRING): Delete.
42576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42577 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42578 (PSEUDO): Reimplement to do errno handling inline.
42579 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42580 (SYSCALL_ERROR_HANDLER): New macro.
42581 (__SYSCALL_STRING): Do not do errno handling in asm.
42582 (__CLONE_SYSCALL_STRING): Delete.
42583 (__INTERNAL_SYSCALL_STRING): Delete.
42584 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42585 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42587 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42588 (inline_syscall*): Add 'err' argument.
42589 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42590 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42591 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42592 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42594 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42595 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42597 2011-08-30 Andreas Schwab <schwab@redhat.com>
42599 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42601 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42603 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42606 2011-08-24 David S. Miller <davem@davemloft.net>
42608 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42610 2011-08-24 Andreas Schwab <schwab@redhat.com>
42612 * elf/Makefile: Add rules to build and run unload8 test.
42613 * elf/unload8.c: New file.
42614 * elf/unload8mod1.c: New file.
42615 * elf/unload8mod1x.c: New file.
42616 * elf/unload8mod2.c: New file.
42617 * elf/unload8mod3.c: New file.
42619 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42622 2011-08-23 David S. Miller <davem@davemloft.net>
42624 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42625 subtract stack bias.
42626 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42627 %sp not %fp in calculations.
42628 (_JMPBUF_UNWINDS_ADJ): Likewise.
42630 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42631 (aio_suspend): Call it to force an exception region around the
42632 AIO_MISC_WAIT() invocation.
42634 2011-08-23 Andreas Schwab <schwab@redhat.com>
42636 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42639 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42641 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42643 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42644 and <dl-machine.h>.
42645 (Elf64_FuncDesc): Remove.
42647 2011-08-22 David S. Miller <davem@davemloft.net>
42649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42650 sigaltstack check, add missing cfi directives.
42651 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42652 missing cfi directives, and sigaltstack handling.
42654 2011-08-16 Andreas Schwab <schwab@redhat.com>
42657 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42658 object is seen twice.
42659 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42661 * elf/Makefile (distribute): Add tst-initorder2.c.
42662 (tests): Add tst-initorder2.
42663 (modules-names): Add tst-initorder2a tst-initorder2b
42664 tst-initorder2c tst-initorder2d. Add rules to build them.
42665 ($(objpfx)tst-initorder2.out): New rule.
42666 * elf/tst-initorder2.c: New file.
42667 * elf/tst-initorder2.exp: New file.
42669 2011-08-22 Andreas Schwab <schwab@redhat.com>
42671 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42673 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42674 dependencies back to end of function.
42676 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42677 $(elfobjdir)/ld.so.
42679 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42681 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42682 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42684 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42685 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42686 of __vdso_gettimeofday.
42687 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42688 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42690 (_libc_vdso_platform_setup): Remove initialization of
42691 __vdso_gettimeofday and __vdso_time.
42693 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42695 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42696 and fgetc_unlocked.
42697 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42700 * elf/dl-open.c (add_to_global): Report additions to the global scope
42701 for LD_DEBUG=scopes.
42702 (dl_open_worker): Also print scope of newly loaded dependencies.
42703 (_dl_show_scope): Indicate if there is no scope.
42706 * stdio-common/Makefile (tests): Add bug24.
42707 * stdio-common/bug24.c: New file.
42709 2011-08-19 Andreas Jaeger <aj@suse.de>
42712 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42713 non-existant file when using close-on-exec mode.
42715 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42718 the very first instruction.
42720 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42721 the CFI state in the end.
42722 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42723 inclusion of dl-trampoline.h.
42724 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42726 2011-08-19 Andreas Schwab <schwab@redhat.com>
42728 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42729 expectations for long double.
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42732 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42734 2011-08-14 David S. Miller <davem@davemloft.net>
42736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42737 artificual limit depends upon the system page size.
42739 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42741 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42742 * resolv/Makefile: Define CFLAGS-libresolv.
42744 2011-08-17 Andreas Schwab <schwab@redhat.com>
42746 * nss/makedb.c (compute_tables): Make variables used in nested
42749 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42751 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42752 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42753 if buffer was too small.
42755 * elf/pldd.c (main): Attach to all threads in the process.
42756 Rewrite /proc handling to use *at functions.
42758 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42760 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42761 specifies first scope to show.
42762 (dl_open_worker): Update callers. Move printing scope of new
42763 object to before the relocation.
42764 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42765 * sysdeps/generic/ldsodefs.h: Update declaration.
42767 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42768 string for the scope number.
42770 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42772 * nscd/servicescache.c (cache_addserv): Make sure written is always
42775 2011-08-14 Roland McGrath <roland@hack.frob.com>
42777 * sysdeps/i386/i486/bits/atomic.h
42778 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42779 statement expression, so as to suppress "set but not used" warning.
42780 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42782 * string/strncat.c (STRNCAT): Use prototype definition.
42784 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42785 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42787 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42788 (localedef-modules): Add localedef.
42789 (locale-modules): Add locale.
42791 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42792 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42793 to avoid a warning.
42795 2011-08-14 David S. Miller <davem@davemloft.net>
42797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42798 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42800 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42802 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42803 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42804 * elf/rtld.c (dl_main): Set l_name of vDSO.
42805 Call _dl_show_scope when DL_DEBUG_SCOPES.
42806 (process_dl_debug): Recognize scopes flag and also set it for all.
42807 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42808 Declare _dl_show_scope.
42810 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42811 (do_dlopen): Pass caller_dlopen to dl_open.
42812 (__libc_dlopen_mode): Initialize caller_dlopen.
42814 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42815 of libc. Make tolower call locale-independent. Optimize a bit by
42816 using isdigit instead of isalnum.
42817 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42819 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42821 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42822 was a dependency or dynamically loaded.
42824 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42826 * intl/l10nflist.c: Allow architecture-specific pop function.
42827 * sysdeps/x86_64/l10nflist.c: New file.
42829 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42832 2011-08-10 Andreas Schwab <schwab@redhat.com>
42834 * include/dirent.h: Add libc_hidden_proto for scandirat and
42835 scandirat64. Don't declare __scandirat64.
42836 * dirent/scandirat.c: Add libc_hidden_def.
42837 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42838 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42840 2011-08-10 David S. Miller <davem@davemloft.net>
42842 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42848 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42850 * Versions.def [libc]: Add GLIBC_2.15.
42851 * dirent/Makefile (routines): Add scandirat and scandirat64.
42852 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42854 * dirent/dirent.h: Declare scandirat and scandirat64.
42855 * dirent/scandirat.c: New file.
42856 * dirent/scandirat64.c: New file.
42857 * sysdeps/wordsize-64/scandirat.c: New file.
42858 * sysdeps/wordsize-64/scandirat64.c: New file.
42859 * dirent/opendir.c: Define opendirat.
42860 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42862 * dirent/scandir64.c: Adjust for scandir.c change.
42863 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42864 __scandirat64, and __scandir_cancel_handler.
42865 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42866 additional parameter and use openat instead of open (outside of ld.so).
42867 Add new __opendir as wrapper around __opendirat.
42868 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42869 here without requiring old scandirat implementation.
42871 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42873 * dirent/scandir.c (cancel_handler): Renamed to
42874 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42875 defined. Adjust users.
42876 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42877 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42879 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42881 * string/test-string.h (IMPL): Use __STRING to expand name and then
42884 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42887 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42889 * string/Makefile: Update.
42890 (strop-tests): Append strncat.
42891 * string/test-wcscmp.c: New file.
42892 New comprehensive test for wcscmp.
42893 * string/test-strcmp.c: Update.
42894 (WIDE): New define.
42896 2011-07-22 Andreas Schwab <schwab@redhat.com>
42898 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42901 2011-07-26 Andreas Schwab <schwab@redhat.com>
42903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42904 encoding to ACE if AI_IDN.
42906 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42909 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42911 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42914 Fix overflow bug in strncat.
42915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42917 * string/test-strncat.c: Update.
42918 Add new tests for checking overflow bugs.
42920 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42923 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42924 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42925 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42927 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42928 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42929 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42930 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42933 (USE_AS_STRCAT): Define.
42934 Add strcat and strncat support.
42935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42937 2011-07-25 Andreas Schwab <schwab@redhat.com>
42939 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42940 __n bigger than INT_MAX+1.
42941 (__strncmp_g): Likewise.
42943 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42945 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42946 * libio/stido.h: Likewise.
42948 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42950 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42953 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42956 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42960 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42965 (_dl_x86_64_save_sse): Likewise.
42967 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42971 (_dl_x86_64_save_sse): Likewise.
42973 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42975 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42977 2011-07-21 Andreas Schwab <schwab@redhat.com>
42979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42981 (_dl_x86_64_save_sse): Use correct AVX check.
42983 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42985 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42986 bug in strncpy/strncat.
42987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42989 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42991 * string/tester.c (test_strcat): Add tests for different alignments
42992 of source and destination.
42993 (test_strncat): Likewise.
42995 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42998 * posix/glob.c (glob): Check passed in values before using them in
42999 expressions to avoid some overflows.
43000 (glob_in_dir): Likewise.
43003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43004 check for AVX enablement so that we don't crash with old kernels and
43006 * elf/tst-audit4.c: Add same checks here.
43007 * elf/tst-audit6.c: Likewise.
43009 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43011 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43013 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43015 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43017 * po/cs.po: Update from translation team.
43018 * po/bg.po: Likewise.
43020 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43022 * misc/sys/cdefs.h: Add support for const attribute.
43023 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43024 to gnu_dev_{major,minor,makedev} functions.
43026 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43028 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43030 2011-07-20 Andreas Schwab <schwab@redhat.com>
43032 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43035 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43038 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43039 register in order to avoid conflicts with the soft frame pointer
43040 being held in r11 when necessary.
43041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43042 (INTERNAL_VSYSCALL_NCS): Likewise.
43044 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43046 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43047 * elf/dl-fini.c (_dl_fini): Adjust caller.
43048 * elf/dl-close.c (_dl_close_worker): Likewise.
43049 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43051 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43053 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43054 "aux_cache->nlibs < 0".
43056 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43057 in the reload-count case.
43059 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43061 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43062 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43063 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43064 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43065 * sysdeps/x86_64/multiarch/strcat.S: New file.
43066 * sysdeps/x86_64/multiarch/strncat.S: New file.
43067 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43068 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43069 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43070 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43072 (USE_AS_STRCAT): Define.
43073 Add strcat and strncat support.
43074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43076 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43077 * string/strncat.c: Update.
43078 (USE_AS_STRNCAT): Define.
43079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43080 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43082 * sysdeps/x86_64/multiarch/init-arch.h
43083 (bit_Prefer_PMINUB_for_stringop): New.
43084 (index_Prefer_PMINUB_for_stringop): Likewise.
43085 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43086 bit_Prefer_PMINUB_for_stringop.
43088 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43090 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43092 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43093 of casting of buffer.
43094 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43095 buffer32 and buffer64.
43096 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43097 writes instead of casting of buffer.
43098 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43100 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43103 2011-07-19 Andreas Schwab <schwab@redhat.com>
43105 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43107 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43109 * nscd/nscd.c (termination_handler): Don't do anything for a database
43110 if it has not yet been initialized.
43112 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43114 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43116 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43118 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43120 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43122 * po/nl.po: Update from translation team.
43123 * po/sv.po: Likewise.
43125 2011-07-16 Roland McGrath <roland@hack.frob.com>
43127 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43128 now disallowed by GCC.
43130 * configure.in (use-default-link): Default to yes if a test -shared
43131 link meets our qualifications.
43132 * configure: Regenerated.
43134 * config.make.in (output-format): New variable.
43135 * configure.in: Check for ld --print-output-format support.
43136 * configure: Regenerated.
43137 * Makerules ($(common-objpfx)format.lds)
43138 [$(output-format) != unknown]: Just use $(output-format),
43139 instead of the linker-script munging.
43141 2011-07-14 Roland McGrath <roland@hack.frob.com>
43143 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43144 of $(common-objpfx)shlib.lds.
43145 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43147 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43148 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43150 * configure.in (-z relro check): Adjust test code to add a large
43151 writable data section after it.
43152 * configure: Regenerated.
43154 2011-07-11 Roland McGrath <roland@hack.frob.com>
43156 * configure.in (-z relro check): Fix test code to make the variable
43158 * configure: Regenerated.
43160 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43162 * nscd/nscd.h (struct traced_file): Define.
43163 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43164 elements. Add traced_files.
43165 (inotify_fd): Declare.
43166 (register_traced_file): Declare.
43167 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43168 (inotify_fd): Export.
43169 (resolv_conf_descr): Remove.
43170 (nscd_init): Move inotify descriptor creation to main.
43171 Don't register files for notification here.
43172 (register_traced_file): New function.
43173 (invalidate_cache): Don't use reset_res to determine whether to call
43174 res_init, go through the list of registered files.
43175 (main_loop_poll): The inotify descriptors are now stored in the
43176 structures for the traced files.
43177 (main_loop_epoll): Likewise
43178 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43179 to __nss_disable_nscd.
43180 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43181 for a database anymore. Check the records for all the registered
43183 * nss/Makefile (libnss_files-routines): Add files-init.
43184 (libnss_db-routines): Add db-init.
43185 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43186 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43187 * nss/nss_db/db-init.c: New file.
43188 * nss/nss_files/files-init.c: New file.
43189 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43190 __nss_lookup_function.
43191 (__nss_lookup_function): Call nss_load_library.
43192 (nss_load_all_libraries): New function.
43193 (__nss_disable_nscd): Take parameter with callback function for files
43194 to register. Set is_nscd. Load all the DSOs for the NSS modules
43195 used for the cached services.
43196 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43197 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43198 options for features to all the files in nscd.
43200 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43202 2011-07-10 Roland McGrath <roland@hack.frob.com>
43204 * csu/elf-init.c (__libc_csu_init): Comment typo.
43206 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43208 * po/pl.po: Update from translation team.
43209 * po/ja.po: Likewise.
43210 * po/ru.po: Likewise.
43211 * po/ko.po: Likewise.
43212 * po/fr.po: Likewise.
43214 2011-07-09 Roland McGrath <roland@hack.frob.com>
43216 * configure.in (.ctors/.dtors header and trailer check):
43217 Use an empirical test on a built program.
43218 * configure: Regenerated.
43220 * configure.in (-z relro check): Use an empirical test on a built DSO.
43221 Detect, but do not require, on ia64.
43222 * configure: Regenerated.
43224 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43225 Update tests that use readelf to use $READELF instead.
43226 * configure: Regenerated.
43228 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43230 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43231 if the result is not used.
43233 2011-07-05 Andreas Jaeger <aj@suse.de>
43236 * stdlib/tst-strtod.c: Add testcase.
43238 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43240 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43241 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43242 The latter has a higher limit. Take additional parameter to pass to
43244 (__pathconf): Pass file to __statfs_link_max.
43245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43247 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43251 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43255 (__statfs_filesize_max): Likewise.
43256 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43258 2011-07-05 Andreas Jaeger <aj@suse.de>
43260 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43262 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43264 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43266 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43269 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43271 * Makefile (strop-tests): Add strncat.
43272 * string/test-strncat.c: New file.
43274 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43276 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43278 2011-06-21 Andreas Jaeger <aj@suse.de>
43280 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43281 Copy rule from iconvdata/Makefile.
43283 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43286 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43287 but no long options are defined, just return 'W'.
43289 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43292 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43294 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43296 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43298 (innetgr): Likewise.
43300 2011-07-05 Roland McGrath <roland@hack.frob.com>
43302 * config.make.in (install_root): Default to $(DESTDIR).
43304 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43306 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43308 2011-07-02 Roland McGrath <roland@hack.frob.com>
43310 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43312 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43313 containing directory rather than embedding absolute directory names.
43315 * scripts/check-local-headers.sh: Rewritten using awk.
43316 Match by word, not by line. Print error messages for matches.
43317 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43319 * Makerules [shlib-lds-flags empty]:
43320 ($(common-objpfx)libc_pic.opts): New target.
43321 ($(common-objpfx)libc_pic.os.clean): New target.
43322 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43324 * config.make.in (OBJCOPY): New variable.
43325 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43326 * configure: Regenerated.
43328 * config.make.in (use-default-link): New variable.
43329 * configure.in (use_default_link): Grok --with-default-link to set it.
43330 * configure: Regenerated.
43331 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43332 (shlib-lds, shlib-lds-flags): Define to empty.
43334 * Makerules (shlib-lds): New variable.
43335 (shlib-lds-flags): New variable.
43336 (build-shlib, build-moduile, build-module-asneeded): Use it.
43337 ($(common-objpfx)libc.so): Use $(shlib-lds).
43338 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43339 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43341 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43342 DT_FLAGS/DT_FLAGS_1 with zero flags.
43344 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43345 linker script munging.
43347 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43349 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43351 * crypt/sha512.c (sha512_process_block): Perform total addition using
43352 128-bit if possible.
43353 (__sha512_finish_ctx): Likewise.
43354 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43356 * crypt/sha256.c (SWAP64): Define.
43357 (sha256_process_block): Perform total addition using 64-bit if
43359 (__sha256_finish_ctx): Likewise.
43361 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43363 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43365 * nscd/hstcache.c (cache_addhst): Likewise.
43366 * nscd/grpcache.c (cache_addgr): Likewise.
43367 * nscd/aicache.c (addhstaiX): Likewise
43368 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43370 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43372 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43374 * nscd/hstcache.c (cache_addhst): Likewise.
43375 * nscd/grpcache.c (cache_addgr): Likewise.
43376 * nscd/aicache.c (addhstaiX): Likewise
43378 2011-07-01 Andreas Schwab <schwab@redhat.com>
43380 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43381 domain only when needed.
43383 2011-06-30 Andreas Schwab <schwab@redhat.com>
43385 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43386 is always restored.
43388 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43390 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43391 are re-adding the entry.
43392 * nscd/servicescache.c (cache_addserv): Likewise.
43394 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43396 * sysdeps/generic/dl-irel.h: fix protection against multiple
43398 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43400 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43403 * malloc/memusage.sh: Fix quoting in message.
43404 * debug/xtrace.sh: Likewise.
43406 * configure.in: Remove support for --experimental-malloc option, make
43408 * config.make.in: Likewise.
43409 * malloc/Makefile: Likewise.
43411 2011-06-27 Andreas Schwab <schwab@redhat.com>
43413 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43414 two-byte characters.
43416 2011-06-27 Roland McGrath <roland@hack.frob.com>
43418 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43419 AC_CACHE_CHECK invocation.
43420 * configure: Regenerated.
43422 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43424 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43427 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43428 bit from old_res_options.
43430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43432 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43433 value type for setfct.
43435 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43438 __gettimeofday instead of gettimeofday.
43440 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43442 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43444 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43446 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43451 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43454 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43455 strcpy-sse2-unaligned strncpy-sse2-unaligned
43456 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43457 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43458 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43459 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43460 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43462 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43463 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43464 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43465 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43466 (STRCPY): Support SSE2 and SSSE3 versions.
43468 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43471 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43472 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43473 kernels which artificially limit size of requests.
43475 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43478 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43479 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43480 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43481 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43482 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43483 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43484 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43486 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43487 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43488 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43489 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43490 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43491 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43493 Enable unaligned load optimization for Intel Core i3, i5 and i7
43495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43497 (index_Fast_Unaligned_Load): Define.
43498 (HAS_FAST_UNALIGNED_LOAD): Define.
43500 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43502 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43504 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43508 until it is clear that the information is realy needed.
43509 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43511 2011-06-22 Andreas Schwab <schwab@redhat.com>
43513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43515 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43518 /sys/devices/system/cpu/online if it is usable.
43520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43521 reading the information from the /proc filesystem to once a second.
43523 2011-06-21 Andreas Jaeger <aj@suse.de>
43525 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43526 NULL after inclusion of kernel headers.
43528 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43530 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43531 calls to internal_setent.
43534 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43535 addresses using gethostbyname4_r ignore IPv4 addresses.
43537 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43538 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43540 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43542 2011-06-20 David S. Miller <davem@davemloft.net>
43544 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43546 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43548 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43549 (elf_irel): Use it.
43550 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43551 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43552 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43553 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43554 * sysdeps/x86_64/dl-irel.h: Likewise.
43556 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43557 * elf/dl-sym.c: Likewise.
43559 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43561 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43562 need to dereference resplen2.
43564 2011-06-14 Andreas Schwab <schwab@redhat.com>
43566 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43568 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43570 * Makeconfig: Define vardbdir and inst_vardbdir.
43571 * nss/Makefile: Add rules to install db-Makefile.
43573 * nss/nss_db/db-XXX.c: Cleanup.
43575 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43576 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43578 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43579 * nss/makedb.c: Implement -g option to specify that value strings
43580 are generated and should not be added to table iterated over for
43582 * nss/nss_db/db-initgroups.c: New file.
43584 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43587 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43588 (internal_getgrouplist): Adjust to name change.
43589 Update use_initgroups_entry if this is not the first call.
43590 * nss/databases.def: Add initgroups entry.
43592 * nss/makedb.c (compute_tables): Check result of multiple hash table
43593 sizes to minimize maximum chain length.
43595 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43597 * Versions.def: Add entry for libnss_db.
43598 * shlib-versions: Likewise.
43599 * nss/Makefile: Add rules to build libnss_db.
43600 * nss/Versions: Add libnss_db information. Organize libnss_files
43602 * nss/db-Makefile: Add gshadow support. Change rules for the new
43603 makedb progra. Some minor improvements to generate smaller files.
43604 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43606 * nss/makedb.c: ...here.
43607 Improve database format to be smaller and require less memory at
43609 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43611 * nss/nss_db/db-netgrp.c: Likewise.
43612 * nss/nss_db/db-open.c: Likewise.
43613 * nss/nss_files/flies-XXX.x: Adjust comments.
43614 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43615 * nss/nss_files/files-grp.c: Likewise.
43616 * nss/nss_files/files-hosts.c: Likewise.
43617 * nss/nss_files/files-network.c: Likewise.
43618 * nss/nss_files/files-proto.c: Likewise.
43619 * nss/nss_files/files-pwd.c: Likewise.
43620 * nss/nss_files/files-rpc.c: Likewise.
43621 * nss/nss_files/files-service.c: Likewise.
43622 * nss/nss_files/files-sgrp.c: Likewise.
43623 * nss/nss_files/files-spwd.c: Likewise.
43624 * nss/nss_db/db-alias.c: Removed.
43625 * nss/nss_db/dummy-db.h: Removed.
43627 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43629 * nss/makedb.c: Rewritten to not use database library.
43630 * nss/Makefile: Update to build new makedb program.
43632 2011-06-14 Andreas Jaeger <aj@suse.de>
43634 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43635 memset declaration.
43637 2011-06-10 Andreas Schwab <schwab@redhat.com>
43639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43642 2011-06-10 Roland McGrath <roland@hack.frob.com>
43644 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43645 * elf/Makefile ($(objpfx)ld.so): Likewise.
43647 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43648 Don't list ld.so twice in dependencies.
43650 * posix/bug-regex31.c: Include <stdlib.h>.
43652 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43654 * nis/nss_compat/compat-spwd.c
43655 (getspent_next_nss_netgr): Remove unused variable.
43656 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43658 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43659 nonmembers" output to use the right array.
43661 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43663 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43665 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43666 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43667 * catgets/gencat.c (read_input_file): Likewise.
43668 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43670 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43671 variable definition inside #if's controlling its use.
43673 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43677 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43679 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43682 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43684 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43685 * configure: Regenerated.
43687 * Makerules: Revert last change.
43688 * elf/Makefile: Likewise.
43690 2011-06-09 Roland McGrath <roland@hack.frob.com>
43692 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43693 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43694 (reloc-link): Likewise.
43696 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43698 * elf/Makefile: Add rules to build pldd.
43699 * elf/pldd.c: New file.
43700 * elf/pldd-xx.c: New file.
43702 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43704 * version.h: Update for 2.15 development version.
43706 2011-06-07 David S. Miller <davem@davemloft.net>
43708 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43710 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43711 elf_machine_lazy_rel): Likewise.
43712 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43713 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43714 elf_machine_lazy_rel): Likewise.
43715 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43716 dl_hwcap via passed in argument.
43717 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43720 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43722 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43724 2011-06-06 Roland McGrath <roland@hack.frob.com>
43727 * manual/fdl-1.1.texi: New file, verbatim from:
43728 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43729 * manual/lgpl-2.1.texi: New file, verbatim from:
43730 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43731 * manual/Makefile (licenses): New variable, list those new file names.
43733 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43735 * manual/fdl.texi: File removed.
43736 * manual/lesser.texi: File removed.
43737 * manual/libc.texinfo (Copying, Documentation License):
43738 Use new @include file names, put @appendix directive before @include.
43740 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43743 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43744 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43745 (mq_open): Add __NTH.
43747 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43750 Assume Intel Core i3/i5/i7 processor if AVX is available.
43752 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43757 2011-05-31 Andreas Schwab <schwab@redhat.com>
43759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43760 memory. Use alloca_account. Fix memory leak when retrying.
43762 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43764 * version.h (RELEASE): Bump for 2.14 release.
43765 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43767 * config.make.in (RANLIB): Remove entry.
43769 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43771 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43772 (libc.pot): Work around missing support for .ksh extension in xgettext.
43775 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43776 if both request failed.
43777 (send_dg): In case of server errors clear resplen or *resplen2.
43780 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43781 when there are multiple maps.
43782 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43783 (_dl_fini): Remove test here.
43785 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43787 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43790 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43791 bit from old_res_options.
43792 (gaih_inet): Likewise.
43795 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43798 * resolv/res_init.c (res_setoptions): Make the code more compact.
43801 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43805 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43807 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43810 * malloc/malloc.h: Declare malloc hook variables as volatile.
43812 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43816 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43817 raise in the comment.
43818 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43819 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43822 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43825 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43826 grow the buffers more if it already has to be sufficient.
43827 (build_wcs_upper_buffer): Likewise.
43828 * posix/regexec.c (check_matching): Likewise.
43829 (clean_state_log_if_needed): Likewise.
43830 (extend_buffers): Don't enlarge buffers beyond size of the input
43832 Patches mostly by Emil Wojak <emil@wojak.eu>.
43833 * posix/bug-regex32.c: New file.
43834 * posix/Makefile (tests): Add bug-regex32.
43836 * locale/findlocale.c (_nl_find_locale): Return right away if
43837 _nl_explode_name failed.
43838 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43842 * debug/xtrace.sh: Unify messages.
43843 * malloc/memusage.sh: Likewise.
43846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43847 time symbol from vDSO. Substitute with vsyscall if not available.
43848 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43851 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43852 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43853 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43854 Add sendmmsg and internal_sendmmsg.
43855 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43856 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43857 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43859 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43860 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43861 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43863 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43866 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43867 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43869 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43873 * iconvdata/Makefile (tests): Add bug-iconv9.
43874 * iconvdata/bug-iconv9.c: New file.
43876 2011-05-27 Andreas Schwab <schwab@redhat.com>
43879 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43881 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43884 (struct user_regs_struct): Change intcs field back to cs.
43886 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43888 * po/ja.po: Update from translation team.
43890 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43893 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43896 2011-05-20 Andreas Schwab <schwab@redhat.com>
43898 * stdlib/longlong.h: Update from GCC.
43900 2011-05-23 Andreas Schwab <schwab@redhat.com>
43902 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43904 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43905 Add parameter name.
43906 (__sysconf): Pass it down.
43908 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43911 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43913 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43914 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43915 add in in __libc_use_alloca calls. Adjust callers.
43916 (glob): Use malloc in some situations.
43918 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43919 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43922 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43924 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43925 and CLOCK_BOOTTIME_ALARM.
43928 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43931 * string/_strerror.c (__strerror_r): Print negative errors as signed
43935 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43936 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43937 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43939 * configure.in: Fix typo in redirection and correct removal of test
43940 files in two cases.
43943 * locale/setlocale.c (new_composite_name): Fix test to check for
43944 identical name of all categories.
43947 * libio/filedoalloc.c (local_isatty): New function.
43948 (_IO_file_doallocate): Use local_isatty.
43949 * stdio-common/perror.c (perror): In case a new stream is used
43950 forward the stream error.
43951 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43954 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43959 * include/alloca.h (extend_alloca_account): Define.
43962 * posix/regex.h: Fix comments with documentation of user-accessible
43963 fields after compilation and describe correct free'ing of pattern
43964 after re_compile_pattern.
43965 Patch by Reuben Thomas <rrt@sc3d.org>.
43967 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43969 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43970 and -mno-altivec to prevent the compiler from using Altivec and/or
43971 VSX instructions when the corresponding registers are not available.
43973 2011-05-19 Andreas Schwab <schwab@redhat.com>
43975 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43977 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43979 * libio/freopen.c (freopen): Use __dup2, not dup2.
43980 * libio/freopen64.c (freopen64): Likewise.
43982 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43985 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43986 * math/Makefile (tests): Add test-powl.
43987 (CFLAGS-test-powl.c): Define.
43988 * math/test-powl.c: New file.
43990 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43992 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43994 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43997 * iconvdata/gb18030.c: Update to GB18020-2005.
43999 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44001 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44002 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44003 Patch by Aharon Robbins <arnold@skeeve.com>.
44006 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44010 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44011 through underflows.
44014 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44015 point to strings before performing equality test for error_one_per_line
44019 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44023 (struct user_fpregs_struct): Avoid __uint*_t types.
44026 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44027 symbol info. Use it instead of calling _dl_addr locally.
44028 (lock_and_info): New function.
44029 (tr_freehook): Call lock_and_info and pass symbol info as additional
44030 parameter to tr_where.
44031 (tr_mallochook): Likewise.
44032 (tr_reallochook): Likewise.
44033 (tr_memalignhook): Likewise.
44035 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44036 used and couldn't be at all thread-safe.
44038 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44040 * libio/freopen.c (freopen): Don't close old file descriptor
44041 before the new one is opened. Instead dup the new file descriptor
44042 to the old one after the new stream is created.
44043 * libio/freopen64.c (freopen64): Likewise.
44044 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44045 * libio/fileops.c (_IO_new_file_close_it): Handle new
44046 _IO_FLAGS2_NOCLOSE flag.
44047 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44048 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44049 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44050 _IO_FLAGS2_NOCLOSE flag.
44051 * include/unistd.h: Add hidden_proto for dup3.
44052 Define __have_dup3.
44053 * io/dup3.c: Define hidden symbol.
44054 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44057 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44058 when an incomplete long option is used.
44059 * posix/tst-getopt_long1.c: New file.
44060 * posix/Makefile (tests): Add tst-getopt_long1.
44063 * scripts/config.guess: Update from autoconf-2.68.
44064 * scripts/config.sub: Likewise.
44067 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44069 (has_cpuclock): ...this. New function.
44070 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44071 macro here based on has_cpuclock code.
44074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44075 First byte (not low byte) is now always NUL.
44076 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44079 Use non-cancelable interfaces.
44082 * locale/iso-639.def: Add entry for Sorani.
44085 * include/stdlib.h: Move include protection to the right place.
44086 Define abort_msg_s. Declare __abort_msg with it.
44087 * stdlib/abort.c (__abort_msg): Adjust type.
44088 * assert/assert.c (__assert_fail_base): New function. Majority
44089 of code from __assert_fail. Allocate memory for __abort_msg with
44091 (__assert_fail): Now call __assert_fail_base.
44092 * assert/assert-perr.c: Remove bulk of implementation. Use
44093 __assert_fail_base.
44094 * include/assert.hL Declare __assert_fail_base.
44095 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44097 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44099 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44103 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44104 until all modules are registered in the DTV.
44105 * elf/Makefile: Add rules to build and run tst-tls19.
44106 * elf/tst-tls19.c: New file.
44107 * elf/tst-tls19mod1.c: New file.
44108 * elf/tst-tls19mod2.c: New file.
44109 * elf/tst-tls19mod3.c: New file.
44110 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44113 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44117 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44118 two-byte sequence errors.
44119 * iconvdata/Makefile (tests): Add bug-iconv8.
44120 * iconvdata/bug-iconv8.c: New file.
44123 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44126 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44129 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44130 (dummy_getcfa): New function.
44131 (init): Get _Unwind_GetCFA address, use dummy if not found.
44132 (backtrace_helper): In recursion check, also check whether CFA changes.
44133 (__backtrace): Completely initialize arg.
44135 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44136 storing incomplete byte sequence in state object. Avoid testing for
44137 guaranteed too small input if we know there is enough data available.
44139 2011-05-11 Andreas Schwab <schwab@redhat.com>
44141 * Makeconfig (+link-pie): Indent.
44142 * Rules (binaries-pie): Define if $(have-fpie) and
44144 (binaries-shared): Also filter out $(binaries-pie).
44145 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44146 * nscd/Makefile (others-pie): Add nscd.
44147 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44148 ($(objpfx)nscd): Remove command override.
44149 * login/Makefile (others-pie): Add pt_chown.
44150 ($(objpfx)pt_chown): Remove command override.
44151 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44152 remove command overrides.
44154 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44156 * libio/tst_putwc.c: Fix error messages.
44159 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44160 currently writing and seek to current position when not.
44161 * libio/Makefile (tests): Add bug-fclose1.
44162 * libio/bug-fclose1.c: New file.
44164 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44167 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44168 don't set DF_1_NODELETE here.
44169 (do_lookup_x): When entering new entry test for copy relocation
44170 and if necessary set DF_1_NODELETE flag.
44171 * elf/tst-unique4.cc: New file.
44172 * elf/tst-unique4.h: New file.
44173 * elf/tst-unique4lib.cc: New file.
44174 * elf/Makefile: Add rules to build and run tst-unique4.
44175 Patch by Piotr Bury <pbury@goahead.com>.
44177 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44180 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44183 * misc/mntent_r.c (addmntent): Flush the stream after the output
44186 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44187 (is_trusted_path_normalize): Skip initial colon. Append slash
44188 to empty buffer. Duplicate is_trusted_path code but allow
44189 constructed patch to be prefix.
44190 (is_dst): Allow $ORIGIN followed by /.
44191 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44192 Correct testing of result of is_trusted_path_normalize
44193 (decompose_rpath): Fix warning.
44195 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44198 * grp/initgroups.c (internal_getgrouplist): When we found the service
44199 list through the initgroups entry in nsswitch.conf do not always
44200 continue on a successful lookup. Don't always use the
44201 __nss_group_database value if it is set.
44202 * nss/nsswitch.conf (initgroups): Change action for successful db
44203 lookup to continue for compatibility.
44205 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44208 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44210 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44212 * iconvdata/tst-tables.sh: Likewise.
44213 * iconvdata/cp770.c: New file.
44214 * iconvdata/cp771.c: New file.
44215 * iconvdata/cp772.c: New file.
44216 * iconvdata/cp773.c: New file.
44217 * iconvdata/cp774.c: New file.
44218 * iconvdata/testdata/CP770: New file.
44219 * iconvdata/testdata/CP770..UTF8: New file.
44220 * iconvdata/testdata/CP771: New file.
44221 * iconvdata/testdata/CP771..UTF8: New file.
44222 * iconvdata/testdata/CP772: New file.
44223 * iconvdata/testdata/CP772..UTF8: New file.
44224 * iconvdata/testdata/CP773: New file.
44225 * iconvdata/testdata/CP773..UTF8: New file.
44226 * iconvdata/testdata/CP774: New file.
44227 * iconvdata/testdata/CP774..UTF8: New file.
44229 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44231 * iconvdata/gen-8bit-gap.sh: Likewise.
44232 * iconvdata/gen-8bit.sh: Likewise.
44234 * locale/iso-639.def: Add ary entry.
44237 * locale/C-translit.h.in: Add U20A1 transliteration.
44240 * locale/iso-639.def: Add wae entry.
44241 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44244 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44248 * locale/C-translit.h.in: Add entry for U20B9.
44249 Patch by pravin.d.s@gmail.com.
44251 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44254 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44255 ENAMETOOLONG use generic getcwd.
44256 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44257 in rtld. Use *stat64.
44258 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44259 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44260 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44261 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44262 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44263 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44264 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44265 __fstatat64 macros.
44266 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44267 * dirent/rewinddir.c: Add libc_hidden_def.
44268 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44269 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44271 * include/dirent.h (__alloc_dir): Add flags parameter.
44272 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44273 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44275 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44276 from fdopendir if O_CLOEXEC is already set.
44278 2011-03-15 Alan Modra <amodra@gmail.com>
44280 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44281 l_tls_firstbyte_offset non-zero. Save padding offset in
44282 l_tls_firstbyte_offset for later use.
44283 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44284 freeing static tls block.
44286 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44288 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44289 where #ifdef was intended. The intent is to prevent ARG_MAX from
44290 being defined by the kernel headers.
44292 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44295 * resolv/resolv.h: Define RES_NOTLDQUERY.
44296 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44297 no-tld-query and set RES_NOTLDQUERY.
44298 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44299 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44300 modern BIND to search name as TLD unless forbidden.
44302 2011-05-07 Petr Baudis <pasky@suse.cz>
44303 Ulrich Drepper <drepper@gmail.com>
44306 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44307 (is_trusted_path): ...to here.
44308 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44309 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44310 using is_trusted_path_normalize() in setuid scripts.
44312 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44315 __BEGIN/__END_DECLS.
44317 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44319 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44320 NSS_STATUS_NOTFOUND if no record was found.
44322 2011-05-05 Andreas Schwab <schwab@redhat.com>
44324 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44325 (headers-not-in-tirpc): Remove rpc/netdb.h
44326 * resolv/netdb.h: Revert last change.
44328 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44330 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44331 circular dependency between libgcc.a and libc.a.
44333 2011-05-05 Andreas Schwab <schwab@redhat.com>
44335 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44336 * nis/Makefile: Don't install rpcsvc/*.
44337 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44338 instead of <rpc/types.h>.
44339 (MAXHOSTNAMELEN): Define.
44341 2011-05-03 Andreas Schwab <schwab@redhat.com>
44343 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44345 2011-04-28 Maciej Babinski <mbabinski@google.com>
44348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44349 gethostbyname4_r when IPv6 results are possible.
44351 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44354 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44355 _PC_PIPE_BUF handling.
44357 2011-04-30 Bruno Haible <bruno@clisp.org>
44360 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44361 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44363 * inet/getnameinfo.c (getnameinfo): Likewise.
44365 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44367 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44368 to groups setting in database lookup.
44369 * nss/nsswitch.conf: Add initgroups entry.
44371 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44374 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44376 Patch by Eric Blake <eblake@redhat.com>.
44378 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44380 * sunrpc/Makefile (need-export-routines): Add svc_run.
44381 (routines): Remove svc_run.
44382 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44383 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44384 * sunrpc/svc_run.c (svc_run): Likewise.
44385 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44387 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44389 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44390 problem in reallocation in last patch.
44392 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44394 * sunrpc/Makefile: Move inclusion of Rules.
44396 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44398 * nss/nss_files/files-initgroups.c: New file.
44399 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44400 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44401 _nss_files_initgroups_dyn.
44403 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44405 * elf/elf.h (R_ARM_IRELATIVE): Define.
44407 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44409 * po/ru.po: Update from translation team.
44411 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44413 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44416 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44419 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44420 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44423 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44425 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44427 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44433 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44436 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44438 * stdlib/bug-getcontext.c: New file.
44439 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44441 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44443 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44444 instructions into .machine "z9-109".
44445 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44446 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44448 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44450 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44451 between environment variables and auxiliary vector.
44453 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44455 * Makefile: Add rules to build linkobj/libc.so.
44456 * include/libc-symbols.h: Define libc_hidden_nolink.
44457 * include/rpc/auth.h: Mark functions which are to be hidden.
44458 * include/rpc/auth_des.h: Likewise.
44459 * include/rpc/auth_unix.h: Likewise.
44460 * include/rpc/clnt.h: Likewise.
44461 * include/rpc/des_crypt.h: Likewise.
44462 * include/rpc/key_prot.h: Likewise.
44463 * include/rpc/pmap_clnt.h: Likewise.
44464 * include/rpc/pmap_prot.h: Likewise.
44465 * include/rpc/pmap_rmt.h: Likewise.
44466 * include/rpc/rpc_msg.h: Likewise.
44467 * include/rpc/svc.h: Likewise.
44468 * include/rpc/svc_auth.h: Likewise.
44469 * include/rpc/xdr.h: Likewise.
44470 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44471 * nss/Makefile: Likewise.
44472 * sunrpc/Makefile: Don't install headers. Build library with normal
44473 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44474 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44475 for the compat linking library. Remove use of INTDEF/INTUSE.
44476 * sunrpc/auth_none.c: Likewise.
44477 * sunrpc/auth_unix.c: Likewise.
44478 * sunrpc/authdes_prot.c: Likewise.
44479 * sunrpc/authuxprot.c: Likewise.
44480 * sunrpc/clnt_gen.c: Likewise.
44481 * sunrpc/clnt_perr.c: Likewise.
44482 * sunrpc/clnt_raw.c: Likewise.
44483 * sunrpc/clnt_simp.c: Likewise.
44484 * sunrpc/clnt_tcp.c: Likewise.
44485 * sunrpc/clnt_udp.c: Likewise.
44486 * sunrpc/clnt_unix.c: Likewise.
44487 * sunrpc/des_crypt.c: Likewise.
44488 * sunrpc/des_soft.c: Likewise.
44489 * sunrpc/get_myaddr.c: Likewise.
44490 * sunrpc/key_call.c: Likewise.
44491 * sunrpc/key_prot.c: Likewise.
44492 * sunrpc/netname.c: Likewise.
44493 * sunrpc/pm_getmaps.c: Likewise.
44494 * sunrpc/pm_getport.c: Likewise.
44495 * sunrpc/pmap_clnt.c: Likewise.
44496 * sunrpc/pmap_prot.c: Likewise.
44497 * sunrpc/pmap_prot2.c: Likewise.
44498 * sunrpc/pmap_rmt.c: Likewise.
44499 * sunrpc/publickey.c: Likewise.
44500 * sunrpc/rpc_cmsg.c: Likewise.
44501 * sunrpc/rpc_common.c: Likewise.
44502 * sunrpc/rpc_dtable.c: Likewise.
44503 * sunrpc/rpc_prot.c: Likewise.
44504 * sunrpc/rpc_thread.c: Likewise.
44505 * sunrpc/rtime.c: Likewise.
44506 * sunrpc/svc.c: Likewise.
44507 * sunrpc/svc_auth.c: Likewise.
44508 * sunrpc/svc_authux.c: Likewise.
44509 * sunrpc/svc_raw.c: Likewise.
44510 * sunrpc/svc_run.c: Likewise.
44511 * sunrpc/svc_simple.c: Likewise.
44512 * sunrpc/svc_tcp.c: Likewise.
44513 * sunrpc/svc_udp.c: Likewise.
44514 * sunrpc/svc_unix.c: Likewise.
44515 * sunrpc/svcauth_des.c: Likewise.
44516 * sunrpc/xcrypt.c: Likewise.
44517 * sunrpc/xdr.c: Likewise.
44518 * sunrpc/xdr_array.c: Likewise.
44519 * sunrpc/xdr_float.c: Likewise.
44520 * sunrpc/xdr_intXX_t.c: Likewise.
44521 * sunrpc/xdr_mem.c: Likewise.
44522 * sunrpc/xdr_rec.c: Likewise.
44523 * sunrpc/xdr_ref.c: Likewise.
44524 * sunrpc/xdr_sizeof.c: Likewise.
44525 * sunrpc/xdr_stdio.c: Likewise.
44527 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44530 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44531 * sysdeps/ia64/dl-tls.h: Likewise.
44532 * sysdeps/powerpc/dl-tls.h: Likewise.
44533 * sysdeps/s390/dl-tls.h: Likewise.
44534 * sysdeps/sh/dl-tls.h: Likewise.
44535 * sysdeps/sparc/dl-tls.h: Likewise.
44536 * sysdeps/x86_64/dl-tls.h: Likewise.
44537 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44539 2011-03-14 Andreas Schwab <schwab@redhat.com>
44541 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44542 rpath element also skip the following colon.
44543 (expand_dynamic_string_token): Add is_path parameter and pass
44544 down to DL_DST_REQUIRED and _dl_dst_substitute.
44545 (decompose_rpath): Call expand_dynamic_string_token with
44546 non-zero is_path. Ignore empty rpaths.
44547 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44550 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44555 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44558 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44559 Patch by Filipe David Manana <fdmanana@apache.org>.
44561 2011-04-07 Andreas Schwab <schwab@redhat.com>
44563 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44564 Maintain aligned stack.
44565 (CHECK_RSP): Remove unused macro.
44567 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44569 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44570 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44572 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44574 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44576 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44578 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44581 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44582 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44583 * sysdeps/x86_64/memmove.c: New file.
44584 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44585 (memcpy): Renamed to ...
44586 (__new_memcpy): This.
44587 (memcpy): Provide GLIBC_2_14 memcpy.
44588 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44589 (memcpy): Provide GLIBC_2_2_5 memcpy.
44591 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44594 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44596 2011-03-30 Andreas Schwab <schwab@redhat.com>
44598 * misc/syncfs.c: New file.
44599 * misc/Makefile (routines): Add syncfs.
44600 * posix/unistd.h: Declare syncfs.
44601 * sysdeps/unix/syscalls.list: Add syncfs.
44603 2011-04-01 Andreas Schwab <schwab@redhat.com>
44605 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44608 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44612 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44615 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44618 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44623 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44625 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44626 sync_file_range.c with -fexceptions.
44627 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44628 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44629 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44630 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44631 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44632 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44634 sync_file_range as cancellation point
44635 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44636 now a wrapper around __call_sync_file_range with cancellation handling.
44637 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44638 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44639 function name to __call_sync_file_range.
44640 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44641 Add call_sync_file_range.
44643 2011-04-01 Andreas Schwab <schwab@redhat.com>
44645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44648 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44650 * iconv/iconv.h: Fix typo in comment.
44651 * io/fcntl.h: Likewise.
44652 * libio/stdio.h: Likewise.
44653 * posix/spawn.h: Likewise.
44654 * posix/unistd.h: Likewise.
44655 * stdlib/stdlib.h: Likewise.
44656 * time/time.h: Likewise.
44657 * wcsmbs/wchar.h: Likewise.
44659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44660 open_by_handle): Add.
44661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44662 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44663 Augment a few comments.
44664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44666 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44669 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44672 * io/fcntl.h (AT_EMPTY_PATH): Define.
44674 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44676 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44677 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44678 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44680 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44681 * Versions.def: Add GLIBC_2.14.
44682 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44685 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44689 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44691 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44694 * string/test-strncmp.c (do_page_test): New function.
44695 (check2): Likewise.
44696 (test_main): Call check2.
44697 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44699 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44703 Handle cache information in CPU leaf 4.
44704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44706 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44709 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44710 character representation.
44711 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44713 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44715 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44716 END(__isnan) to END(__isnanf) to match function entry point/label
44717 EALIGN(__isnanf,...).
44719 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44721 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44723 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44726 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44727 copy from the symbol referenced in the relocation to initialize the
44729 Patch by Piotr Bury <pbury@goahead.com>.
44730 * elf/Makefile: Add rules to build and tst-unique3.
44731 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44732 * elf/tst-unique3.cc: New file.
44733 * elf/tst-unique3.h: New file.
44734 * elf/tst-unique3lib.cc: New file.
44735 * elf/tst-unique3lib2.cc: New file.
44737 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44739 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44741 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44742 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44745 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44747 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44748 to-be-loaded object along a path to loader is ld.so.
44750 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44751 Ulrich Drepper <drepper@gmail.com>
44753 * sysdeps/x86_64/memset.S: After aligning destination, code
44754 branches to different locations depending on the value of
44755 misalignment, when multiarch is enabled. Fix this.
44757 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44759 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44760 Set _x86_64_preferred_memory_instruction for AMD processsors.
44761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44762 Set bit_Prefer_SSE_for_memop for AMD processors.
44764 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44766 * libio/fmemopen.c (fmemopen): Optimize a bit.
44768 2011-03-03 Andreas Schwab <schwab@redhat.com>
44770 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44772 2011-03-03 Roland McGrath <roland@redhat.com>
44774 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44776 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44778 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44779 __bzero_ultra1 instead of __memset_ultra1.
44781 2011-02-23 Andreas Schwab <schwab@redhat.com>
44782 Ulrich Drepper <drepper@gmail.com>
44785 * include/link.h (struct link_map): Add l_orig_initfini.
44786 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44787 returning unsuccessfully.
44788 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44789 close of a file loaded at startup, restore the original l_initfini
44791 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44792 list, store the pointer.
44793 * elf/Makefile ($(objpfx)noload-mem): New rule.
44794 (noload-ENV): Define.
44795 (tests): Add $(objpfx)noload-mem.
44796 * elf/noload.c: Include <memcheck.h>.
44797 (main): Call mtrace. Close all opened handles.
44799 2011-02-17 Andreas Schwab <schwab@redhat.com>
44802 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44803 dependencies are missing.
44805 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44807 Fix __if_freereq crash: Unlike the generic version which uses free,
44809 * sysdeps/mach/hurd/ifreq.h: New file.
44811 2011-01-27 Petr Baudis <pasky@suse.cz>
44812 Ulrich Drepper <drepper@gmail.com>
44815 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44816 to extend_alloca().
44817 * stdio-common/bug23.c: New file.
44818 * stdio-common/Makefile (tests): Add bug23.
44820 2010-09-28 Andreas Schwab <schwab@redhat.com>
44821 Ulrich Drepper <drepper@gmail.com>
44824 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44825 before performing relro protection. At old place add assertion
44826 to make sure nothing changed.
44828 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44829 Glauber de Oliveira Costa <glommer@gmail.com>
44831 * elf/elf.h: Add new ARM TLS relocs.
44833 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44836 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44838 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44840 * sysdeps/wordsize-64/tst-writev.c: New file.
44842 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44844 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44845 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44846 insns in _dl_start to prevent a TOC reference before relocs are
44849 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44852 * Makeconfig: Remove RANLIB definition.
44853 * Makerules: Don't use RANLIB.
44854 * aclocal.m4: Remove ranlib test.
44855 * configure.in: No need to check for ranlib.
44856 * elf/rtld-Rules: Don't use RANLIB.
44858 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44860 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44862 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44863 inclusion protection macro.
44865 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44866 SIGRTMIN and SIGRTMAX and print information in that case only when
44867 SIGRTMIN is defined.
44869 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44871 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44872 arginfo fn returning -1.
44874 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44875 and thousands string is zero terminated.
44877 2011-02-03 Andreas Schwab <schwab@redhat.com>
44879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44880 sysdeps/unix/sysv/linux/bits/socket.h.
44882 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44884 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44885 (__CPU_COUNT): Remove old macros.
44886 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44887 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44888 (__CPU_ALLOC, __CPU_FREE): Add macros.
44889 (__sched_cpualloc, __sched_cpufree): Add declarations.
44891 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44893 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44894 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44895 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44896 (readdhstai): Return value of addhstaiX call.
44897 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44898 (addgrbyX): Return value returned by cache_addgr.
44899 (readdgrbyname): Return value returned by addgrbyX.
44900 (readdgrbygid): Likewise.
44901 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44902 (addpwbyX): Return value returned by cache_addpw.
44903 (readdpwbyname): Return value returned by addhstbyX.
44904 (readdpwbyuid): Likewise.
44905 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44906 (addservbyX): Return value returned by cache_addserv.
44907 (readdservbyname): Return value returned by addservbyX:
44908 (readdservbyport): Likewise.
44909 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44910 (addhstbyX): Return value returned by cache_addhst.
44911 (readdhstbyname): Return value returned by addhstbyX.
44912 (readdhstbyaddr): Likewise.
44913 (readdhstbynamev6): Likewise.
44914 (readdhstbyaddrv6): Likewise.
44915 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44916 (readdinitgroups): Return value returned by addinitgroupsX.
44917 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44918 (prune_cache): Keep track of timeout value of re-added entries.
44919 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44920 * nscd/nscd.h: Adjust prototypes of readd* functions.
44922 2011-02-04 Roland McGrath <roland@redhat.com>
44924 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44925 (nis_stats): Likewise.
44926 * nis/nis_modify.c (nis_modify): Likewise.
44927 * nis/nis_remove.c (nis_remove): Likewise.
44928 * nis/nis_add.c (nis_add): Likewise.
44930 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44932 * posix/fnmatch_loop.c: Add some consts.
44934 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44936 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44939 * config.make.in (config-cflags-novzeroupper): Define.
44940 * configure.in: Substitute libc_cv_cc_novzeroupper.
44941 * elf/Makefile (AVX-CFLAGS): Define.
44942 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44943 (CFLAGS-tst-auditmod4a.c): Likewise.
44944 (CFLAGS-tst-auditmod4b.c): Likewise.
44945 (CFLAGS-tst-auditmod6b.c): Likewise.
44946 (CFLAGS-tst-auditmod6c.c): Likewise.
44947 (CFLAGS-tst-auditmod7b.c): Likewise.
44948 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44950 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44952 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44953 function to the callback.
44954 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44956 2011-02-02 Andreas Schwab <schwab@redhat.com>
44958 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44961 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44964 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44966 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44968 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44971 * elf/Makefile: Add rules to build and run new test.
44972 * elf/tst-initorder.c: New file.
44973 * elf/tst-initorder.exp: New file.
44974 * elf/tst-initordera1.c: New file.
44975 * elf/tst-initordera2.c: New file.
44976 * elf/tst-initordera3.c: New file.
44977 * elf/tst-initordera4.c: New file.
44978 * elf/tst-initorderb1.c: New file.
44979 * elf/tst-initorderb2.c: New file.
44980 * elf/tst-order-a1.c: New file.
44981 * elf/tst-order-a2.c: New file.
44982 * elf/tst-order-a3.c: New file.
44983 * elf/tst-order-a4.c: New file.
44984 * elf/tst-order-b1.c: New file.
44985 * elf/tst-order-b2.c: New file.
44986 * elf/tst-order-main.c: New file.
44987 New test case by George Gensure <werkt0@gmail.com>.
44989 2010-10-01 Andreas Schwab <schwab@redhat.com>
44991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44992 decoding ACE if AI_CANONIDN.
44994 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44996 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44998 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45000 * version.h (RELEASE): Bump for 2.13 release.
45001 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45003 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45005 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45007 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45010 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45014 * posix/getconf.c: Update copyright year.
45015 * catgets/gencat.c: Likewise.
45016 * csu/version.c: Likewise.
45017 * debug/catchsegv.sh: Likewise.
45018 * debug/xtrace.sh: Likewise.
45019 * elf/ldconfig.c: Likewise.
45020 * elf/ldd.bash.in: Likewise.
45021 * elf/sprof.c (print_version): Likewise.
45022 * iconv/iconv_prog.c: Likewise.
45023 * iconv/iconvconfig.c: Likewise.
45024 * locale/programs/locale.c: Likewise.
45025 * locale/programs/localedef.c: Likewise.
45026 * malloc/memusage.sh: Likewise.
45027 * malloc/mtrace.pl: Likewise.
45028 * nscd/nscd.c (print_version): Likewise.
45029 * nss/getent.c: Likewise.
45031 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45032 PF_CAIF, and PF_ALG.
45033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45035 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45037 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45038 (modules-names): Use them.
45039 (ifunc-test-modules, ifunc-pie-tests): Define.
45040 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45041 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45042 (test-extras): Likewise.
45043 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45044 $(compile-command.c).
45045 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45046 (all-built-dso): Define.
45047 (check-textrel.out, check-execstack.out): Depend on it.
45049 * configure.in: Don't override --enable-multi-arch.
45051 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45054 * nscd/hstcache.c (tryagain): Define.
45055 (cache_addhst): Return tryagain not notfound for temporary errors.
45056 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45059 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45062 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45063 to make the syscall.
45064 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45067 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45068 and fall back to matching as normal character if the string ends before
45069 the matching ']' is found. This is what POSIX requires.
45070 * posix/testfnm.c: Adjust test result.
45071 * posix/globtest.sh: Adjust test result. Add new test.
45072 * posix/tst-fnmatch.input: Likewise.
45073 * posix/tst-fnmatch2.c: Add new test.
45075 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45077 * elf/Makefile (check-execstack): Revert last change. Depend on
45079 (check-execstack.h): New target.
45080 (generated): Add check-execstack.h.
45081 * elf/check-execstack.c: Include "check-execstack.h".
45082 (main): Revert last change.
45083 (handle_file): Return zero if GNU_STACK is absent and
45084 DEFAULT_STACK_PERMS doesn't include PF_X.
45086 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45088 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45089 in child fails because the descriptor is already closed.
45090 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45091 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45095 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45099 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45100 temporary buffer used to handle multi lookups locally.
45101 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45103 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45105 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45108 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45110 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45111 alignment for SSE2.
45113 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45116 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45117 characters. When rounding increased number of integer digits recompute
45119 * stdio-common/tst-grouping.c: New file.
45120 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45122 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45124 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45125 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45127 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45129 * bits/select.h: Likewise.
45131 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45133 * po/ja.po: Update from translation team.
45135 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45138 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45139 implementation just like for lxstat, fxstatat, et al.
45141 2010-12-27 Jim Meyering <meyering@redhat.com>
45144 * posix/regexec.c (build_trtable): Return failure indication upon
45145 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45147 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45150 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45151 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45152 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45153 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45156 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45159 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45160 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45162 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45164 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45165 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45166 script has SORT_BY_INIT_PRIORITY.
45167 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45168 NO_CTORS_DTORS_SECTIONS is defined.
45169 * elf/soinit.c: Likewise.
45170 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45171 NO_CTORS_DTORS_SECTIONS is defined.
45172 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45173 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45174 * sysdeps/sh/init-first.c: Likewise.
45175 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45177 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45179 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45180 always use the slow path.
45182 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45184 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45185 similar rule which adds the sysdep directories to the header search in
45186 order to pick up the correct platform stackinfo.h.
45187 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45188 perform test if it is, otherwise return successfully without testing.
45189 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45190 DEFAULT_STACK_PERMS define in stackinfo.h.
45191 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45192 defined in stackinfo.h.
45193 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45194 DEFAULT_STACK_PERMS defined in stackinfo.h.
45195 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45196 * sysdeps/ia64/stackinfo.h: Likewise.
45197 * sysdeps/s390/stackinfo.h: Likewise.
45198 * sysdeps/sh/stackinfo.h: Likewise.
45199 * sysdeps/sparc/stackinfo.h: Likewise.
45200 * sysdeps/x86_64/stackinfo.h: Likewise.
45201 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45202 PF_X for powerpc64. Retain PF_X for powerpc32.
45204 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45206 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45208 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45209 GETDENTS_64BIT_ALIGNED.
45211 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45213 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45215 2010-12-10 Andreas Schwab <schwab@redhat.com>
45217 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45220 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45221 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45223 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45224 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45226 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45229 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45232 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45234 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45236 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45238 * po/it.po: Update from translation team.
45240 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45245 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45247 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45249 2010-11-24 Andreas Schwab <schwab@redhat.com>
45251 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45253 (gaih_getanswer_slice): Likewise.
45255 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45259 2010-05-31 Petr Baudis <pasky@suse.cz>
45262 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45263 silently even in the chroot mode.
45265 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45267 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45268 last patch a bit. Pretty printing
45270 2010-05-31 Petr Baudis <pasky@suse.cz>
45273 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45274 initialization of skip_initgroups_dyn.
45276 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45278 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45279 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45281 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45283 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45285 2010-11-11 Andreas Schwab <schwab@redhat.com>
45287 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45288 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45289 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45290 ($(objpfx)tst-fnmatch-mem): New rule.
45291 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45292 * posix/tst-fnmatch.c (main): Call mtrace.
45294 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45297 Support Intel processor model 6 and model 0x2c.
45299 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45301 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45304 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45307 * string/test-strncasecmp.c (check_result): New function.
45308 (do_one_test): Use it.
45309 (check1): New function.
45310 (test_main): Use it.
45311 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45312 Support strcasecmp and strncasecmp.
45314 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45317 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45320 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45322 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45326 * sysdeps/x86_64/multiarch/bzero.S: New file.
45327 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45328 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45329 * sysdeps/x86_64/multiarch/memset.S: New file.
45330 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45332 Set bit_Prefer_SSE_for_memop for Intel processors.
45333 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45335 (index_Prefer_SSE_for_memop): Define.
45336 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45338 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45340 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45341 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45343 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45346 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45347 (__x86_64_raw_data_cache_size_half): Likewise.
45348 (__x86_64_raw_shared_cache_size): Likewise.
45349 (__x86_64_raw_shared_cache_size_half): Likewise.
45351 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45352 (__x86_64_raw_data_cache_size_half): Likewise.
45353 (__x86_64_raw_shared_cache_size): Likewise.
45354 (__x86_64_raw_shared_cache_size_half): Likewise.
45355 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45356 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45357 and __x86_64_raw_shared_cache_size_half. Round
45358 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45359 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45360 to multiple of 256 bytes.
45362 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45366 of inacessible symlinks. Verify result of symlink before returning it.
45367 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45368 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45370 2010-10-28 Erich Ritz <erichritz@gmail.com>
45372 * math/math.h (isinf): Fix typo in comment.
45374 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45376 * po/da.po: Update from translation team.
45378 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45380 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45381 is added to the list.
45383 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45384 Ulrich Drepper <drepper@gmail.com>
45386 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45387 the global list here. Move code to...
45388 (_dl_add_to_namespace_list): ...here. New function.
45389 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45390 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45391 * elf/dl-load.c (lose): Don't remove the element from the list.
45392 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45393 (_dl_map_object): Likewise.
45395 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45398 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45399 into all bytes of SSE register.
45400 Patch by Richard Li <richardpku@gmail.com>.
45402 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45405 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45408 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45410 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45411 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45412 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45413 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45418 2010-10-22 Andreas Schwab <schwab@redhat.com>
45420 * include/dlfcn.h (__RTLD_SECURE): Define.
45421 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45422 mode & __RTLD_SECURE instead.
45423 (open_path): Rename preloaded parameter to secure.
45424 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45425 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45426 * elf/dl-deps.c (openaux): Likewise.
45427 * elf/rtld.c (struct map_args): Remove is_preloaded.
45428 (map_doit): Don't use it.
45429 (dl_main): Likewise.
45430 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45431 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45433 2010-09-09 Andreas Schwab <schwab@redhat.com>
45435 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45436 (sysd-rules-targets): Remove duplicates.
45437 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45438 rtld-%.$o dependency.
45440 2010-10-18 Andreas Schwab <schwab@redhat.com>
45442 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45443 _dl_map_object do it.
45445 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45447 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45448 fast fma builtins, define the macros in the C99 standard.
45449 (FP_FAST_FMAF): Likewise.
45450 (FP_FAST_FMAL): Likewise.
45451 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45453 * bits/mathdef.h: Update copyright year.
45454 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45456 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45458 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45459 builtins, define the macros in the C99 standard.
45460 (FP_FAST_FMAF): Likewise.
45461 (FP_FAST_FMAL): Likewise.
45462 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45464 (FP_FAST_FMAF): Likewise.
45466 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45469 * math/libm-test.inc (fma_test): Some new testcases.
45470 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45472 y and infinite z. Do multiplication by C already in long double.
45473 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45475 y and infinite z. Do bitwise or of inexact bit into u.d.
45476 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45477 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45478 * sysdeps/i386/fpu/s_fma.S: Removed.
45479 * sysdeps/i386/fpu/s_fmal.S: Removed.
45481 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45484 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45486 computation is not scheduled after fetestexcept. Fix value
45487 of minimum denormal long double.
45489 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45492 * math/libm-test.inc (fma_test): Add some more tests.
45493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45496 2010-10-15 Andreas Schwab <schwab@redhat.com>
45498 * scripts/data/localplt-s390-linux-gnu.data: New file.
45499 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45501 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45504 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45505 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45507 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45509 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45511 if one of x and y is very large and the other is subnormal.
45512 * sysdeps/s390/fpu/s_fmaf.c: New file.
45513 * sysdeps/s390/fpu/s_fma.c: New file.
45514 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45515 * sysdeps/powerpc/fpu/s_fma.S: New file.
45516 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45517 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45518 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45520 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45523 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45526 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45527 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45528 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45529 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45530 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45531 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45533 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45536 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45537 * posix/bug-regex31.input: Add test case.
45539 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45541 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45542 * posix/bug-regex31.input: New file.
45545 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45546 (parse_sub_exp): Fix last change, use postorder.
45548 * posix/bug-regex31.c: New file.
45549 * posix/Makefile: Add rules to build and run bug-regex31.
45551 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45554 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45557 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45558 to have entries in sys_siglist.
45561 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45564 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45567 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45568 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45569 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45570 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45571 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45572 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45573 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45574 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45575 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45576 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45577 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45578 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45579 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45580 * math/ftestexcept.c (fetestexcept): Likewise.
45581 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45582 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45583 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45584 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45585 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45586 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45587 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45589 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45592 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45595 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45597 * string/bug-strstr1.c: New file.
45598 * string/Makefile: Add rules to build and run bug-strstr1.
45600 2010-10-05 Eric Blake <eblake@redhat.com>
45603 * string/str-two-way.h (two_way_long_needle): Always clear memory
45604 when skipping input due to the shift table.
45606 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45609 * malloc/mcheck.c: Handle large requests.
45612 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45613 for strncmp and strncasecmp.
45614 * string/stratcliff.c: Add tests for strcmp and strncmp.
45615 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45617 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45619 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45622 2010-09-30 Andreas Jaeger <aj@suse.de>
45624 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45625 (CGROUP_SUPER_MAGIC): Define.
45626 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45627 Handle btrfs and cgroup file systems.
45628 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45631 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45633 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45634 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45636 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45639 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45640 trying to locate the ELF header.
45642 2010-09-27 Andreas Schwab <schwab@redhat.com>
45645 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45646 Mask out sign-bit copies when constructing f_fsid.
45648 2010-09-24 Petr Baudis <pasky@suse.cz>
45650 * debug/stack_chk_fail_local.c: Add missing licence exception.
45651 * debug/warning-nop.c: Likewise.
45653 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45655 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45656 implementing getdents64 using getdents syscall, set d_type if
45657 __ASSUME_GETDENTS32_D_TYPE.
45659 2010-09-16 Andreas Schwab <schwab@redhat.com>
45661 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45662 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45664 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45667 * posix/unistd.h: Undo change of feature selection for ftruncate from
45670 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45672 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45675 2010-09-20 Andreas Schwab <schwab@redhat.com>
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45679 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45681 2010-09-14 Andreas Schwab <schwab@redhat.com>
45683 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45684 variables after CHECK_SP call.
45685 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45687 2010-09-13 Andreas Schwab <schwab@redhat.com>
45688 Ulrich Drepper <drepper@redhat.com>
45690 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45691 re-relocationg ld.so.
45692 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45693 _dl_init_paths call.
45694 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45697 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45699 * resolv/res_init.c (__res_vinit): Count the default server we added.
45701 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45702 Ulrich Drepper <drepper@redhat.com>
45705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45706 (____longjmp_chk): Use %ebx for saving value across system call.
45709 2010-09-06 Andreas Schwab <schwab@redhat.com>
45711 * manual/Makefile: Don't mix pattern rules with normal rules.
45713 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45715 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45717 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45718 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45719 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45720 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45721 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45724 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45727 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45728 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45730 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45732 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45733 * sysdeps/x86_64/addmul_1.S: Likewise.
45734 * sysdeps/x86_64/lshift.S: Likewise.
45735 * sysdeps/x86_64/mul_1.S: Likewise.
45736 * sysdeps/x86_64/rshift.S: Likewise.
45737 * sysdeps/x86_64/sub_n.S: Likewise.
45738 * sysdeps/x86_64/submul_1.S: Likewise.
45740 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45742 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45743 Define __sched_param instead of SCHED_* and sched_param when
45744 <bits/sched.h> is included with __need_schedparam defined.
45745 * bits/sched.h [__need_schedparam]
45746 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45747 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45748 (__defined_schedparam): Define to 1.
45749 (__sched_param): New structure, identical to sched_param.
45750 (__need_schedparam): Undefine.
45752 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45755 (epoll_create1): Declare.
45757 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45759 2010-08-31 Andreas Schwab <schwab@redhat.com>
45762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45763 shifting retval into place.
45765 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45767 * nis/rpcsvc/nis.h: Update copyright notice.
45768 * nis/rpcsvc/nis.x: Likewise.
45769 * nis/rpcsvc/nis_callback.h: Likewise.
45770 * nis/rpcsvc/nis_callback.x: Likewise.
45771 * nis/rpcsvc/nis_object.x: Likewise.
45772 * nis/rpcsvc/nis_tags.h: Likewise.
45773 * nis/rpcsvc/yp.h: Likewise.
45774 * nis/rpcsvc/yp.x: Likewise.
45775 * nis/rpcsvc/ypupd.h: Likewise.
45776 * nis/yp_xdr.c: Likewise.
45777 * nis/ypupdate_xdr.c: Likewise.
45779 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45780 mainly the body of pmap_getport. Add parameters to specify timeouts.
45781 (pmap_getport): Use __libc_rpc_getport.
45782 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45783 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45784 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45786 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45791 2010-08-27 Roland McGrath <roland@redhat.com>
45793 * sysdeps/i386/i686/multiarch/Makefile
45794 (CFLAGS-varshift.c): New variable.
45796 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45798 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45799 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45803 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45805 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45807 * sysdeps/x86_64/strlen.S: Unroll the loop.
45808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45809 strlen-sse2 strlen-sse2-bsf.
45810 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45811 __strlen_no_bsf if bit_Slow_BSF is set.
45812 (__strlen_sse42): Removed.
45813 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45814 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45816 2010-08-25 Roland McGrath <roland@redhat.com>
45818 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45819 * sysdeps/x86_64/multiarch/varshift.c: New file.
45820 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45821 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45822 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45823 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45825 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45828 strlen-sse2 strlen-sse2-bsf.
45829 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45830 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45831 (__strlen_sse2): Removed.
45832 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45835 bit_Slow_BSF for Atom.
45836 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45837 (index_Slow_BSF): Define.
45838 (HAS_SLOW_BSF): Define.
45840 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45843 * resolv/res_init.c (__res_vinit): When no server address at all
45844 is given default to loopback.
45846 2010-08-24 Roland McGrath <roland@redhat.com>
45848 * configure.in: Remove config-name.h generation.
45849 * configure: Regenerated.
45850 * config-name.in: File removed.
45851 * scripts/config-uname.sh: New file.
45852 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45853 ($(objdir)config-name.h): New target.
45855 * sunrpc/rpc_parse.h: Avoid nested comment.
45857 2010-08-24 Richard Henderson <rth@redhat.com>
45858 Ulrich Drepper <drepper@redhat.com>
45859 H.J. Lu <hongjiu.lu@intel.com>
45861 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45863 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45864 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45865 _mm_alignr_epi8 with _mm_loadu_si128.
45866 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45867 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45868 (__m128i_shift_right): Removed.
45869 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45870 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45871 * sysdeps/x86_64/multiarch/varshift.h: New file.
45872 * sysdeps/x86_64/multiarch/varshift.S: New file.
45874 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45876 * configure.in: Move assembler checks to before sysdep dir checking.
45878 2010-08-20 Petr Baudis <pasky@suse.cz>
45880 * LICENSES: Sync the sunrpc license.
45882 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45884 * sunrpc/auth_des.c: Update copyright notice once again.
45885 * sunrpc/auth_none.c: Likewise.
45886 * sunrpc/auth_unix.c: Likewise.
45887 * sunrpc/authdes_prot.c: Likewise.
45888 * sunrpc/authuxprot.c: Likewise.
45889 * sunrpc/bindrsvprt.c: Likewise.
45890 * sunrpc/clnt_gen.c: Likewise.
45891 * sunrpc/clnt_perr.c: Likewise.
45892 * sunrpc/clnt_raw.c: Likewise.
45893 * sunrpc/clnt_simp.c: Likewise.
45894 * sunrpc/clnt_tcp.c: Likewise.
45895 * sunrpc/clnt_udp.c: Likewise.
45896 * sunrpc/clnt_unix.c: Likewise.
45897 * sunrpc/des_crypt.c: Likewise.
45898 * sunrpc/des_soft.c: Likewise.
45899 * sunrpc/get_myaddr.c: Likewise.
45900 * sunrpc/getrpcport.c: Likewise.
45901 * sunrpc/key_call.c: Likewise.
45902 * sunrpc/key_prot.c: Likewise.
45903 * sunrpc/openchild.c: Likewise.
45904 * sunrpc/pm_getmaps.c: Likewise.
45905 * sunrpc/pm_getport.c: Likewise.
45906 * sunrpc/pmap_clnt.c: Likewise.
45907 * sunrpc/pmap_prot.c: Likewise.
45908 * sunrpc/pmap_prot2.c: Likewise.
45909 * sunrpc/pmap_rmt.c: Likewise.
45910 * sunrpc/rpc/auth.h: Likewise.
45911 * sunrpc/rpc/auth_unix.h: Likewise.
45912 * sunrpc/rpc/clnt.h: Likewise.
45913 * sunrpc/rpc/des_crypt.h: Likewise.
45914 * sunrpc/rpc/key_prot.h: Likewise.
45915 * sunrpc/rpc/netdb.h: Likewise.
45916 * sunrpc/rpc/pmap_clnt.h: Likewise.
45917 * sunrpc/rpc/pmap_prot.h: Likewise.
45918 * sunrpc/rpc/pmap_rmt.h: Likewise.
45919 * sunrpc/rpc/rpc.h: Likewise.
45920 * sunrpc/rpc/rpc_des.h: Likewise.
45921 * sunrpc/rpc/rpc_msg.h: Likewise.
45922 * sunrpc/rpc/svc.h: Likewise.
45923 * sunrpc/rpc/svc_auth.h: Likewise.
45924 * sunrpc/rpc/types.h: Likewise.
45925 * sunrpc/rpc/xdr.h: Likewise.
45926 * sunrpc/rpc_clntout.c: Likewise.
45927 * sunrpc/rpc_cmsg.c: Likewise.
45928 * sunrpc/rpc_common.c: Likewise.
45929 * sunrpc/rpc_cout.c: Likewise.
45930 * sunrpc/rpc_dtable.c: Likewise.
45931 * sunrpc/rpc_hout.c: Likewise.
45932 * sunrpc/rpc_main.c: Likewise.
45933 * sunrpc/rpc_parse.c: Likewise.
45934 * sunrpc/rpc_parse.h: Likewise.
45935 * sunrpc/rpc_prot.c: Likewise.
45936 * sunrpc/rpc_sample.c: Likewise.
45937 * sunrpc/rpc_scan.c: Likewise.
45938 * sunrpc/rpc_scan.h: Likewise.
45939 * sunrpc/rpc_svcout.c: Likewise.
45940 * sunrpc/rpc_tblout.c: Likewise.
45941 * sunrpc/rpc_util.c: Likewise.
45942 * sunrpc/rpc_util.h: Likewise.
45943 * sunrpc/rpcinfo.c: Likewise.
45944 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45945 * sunrpc/rpcsvc/key_prot.x: Likewise.
45946 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45947 * sunrpc/rpcsvc/mount.x: Likewise.
45948 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45949 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45950 * sunrpc/rpcsvc/rex.x: Likewise.
45951 * sunrpc/rpcsvc/rstat.x: Likewise.
45952 * sunrpc/rpcsvc/rusers.x: Likewise.
45953 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45954 * sunrpc/rpcsvc/spray.x: Likewise.
45955 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45956 * sunrpc/rtime.c: Likewise.
45957 * sunrpc/svc.c: Likewise.
45958 * sunrpc/svc_auth.c: Likewise.
45959 * sunrpc/svc_authux.c: Likewise.
45960 * sunrpc/svc_raw.c: Likewise.
45961 * sunrpc/svc_run.c: Likewise.
45962 * sunrpc/svc_simple.c: Likewise.
45963 * sunrpc/svc_tcp.c: Likewise.
45964 * sunrpc/svc_udp.c: Likewise.
45965 * sunrpc/svc_unix.c: Likewise.
45966 * sunrpc/svcauth_des.c: Likewise.
45967 * sunrpc/xcrypt.c: Likewise.
45968 * sunrpc/xdr.c: Likewise.
45969 * sunrpc/xdr_array.c: Likewise.
45970 * sunrpc/xdr_float.c: Likewise.
45971 * sunrpc/xdr_mem.c: Likewise.
45972 * sunrpc/xdr_rec.c: Likewise.
45973 * sunrpc/xdr_ref.c: Likewise.
45974 * sunrpc/xdr_sizeof.c: Likewise.
45975 * sunrpc/xdr_stdio.c: Likewise.
45977 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45980 2010-08-19 Andreas Schwab <schwab@redhat.com>
45982 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45984 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45986 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45987 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45989 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45990 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45991 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45992 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45993 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45995 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45996 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45997 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45998 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45999 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46001 2010-07-26 Anton Blanchard <anton@samba.org>
46003 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46004 * malloc/arena.c (heap_trim): Likewise.
46006 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46008 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46011 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46013 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46015 * sysdeps/i386/elf/Makefile: New file.
46017 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46019 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46020 from fanotify_init.
46021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46024 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46026 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46028 * sysdeps/multiarch/strcmp.S: Likewise.
46030 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46032 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46033 strncase_l-nonascii.
46034 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46035 Add strncase_l-ssse3.
46036 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46037 * sysdeps/x86_64/strcmp.S: Likewise.
46038 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46039 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46040 * sysdeps/x86_64/strncase.S: New file.
46041 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46042 * sysdeps/x86_64/strncase_l.S: New file.
46043 * string/Makefile (strop-tests): Add strncasecmp.
46044 * string/test-strncasecmp.c: New file.
46046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46049 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46052 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46054 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46056 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46058 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46059 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46060 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46062 2010-05-01 Alan Modra <amodra@gmail.com>
46064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46065 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46066 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46067 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46068 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46069 tidying. Don't tail-call __sigjmp_save for static lib.
46070 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46072 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46073 (CALL_MCOUNT): Add eh info, and nop after bl.
46074 (TAIL_CALL_SYSCALL_ERROR): New macro.
46075 (PSEUDO_RET): Use it.
46076 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46077 Correct save location of integer regs and cr.
46078 (_dl_profile_resolve): Correct cr save location. Delete nops
46079 after bl when SHARED. Reduce cfi size a little by better
46080 placement of cfi directives.
46081 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46082 make a stack frame. Instead use parm save area as a temp.
46083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46084 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46086 Don't make a stack frame for parent, use parm save area.
46087 Increase child stack frame to 112 bytes. Don't save unused reg,
46088 and adjust reg usage. Set up cfi on error recovery and
46089 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46091 (__makecontext): Add dummy nop after jump to exit.
46092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46093 Use correct parm save area and cr save, reduce stack frame.
46094 Correct cfi for possible PSEUDO_RET frame setup.
46095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46096 Branch to local label emitted by PSEUDO_RET rather than
46099 2010-08-12 Andreas Schwab <schwab@redhat.com>
46102 * locale/programs/locale.c (print_assignment): New function.
46103 (show_locale_vars): Use it.
46105 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46107 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46109 (struct statfs64): Likewise.
46110 (_STATFS_F_FLAGS): Define.
46111 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46112 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46113 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46114 (ST_VALID): Define locally.
46115 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46116 __statvfs_getflags, use the provided value.
46117 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46118 __ASSUME_STATFS_F_FLAGS.
46120 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46122 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46123 Add sys/fanotify.h.
46124 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46125 fanotify_mask for GLIBC_2.13.
46126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46127 fanotify_init and fanotify_mark.
46128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46129 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46131 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46133 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46134 prlimit64 for GLIBC_2.13.
46135 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46140 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46141 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46142 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46145 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46148 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46149 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46151 * nss/Makefile: Add rules to build and run tst-nss-test1.
46152 * shlib-versions: Add entry for libnss_test1.
46153 * nss/nss_test1.c: New file.
46154 * nss/tst-nss-test1.c: New file.
46156 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46157 (__nss_configure_lookup): Set appropriate entry in
46158 __nss_configure_lookup to true.
46159 * nss/nsswitch.h: Define enum with indeces of databases in
46160 databases and __nss_database_custom arrays. Declare
46161 __nss_database_custom.
46162 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46163 to avoid using nscd when custom rules are installed.
46164 * nss/getXXbyYY_r.c: Likewise.
46165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46167 * nss/nss_files/files-parse.c: Whitespace fixes.
46169 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46172 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46173 * posix/fnmatch_loop.c: Likewise.
46175 2010-07-17 Andi Kleen <ak@linux.intel.com>
46177 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46178 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46179 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46180 * Versions.def [GLIBC_2.13]: Add.
46182 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46184 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46185 Also fail if tpwd after pwuid call is NULL.
46187 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46189 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46190 when converting to ms.
46192 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46194 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46195 EOPNOTSUPP errors with ENOTTY.
46196 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46197 EOPNOTSUPP errors with ENOTTY.
46199 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46201 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46202 Add strcasecmp_l-ssse3.
46203 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46205 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46206 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46207 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46209 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46211 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46213 * string/Makefile (strop-tests): Add strcasecmp.
46214 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46215 strcasecmp_l-nonascii.
46216 (gen-as-const-headers): Add locale-defines.sym.
46217 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46218 * sysdeps/x86_64/strcasecmp.S: New file.
46219 * sysdeps/x86_64/strcasecmp_l.S: New file.
46220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46221 * sysdeps/x86_64/locale-defines.sym: New file.
46222 * string/test-strcasecmp.c: New file.
46224 * string/test-strcasestr.c: Test both ends of the range of characters.
46225 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46227 2010-07-29 Roland McGrath <roland@redhat.com>
46230 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46232 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46234 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46237 2010-07-27 Andreas Schwab <schwab@redhat.com>
46239 * manual/memory.texi (Malloc Tunable Parameters): Document
46242 2010-07-26 Roland McGrath <roland@redhat.com>
46245 * configure.in (-fgnu89-inline check): Set and substitute
46246 gnu89_inline, not libc_cv_gnu89_inline.
46247 * configure: Regenerated.
46248 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46250 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46252 * string/test-strnlen.c: New file.
46253 * string/Makefile (strop-tests): Add strnlen.
46254 * string/tester.c (test_strnlen): Add a few more test cases.
46255 * string/tst-strlen.c: Better error reporting.
46257 * sysdeps/x86_64/strnlen.S: New file.
46259 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46262 lower-latency instructions.
46264 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46266 * string/test-strcasestr.c: New file.
46267 * string/test-strstr.c: New file.
46268 * string/Makefile (strop-tests): Add strstr and strcasestr.
46269 * string/str-two-way.h: Don't undefine MAX.
46270 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46272 2010-07-21 Andreas Schwab <schwab@redhat.com>
46274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46275 strcasestr-nonascii.
46276 (CFLAGS-strcasestr-nonascii.c): Define.
46277 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46279 Remove unused attribute.
46281 2010-07-20 Roland McGrath <roland@redhat.com>
46283 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46284 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46285 ld.so.cache was broken. With it, there is no way to disable dsocaps
46286 like LD_HWCAP_MASK can disable hwcaps.
46288 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46290 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46292 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46294 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46295 call in strcasestr.
46296 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46297 __strcasestr_sse42_nonascii.
46298 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46299 strcasestr-nonascii.c.
46300 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46302 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46305 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46307 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46309 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46314 2010-07-06 Andreas Schwab <schwab@redhat.com>
46317 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46320 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46322 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46323 _PC_PIPE_BUF using F_GETPIPE_SZ.
46325 2010-07-05 Roland McGrath <roland@redhat.com>
46327 * manual/arith.texi (Rounding Functions): Fix rint description
46328 implicit in round description.
46330 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46332 * elf/Makefile: Fix linking for a few tests to make recent linker
46335 2010-06-30 Andreas Schwab <schwab@redhat.com>
46337 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46338 $(common-objpfx)libc_nonshared.a.
46340 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46342 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46343 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46344 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46345 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46346 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46347 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46348 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46349 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46364 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46365 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46366 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46367 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46368 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46369 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46370 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46371 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46372 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46373 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46374 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46375 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46391 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46393 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46394 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46395 * string/memmove.c (memmove): Renamed to ...
46396 (MEMMOVE): ...this. Default to memmove.
46397 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46398 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46401 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46402 mempcpy-ssse3-back memmove-ssse3-back.
46403 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46406 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46407 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46408 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46409 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46410 * sysdeps/x86_64/multiarch/memmove.c: New file.
46411 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46412 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46413 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46414 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46415 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46418 (index_Fast_Copy_Backward): Define.
46419 (HAS_ARCH_FEATURE): Define.
46420 (HAS_FAST_REP_STRING): Define.
46421 (HAS_FAST_COPY_BACKWARD): Define.
46423 2010-06-21 Andreas Schwab <schwab@redhat.com>
46425 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46426 Restore proper fallback handling.
46428 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46431 * posix/group_member.c (__group_member): Correct checking loop.
46433 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46434 OOM in getpwuid_r correctly. Return error number when the caller
46435 should return, otherwise -1.
46436 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46437 call returning > 0 value.
46438 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46440 2010-06-07 Andreas Schwab <schwab@redhat.com>
46442 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46443 libc_nonshared.a from targets in modules-names.
46445 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46447 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46450 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46457 2010-06-02 Andreas Schwab <schwab@redhat.com>
46459 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46461 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46465 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46469 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46472 2010-06-14 Roland McGrath <roland@redhat.com>
46474 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46476 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46478 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46479 __REDIRECT followed by __THROW.
46480 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46481 * posix/getopt.h (getopt): Likewise.
46483 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46485 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46486 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46487 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46489 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46490 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46492 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46494 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46496 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46500 Properly check family and model.
46502 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46504 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46506 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46508 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46510 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46512 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46515 2010-05-19 Andreas Schwab <schwab@redhat.com>
46517 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46520 2010-05-21 Andreas Schwab <schwab@redhat.com>
46522 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46523 and internal_recvmmsg.
46524 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46525 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46526 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46527 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46529 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46530 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46531 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46533 2010-05-20 Andreas Schwab <schwab@redhat.com>
46535 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46537 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46539 POWER7 optimizations.
46540 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46541 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46543 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46545 * version.h: Update for 2.13 development version.
46547 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46549 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46550 exceptions. Return 0.
46552 2010-05-07 Roland McGrath <roland@redhat.com>
46554 * elf/ldconfig.c (main): Add a const.
46556 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46558 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46559 (args_options): Add no-idn option.
46560 (ahosts_keys_int): Add idn_flags to ai_flags.
46561 (parse_option): Handle 'i' option to clear idn_flags.
46563 * malloc/malloc.c (_int_free): Possible race in the most recently
46564 added check. Only act on the data if no current modification
46567 See ChangeLog.17 for earlier changes.