1 2014-06-20 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4 (libpthread-routines): Add sysdep.
5 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6 * sysdeps/unix/sysv/linux/sparc/Versions
7 (libpthread: GLIBC_2.3.3): New version set.
8 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
16 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
19 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
21 * sysdeps/sparc/nptl/sem_init.c: ... here.
22 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23 * sysdeps/sparc/nptl/sem_post.c: ... here.
24 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
27 * sysdeps/sparc/nptl/sem_wait.c: ... here.
28 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
30 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31 (libpthread-routines): Add cpu_relax.
32 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35 (librt: GLIBC_2.3.3): New version set.
36 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
37 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
40 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
45 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
47 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
51 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
52 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
53 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
54 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
56 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
58 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
60 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
62 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
64 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
66 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
68 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
70 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
72 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
74 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
76 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
78 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
79 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
80 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
81 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
82 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
83 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
84 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
85 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
87 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
88 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
90 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
91 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
92 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
93 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
94 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
96 2014-06-20 Joseph Myers <joseph@codesourcery.com>
98 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
99 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
100 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
101 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
102 * nscd/nscd.c: Likewise.
103 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
104 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
105 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
106 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
108 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
110 (init_mq_netlink): Remove conditional have_sock_cloexec
111 definitions. Remove code conditional on have_sock_cloexec < 0.
112 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
113 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
114 * sysdeps/unix/sysv/linux/opensock.c: Do not include
116 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
117 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
119 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
121 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
122 Add tests for memset_chk and memset.
124 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
127 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
130 * elf/tst-dl-iter-static.c: New file.
131 * elf/Makefile (tests-static): Add tst-dl-iter-static.
133 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
136 2014-06-20 Joseph Myers <joseph@codesourcery.com>
138 * sysdeps/unix/sysv/linux/kernel-features.h
139 (__ASSUME_F_GETOWN_EX): Remove macro.
140 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
142 (miss_F_GETOWN_EX): Remove variable or macro.
143 (do_fcntl): Do not check miss_F_GETOWN_EX.
144 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
146 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
149 [!__ASSUME_AT_RANDOM]: Remove conditional code.
150 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
152 * sysdeps/unix/sysv/linux/kernel-features.h
153 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
154 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
155 [ADJ_OFFSET_SS_READ]: Make code unconditional.
156 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
158 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
161 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
162 Fix calculation of the symbol's value.
163 * sysdeps/arm/tst-armtlsdescloc.c: New file.
164 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
165 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
166 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
167 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
168 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
169 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
170 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
171 (modules-names): Add `tst-armtlsdescmod',
172 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
173 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
174 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
175 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
176 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
177 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
178 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
179 ($(objpfx)tst-armtlsdescloc): New dependency.
180 ($(objpfx)tst-armtlsdescextnow): Likewise.
181 ($(objpfx)tst-armtlsdescextlazy): Likewise.
182 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
184 * sysdeps/arm/configure: Regenerate.
186 2014-06-20 Joseph Myers <joseph@codesourcery.com>
188 * include/fcntl.h (__atfct_seterrno): Remove prototype.
189 (__atfct_seterrno_2): Likewise.
190 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
192 (__ASSUME_ATFCTS): Do not undefine and redefine.
193 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
194 (__have_atfcts): Remove conditional definition.
195 (__fxstatat([__NR_fstatat64]: Make code unconditional.
196 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
197 unreachable if [__ASSUME_ATFCTS].
198 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
199 not undefine and redefine.
200 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
202 (faccessat) [__NR_faccessat]: Make code unconditional.
203 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
204 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
206 (fchmodat) [__NR_fchmodat]: Make code unconditional.
207 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
208 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
210 (fchownat) [__NR_fchownat]: Make code unconditional.
211 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
212 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
214 (futimesat) [__NR_futimesat]: Make code unconditional.
215 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
216 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
218 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
219 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
220 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
222 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
223 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
224 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
225 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
227 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
228 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
229 * sysdeps/unix/sysv/linux/linkat.c: Do not include
231 (linkat) [__NR_linkat]: Make code unconditional.
232 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
233 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
234 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
236 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
237 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
238 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
240 (mkdirat) [__NR_mkdirat]: Make code unconditional.
241 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
242 * sysdeps/unix/sysv/linux/openat.c: Do not include
244 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
245 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
246 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
247 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
248 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
249 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
251 (readlinkat) [__NR_readlinkat]: Make code unconditional.
252 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
253 result of INLINE_SYSCALL directly, not via int variable.
254 * sysdeps/unix/sysv/linux/renameat.c: Do not include
256 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
257 (renameat) [__NR_renameat]: Make code unconditional.
258 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
259 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
260 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
261 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
262 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
263 (__ASSUME_ATFCTS): Do not undefine and redefine.
264 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
266 (symlinkat) [__NR_symlinkat]: Make code unconditional.
267 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
268 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
270 (unlinkat) [__NR_unlinkat]: Make code unconditional.
271 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
273 (__ASSUME_ATFCTS): Do not undefine and redefine.
274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
276 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
277 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
280 (__xmknodat) [__NR_mknodat]: Make code unconditional.
281 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
283 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
285 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
287 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
290 * posix/regcomp.c (parse_reg_exp): Deallocate partially
291 constructed tree before returning error.
292 * posix/bug-regexp36.c: Expand test case.
294 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
297 * math/libm-test.inc (scalbln_test_date):
298 Add errno expectations.
299 * math/w_scalblnf.c: New File.
300 Add wrapper which checks for setting errno to ERANGE.
301 Add weak_alias for corresponding scalbln function.
302 * math/w_scalbln.c: Likewise.
303 * math/w_scalblnl.c: Likewise.
304 * math/Makefile (libm-calls): Add w_scalbln.
305 * sysdeps/ieee754/flt-32/s_scalblnf.c:
306 Remove weak_alias for corresponding scalbln function.
307 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
311 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
312 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
313 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
314 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
315 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
316 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
317 Remove long_double_symbol for scalblnl function in libm, libc.
318 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
319 Add wrapper which checks for setting errno to ERANGE.
320 Add long_double_symbol for scalblnl function in libm, libc.
321 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
322 Remove long_double_symbol for scalblnl in libm.
323 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
324 Add wrapper which checks for setting errno to ERANGE.
325 Add long_double_symbol for scalblnl function in libm.
326 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
327 Do not use wrapper because of own implementation.
329 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
332 3 bytes for __pad1 for x32.
333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
335 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
336 H.J. Lu <hongjiu.lu@intel.com>
338 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
339 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
340 * sysdeps/x86_64/multiarch/memset.S: Likewise.
341 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
342 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
344 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
347 * posix/regcomp.c (parse_expression): Deallocate partially
348 constructed tree before returning error.
349 * posix/Makefile.c (tests): Add bug-regex36.
350 (generated): Add bug-regex36.mtrace.
351 (tests-special): Add $(objpfx)bug-regex36-mem.out
352 (bug-regex36-ENV): New variable.
353 ($(objpfx)bug-regex36-mem.out): New rule.
354 * posix/bug-regex36.c: New file.
356 2014-06-19 Will Newton <will.newton@linaro.org>
358 * malloc/malloc.c (systrim): If extra is zero then return
361 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
363 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
365 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
367 * sysdeps/aarch64/strchr.S: New file.
369 2014-06-18 Joseph Myers <joseph@codesourcery.com>
372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
373 from arguments -2 or below.
374 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
375 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
377 2014-06-18 Andreas Schwab <schwab@suse.de>
380 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
381 of a bracket expr not to run off the end of the string.
382 * posix/Makefile (tests): Add tst-fnmatch3.
383 * posix/tst-fnmatch3.c: New file.
385 2014-06-18 Joseph Myers <joseph@codesourcery.com>
387 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
388 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
389 [$(cross-compiling) = no]: Likewise.
390 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
391 [$(cross-compiling) = no]: Likewise.
393 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
396 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
397 double, adjusted for any remainder from the high double.
398 * math/libm-test.inc (nearbyint): Add tests.
401 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
403 * nptl/sysdeps/powerpc/Makefile: Moved ...
404 * sysdeps/powerpc/nptl/Makefile: ... here.
405 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
406 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
407 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
408 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
409 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
410 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
411 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
412 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
413 * nptl/sysdeps/powerpc/tls.h: Moved ...
414 * sysdeps/powerpc/nptl/tls.h: ... here.
416 2014-06-16 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
420 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
421 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
422 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
423 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
424 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
425 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
426 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
427 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
429 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
431 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
433 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
435 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
438 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
441 2014-06-16 Florian Weimer <fweimer@redhat.com>
444 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
445 non-executed part of the test.
447 2014-06-16 Andreas Schwab <schwab@suse.de>
449 * string/bits/string2.h (strdup, strndup): Update feature guard.
451 2014-06-14 David S. Miller <davem@davemloft.net>
453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
455 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
457 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
458 that was previously under [RESET_PID].
459 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
461 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
462 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
463 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
464 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
465 (__libc_vfork): New strong alias.
466 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
468 2014-06-14 Andi Kleen <ak@linux.intel.com>
470 * sysdeps/generic/elide.h: New file.
472 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
474 * Makefile (installed-headers): Adjust path of pthread.h header.
476 2014-06-13 Roland McGrath <roland@hack.frob.com>
478 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
479 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
480 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
481 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
483 * nptl/sysdeps/s390/Makefile: Moved ...
484 * sysdeps/s390/nptl/Makefile: ... here.
485 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
486 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
487 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
488 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
489 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
490 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
491 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
492 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
493 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
494 * sysdeps/s390/nptl/pthreaddef.h: ... here.
495 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
496 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
497 * nptl/sysdeps/s390/tls.h: Moved ...
498 * sysdeps/s390/nptl/tls.h: ... here.
500 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
501 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
503 2014-06-13 David S. Miller <davem@davemloft.net>
505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
508 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
512 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
513 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
514 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
516 Remove RESET_PID cpp guards.
517 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
518 Remove RESET_PID cpp guards.
519 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
521 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
523 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
526 2014-06-13 Andi Kleen <ak@linux.intel.com>
528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
530 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
533 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
535 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
540 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
542 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
543 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
544 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
549 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
550 (pthread_rwlock_rdlock): Add elision.
551 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
552 (pthread_rwlock_wrlock): Add elision.
553 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
554 (pthread_rwlock_trywrlock): Add elision.
555 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
556 (pthread_rwlock_tryrdlock): Add elision.
557 * nptl/pthread_rwlock_unlock.c: Include elide.h.
558 (pthread_rwlock_tryrdlock): Add elision unlock.
559 * nptl/sysdeps/pthread/pthread.h:
560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
561 (PTHREAD_RWLOCK_INITIALIZER,
562 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
563 Handle new elision field.
564 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
565 * sysdeps/arm/nptl/bits/pthreadtypes.h
566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
567 * sysdeps/sh/nptl/bits/pthreadtypes.h
568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
569 * sysdeps/tile/nptl/bits/pthreadtypes.h
570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
571 * sysdeps/a/nptl/bits/pthreadtypes.h
572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
573 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
575 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
577 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
579 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
581 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
583 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
584 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
585 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
586 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
587 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
589 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
590 (elision_init): Set try_xbegin to zero when no RTM.
591 * sysdeps/x86/nptl/bits/pthreadtypes.h
592 (pthread_rwlock_t): Change __pad1 to __rwelision.
593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
595 2014-06-13 Andi Kleen <ak@linux.intel.com>
597 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
598 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
599 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
600 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
602 2014-06-13 Meador Inge <meadori@codesourcery.com>
605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
606 that the cached result has been set before returning it.
608 2014-06-12 Roland McGrath <roland@hack.frob.com>
610 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
611 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
613 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
614 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
615 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
617 * nptl/sysdeps/sparc/Makefile: Moved ...
618 * sysdeps/sparc/nptl/Makefile: ... here.
619 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
620 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
621 * nptl/sysdeps/sparc/tls.h: Moved ...
622 * sysdeps/sparc/nptl/tls.h: ... here.
623 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
624 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
625 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
626 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
627 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
628 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
629 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
630 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
631 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
632 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
633 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
634 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
635 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
636 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
637 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
638 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
639 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
645 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
648 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
652 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
654 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
655 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
657 * sysdeps/pthread/posix-timer.h: Include <list.h>.
658 (struct list_links): Type removed.
659 (struct thread_node, struct timer_node): Replace struct list_links
660 with struct list_head.
661 (list_unlink_ip): Likewise.
662 * sysdeps/pthread/timer_routines.c
663 (timer_free_list, thread_free_list, thread_active_list): Likewise.
664 (list_append, list_insbefore): Likewise.
665 (list_init): Function removed.
666 (thread_init, init_module): Use INIT_LIST_HEAD instead.
667 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
668 * sysdeps/pthread/Makefile: ... here, new file.
670 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
671 * sysdeps/nptl/Implies: ... here.
672 * sysdeps/unix/sysv/linux/Implies: Add nptl.
673 * nptl/sysdeps/pthread/list.h: Moved ...
674 * include/list.h: ... here.
675 * nptl/sysdeps/pthread/createthread.c: Moved ...
676 * nptl/createthread.c: ... here.
677 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
678 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
679 * nptl/pt-longjmp.c: ... here.
680 * nptl/sysdeps/pthread/Makefile: Moved ...
681 * sysdeps/nptl/Makefile: ... here.
682 * nptl/sysdeps/pthread/Subdirs: Moved ...
683 * sysdeps/nptl/Subdirs: ... here.
684 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
685 * sysdeps/nptl/aio_misc.h: ... here.
686 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
687 * sysdeps/nptl/bits/libc-lock.h: ... here.
688 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
689 * sysdeps/nptl/bits/libc-lockP.h: ... here.
690 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
691 * sysdeps/nptl/bits/stdio-lock.h: ... here.
692 * nptl/sysdeps/pthread/configure: Moved ...
693 * sysdeps/nptl/configure: ... here.
694 * nptl/sysdeps/pthread/configure.ac: Moved ...
695 * sysdeps/nptl/configure.ac: ... here.
696 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
697 * sysdeps/nptl/gai_misc.h: ... here.
698 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
699 * sysdeps/nptl/librt-cancellation.c: ... here.
700 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
701 * sysdeps/nptl/malloc-machine.h: ... here.
702 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
703 * sysdeps/nptl/pthread-functions.h: ... here.
704 * nptl/sysdeps/pthread/pthread.h: Moved ...
705 * sysdeps/nptl/pthread.h: ... here.
706 * nptl/sysdeps/pthread/setxid.h: Moved ...
707 * sysdeps/nptl/setxid.h: ... here.
708 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
709 * sysdeps/nptl/sigfillset.c: ... here.
710 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
711 * sysdeps/nptl/tcb-offsets.h: ... here.
712 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
713 * sysdeps/nptl/tst-mqueue8x.c: ... here.
714 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
715 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
716 * nptl/sysdeps/pthread/allocalim.h: Moved ...
717 * sysdeps/pthread/allocalim.h: ... here.
718 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
719 * sysdeps/pthread/bits/sigthread.h: ... here.
720 * nptl/sysdeps/pthread/flockfile.c: Moved ...
721 * sysdeps/pthread/flockfile.c: ... here.
722 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
723 * sysdeps/pthread/ftrylockfile.c: ... here.
724 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
725 * sysdeps/pthread/funlockfile.c: ... here.
726 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
727 * sysdeps/pthread/posix-timer.h: ... here.
728 * nptl/sysdeps/pthread/timer_create.c: Moved ...
729 * sysdeps/pthread/timer_create.c: ... here.
730 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
731 * sysdeps/pthread/timer_delete.c: ... here.
732 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
733 * sysdeps/pthread/timer_getoverr.c: ... here.
734 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
735 * sysdeps/pthread/timer_gettime.c: ... here.
736 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
737 * sysdeps/pthread/timer_routines.c: ... here.
738 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
739 * sysdeps/pthread/timer_settime.c: ... here.
740 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
741 * sysdeps/pthread/tst-timer.c: ... here.
742 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
743 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
745 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
746 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
748 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
749 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
750 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
751 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
752 Update #include target.
753 * nptl/sysdeps/i386/i686/Makefile: Moved ...
754 * sysdeps/i386/i686/nptl/Makefile: ... here.
755 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
756 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
757 Update #include target.
758 * nptl/sysdeps/i386/i686/tls.h: Moved ...
759 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
760 * nptl/sysdeps/i386/Makefile: Moved ...
761 * sysdeps/i386/nptl/Makefile: ... here.
762 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
763 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
764 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
765 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
766 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
767 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
768 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
769 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
770 * sysdeps/i386/nptl/pthreaddef.h: ... here.
771 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
772 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
773 * nptl/sysdeps/i386/tls.h: Moved ...
774 * sysdeps/i386/nptl/tls.h: ... here.
776 * sysdeps/sh/Makefile [$(subdir) = csu]
777 (gen-as-const-headers): Add tcb-offsets.sym.
778 * nptl/sysdeps/sh/Makefile: File removed.
779 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
780 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
781 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
782 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
783 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
784 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
785 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
786 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
787 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
788 * sysdeps/sh/nptl/pthreaddef.h: ... here.
789 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
790 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
791 * nptl/sysdeps/sh/tls.h: Moved ...
792 * sysdeps/sh/nptl/tls.h: ... here.
793 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
794 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
796 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
797 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
798 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
799 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
800 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
801 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
802 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
804 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
806 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
808 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
810 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
812 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
813 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
814 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
815 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
824 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
825 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
826 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
828 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
829 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
830 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
832 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
833 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
834 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
836 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
837 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
838 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
839 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
840 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
842 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
844 * posix/spawn_faction_addopen.c: Include string.h.
846 2014-06-11 Roland McGrath <roland@hack.frob.com>
848 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
849 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
850 * nptl/sysdeps/x86_64/Makefile: Moved ...
851 * sysdeps/x86_64/nptl/Makefile: ... here.
852 * nptl/sysdeps/x86_64/configure: Moved ...
853 * sysdeps/x86_64/nptl/configure: ... here.
854 * nptl/sysdeps/x86_64/configure.ac: Moved ...
855 * sysdeps/x86_64/nptl/configure.ac: ... here.
856 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
857 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
858 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
859 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
860 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
861 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
862 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
863 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
864 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
865 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
866 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
867 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
868 * nptl/sysdeps/x86_64/tls.h: Moved ...
869 * sysdeps/x86_64/nptl/tls.h: ... here.
870 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
871 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
872 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
873 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
875 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
877 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
881 2014-06-11 Joseph Myers <joseph@codesourcery.com>
883 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
885 [POSIX] (off_t): Likewise.
886 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
887 [POSIX] (S_ISBLK): Require macro.
888 [POSIX] (S_ISCHR): Likewise.
889 [POSIX] (S_ISDIR): Likewise.
890 [POSIX] (S_ISFIFO): Likewise.
891 [POSIX] (S_ISREG): Likewise.
892 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
894 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
896 [POSIX] (time_t): Likewise.
897 [POSIX] (timer_t): Likewise.
899 2014-06-11 Florian Weimer <fweimer@redhat.com>
902 * posix/spawn_int.h (struct __spawn_action): Make the path string
903 non-const to support deallocation.
904 * posix/spawn_faction_addopen.c
905 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
906 * posix/spawn_faction_destroy.c
907 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
908 path in all spawn_do_open actions.
909 * posix/tst-spawn.c (do_test): Exercise the copy operation in
910 posix_spawn_file_actions_addopen.
912 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
914 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
915 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
916 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
917 conditional code always true.
918 (__libc_vfork): New alias.
920 2014-06-11 Roland McGrath <roland@hack.frob.com>
922 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
923 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
925 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
927 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
928 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
930 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
931 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
933 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
934 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
936 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
938 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
939 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
940 multiarch strcmp for PPC64.
941 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
942 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
944 multiarch optimizations.
945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
946 (__libc_ifunc_impl_list): Likewise.
948 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
950 * benchtests/scripts/validate_benchout.py: New script.
951 * benchtests/Makefile (bench-func): Call it.
952 * benchtests/scripts/benchout.schema.json: New file.
954 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
956 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
957 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
958 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
959 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
960 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
961 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
962 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
963 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
964 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
965 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
966 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
967 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
968 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
969 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
970 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
971 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1076 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1078 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1084 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1086 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1088 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1090 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1091 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1092 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1094 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1097 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1100 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1102 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1103 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1105 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1109 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1110 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1111 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1113 2014-06-10 Wilco <wdijkstr@arm.com>
1115 * math/test-fenv-return.c: New file.
1116 * math/Makefile: Add new test test-fenv-return.
1118 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1121 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1123 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1124 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1125 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1126 0.0L for an argument of 1.0L.
1127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1129 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1130 value when x - 1 is zero.
1131 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1132 * sysdeps/i386/fpu/libm-test-ulps: Update.
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1138 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1140 2014-06-09 Roland McGrath <roland@hack.frob.com>
1142 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1143 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1145 2014-06-09 Roland McGrath <roland@hack.frob.com>
1147 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1148 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1150 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1151 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1153 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1154 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1156 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1157 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1159 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1160 if not already defined.
1161 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1162 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1163 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1164 (TLS_INIT_TP): Use it.
1165 (TLS_DEFINE_INIT_TP): New macro.
1166 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1168 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1170 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1172 [POSIX] (IXANY): Likewise.
1173 [POSIX] (OLCUC): Likewise.
1174 [POSIX || POSIX2008] (CBAUD): Do not allow.
1175 [POSIX || POSIX2008] (DEFECHO): Likewise.
1176 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1177 [POSIX || POSIX2008] (ECHOKE): Likewise.
1178 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1179 [POSIX || POSIX2008] (EXTA): Likewise.
1180 [POSIX || POSIX2008] (EXTB): Likewise.
1181 [POSIX || POSIX2008] (FLUSHO): Likewise.
1182 [POSIX || POSIX2008] (LOBLK): Likewise.
1183 [POSIX || POSIX2008] (PENDIN): Likewise.
1184 [POSIX || POSIX2008] (SWTCH): Likewise.
1185 [POSIX || POSIX2008] (VDISCARD): Likewise.
1186 [POSIX || POSIX2008] (VDSUSP): Likewise.
1187 [POSIX || POSIX2008] (VLNEXT): Likewise.
1188 [POSIX || POSIX2008] (VREPRINT): Likewise.
1189 [POSIX || POSIX2008] (VSTATUS): Likewise.
1190 [POSIX || POSIX2008] (VWERASE): Likewise.
1191 (B*): Change to B[0123456789]*.
1192 * conform/data/time.h-data [POSIX || UNIX98]
1193 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1194 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1195 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1196 [POSIX] (tm_*): Do not allow.
1198 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1200 * Makefile (install): Don't set LANGUAGE.
1201 * Makefile.in (install): Likewise.
1202 * assert/Makefile (test-assert-ENV): Remove variable.
1203 (test-assert-perr-ENV): Likewise.
1204 * elf/Makefile (neededtest4-ENV): Likewise.
1205 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1206 [$(cross-compiling) = no]: Don't set LANGUAGE.
1207 * io/ftwtest-sh (LANG): Remove variable.
1208 * libio/Makefile (tst-widetext-ENV): Likewise.
1209 * manual/install.texi (Running make install): Don't refer to
1210 environment settings for make install.
1211 * INSTALL: Regenerated.
1212 * nptl/tst-tls6.sh: Don't set LANG.
1213 * posix/globtest.sh (LANG): Remove variable.
1214 * string/Makefile (tester-ENV): Likewise.
1215 (inl-tester-ENV): Likewise.
1216 (noinl-tester-ENV): Likewise.
1217 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1218 [$(cross-compiling) = no]: Don't set LANGUAGE.
1219 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1220 without explicit environment settings.
1222 2014-06-06 Roland McGrath <roland@hack.frob.com>
1224 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1225 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1226 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1227 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1229 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1231 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1232 other files in the crypt directory.
1233 * crypt/crypt.c: Remove duplicate includes.
1234 * crypt/crypt-entry.c: Likewise.
1235 * crypt/crypt_util.c: Likewise.
1237 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1239 * Makeconfig (run-program-env): New variable.
1240 (run-program-prefix-before-env): Likewise.
1241 (run-program-prefix-after-env): Likewise.
1242 (run-program-prefix): Define in terms of new variables.
1243 (built-program-cmd-before-env): New variable.
1244 (built-program-cmd-after-env): Likewise.
1245 (built-program-cmd): Define in terms of new variables.
1246 (test-program-prefix-before-env): New variable.
1247 (test-program-prefix-after-env): Likewise.
1248 (test-program-prefix): Define in terms of new variables.
1249 (test-program-cmd-before-env): New variable.
1250 (test-program-cmd-after-env): Likewise.
1251 (test-program-cmd): Define in terms of new variables.
1252 * Rules (make-test-out): Use $(run-program-env).
1253 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1254 (help): Do not mention environment variables. Mention
1255 --timeoutfactor option.
1256 (timeoutfactor): New variable.
1257 (blacklist_exports): Remove function.
1258 (exports): Remove variable.
1259 (command): Do not include ${exports}.
1260 * manual/install.texi (Configuring and compiling): Do not mention
1261 test wrappers preserving environment variables. Mention that last
1262 assignment to a variable must take precedence.
1263 * INSTALL: Regenerated.
1264 * benchtests/Makefile (run-bench): Use $(run-program-env).
1265 * catgets/Makefile ($(objpfx)test1.cat): Use
1266 $(built-program-cmd-before-env), $(run-program-env) and
1267 $(built-program-cmd-after-env).
1268 ($(objpfx)test2.cat): Do not specify environment variables
1270 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1271 $(run-program-env) and $(built-program-cmd-after-env).
1272 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1273 $(run-program-env) and $(test-program-cmd-after-env).
1274 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1276 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1277 run_program_env and test_program_cmd_after_env arguments.
1278 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1279 * elf/tst-pathopt.sh: Use run_program_env argument.
1280 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1281 $(test-wrapper-env) and $(run-program-env).
1282 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1283 run_program_env arguments.
1284 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1285 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1286 $(test-program-prefix-before-env), $(run-program-env) and
1287 $(test-program-prefix-after-env).
1288 ($(objpfx)tst-gettext2.out): Likewise.
1289 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1290 run_program_env and test_program_prefix_after_env arguments.
1291 * intl/tst-gettext2.sh: Likewise.
1292 * intl/tst-gettext4.sh: Do not set environment variables
1294 * intl/tst-gettext6.sh: Likewise.
1295 * intl/tst-translit.sh: Likewise.
1296 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1297 $(test-program-prefix-before-env), $(run-program-env) and
1298 $(test-program-prefix-after-env).
1299 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1300 run_program_env and test_program_prefix_after_env arguments.
1301 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1302 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1303 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1304 explicitly with each use of ${test_wrapper_env}.
1305 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1306 $(test-program-prefix-before-env), $(run-program-env) and
1307 $(test-program-prefix-after-env).
1308 * posix/tst-getconf.sh: Do not set environment variables
1310 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1311 run_program_env and test_program_prefix_after_env arguments.
1312 * stdio-common/tst-printf.sh: Do not set environment variables
1314 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1315 $(test-program-prefix-before-env), $(run-program-env) and
1316 $(test-program-prefix-after-env).
1317 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1318 run_program_env and test_program_prefix_after_env arguments.
1319 Split $test calls into $test_pre and $test.
1320 * timezone/Makefile (build-testdata): Use
1321 $(built-program-cmd-before-env), $(run-program-env) and
1322 $(built-program-cmd-after-env).
1324 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1327 strlen for non SHARED builds.
1329 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1331 * nptl/allocatestack.c (check_list): Inlined function...
1332 (__reclaim_stacks): ... here.
1334 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1337 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1340 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1342 * Rules (make-test-out): Include
1343 LOCPATH=$(common-objpfx)localedata in default environment.
1344 * debug/Makefile (tst-chk1-ENV): Remove variable.
1345 (tst-chk2-ENV): Likewise.
1346 (tst-chk3-ENV): Likewise.
1347 (tst-chk4-ENV): Likewise.
1348 (tst-chk5-ENV): Likewise.
1349 (tst-chk6-ENV): Likewise.
1350 (tst-lfschk1-ENV): Likewise.
1351 (tst-lfschk2-ENV): Likewise.
1352 (tst-lfschk3-ENV): Likewise.
1353 (tst-lfschk4-ENV): Likewise.
1354 (tst-lfschk5-ENV): Likewise.
1355 (tst-lfschk6-ENV): Likewise.
1356 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1357 (tst-iconv7-ENV): Likewise.
1358 * intl/Makefile (LOCPATH-ENV): Likewise.
1359 (tst-codeset-ENV): Likewise.
1360 (tst-gettext3-ENV): Likewise.
1361 (tst-gettext5-ENV): Likewise.
1362 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1363 (tst-fopenloc-ENV): Likewise.
1364 (tst-fgetws-ENV): Remove variable.
1365 (tst-ungetwc1-ENV): Likewise.
1366 (tst-ungetwc2-ENV): Likewise.
1367 (bug-ungetwc2-ENV): Likewise.
1368 (tst-swscanf-ENV): Likewise.
1369 (bug-ftell-ENV): Likewise.
1370 (tst-fgetwc-ENV): Likewise.
1371 (tst-fseek-ENV): Likewise.
1372 (tst-ftell-partial-wide-ENV): Likewise.
1373 (tst-ftell-active-handler-ENV): Likewise.
1374 (tst-ftell-append-ENV): Likewise.
1375 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1376 (tst-regexloc-ENV): Likewise.
1377 (bug-regex1-ENV): Likewise.
1378 (tst-regex-ENV): Likewise.
1379 (tst-regex2-ENV): Likewise.
1380 (bug-regex5-ENV): Likewise.
1381 (bug-regex6-ENV): Likewise.
1382 (bug-regex17-ENV): Likewise.
1383 (bug-regex18-ENV): Likewise.
1384 (bug-regex19-ENV): Likewise.
1385 (bug-regex20-ENV): Likewise.
1386 (bug-regex22-ENV): Likewise.
1387 (bug-regex23-ENV): Likewise.
1388 (bug-regex25-ENV): Likewise.
1389 (bug-regex26-ENV): Likewise.
1390 (bug-regex30-ENV): Likewise.
1391 (bug-regex32-ENV): Likewise.
1392 (bug-regex33-ENV): Likewise.
1393 (bug-regex34-ENV): Likewise.
1394 (bug-regex35-ENV): Likewise.
1395 (tst-rxspencer-ENV): Likewise.
1396 (tst-rxspencer-no-utf8-ENV): Likewise.
1397 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1398 (tst-sscanf-ENV): Likewise.
1399 (tst-swprintf-ENV): Likewise.
1400 (tst-swscanf-ENV): Likewise.
1401 (test-vfprintf-ENV): Likewise.
1402 (scanf13-ENV): Likewise.
1403 (bug14-ENV): Likewise.
1404 (tst-grouping-ENV): Likewise.
1405 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1406 (tst-strtod3-ENV): Likewise.
1407 (tst-strtod4-ENV): Likewise.
1408 (tst-strtod5-ENV): Likewise.
1409 (testmb2-ENV): Likewise./
1410 * string/Makefile (tst-strxfrm-ENV): Likewise.
1411 (tst-strxfrm2-ENV): Likewise.
1412 (bug-strcoll1-ENV): Likewise.
1413 (test-strcasecmp-ENV): Likewise.
1414 (test-strncasecmp-ENV): Likewise.
1415 * time/Makefile (tst-strptime-ENV): Likewise.
1416 (tst-ftime_l-ENV): Likewise.
1417 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1418 (tst-mbrtowc-ENV): Likewise.
1419 (tst-wcrtomb-ENV): Likewise.
1420 (tst-mbrtowc2-ENV): Likewise.
1421 (tst-c16c32-1-ENV): Likewise.
1422 (tst-mbsnrtowcs-ENV): Likewise.
1424 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1426 * manual/resource.texi (How to get information about the memory
1427 subsystem?): Fix typo.
1428 Reported by Peon de la Parra Ivan <peon@keba.com>
1430 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1433 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1434 (pthread_spin_lock): Branch out of spin loop to proper location.
1435 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1436 (pthread_spin_lock): Likewise.
1438 * nptl/tst-spin4.c: New test.
1439 * nptl/Makefile (tests): Add tst-spin4.
1441 2014-06-03 Andreas Schwab <schwab@suse.de>
1444 * resolv/res_send.c (send_dg): Reload file descriptor after
1447 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1449 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1451 2014-06-03 Richard Henderson <rth@redhat.com>
1453 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1454 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1455 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1456 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1457 in the SAVE_PID block.
1458 (__libc_vfork): New alias.
1459 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1461 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1462 child in registers, not on the stack. Remove RESET_PID conditionals.
1463 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1465 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1467 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1469 2014-06-03 Wilco <wdijkstr@arm.com>
1471 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1472 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1473 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1474 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1475 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1478 2014-06-03 Wilco <wdijkstr@arm.com>
1480 * sysdeps/aarch64/fpu/math_private.h
1481 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1482 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1483 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1484 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1487 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1489 * crypt/crypt-private.h: Include ufc-crypt.h.
1490 (__b64_from_24bit): Declare extern.
1491 * crypt/crypt_util.c(__b64_from_24bit): New function.
1492 (b64t): New static const variable.
1493 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1494 (b64t): Remove variable.
1495 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1496 * crypt/sha256-crypt.c: Include crypt-private.h.
1497 (b64t): Remove variable.
1498 (__sha256_crypt_r): Remove b64_from_24bit and replace
1499 with __b64_from_24bit.
1500 * crypt/sha512-crypt.c: Likewise.
1502 2014-06-02 Roland McGrath <roland@hack.frob.com>
1504 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1505 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1506 Label the code __libc_vfork rather than __vfork.
1507 [!NOT_IN_libc] (vfork): Define as weak alias.
1508 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1509 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1510 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1512 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1514 * malloc/malloc.c (malloc_info): Fix format specifier for
1517 2014-06-02 Wilco <wdijkstr@arm.com>
1519 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1522 2014-06-02 Wilco <wdijkstr@arm.com>
1525 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1526 Rewrite to reduce FPCR/FPSR accesses.
1528 2014-06-01 David S. Miller <davem@davemloft.net>
1530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1532 2014-05-31 David S. Miller <davem@davemloft.net>
1534 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1535 to occur in round to nearest mode when |x| >= 2.0
1537 2014-05-30 Richard Henderson <rth@twiddle.net>
1539 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1540 (PSEUDO_RET_NOERRNO): Remove.
1541 (ret): Don't redefine.
1542 (ret_NOERRNO): Define in terms of ret.
1543 (ret_ERRVAL): Likewise.
1545 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1546 use of PSEUDO_RET; perform the error check directly.
1548 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1550 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1553 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1555 * malloc/malloc (malloc_info): Fix formatting.
1557 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 Roland McGrath <roland@hack.frob.com>
1560 * malloc/malloc (malloc_info): Also print mmapped statistics.
1562 2014-05-30 Roland McGrath <roland@hack.frob.com>
1564 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1565 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1567 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1569 * malloc/malloc.c (malloc_info): Inline mi_arena.
1571 2014-05-29 Richard Henderson <rth@twiddle.net>
1573 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1574 Remove comma before expanding ASM_ARGS_##nr.
1575 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1576 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1578 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1579 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1580 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1581 (ASM_ARGS_1): Add leading comma.
1583 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1584 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1585 to __errno_location.
1586 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1587 Remove the expected plt for __errno_location.
1589 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1590 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1593 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1594 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1595 it and break it down.
1596 (DOCARGS_0, DOCARGS_1): Do nothing.
1597 (DOCARGS_2): Update to store into the new stack frame.
1598 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1599 (UNDOCARGS_1): Update to restore from the new stack frame.
1600 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1601 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1603 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1604 (SINGLE_THREAD_P): New parameter for result regno.
1605 (PSEUDO): Update to match; use cbz instead of beq.
1607 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1608 Use ENTRY to define the _nocancel entry point. Share the syscall
1609 and syscall error check paths with the cancel path.
1612 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1613 whitespace; tabs before and after asm mnemonics.
1615 2014-05-29 Eric Wong <normalperson@yhbt.net>
1618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1619 Call fstat64 or stat64 internally, depending on arguments passed.
1620 Replace stat buffer argument with file descriptor argument.
1621 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1622 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1623 Pass fd to __internal_statvfs instead of calling fstat64.
1624 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1625 Pass fd to __internal_statvfs64 instead of calling fstat64.
1626 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1627 Pass -1 to __internal_statvfs instead of calling stat64.
1628 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1629 Pass -1 to __internal_statvfs64 instead of calling stat64.
1631 2014-05-28 Roland McGrath <roland@hack.frob.com>
1633 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1634 that was previously under [RESET_PID].
1635 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1637 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1638 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1640 2014-05-27 Roland McGrath <roland@hack.frob.com>
1642 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1644 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1645 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1647 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1649 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1651 2014-05-27 Andreas Schwab <schwab@suse.de>
1653 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1655 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1656 * elf/rtld.c (init_tls, dl_main): Likewise.
1657 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1658 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1659 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1660 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1661 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1662 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1663 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1664 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1665 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1666 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1667 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1668 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1669 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1670 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1671 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1672 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1673 * sysdeps/generic/tls.h: Update description.
1675 2014-05-27 Will Newton <will.newton@linaro.org>
1678 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1679 and restore r2 rather than just restoring.
1681 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1684 * libio/tst-ftell-append.c: New test case.
1685 * libio/Makefile (tests): Add test case.
1686 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1688 * libio/wfileops.c (do_ftell_wide): Likewise.
1690 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1694 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1698 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1699 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1701 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1703 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1710 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1711 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1712 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1713 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1714 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1716 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1717 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1719 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1721 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1723 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1725 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1728 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1730 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1745 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1753 conditional [RESET_PID].
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1755 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1762 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1763 (__libc_vfork): New strong alias.
1764 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1771 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1772 (__libc_vfork): New strong alias.
1773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1778 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1780 * malloc/malloc.c (mi_arena): New function.
1781 (malloc_info): Remove nested function mi_arena. Call non-nosted
1784 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1788 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1789 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1790 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1791 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1792 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1793 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1796 2014-05-26 Andreas Schwab <schwab@suse.de>
1799 * locale/programs/repertoire.c (repertoire_read): Add slash
1800 between I18NPATH element and file name.
1801 * locale/programs/locfile.c (locfile_read): Likewise.
1803 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1805 * nptl/pthread_mutexattr_settype.c
1806 (__pthread_mutexattr_settype):
1807 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1809 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1811 * nptl/tst-mutex5 (do_test):
1812 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1814 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1816 * benchtests/README: Document 'init' directive.
1817 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1819 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1820 (parse_file): Recognize 'init' directive.
1822 2014-05-26 Kyle McMartin <kyle@redhat.com>
1825 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1826 alignment of struct pthread.
1828 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1831 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1832 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1833 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1834 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1836 2014-05-25 Richard Henderson <rth@twiddle.net>
1838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1839 (SINGLE_THREAD_P_PIC): Remove.
1840 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1841 (SINGLE_THREAD_P_PIC): Remove.
1843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1844 branch to syscall error ...
1846 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1847 from __local_syscall_error to .Lsyscall_error.
1848 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1849 (SYSCALL_ERROR): Update label name.
1851 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1852 Do not use DOARGS/UNDOARGS.
1853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1854 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1855 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1856 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1857 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1859 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1862 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1863 define if !NOT_IN_libc.
1864 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1865 define with non-default symbol versions.
1867 2014-05-23 Richard Henderson <rth@twiddle.net>
1869 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1870 (vfork, __vfork): Define via compat_symbol.
1872 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1873 [!HAVE_IFUNC] (vfork_compat): Remove.
1874 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1876 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1879 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1880 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1883 2014-05-23 Richard Henderson <rth@twiddle.net>
1885 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1886 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1887 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1888 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1890 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1891 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1892 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1893 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1894 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1895 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1896 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1897 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1898 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1899 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1900 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1901 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1902 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1903 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1905 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1906 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1907 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1908 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1909 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1910 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1911 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1912 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1913 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1914 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1915 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1916 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1917 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1925 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1926 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1927 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1928 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1929 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1930 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1931 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1932 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1933 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1934 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1935 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1937 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1939 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1941 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1943 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1945 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1947 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1948 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1949 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1950 before exiting on error.
1951 (__libc_vfork): New strong alias.
1952 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1953 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1955 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1956 that was previously under [RESET_PID].
1957 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1959 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1961 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1964 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1965 value when x - 1 is zero.
1966 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1967 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1968 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1969 0.0L for an argument of 1.0L.
1970 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1972 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1973 value when x - 1 is zero.
1974 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1975 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1978 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1980 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1981 alphasort and versionsort.
1983 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1985 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1987 [copysignf]: Likewise.
1989 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1991 * crypt/md5-crypt.c: Fix formatting.
1993 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1995 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1996 (b64_from_24bit): New function.
1998 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2001 libc_hidden_builtin_def to ifunc.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2003 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2005 2014-05-21 Roland McGrath <roland@hack.frob.com>
2007 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2008 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2010 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2012 * nscd/Depend (linuxthreads): Remove.
2014 * resolv/Depend (linuxthreads): Remove.
2015 * rt/Depend (linuxthreads): Remove.
2017 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2018 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2019 $(common-objpfx)elf/.
2020 (link-libc-before-gnulib): Likewise.
2021 (elfobjdir): Remove variable.
2022 * Makefile (install): Use $(elf-objpfx) instead of
2023 $(common-objpfx)elf/.
2024 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2026 (link-libc-deps): Likewise.
2027 ($(common-objpfx)libc.so): Likewise.
2028 ($(common-objpfx)linkobj/libc.so): Likewise.
2029 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2030 instead of $(common-objpfx)elf/.
2031 (symbolic-link-list): Likewise.
2032 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2033 [$(cross-compiling) = no]: Likewise.
2034 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2036 (static-gnulib-arch): Likewise.
2037 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2038 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2039 $(common-objpfx)elf/.
2041 2014-05-21 Richard Henderson <rth@redhat.com>
2043 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2044 (SINGLE_THREAD_P): Use the correct width load. Fold
2045 into the ldr offset.
2047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2048 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2050 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2052 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2053 (libgcc_s_resume): Use __attribute_used__.
2054 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2057 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2059 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2060 optimization when used with float constants.
2062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2064 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2067 * locale/nl_langinfo_l.c: Make direct reference to every
2068 _nl_current_CATEGORY symbol.
2069 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2070 (tests-static): Add tst-langinfo-static.
2071 (tests-special): Add tst-langinfo-static.out.
2072 ($(objpfx)tst-langinfo.out): Redirect output.
2073 ($(objpfx)tst-langinfo-static.out): New.
2074 * localedata/tst-langinfo.sh: Send output to stdout.
2075 * localedata/tst-langinfo-static.c: New file.
2078 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2079 when the shift amount is modulo the limb size.
2081 2014-05-20 Richard Henderson <rth@redhat.com>
2084 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2085 Change type of sa_flags from unsigned int to int.
2088 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2090 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2092 2014-05-20 Will Newton <will.newton@linaro.org>
2094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2095 Test the return value of the system call in the nocancel case.
2097 2014-05-20 Will Newton <will.newton@linaro.org>
2098 Yvan Roux <yvan.roux@linaro.org>
2100 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2101 #include of asm/ptrace.h.
2102 (PTRACE_GET_THREAD_AREA): Remove #undef.
2103 (PTRACE_GETHBPREGS): Likewise.
2104 (PTRACE_SETHBPREGS): Likewise.
2105 (struct user_regs_struct): New structure.
2106 (struct user_fpsimd_struct): New structure.
2107 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2108 #include of asm/ptrace.h and second #include of sys/user.h.
2109 (PTRACE_GET_THREAD_AREA): Remove #undef.
2110 (PTRACE_GETHBPREGS): Likewise.
2111 (PTRACE_SETHBPREGS): Likewise.
2112 (ELF_NGREG): Use new struct user_regs_struct.
2113 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2115 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2120 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2124 membar to avoid block loads/stores to overlap previous stores.
2126 2014-05-17 Richard Henderson <rth@redhat.com>
2128 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2129 Create the __##syscall_name##_nocancel entry point.
2130 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2131 Remove; let the sysdep-cancel.h code create it.
2133 2014-05-17 David S. Miller <davem@davemloft.net>
2135 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2136 Protect with __USE_GNU.
2137 (TIOCSET_TEMPT): Likewise.
2138 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2139 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2140 these are already provided in bits/ioctl-types.h
2142 2014-05-16 Roland McGrath <roland@hack.frob.com>
2144 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2145 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2147 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2148 Use wait4 regardless of [__NR_waitpid].
2150 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2153 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2154 (_FP_NANSIGN_Q): Set the quiet bit.
2156 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2158 * benchtests/Makefile
2159 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2160 not $(common-objpfx)math/libm.so.
2161 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2162 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2163 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2164 $(common-objpfx)dlfcn/libdl.so.
2165 ($(objpfx)tst-audit8): Depend on $(libm), not
2166 $(common-objpfx)math/libm.so.
2167 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2168 not $(common-objpfx)dlfcn/libdl.so.
2170 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2171 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2172 [$(build-shared) = yes].
2173 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2174 $(common-objpfx)nptl/libpthread.so.
2175 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2176 $(common-objpfx)math/libm.so$(libm.so-version) or
2177 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2178 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2179 $(common-objpfx)dlfcn/libdl.so.
2180 * setjmp/Makefile (link-libm): Remove variable.
2181 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2182 * stdio-common/Makefile (link-libm): Remove variable.
2183 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2184 * stdlib/Makefile (link-libm): Remove variable.
2185 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2186 ($(objpfx)tst-strtod-round): Likewise.
2187 ($(objpfx)tst-tininess): Likewise.
2188 ($(objpfx)tst-strtod-underflow): Likewise.
2189 ($(objpfx)tst-strtod6): Likewise.
2190 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2191 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2192 $(common-objpfx)dlfcn/libdl.so.
2194 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2196 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2197 BSD terminal modes definitions.
2199 2014-05-16 Roland McGrath <roland@hack.frob.com>
2201 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2202 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2204 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2205 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2206 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2207 Don't do #include_next.
2208 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2209 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2210 Don't do #include_next.
2211 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2212 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2213 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2214 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2216 2014-05-16 Allan McRae <allan@archlinux.org>
2218 * po/sv.po: Update Swedish translation from translation project.
2220 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2223 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2226 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2227 errno if the TIOCGPTN ioctl fails with an error different than
2229 * login/tst-ptsname.c: New file.
2230 * login/Makefile (tests): Add tst-ptsname.
2233 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2236 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2240 herrno to return EAI_AGAIN.
2242 2014-05-14 Roland McGrath <roland@hack.frob.com>
2244 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2245 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2246 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2255 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2256 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2257 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2258 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2259 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2260 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2261 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2262 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2263 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2264 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2265 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2267 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2268 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2273 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2275 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2280 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2284 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2288 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2290 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2292 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2294 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2296 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2298 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2300 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2302 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2304 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2306 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2309 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2330 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2334 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2335 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2336 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2337 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2338 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2339 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2340 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2341 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2342 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2344 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2346 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2348 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2349 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2350 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2351 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2352 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2353 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2354 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2355 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2356 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2359 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2360 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2361 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2362 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2363 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2364 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2366 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2367 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2369 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2370 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2371 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2373 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2376 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2379 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2382 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2387 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2390 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2392 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2394 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2396 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2399 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2402 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2404 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2405 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2407 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2410 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2412 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2414 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2416 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2418 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2421 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2424 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2427 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2432 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2437 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2439 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2441 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2444 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2447 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2449 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2450 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2452 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2455 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2457 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2459 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2461 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2463 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2465 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2476 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2479 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2480 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2481 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2486 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2488 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2490 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2492 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2495 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2500 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2501 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2503 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2506 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2508 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2510 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2512 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2514 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2515 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2516 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2520 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2522 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2523 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2525 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2526 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2528 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2529 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2530 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2532 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2534 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2536 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2542 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2544 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2547 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2549 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2554 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2556 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2568 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2570 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2572 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2574 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2575 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2576 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2578 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2580 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2583 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2584 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2585 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2586 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2588 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2589 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2591 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2592 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2593 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2594 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2595 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2596 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2597 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2602 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2603 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2604 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2605 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2607 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2609 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2610 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2611 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2612 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2613 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2614 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2615 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2622 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2641 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2642 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2643 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2645 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2646 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2647 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2648 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2652 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2653 that was previously under [RESET_PID].
2654 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2656 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2658 * sysdeps/i386/nptl/Implies: New file.
2659 * sysdeps/x86_64/nptl/Implies: New file.
2660 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2661 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2662 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2663 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2665 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2667 (__libc_vfork): New strong alias.
2668 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2671 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2673 (__libc_vfork): New strong alias.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2675 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2677 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2678 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2679 (__libc_vfork): New strong alias.
2680 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2681 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2682 * nptl/pt-vfork.c: New file.
2683 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2684 (libpthread: GLIBC_2.20): New version set (empty).
2686 2014-05-14 Will Newton <will.newton@linaro.org>
2688 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2691 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2694 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2695 arguments with exponent 65 or above.
2696 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2697 arguments 0x1p113L or above.
2698 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2699 to arguments 0x1p107L or above.
2700 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2701 positive arguments with exponent 65 or above.
2702 * math/auto-libm-test-in: Add more tests of log1p.
2703 * math/auto-libm-test-out: Regenerated.
2706 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2707 non-finite arguments is +0.
2708 * math/s_cacosf.c (__cacosf): Likewise.
2709 * math/s_cacosl.c (__cacosl): Likewise.
2710 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2711 * sysdeps/i386/fpu/libm-test-ulps: Update.
2712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2717 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2718 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2719 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2720 for explicit high bit of mantissa when testing for argument equal
2722 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2723 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2728 (__erf): Scale by 16 instead of 8 in potentially underflowing
2729 case. Ensure exception if result actually underflows.
2730 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2731 (__erff): Scale by 16 instead of 8 in potentially underflowing
2732 case. Ensure exception if result actually underflows.
2733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2734 (efx8): Remove variable.
2735 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2736 case. Ensure exception if result actually underflows.
2737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2738 (efx8): Remove variable.
2739 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2740 case. Ensure exception if result actually underflows.
2741 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2742 (efx8): Remove variable.
2743 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2744 case. Ensure exception if result actually underflows.
2745 * math/auto-libm-test-in: Add more tests of erf.
2746 * math/auto-libm-test-out: Regenerated.
2748 2014-05-14 Andreas Schwab <schwab@suse.de>
2750 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2751 Remove code conditionalized on USE___THREAD.
2753 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2754 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2757 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2759 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2760 Define unconditionally.
2761 (__ASSUME_O_CLOEXEC): Likewise.
2762 (__ASSUME_SOCK_CLOEXEC): Likewise.
2763 (__ASSUME_IN_NONBLOCK): Likewise.
2764 (__ASSUME_PIPE2): Likewise.
2765 (__ASSUME_EVENTFD2): Likewise.
2766 (__ASSUME_SIGNALFD4): Likewise.
2767 (__ASSUME_DUP3): Likewise.
2768 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2769 (__ASSUME_DUP3): Do not define.
2770 (__ASSUME_EVENTFD2): Likewise.
2771 (__ASSUME_IN_NONBLOCK): Likewise.
2772 (__ASSUME_O_CLOEXEC): Likewise.
2773 (__ASSUME_PIPE2): Likewise.
2774 (__ASSUME_SIGNALFD4): Likewise.
2775 (__ASSUME_SOCK_CLOEXEC): Likewise.
2776 (__ASSUME_UTIMES): Undefine.
2777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2778 (__ASSUME_UTIMES): Do not define.
2779 (__ASSUME_O_CLOEXEC): Likewise.
2780 (__ASSUME_SOCK_CLOEXEC): Likewise.
2781 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2782 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2784 (__ASSUME_PIPE2): Likewise.
2785 (__ASSUME_EVENTFD2): Likewise.
2786 (__ASSUME_SIGNALFD4): Likewise.
2787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2788 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2790 (__ASSUME_EVENTFD2): Likewise.
2791 (__ASSUME_SIGNALFD4): Likewise.
2792 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2793 (__ASSUME_32BITUIDS): Likewise.
2794 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2795 (__ASSUME_IPC64): Likewise.
2796 (__ASSUME_ST_INO_64_BIT): Likewise.
2797 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2798 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2799 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2800 (__ASSUME_UTIMES): Do not define.
2801 (__ASSUME_PSELECT): Likewise.
2802 (__ASSUME_PPOLL): Likewise.
2803 (__ASSUME_O_CLOEXEC): Likewise.
2804 (__ASSUME_SOCK_CLOEXEC): Likewise.
2805 (__ASSUME_IN_NONBLOCK): Likewise.
2806 (__ASSUME_PIPE2): Likewise.
2807 (__ASSUME_EVENTFD2): Likewise.
2808 (__ASSUME_SIGNALFD4): Likewise.
2809 (__ASSUME_DUP3): Likewise.
2810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2811 (__ASSUME_UTIMES): Likewise.
2812 (__ASSUME_O_CLOEXEC): Likewise.
2813 (__ASSUME_SOCK_CLOEXEC): Likewise.
2814 (__ASSUME_IN_NONBLOCK): Likewise.
2815 (__ASSUME_PIPE2): Likewise.
2816 (__ASSUME_EVENTFD2): Likewise.
2817 (__ASSUME_SIGNALFD4): Likewise.
2818 (__ASSUME_DUP3): Likewise.
2819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2820 (__ASSUME_UTIMES): Likewise.
2821 (__ASSUME_O_CLOEXEC): Likewise.
2822 (__ASSUME_SOCK_CLOEXEC): Likewise.
2823 (__ASSUME_IN_NONBLOCK): Likewise.
2824 (__ASSUME_PIPE2): Likewise.
2825 (__ASSUME_EVENTFD2): Likewise.
2826 (__ASSUME_SIGNALFD4): Likewise.
2827 (__ASSUME_DUP3): Likewise.
2828 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2830 (__ASSUME_UTIMES): Likewise.
2831 (__ASSUME_EVENTFD2): Likewise.
2832 (__ASSUME_SIGNALFD4): Likewise.
2833 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2834 (__ASSUME_O_CLOEXEC): Likewise.
2835 (__ASSUME_SOCK_CLOEXEC): Likewise.
2836 (__ASSUME_IN_NONBLOCK): Likewise.
2837 (__ASSUME_PIPE2): Likewise.
2838 (__ASSUME_EVENTFD2): Likewise.
2839 (__ASSUME_SIGNALFD4): Likewise.
2840 (__ASSUME_DUP3): Likewise.
2841 (__ASSUME_UTIMES): Undefine.
2843 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2844 feclearexcept. Remove symbol versioning code.
2845 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2846 symbol versioning code.
2847 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2848 symbol versioning code.
2849 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2850 feupdateenv. Remove symbol versioning code.
2851 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2852 fegetexceptflag. Remove symbol versioning code.
2853 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2854 fesetexceptflag. Remove symbol versioning code.
2855 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2856 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2857 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2858 (__posix_fadvise64_l32): Remove prototype.
2859 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2862 2014-05-13 Roland McGrath <roland@hack.frob.com>
2864 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2865 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2866 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2867 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2869 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2871 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2872 current working directory
2874 2014-05-13 Roland McGrath <roland@hack.frob.com>
2876 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2877 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2878 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2879 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2880 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2881 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2882 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2885 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2886 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2887 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2888 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2889 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2890 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2891 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2892 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2895 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2896 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2897 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2899 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2903 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2909 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2910 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2911 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2912 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2914 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2915 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2916 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2917 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2919 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2920 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2922 * sysdeps/unix/sysv/linux/arm/Makefile
2923 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2924 Add rt-aeabi_unwind_cpp_pr1.
2925 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2926 Add nptl-aeabi_unwind_cpp_pr1.
2927 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2928 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2929 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2930 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2931 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2932 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2934 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2935 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2936 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2937 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2939 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2940 Deconditionalize the code that was previously under [RESET_PID].
2941 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2943 * sysdeps/generic/exit-thread.h: New file.
2944 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2945 * include/unistd.h (__exit_thread): Remove declaration.
2946 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2947 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2948 * csu/libc-start.c: Include <exit-thread.h>.
2949 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2950 * nptl/pthread_create.c: Include <exit-thread.h>.
2951 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2952 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2953 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2954 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2955 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2956 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2957 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2958 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2959 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2960 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2961 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2962 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2963 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2964 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2965 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2966 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2967 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2969 2014-05-13 Andreas Schwab <schwab@suse.de>
2971 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2973 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2975 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2976 (__ASSUME_UTIMES): Do not condition on kernel version.
2977 (__ASSUME_PSELECT): Define unconditionally.
2978 (__ASSUME_PPOLL): Likewise.
2979 (__ASSUME_ATFCTS): Likewise.
2980 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2981 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2982 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2983 (__ASSUME_UTIMENSAT): Define unconditionally.
2984 (__ASSUME_PRIVATE_FUTEX): Likewise.
2985 (__ASSUME_FALLOCATE): Likewise.
2986 (__ASSUME_O_CLOEXEC): Likewise.
2987 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2988 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2989 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2990 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2991 (__ASSUME_IN_NONBLOCK): Likewise.
2992 (__ASSUME_PIPE2): Likewise.
2993 (__ASSUME_EVENTFD2): Likewise.
2994 (__ASSUME_SIGNALFD4): Likewise.
2995 (__ASSUME_DUP3): Likewise.
2996 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2997 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2998 (__ASSUME_AT_RANDOM): Likewise.
2999 (__ASSUME_PREADV): Likewise.
3000 (__ASSUME_PWRITEV): Likewise.
3001 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3002 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3003 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3005 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3007 (__ASSUME_O_CLOEXEC): Define unconditionally.
3008 (__ASSUME_PSELECT): Do not undefine conditionally.
3009 (__ASSUME_PPOLL): Likewise.
3010 (__ASSUME_ATFCTS): Likewise.
3011 (__ASSUME_SET_ROBUST_LIST): Likewise.
3012 (__ASSUME_UTIMENSAT): Likewise.
3013 (__ASSUME_FDATASYNC): Define unconditionally.
3014 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3015 (__ASSUME_SIGFRAME_V2): Likewise.
3016 )__ASSUME_EVENTFD2): Likewise.
3017 (__ASSUME_SIGNALFD4): Likewise.
3018 (__ASSUME_PSELECT): Do not undefine conditionally.
3019 (__ASSUME_PPOLL): Likewise.
3020 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3021 (__ASSUME_PSELECT): Define unconditionally.
3022 (__ASSUME_PPOLL): Likewise.
3023 (__ASSUME_O_CLOEXEC): Likewise.
3024 (__ASSUME_SOCK_CLOEXEC): Likewise.
3025 (__ASSUME_IN_NONBLOCK): Likewise.
3026 (__ASSUME_PIPE2): Likewise.
3027 (__ASSUME_EVENTFD2): Likewise.
3028 (__ASSUME_SIGNALFD4): Likewise.
3029 (__ASSUME_DUP3): Likewise.
3030 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3031 (__ASSUME_O_CLOEXEC): Likewise.
3032 (__ASSUME_SOCK_CLOEXEC): Likewise.
3033 (__ASSUME_IN_NONBLOCK): Likewise.
3034 (__ASSUME_PIPE2): Likewise.
3035 (__ASSUME_EVENTFD2): Likewise.
3036 (__ASSUME_SIGNALFD4): Likewise.
3037 (__ASSUME_DUP3): Likewise.
3038 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3039 (__ASSUME_EVENTFD2): Likewise.
3040 (__ASSUME_SIGNALFD4): Likewise.
3041 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3043 2014-05-12 Andreas Schwab <schwab@suse.de>
3046 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3047 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3048 than maximum RPC packet size.
3049 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3050 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3051 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3052 (_nss_nis_getservbyport_r): Likewise.
3054 2014-05-12 Will Newton <will.newton@linaro.org>
3056 * malloc/Makefile (tests): Add tst-mallopt.
3057 * malloc/tst-mallopt.c: New file.
3059 2014-05-09 Roland McGrath <roland@hack.frob.com>
3061 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3062 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3064 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3066 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3067 (tst-tlsmod6.so): Likewise.
3069 2014-05-09 Roland McGrath <roland@hack.frob.com>
3071 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3073 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3076 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3077 and <dl-procinfo.h>.
3078 (__fegetenv): Save SSE state in envp->__eip if supported.
3079 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3080 envp->__eip if supported.
3081 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3082 and <dl-procinfo.h>.
3083 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3084 __data_offset and __data_selector in environment to 0. Set SSE
3086 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3088 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3090 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3092 2014-05-09 Will Newton <will.newton@linaro.org>
3094 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3095 and libc_relro_required for ARM.
3096 * sysdeps/arm/preconfigure: Regenerate.
3098 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3099 Stefan Liebler <stli@linux.vnet.ibm.com>
3101 * config.make.in (enable-lock-elision): New Makefile variable.
3102 * configure.ac: Likewise.
3103 * configure: Regenerate.
3104 * sysdeps/s390/configure.ac:
3105 Add check for gcc transactions support.
3106 * sysdeps/s390/configure: Regenerate.
3107 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3108 Build elision files if enabled.
3109 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3110 Add lock elision support for s390.
3111 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3112 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3113 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3114 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3115 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3116 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3119 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3121 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3123 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3125 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3126 (__lll_timedlock_elision, __lll_lock_elision)
3127 (__lll_unlock_elision, __lll_trylock_elision)
3128 (lll_timedlock_elision, lll_lock_elision)
3129 (lll_unlock_elision, lll_trylock_elision): Add.
3130 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3131 (pthread_mutex_t): Add lock elision support for s390.
3133 2014-05-14 Wilco <wdijkstr@arm.com>
3135 * sysdeps/arm/fclrexcpt.c: Cleanup.
3136 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3137 * sysdeps/arm/feenablxcpt.c: Cleanup.
3138 * sysdeps/arm/fegetenv.c: Cleanup.
3139 * sysdeps/arm/fegetexcept.c: Cleanup.
3140 * sysdeps/arm/fegetround.c: Cleanup.
3141 * sysdeps/arm/feholdexcpt.c: Cleanup.
3142 * sysdeps/arm/fesetenv.c: Cleanup.
3143 * sysdeps/arm/fesetround.c: Cleanup.
3144 * sysdeps/arm/feupdateenv.c: Cleanup.
3145 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3146 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3147 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3148 * sysdeps/arm/ftestexcept.c: Cleanup.
3149 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3150 * sysdeps/arm/setfpucw.c: Cleanup.
3152 2014-05-09 Will Newton <will.newton@linaro.org>
3154 * sysdeps/arm/armv7/strcmp.S: New file.
3155 * NEWS: Mention addition of ARMv7 optimized strcmp.
3157 2014-05-08 Roland McGrath <roland@hack.frob.com>
3159 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3160 look for %.ac rather than %.in.
3162 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3163 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3164 * sysdeps/mach/hurd/configure: Regenerated.
3165 * sysdeps/unix/sysv/linux/configure: Regenerated.
3167 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3169 2014-05-07 Steve Ellcey <sellcey@mips.com>
3172 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3176 2014-05-07 Andreas Schwab <schwab@suse.de>
3178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3179 when skipping over non-matching result from nscd.
3181 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3184 * nptl/sockperf.c (client): Check socket return value.
3187 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3188 nscd security class.
3190 2014-05-06 Roland McGrath <roland@hack.frob.com>
3192 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3193 * sysdeps/arm/unwind.h: ... here.
3195 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3198 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3201 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3203 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3204 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3205 multiarch strncpy for PPC64.
3206 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3207 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3209 multiarch optimizations.
3210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3211 (__libc_ifunc_impl_list): Likewise.
3212 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3213 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3214 multiarch stpncpy for PPC64.
3215 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3218 2014-05-06 Andreas Schwab <schwab@suse.de>
3221 * gmon/mcount.c (_MCOUNT_DECL): Use
3222 atomic_compare_and_exchange_bool_acq instead of
3223 catomic_compare_and_exchange_bool_acq.
3225 2014-05-05 Roland McGrath <roland@hack.frob.com>
3227 * elf/Makefile (others, install-bin): Remove pldd.
3228 (pldd-modules): Variable removed.
3229 ($(objpfx)pldd): Target removed.
3230 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3231 (others, install-bin): Append pldd here.
3232 ($(objpfx)pldd): New target.
3234 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3235 to 0, so the first #if test emitted later doesn't see it undefined.
3236 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3237 * sysdeps/gnu/errlist.c: Regenerated.
3239 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3242 [libc_hidden_builtin_def]: Define to empty value.
3243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3244 [libc_hidden_builtin_def]: Likewise.
3245 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3246 [libc_hidden_builtin_def]: Likewise.
3247 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3248 [libc_hidden_builtin_def]: Likewise.
3249 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3250 __redirect_memcpy and define ifunc as default hidden symbol.
3251 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3252 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3254 2014-05-04 Adam Conrad <adconrad@0c3.net>
3256 * locale/iso-4217.def: Reintroduce XDR currency.
3258 2014-05-04 Allan McRae <allan@archlinux.org>
3260 * po/eo.po: Update Esperanto translation from translation project.
3262 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3264 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3265 and FEATURE_INDEX_MAX to 1.
3266 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3268 2014-05-01 Steve Ellcey <sellcey@mips.com>
3270 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3271 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3272 * iconvdata/big5.c (ONE_DIRECTION): Define.
3273 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3274 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3275 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3276 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3277 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3278 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3279 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3280 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3281 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3282 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3283 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3284 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3285 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3286 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3287 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3288 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3289 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3290 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3291 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3292 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3293 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3294 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3295 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3296 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3297 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3298 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3299 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3300 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3301 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3302 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3303 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3304 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3305 * iconvdata/johab.c (ONE_DIRECTION): Define.
3306 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3307 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3308 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3309 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3310 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3311 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3312 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3313 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3314 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3315 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3317 2014-05-01 Roland McGrath <roland@hack.frob.com>
3319 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3320 (_IO_JUMPS_OFFSET): Define to 0.
3322 * nptl/sysdeps/pthread/bits/libc-lock.h
3323 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3324 (__libc_lock_define_initialized_recursive): Always define using
3325 initializer. Modern compilers treat uninitialized (implicit zero) and
3326 explicit zero initializers the same (i.e. put the datum in bss).
3328 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3330 * nscd/nscd-client.h: Include <string.h>.
3332 2014-05-01 David S. Miller <davem@davemloft.net>
3335 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3336 multiple zero bytes exist at the end of a string.
3337 Reported by Aurelien Jarno <aurelien@aurel32.net>
3339 * string/test-strcmp.c (check): Add explicit test for situations where
3340 there are multiple zero bytes after the first.
3342 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3345 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3346 when compiling wprintf.
3347 * stdio-common/tstdiomisc.c (t3): New function.
3350 2014-05-01 Steve Ellcey <sellcey@mips.com>
3352 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3353 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3354 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3355 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3357 2014-05-01 Steve Ellcey <sellcey@mips.com>
3359 * stdlib/longlong.h: Updated from GCC.
3361 2014-05-01 Will Newton <will.newton@linaro.org>
3362 Bernard Ogden <bernie.ogden@linaro.org>
3364 * NEWS: Update fixed bug list.
3367 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3369 2014-04-30 David S. Miller <davem@davemloft.net>
3371 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3372 (libc_feholdexcept_setround_sparc_ctx): New function.
3373 (libc_fesetenv_sparc_ctx): Likewise.
3374 (libc_feupdateenv_sparc_ctx): Likewise.
3375 (libc_feholdsetround_sparc_ctx): Likewise.
3376 (libc_feholdexcept_setround_ctx): Define.
3377 (libc_feholdexcept_setroundf_ctx): Likewise.
3378 (libc_feholdexcept_setroundl_ctx): Likewise.
3379 (libc_fesetenv_ctx): Likewise.
3380 (libc_fesetenvf_ctx): Likewise.
3381 (libc_fesetenvl_ctx): Likewise.
3382 (libc_feupdateenv_ctx): Likewise.
3383 (libc_feupdateenvf_ctx): Likewise.
3384 (libc_feupdateenvl_ctx): Likewise.
3385 (libc_feresetround_ctx): Likewise.
3386 (libc_feresetroundf_ctx): Likewise.
3387 (libc_feresetroundl_ctx): Likewise.
3388 (libc_feholdsetround_ctx): Likewise.
3389 (libc_feholdsetroundf_ctx): Likewise.
3390 (libc_feholdsetroundl_ctx): Likewise.
3392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3393 with __USE_GNU instead of XOPEN cpp guards.
3395 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3398 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3399 with XOPEN cpp guards.
3401 2014-04-30 Julian Brown <julian@codesourcery.com>
3404 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3407 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3410 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3412 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3413 * sysdeps/unix/sysv/linux/configure: Regenerated.
3414 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3415 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3416 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3417 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3418 * README: Update reference to required Linux kernel version.
3419 * manual/install.texi (Linux): Update reference to required Linux
3420 kernel headers version.
3421 * INSTALL: Regenerated.
3423 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3425 [POSIX] (limits.h): Likewise.
3426 [POSIX] (math.h): Likewise.
3427 [POSIX] (sys/wait.h): Likewise.
3428 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3430 [POSIX] (stddef.h): Do not allow header inclusion.
3432 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3436 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3438 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3439 Return immediately after lll_futex_wake.
3441 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3444 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3446 (datahead_init_pos): Call datahead_init_common early.
3447 (datahead_init_neg): Likewise.
3449 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3450 datahead_init_neg): New functions.
3451 * nscd/aicache.c (addhstaiX): Use them.
3452 * nscd/grpcache.c (cache_addgr): Likewise.
3453 * nscd/hstcache.c (cache_addhst): Likewise.
3454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3455 * nscd/netgroupcache.c (do_notfound): Likewise.
3456 (addgetnetgrentX): Likewise.
3457 (addinnetgrX): Likewise.
3458 * nscd/pwdcache.c (cache_addpw): Likewise.
3459 * nscd/servicescache.c (cache_addserv): Likewise.
3461 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3462 Atsushi Onoe <atsushi@onoe.org>
3467 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3468 one response is valid.
3469 * resolv/res_send.c (send_dg): Check for validity of other
3470 response if the current response is a referral.
3472 2014-04-29 Steve Ellcey <sellcey@mips.com>
3474 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3476 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3479 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3480 Always divide by positive zero when computing -Inf result.
3481 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3482 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3484 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3486 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3487 FPSCR if value do not change.
3488 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3489 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3490 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3491 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3492 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3493 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3496 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3498 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3499 * sysdeps/unix/sysv/linux/hppa: Move directory from
3500 ports/systeps/unix/sysv/linux/hppa.
3501 * README: Update listing for hppa-*-linux-gnu.
3503 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3506 * manual/stdio.texi (Hook functions): Fix types of stream hook
3509 * socket/sys/socket.h: Fix typo in comment.
3511 2014-04-28 Wilco <wdijkstr@arm.com>
3513 * sysdeps/arm/fenv_private.h: New file.
3514 * sysdeps/arm/math_private.h: New file.
3515 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3517 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3519 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3521 (La_x86_64_retval): Likewise.
3523 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3525 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3526 fpsr if value didn't change.
3527 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3528 to fpcr if value didn't change.
3529 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3530 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3531 fpsr or fpcr if value didn't change.
3532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3533 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3534 fpcr if value didn't change.
3535 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3536 to fpsr if value didn't change.
3538 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3540 * nptl/tst-sem3.c: Use test-skeleton.c
3541 (main): Rename to do_test. Use return instead of
3543 * nptl/tst-sem4.c: Use test-skeleton.c
3544 (main): Rename to do_test.
3546 2014-04-22 David S. Miller <davem@davemloft.net>
3548 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3549 (struct sigaction): New struct member __glibc_reserved0, change
3550 type of sa_flags to int.
3552 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3554 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3555 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3557 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3559 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3560 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3562 2014-04-22 Will Newton <will.newton@linaro.org>
3563 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3565 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3566 (__longjmp): Add longjmp and longjmp_target SystemTap
3568 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3569 (__sigsetjmp): Add setjmp SystemTap probe.
3571 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3573 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3576 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3580 * sysdeps/powerpc/fpu/fenv_private.h
3581 (libc_feholdexcept_setroundl_ctx): Define to
3582 libc_feholdexcept_setround_ppc_ctx.
3583 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3584 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3585 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3586 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3588 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3590 * sysdeps/aarch64/math-tests.h: New file.
3592 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3594 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3597 Check and set bit_AVX2_Usable.
3598 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3600 (bit_AVX2): Likewise.
3601 (index_AVX2_Usable): Likewise.
3602 (CPUID_AVX2): Likewise.
3603 (HAS_AVX2): Likewise.
3605 2014-04-17 Will Newton <will.newton@linaro.org>
3607 * manual/setjmp.texi (System V contexts): Add note that
3608 calling setcontext on a context created by a call to a
3609 signal handler is undefined. Update text to note that
3610 setcontext from a signal handler is possible but not
3614 * stdlib/tst-setcontext.c: Include signal.h.
3615 (main): Check that the signal stack before and
3616 after swapcontext is the same.
3618 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3619 Re-implement to restore registers in user code and avoid
3620 rt_sigreturn system call.
3622 2014-04-17 Wilco <wdijkstr@arm.com>
3624 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3625 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3626 * math/test-fenv.c: Skip exception trap tests on targets which only
3627 support non-stop mode.
3629 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3630 Wilco Dijkstra <wilco.dijkstra@arm.com>
3632 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3633 (libc_feholdsetround_aarch64_ctx)
3634 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3635 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3636 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3637 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3638 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3639 (libc_feresetround_noexl_ctx): Define.
3641 2014-04-16 Richard Henderson <rth@redhat.com>
3643 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3645 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3648 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3649 const from the non-libc, non-ldso copy.
3651 * sysdeps/alpha/libm-test-ulps: Regenerate.
3653 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3654 Wilco Dijkstra <wilco.dijkstra@arm.com>
3656 * sysdeps/aarch64/fpu/math_private.h: New file.
3658 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3660 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3662 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3664 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3665 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3667 Intel MPX bound registers before _dl_profile_fixup.
3668 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3669 registers after _dl_profile_fixup. Save and restore bound
3670 registers bnd0/bnd1 when calling _dl_call_pltexit.
3671 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3672 (LR_BND_OFFSET): Likewise.
3673 (LRV_BND0_OFFSET): Likewise.
3674 (LRV_BND1_OFFSET): Likewise.
3676 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3678 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3680 * sysdeps/mach/hurd/i386/tls.h: ... here.
3681 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3682 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3685 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3687 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3689 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3691 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3693 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3696 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3697 * sysdeps/s390/configure: Regenerate.
3700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3701 Set round-to-nearest internally to reduce error accumulation.
3703 2014-04-16 Alan Modra <amodra@gmail.com>
3707 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3708 * math/libm-test.inc (frexp_test_data): Add tests.
3709 * NEWS: Update fixed bug list.
3711 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3713 * benchtests/Makefile: Depend on libraries in build directory.
3714 (bench-math): Separate out math tests.
3715 (bench-pthread): Separate out pthread tests.
3716 (bench): Include math and pthread tests.
3718 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3721 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3722 _dl_debug_initialize.
3724 * configure.ac: Remove SELinux header check.
3725 * configure: Regenerate.
3726 * nscd/selinux.c (perms): Array of const char* to permission names.
3727 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3728 default policy. Call string_to_security_class and string_to_av_perm to
3729 translate strings. Enforce default policy and call avs_has_perm with
3730 results of translated strings.
3732 2014-04-13 David S. Miller <davem@davemloft.net>
3734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3736 2014-04-12 Allan McRae <allan@archlinux.org>
3739 * manual/string.texi (Collation Functions): Fix qsort argument
3741 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3743 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3745 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3746 Make the test a no-op if there are no exceptions defined.
3748 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3750 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3751 enable-hardcoded-path-in-tests
3753 2014-04-11 Will Newton <will.newton@linaro.org>
3755 * benchtests/Makefile (extra-objs): Add json-lib.o.
3756 (bench-func): Tidy up JSON output.
3757 * benchtests/bench-skeleton.c: Include json-lib.h.
3758 (main): Use JSON library functions to do output of
3760 * benchtests/bench-timing-type.c (main): Output the
3761 timing type simply, leaving formatting to the user.
3762 * benchtests/json-lib.c: New file.
3763 * benchtests/json-lib.h: Likewise.
3765 2014-04-11 Torvald Riegel <triegel@redhat.com>
3768 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3769 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3770 memory barriers. Add comments.
3771 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3772 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3773 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3774 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3775 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3776 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3778 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3780 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3781 * sysdeps/s390/s390-64/configure.ac: ... this ...
3782 * sysdeps/s390/configure.ac: ... to here.
3783 * sysdeps/s390/s390-32/configure: Delete file.
3784 * sysdeps/s390/s390-64/configure: Delete file.
3785 * sysdeps/s390/configure: Regenerate.
3787 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3789 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3791 2014-04-11 Will Newton <will.newton@linaro.org>
3793 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3794 to zero if it is not defined elsewhere. (mtrim): Test
3795 the value of MALLOC_DEBUG with #if rather than #ifdef.
3797 2014-04-10 Torvald Riegel <triegel@redhat.com>
3799 * benchtests/pthread_once-inputs: New file.
3800 * benchtests/pthread_once-source.c: New file.
3801 * benchtests/README: Update documentation.
3803 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3804 H.J. Lu <hongjiu.lu@intel.com>
3806 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3807 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3808 * sysdeps/x86_64/configure: Regenerated.
3809 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3811 (REGISTER_SAVE_RAX): Likewise.
3812 (REGISTER_SAVE_RCX): Likewise.
3813 (REGISTER_SAVE_RDX): Likewise.
3814 (REGISTER_SAVE_RSI): Likewise.
3815 (REGISTER_SAVE_RDI): Likewise.
3816 (REGISTER_SAVE_R8): Likewise.
3817 (REGISTER_SAVE_R9): Likewise.
3818 (REGISTER_SAVE_BND0): Likewise.
3819 (REGISTER_SAVE_BND1): Likewise.
3820 (REGISTER_SAVE_BND2): Likewise.
3821 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3822 bound registers when calling _dl_fixup.
3824 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3826 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3827 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3829 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3830 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3831 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3832 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3833 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3834 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3835 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3837 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3840 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3841 pathconf(_PC_NAME_MAX).
3843 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3847 (__PTHREAD_SPINS): Move definition to ...
3848 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3849 (__PTHREAD_SPINS): ... here.
3850 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3851 (__PTHREAD_SPIN): Likewise.
3852 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3853 (__PTHREAD_SPIN): Likewise.
3854 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3855 (__PTHREAD_SPIN): Likewise.
3856 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3857 (__PTHREAD_SPIN): Likewise.
3858 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3859 (__PTHREAD_SPIN): Likewise.
3860 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3861 (__PTHREAD_SPIN): Likewise.
3862 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3863 (__PTHREAD_SPIN): Likewise.
3864 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3865 (__PTHREAD_SPIN): Likewise.
3866 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3867 (__PTHREAD_SPIN): Likewise.
3868 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3869 (__PTHREAD_SPIN): Likewise.
3870 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3871 (__PTHREAD_SPIN): Likewise.
3872 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3873 (__PTHREAD_SPIN): Likewise.
3875 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3876 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3877 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3878 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3880 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3881 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3882 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3883 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3885 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3886 strlen symbol for non multi-arch builds.
3887 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3888 missing hidden_def and weak_alias.
3890 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3892 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3894 2014-04-07 Will Newton <will.newton@linaro.org>
3896 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3897 and contents. [!_LIBC] Remove #ifndef and contents.
3898 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3899 * string/memccpy.c (__memccpy): Use ANSI prototype.
3900 * string/memfrob.c (memfrob): Likewise.
3901 * string/strcoll.c (STRCOLL): Likewise.
3902 * string/strlen.c (strlen): Likewise.
3903 * string/strtok.c (STRTOK): Likewise.
3904 * string/strcat.c: Remove unused #include of memcopy.h.
3905 (strcat): Use ANSI prototype.
3906 * string/strchr.c: Remove unused #include of memcopy.h.
3907 (strchr): Use ANSI prototype.
3908 * string/strcmp.c: Remove unused #include of memcopy.h.
3909 (strcmp): Use ANSI prototype.
3910 * string/strcpy.c: Remove unused #include of memcopy.h.
3911 (strcpy): Use ANSI prototype.
3913 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3915 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3916 * config.make.in (config-extra-cppflags): Set it from
3917 libc_extra_cppflags.
3918 * configure.ac (libc_extra_cflags): Make it accumulate over
3919 configure fragments.
3920 (libc_extra_cppflags): New flag.
3921 * configure. Regenerate.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3923 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3924 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3928 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3929 result for FE_DOWNWARD rounding mode.
3930 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3934 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3936 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3937 in function argument name.
3939 2014-04-03 David Svoboda <svoboda@cert.org>
3942 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3945 2014-04-03 Roland McGrath <roland@hack.frob.com>
3947 * elf/dl-unmap-segments.h: New file.
3948 * sysdeps/generic/ldsodefs.h
3949 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3950 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3951 * elf/dl-fptr.c: Likewise.
3952 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3953 * sysdeps/aarch64/tlsdesc.c: Likewise.
3954 * sysdeps/arm/tlsdesc.c: Likewise.
3955 * sysdeps/i386/tlsdesc.c: Likewise.
3956 * sysdeps/tile/dl-runtime.c: Likewise.
3957 * sysdeps/x86_64/tlsdesc.c: Likewise.
3958 * elf/dl-load.h: New file.
3959 * elf/dl-load.c: Include it.
3960 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3961 Macros moved to dl-load.h.
3962 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3963 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3964 Use _dl_unmap_segments in place of __munmap.
3965 Break out segment-mapping loop into ...
3966 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3968 2014-04-03 Will Newton <will.newton@linaro.org>
3970 * elf/dl-lookup.c (do_lookup_x): Remove comment
3971 referring to nested function and move variable
3972 declarations down to before first use.
3974 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3978 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3980 * math/s_catanf.c (__catanf): Likewise.
3981 * math/s_catanh.c (__catanh): Likewise.
3982 * math/s_catanhf.c (__catanhf): Likewise.
3983 * math/s_catanhl.c (__catanhl): Likewise.
3984 * math/s_catanl.c (__catanl): Likewise.
3985 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3986 by positive zero when computing -Inf result.
3987 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3988 (catanh_test): Likewise.
3989 * sysdeps/i386/fpu/libm-test-ulps: Update.
3990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3993 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3994 instead of using underflowing value in computing result.
3995 * math/s_clog10.c (__clog10): Likewise.
3996 * math/s_clog10f.c (__clog10f): Likewise.
3997 * math/s_clog10l.c (__clog10l): Likewise.
3998 * math/s_clogf.c (__clogf): Likewise.
3999 * math/s_clogl.c (__clogl): Likewise.
4000 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4001 (clog10_test): Likewise.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4005 2014-04-02 Alan Modra <amodra@gmail.com>
4008 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4009 output when value is near a power of two. Use int64_t for lx and
4010 remove casts. Use decimal rather than hex exponent constants.
4011 Don't use long double multiplication when double will suffice.
4012 * math/libm-test.inc (nextafter_test_data): Add tests.
4013 * NEWS: Add 16739 and 16786 to bug list.
4015 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4017 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4019 2014-04-01 Will Newton <will.newton@linaro.org>
4021 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4022 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4024 2014-04-01 Florian Weimer <fweimer@redhat.com>
4027 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4028 * nptl/tst-setuid2.c: New file.
4029 * nptl/Makefile (xtests): Add tst-setuid2.
4031 2014-04-01 Alan Modra <amodra@gmail.com>
4034 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4036 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4040 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4041 set errno as appropriate.
4042 * math/w_scalbf.c (__scalbf): Likewise.
4043 * math/w_scalbl.c (__scalbl): Likewise.
4044 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4045 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4046 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4050 * math/w_atan2.c: Include <errno.h>.
4051 (__atan2): Set errno for result underflowing to zero.
4052 * math/w_atan2f.c: Include <errno.h>.
4053 (__atan2f): Set errno for result underflowing to zero.
4054 * math/w_atan2l.c: Include <errno.h>.
4055 (__atan2l): Set errno for result underflowing to zero.
4056 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4058 * math/auto-libm-test-out: Regenerated.
4060 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4062 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4063 Encode instruction correctly in little endian.
4064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4068 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4073 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4076 * sysdeps/unix/sysv/linux/kernel-features.h
4077 [__sparc__ && !__arch64__ && !__sparc_v9__]
4078 (__ASSUME_SET_ROBUST_LIST): Do not define.
4079 [__sparc__ && !__arch64__ && !__sparc_v9__]
4080 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4081 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4084 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4085 (__ASSUME_REQUEUE_PI): Likewise.
4086 (__ASSUME_SET_ROBUST_LIST): Likewise.
4087 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4088 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4090 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4093 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4095 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4097 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4098 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4100 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4101 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4106 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4107 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4109 2014-03-31 Will Newton <will.newton@linaro.org>
4111 * benchtests/Makefile (bench): Add ffs and ffsll to list
4113 * benchtests/ffs-inputs: New file.
4114 * benchtests/ffsll-inputs: Likewise.
4116 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4119 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4120 too large before casting to int.
4121 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4122 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4123 * math/libm-test.inc (scalb_test_data): Add more tests.
4125 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4127 * benchtests/Makefile (DETAILED_OPT): New make option.
4128 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4130 * benchtests/bench-skeleton.c: Include stdbool.h.
4131 (main): Store and print timings per input.
4132 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4133 member to each argument value.
4134 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4135 (_print_arg_data): Initialize per-input timing to 0.
4137 * benchtests/Makefile (timing-type): New binary.
4138 (bench-clean): Also remove bench-timing-type.
4139 (bench): New target for timing-type.
4140 (bench-func): Print output in JSON format.
4141 * benchtests/bench-skeleton.c (main): Print output in JSON
4143 * benchtests/bench-timing-type.c: New file.
4144 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4145 (TIMING_PRINT_STATS): Remove.
4146 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4149 * benchtests/bench-modf.c: Remove.
4150 * benchtests/modf-inputs: New inputs file.
4152 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4155 * math/s_clog10.c (M_PI_LOG10E): New macro.
4156 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4157 imaginary parts are 0.
4158 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4159 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4160 imaginary parts are 0.
4161 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4162 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4163 imaginary parts are 0.
4164 * math/libm-test.inc (clog10_test_data): Update expected results
4165 for when real and imaginary parts are 0.
4167 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4169 * elf/dl-load.c: Finish conversion of __builtin_expect into
4172 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4176 1+x for argument with exponent below -67.
4177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4179 * math/auto-libm-test-in: Add more tests of exp.
4180 * math/auto-libm-test-out: Regenerated.
4182 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4185 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4186 (nscd_getnetgrent): Use it.
4189 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4192 2014-03-27 Andi Kleen <ak@linux.intel.com>
4194 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4195 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4196 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4197 (lll_robust_unlock): Remove out of line section. Use cfi
4199 (LLL_STUB_UNWIND_INFO*): Remove.
4200 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4201 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4202 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4203 (lll_robust_unlock): Remove out of line section. Use cfi
4205 (LLL_STUB_UNWIND_INFO*): Remove.
4207 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4213 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4215 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4217 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4220 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4222 * math/test-fenv-preserve.c: New file.
4223 * math/Makefile (tests): Add test-fenv-preserve.
4225 2014-03-26 Will Newton <will.newton@linaro.org>
4227 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4229 2014-03-25 Roland McGrath <roland@hack.frob.com>
4231 * scripts/versionlist.awk: Partition the version sets and emit all
4232 GLIBC_* (sorted) before all others (sorted).
4234 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4236 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4237 GLIBC_2.2.5 version.
4239 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4241 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4249 2014-03-25 Andreas Schwab <schwab@suse.de>
4251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4252 label to be used after in6ailist is initialized.
4254 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4257 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4259 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4263 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4265 (fp_formats): Update initializers.
4266 (init_fp_formats): Initialize new field.
4267 (output_for_one_input_case): Allow underflow for results up to
4269 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4270 * math/auto-libm-test-in: Don't mark some underflows from asin and
4272 * math/auto-libm-test-out: Regenerated.
4273 * sysdeps/i386/fpu/libm-test-ulps: Update.
4274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4276 2014-03-25 Andreas Schwab <schwab@suse.de>
4278 * libio/Makefile (tst-ftell-partial-wide-ENV)
4279 (tst-ftell-active-handler-ENV): Define.
4281 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4283 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4285 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4287 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4289 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4291 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4292 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4293 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4295 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4298 * elf/dl-load.c (open_verify): Add mode parameter.
4299 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4300 (open_path): Change from boolean 'secure' to complete flag 'mode'
4301 (_dl_map_object): Adjust.
4302 * elf/Makefile (tests): Add tst-dlopen-aout.
4303 * elf/tst-dlopen-aout.c: New test.
4305 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4308 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4309 (struct stat): Rename member pad0 to __glibc_reserved0.
4312 * sysdeps/s390/s390-32/bits/wordsize.h
4313 (__WORDSIZE32_SIZE_ULONG): New define.
4314 * sysdeps/s390/s390-64/bits/wordsize.h
4315 (__WORDSIZE32_SIZE_ULONG): Likewise.
4316 * sysdeps/generic/stdint.h (SIZE_MAX):
4317 Define as UL if __WORDSIZE32_SIZE_ULONG.
4320 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4321 (__glibc_reserved0): New variable.
4322 (sa_flags): Change type to int.
4324 * posix/Makefile (before-compile): Use += before-compile instead
4327 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4328 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4330 2014-03-20 Andreas Schwab <schwab@suse.de>
4333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4334 non-matching result from nscd.
4336 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4338 * scripts/bench.py: Moved to ...
4339 * benchtests/scripts/bench.py: ... here.
4340 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4342 2014-03-24 Andreas Schwab <schwab@suse.de>
4345 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4346 alloca_account and account alloca use for struct in6ailist.
4348 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4352 rounding mode to recompute results that overflow to infinity or
4354 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4356 * math/auto-libm-test-out: Regenerated.
4357 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4358 (ccosh_test): Likewise.
4359 (csin_test_data): Use plus_oflow.
4360 (csin_test): Use ALL_RM_TEST.
4361 (csinh_test_data): Use plus_oflow.
4362 (csinh_test): Use ALL_RM_TEST.
4363 * sysdeps/i386/fpu/libm-test-ulps: Update.
4364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4366 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4368 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4369 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4370 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4373 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4375 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4376 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4377 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4380 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4381 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4383 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4384 * sysdeps/i386/fpu/libm-test-ulps: Update.
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4387 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4389 * scripts/bench.pl: Remove file.
4390 * scripts/bench.py: New benchmark script.
4391 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4392 * benchtests/README: Mention python dependency.
4393 * scripts/pylintrc: New file.
4394 * scripts/pylint: New file.
4396 * bits/mathdef.h: Use #ifdef instead of #if.
4397 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4399 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4400 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4401 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4402 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4404 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4405 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4407 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4409 and strpbrk-ppc64 objects.
4410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4411 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4413 multiarch strpbrk for POWER7.
4414 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4415 multiarch strpbrk for PPC64.
4416 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4418 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4421 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4423 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4424 (atan_test): Likewise.
4425 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4426 (atanh_test): Use ALL_RM_TEST.
4427 (atan2_test_data): Likewise.
4428 (cabs_test): Likewise.
4429 (cacosh_test): Likewise.
4430 (carg_test): Likewise.
4431 (casin_test): Likewise.
4432 (casinh_test): Likewise.
4433 (cbrt_test): Likewise.
4434 (csqrt_test): Likewise.
4435 (erf_test): Likewise.
4436 (erfc_test): Likewise.
4437 (pow10_test): Likewise.
4438 (exp2_test): Likewise.
4439 (hypot_test): Likewise.
4440 (j0_test): Likewise.
4441 (j1_test): Likewise.
4442 (lgamma_test): Likewise.
4443 (gamma_test): Likewise.
4444 (sincos_test): Likewise.
4445 (tanh_test): Likewise.
4446 (y0_test): Likewise.
4447 (y1_test): Likewise.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4451 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4453 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4455 and strcspn-ppc64 objects.
4456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4457 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4458 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4459 multiarch strcspn for POWER7.
4460 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4461 multiarch strcspn for PPC64.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4464 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4467 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4469 * math/gen-libm-test.pl (generate_testfile): Expect only function
4470 name as argument to AUTO_TESTS_* and pass results for all rounding
4471 modes to parse_args.
4472 (parse_auto_input): Separate inputs of automatic tests from
4473 outputs before storing in %auto_tests.
4474 * math/libm-test.inc (acos_test_data): Update call to
4476 (acos_test): Use ALL_RM_TEST.
4477 (acos_tonearest_test_data): Remove.
4478 (acos_test_tonearest): Likewise.
4479 (acos_towardzero_test_data): Likewise.
4480 (acos_test_towardzero): Likewise.
4481 (acos_downward_test_data): Likewise.
4482 (acos_test_downward): Likewise.
4483 (acos_upward_test_data): Likewise.
4484 (acos_test_upward): Likewise.
4485 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4486 (asin_test_data): Likewise.
4487 (asin_test): Use ALL_RM_TEST.
4488 (asin_tonearest_test_data): Remove.
4489 (asin_test_tonearest): Likewise.
4490 (asin_towardzero_test_data): Likewise.
4491 (asin_test_towardzero): Likewise.
4492 (asin_downward_test_data): Likewise.
4493 (asin_test_downward): Likewise.
4494 (asin_upward_test_data): Likewise.
4495 (asin_test_upward): Likewise.
4496 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4497 (atan_test_data): Likewise.
4498 (atanh_test_data): Likewise.
4499 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4500 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4501 (carg_test_data): Likewise.
4502 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4503 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4504 (ccosh_test_data): Likewise.
4505 (cexp_test_data): Likewise.
4506 (clog_test_data): Likewise.
4507 (clog10_test_data): Likewise.
4508 (cos_test_data): Update call to AUTO_TESTS_f_f.
4509 (cos_test): Use ALL_RM_TEST.
4510 (cos_tonearest_test_data): Remove.
4511 (cos_test_tonearest): Likewise.
4512 (cos_towardzero_test_data): Likewise.
4513 (cos_test_towardzero): Likewise.
4514 (cos_downward_test_data): Likewise.
4515 (cos_test_downward): Likewise.
4516 (cos_upward_test_data): Likewise.
4517 (cos_test_upward): Likewise.
4518 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4519 (cosh_test): Use ALL_RM_TEST.
4520 (cosh_tonearest_test_data): Remove.
4521 (cosh_test_tonearest): Likewise.
4522 (cosh_towardzero_test_data): Likewise.
4523 (cosh_test_towardzero): Likewise.
4524 (cosh_downward_test_data): Likewise.
4525 (cosh_test_downward): Likewise.
4526 (cosh_upward_test_data): Likewise.
4527 (cosh_test_upward): Likewise.
4528 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4529 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4530 (ctan_test_data): Likewise.
4531 (ctan_test): Use ALL_RM_TEST.
4532 (ctan_tonearest_test_data): Remove.
4533 (ctan_test_tonearest): Likewise.
4534 (ctan_towardzero_test_data): Likewise.
4535 (ctan_test_towardzero): Likewise.
4536 (ctan_downward_test_data): Likewise.
4537 (ctan_test_downward): Likewise.
4538 (ctan_upward_test_data): Likewise.
4539 (ctan_test_upward): Likewise.
4540 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4541 (ctanh_test): Use ALL_RM_TEST.
4542 (ctanh_tonearest_test_data): Remove.
4543 (ctanh_test_tonearest): Likewise.
4544 (ctanh_towardzero_test_data): Likewise.
4545 (ctanh_test_towardzero): Likewise.
4546 (ctanh_downward_test_data): Likewise.
4547 (ctanh_test_downward): Likewise.
4548 (ctanh_upward_test_data): Likewise.
4549 (ctanh_test_upward): Likewise.
4550 (erf_test_data): Update call to AUTO_TESTS_f_f.
4551 (erfc_test_data): Likewise.
4552 (exp_test_data): Likewise.
4553 (exp_test): Use ALL_RM_TEST.
4554 (exp_tonearest_test_data): Remove.
4555 (exp_test_tonearest): Likewise.
4556 (exp_towardzero_test_data): Likewise.
4557 (exp_test_towardzero): Likewise.
4558 (exp_downward_test_data): Likewise.
4559 (exp_test_downward): Likewise.
4560 (exp_upward_test_data): Likewise.
4561 (exp_test_upward): Likewise.
4562 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4563 (exp10_test): Use ALL_RM_TEST.
4564 (exp10_tonearest_test_data): Remove.
4565 (exp10_test_tonearest): Likewise.
4566 (exp10_towardzero_test_data): Likewise.
4567 (exp10_test_towardzero): Likewise.
4568 (exp10_downward_test_data): Likewise.
4569 (exp10_test_downward): Likewise.
4570 (exp10_upward_test_data): Likewise.
4571 (exp10_test_upward): Likewise.
4572 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4573 (expm1_test_data): Likewise.
4574 (expm1_test): Use ALL_RM_TEST.
4575 (expm1_tonearest_test_data): Remove.
4576 (expm1_test_tonearest): Likewise.
4577 (expm1_towardzero_test_data): Likewise.
4578 (expm1_test_towardzero): Likewise.
4579 (expm1_downward_test_data): Likewise.
4580 (expm1_test_downward): Likewise.
4581 (expm1_upward_test_data): Likewise.
4582 (expm1_test_upward): Likewise.
4583 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4584 (fma_test): Use ALL_RM_TEST.
4585 (fma_towardzero_test_data): Remove.
4586 (fma_test_towardzero): Likewise.
4587 (fma_downward_test_data): Likewise.
4588 (fma_test_downward): Likewise.
4589 (fma_upward_test_data): Likewise.
4590 (fma_test_upward): Likewise.
4591 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4592 (j0_test_data): Update call to AUTO_TESTS_f_f.
4593 (j1_test_data): Likewise.
4594 (jn_test_data): Update call to AUTO_TESTS_if_f.
4595 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4596 (log_test_data): Update call to AUTO_TESTS_f_f.
4597 (log10_test_data): Likewise.
4598 (log1p_test_data): Likewise.
4599 (log2_test_data): Likewise.
4600 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4601 (pow_tonearest_test_data): Likewise.
4602 (sin_test_data): Update call to AUTO_TESTS_f_f.
4603 (sin_test): Use ALL_RM_TEST.
4604 (sin_tonearest_test_data): Remove.
4605 (sin_test_tonearest): Likewise.
4606 (sin_towardzero_test_data): Likewise.
4607 (sin_test_towardzero): Likewise.
4608 (sin_downward_test_data): Likewise.
4609 (sin_test_downward): Likewise.
4610 (sin_upward_test_data): Likewise.
4611 (sin_test_upward): Likewise.
4612 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4613 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4614 (sinh_test): Use ALL_RM_TEST.
4615 (sinh_tonearest_test_data): Remove.
4616 (sinh_test_tonearest): Likewise.
4617 (sinh_towardzero_test_data): Likewise.
4618 (sinh_test_towardzero): Likewise.
4619 (sinh_downward_test_data): Likewise.
4620 (sinh_test_downward): Likewise.
4621 (sinh_upward_test_data): Likewise.
4622 (sinh_test_upward): Likewise.
4623 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4624 (sqrt_test): Use ALL_RM_TEST.
4625 (sqrt_tonearest_test_data): Remove.
4626 (sqrt_test_tonearest): Likewise.
4627 (sqrt_towardzero_test_data): Likewise.
4628 (sqrt_test_towardzero): Likewise.
4629 (sqrt_downward_test_data): Likewise.
4630 (sqrt_test_downward): Likewise.
4631 (sqrt_upward_test_data): Likewise.
4632 (sqrt_test_upward): Likewise.
4633 (tan_test_data): Update call to AUTO_TESTS_f_f.
4634 (tan_test): Use ALL_RM_TEST.
4635 (tan_tonearest_test_data): Remove.
4636 (tan_test_tonearest): Likewise.
4637 (tan_towardzero_test_data): Likewise.
4638 (tan_test_towardzero): Likewise.
4639 (tan_downward_test_data): Likewise.
4640 (tan_test_downward): Likewise.
4641 (tan_upward_test_data): Likewise.
4642 (tan_test_upward): Likewise.
4643 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4644 (tgamma_test_data): Likewise.
4645 (y0_test_data): Likewise.
4646 (y1_test_data): Likewise.
4647 (yn_test_data): Update call to AUTO_TESTS_if_f.
4648 (main): Do not call removed functions.
4650 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4652 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4653 (ldexp_test_data): Remove.
4654 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4656 (scalb_test): Use ALL_RM_TEST.
4658 2014-03-19 Andreas Schwab <schwab@suse.de>
4660 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4662 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4666 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4668 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4669 (__ASSUME_PREADV): Undefine.
4670 (__ASSUME_PWRITEV): Likewise.
4672 2014-03-18 Roland McGrath <roland@hack.frob.com>
4674 * bits/mman-linux.h: Add comment about non-Linux use.
4675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4676 bits/mman-linux.h resting place.
4678 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4679 * bits/mman-linux.h: ... here.
4681 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683 * conform/conformtest.pl: Add standard definition when calling C
4684 preprocessor on data files.
4685 (checknamespace): Remove unused variable.
4687 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4689 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4690 minus_oflow, plus_uflow and minus_uflow in expected results.
4691 * math/libm-test.inc (scalbn_test_data): Add more tests of
4692 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4694 (scalbn_test): Use ALL_RM_TEST.
4695 (scalbln_test_data): Add more tests of negative arguments. Use
4696 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4697 (scalbln_test): Use ALL_RM_TEST.
4699 2014-03-18 Roland McGrath <roland@hack.frob.com>
4701 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4703 2014-03-18 Will Newton <will.newton@linaro.org>
4705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4708 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4710 * Makerules [!subdir] (check-abi): Exit with error status if a
4713 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4715 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4716 for rint. Include results for all rounding modes.
4717 (nearbyint_test): Use ALL_RM_TEST.
4718 (rint_test_data): Include all tests used for nearbyint.
4720 2014-03-17 Will Newton <will.newton@linaro.org>
4722 * nptl/sysdeps/pthread/pthread.h: Revert previous
4725 * sysdeps/generic/ldsodefs.h: Revert previous
4728 * libio/genops.c: Revert previous change.
4729 * libio/libioP.h: Likewise.
4730 * stdio-common/vfprintf.c: Likewise.
4732 * sysdeps/generic/math_private.h: Revert previous
4735 * sysdeps/generic/math_private.h: Check whether
4736 HAVE_RM_CTX is defined with #ifdef rather
4739 * argp/argp-fmtstream.h: Check whether
4740 __STRICT_ANSI__ is defined with #ifdef rather
4742 * argp/argp.h: Likewise.
4744 * libio/genops.c: Check whether
4745 _IO_JUMPS_OFFSET is defined with #ifdef rather
4747 * libio/libioP.h: Likewise.
4748 * stdio-common/vfprintf.c: Likewise.
4750 * sysdeps/generic/ldsodefs.h: Check whether
4751 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4754 * nptl/sysdeps/pthread/pthread.h: Check
4755 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4758 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4760 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4762 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4766 * libio/fileops.c (_IO_file_open): Seek to end of file but
4767 don't cache the offset.
4768 (get_file_offset): Remove function.
4769 (do_ftell): Use cached offset when available.
4770 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4771 don't cache the offset.
4772 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4774 (do_one_test): Call it.
4775 (do_ftell_test): Fix up expected old offset for a+ mode.
4776 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4779 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4780 up test status with function return status.
4781 (do_write_test): Likewise.
4782 (do_append_test): Likewise.
4784 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4785 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4788 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4790 * math/gen-libm-test.pl (parse_args): Handle results specified for
4791 each rounding mode separately.
4792 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4793 tests and results from lrint_tonearest_test_data,
4794 lrint_towardzero_test_data, lrint_downward_test_data and
4795 lrint_upward_test_data.
4796 (lrint_test): Use ALL_RM_TEST.
4797 (lrint_tonearest_test_data): Remove.
4798 (lrint_test_tonearest): Likewise.
4799 (lrint_towardzero_test_data): Likewise.
4800 (lrint_test_towardzero): Likewise.
4801 (lrint_downward_test_data): Likewise.
4802 (lrint_test_downward): Likewise.
4803 (lrint_upward_test_data): Likewise.
4804 (lrint_test_upward): Likewise.
4805 (llrint_test_data): Merge in per-rounding-mode tests and results
4806 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4807 llrint_downward_test_data and llrint_upward_test_data.
4808 (llrint_test): Use ALL_RM_TEST.
4809 (llrint_tonearest_test_data): Remove.
4810 (llrint_test_tonearest): Likewise.
4811 (llrint_towardzero_test_data): Likewise.
4812 (llrint_test_towardzero): Likewise.
4813 (llrint_downward_test_data): Likewise.
4814 (llrint_test_downward): Likewise.
4815 (llrint_upward_test_data): Likewise.
4816 (llrint_test_upward): Likewise.
4817 (rint_test_data): Merge in per-rounding-mode tests and results
4818 from rint_tonearest_test_data, rint_towardzero_test_data,
4819 rint_downward_test_data and rint_upward_test_data. Add
4820 per-rounding-mode results for tests not in those arrays.
4821 (rint_test): Use ALL_RM_TEST.
4822 (rint_tonearest_test_data): Remove.
4823 (rint_test_tonearest): Likewise.
4824 (rint_towardzero_test_data): Likewise.
4825 (rint_test_towardzero): Likewise.
4826 (rint_downward_test_data): Likewise.
4827 (rint_test_downward): Likewise.
4828 (rint_upward_test_data): Likewise.
4829 (rint_test_upward): Likewise.
4830 (main): Don't call removed functions.
4832 2014-03-14 Roland McGrath <roland@hack.frob.com>
4834 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4835 "Compiled on ..." crapola. It is anti-useful.
4837 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4839 * scripts/evaluate-test.sh: Handle fourth argument to determine
4840 whether test run should stop on failure.
4841 * Makeconfig (stop-on-test-failure): New variable.
4842 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4843 $(stop-on-test-failure).
4844 * Makefile (tests): Give a summary of results from testing and
4845 exit with failure status if they include an ERROR or FAIL.
4847 * manual/install.texi (Configuring and compiling): Mention
4848 stop-on-test-failure=y.
4849 * INSTALL: Regenerated.
4851 2014-03-14 Roland McGrath <roland@hack.frob.com>
4853 * scripts/versionlist.awk: New file.
4854 * Makerules [$(build-shared) = yes]
4855 (postclean-generated): Add Versions.def, not Versions.def.v and
4857 ($(common-objpfx)Versions.def.v.i): Target removed.
4858 ($(common-objpfx)Versions.def): New target.
4859 ($(common-objpfx)Versions.all): Depend on that rather that
4860 $(common-objpfx)Versions.def.v.
4861 * Versions.def: File removed.
4863 * Makeconfig (+gccwarn): Add -Wundef.
4864 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4865 a dl-sysdep.h breaking its contract.
4866 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4867 * include/stackinfo.h: New file.
4868 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4869 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4870 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4871 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4872 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4873 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4874 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4875 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4876 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4877 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4878 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4879 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4880 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4881 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4882 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4884 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4887 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4889 * math/libm-test.inc (round_test_data): Add more tests.
4892 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4894 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4897 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4899 * math/libm-test.inc (ceil_test_data): Add more tests.
4901 * math/libm-test.inc (trunc_test_data): Add more tests related to
4904 2014-03-14 Roland McGrath <roland@hack.frob.com>
4906 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4907 with #if rather than #ifdef.
4908 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4910 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4912 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4913 first. Disable AVX-512 GCC support if assembler doesn't support
4915 * sysdeps/x86_64/configure: Regenerated.
4917 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4919 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4920 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4921 (__old_pthread_attr_setstack): Likewise.
4922 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4923 [!_STACK_GROWS_DOWN]: Likewise.
4925 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4927 * config.make.in (have-bash2): Delete.
4928 * configure.ac (libc_cv_have_bash2): Delete.
4929 * configure: Regenerate.
4930 * elf/Makefile (common-ldd-rewrite): Rename to ...
4931 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4932 (sh-ldd-rewrite): Delete.
4933 (bash-ldd-rewrite): Delete.
4934 (have-bash2): Delete checks.
4935 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4938 * config.make.in (have-ksh): Delete.
4940 * configure.ac (libc_cv_have_ksh): Delete.
4941 * configure: Regenerate.
4943 * elf/Makefile: Delete $(have-ksh) check.
4944 ($(objpfx)sotruss): Change KSH to BASH.
4945 * elf/sotruss.ksh: Rename to ...
4946 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4947 function style to match POSIX. Drop ksh vim mode setting.
4949 * manual/time.texi (Specifying the Time Zone with TZ): Change
4950 Tuesday to Thursday.
4952 * debug/tst-longjmp_chk2.c: Update header comment.
4953 (stackoverflow_handler): Add comment. Call assert on pass value.
4955 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4957 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4958 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4959 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4960 (La_x86_64_vector): Add zmm.
4961 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4962 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4963 ($(objpfx)tst-audit10): New target.
4964 ($(objpfx)tst-audit10.out): Likewise.
4965 (tst-audit10-ENV): New.
4966 (AVX512-CFLAGS): Likewise.
4967 (CFLAGS-tst-audit10.c): Likewise.
4968 (CFLAGS-tst-auditmod10a.c): Likewise.
4969 (CFLAGS-tst-auditmod10b.c): Likewise.
4970 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4971 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4972 * sysdeps/x86_64/configure: Regenerated.
4973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4974 AVX-512 zmm register support.
4975 (_dl_x86_64_save_sse): Likewise.
4976 (_dl_x86_64_restore_sse): Likewise.
4977 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4978 size vector registers.
4979 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4980 (ZMM_SIZE): Likewise.
4981 * sysdeps/x86_64/tst-audit10.c: New file.
4982 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4983 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4985 2014-03-13 Roland McGrath <roland@hack.frob.com>
4987 * configure.ac (HAVE_EHDR_START): New check.
4988 * configure: Regenerated.
4989 * config.h.in (HAVE_EHDR_START): New #undef.
4990 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4991 assuming the lowest-addressed segment maps the start of the file.
4993 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4995 * INSTALL: Regenerated.
4997 2014-03-13 Will Newton <will.newton@linaro.org>
4999 * manual/setjmp.texi (System V contexts): Improve
5000 clarity and grammar of documentation.
5002 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5005 * elf/Makefile (tests): Add tst-pie2.
5006 (tests-pie): Add tst-pie2.
5007 * elf/tst-pie2.c: New file.
5008 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5010 * elf/rtld.c (map_doit): Load executable as lt_executable.
5011 (dl_main): Likewise.
5013 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5016 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5017 (__ASSUME_PSELECT): Undefine.
5019 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5022 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5023 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5026 selector for static builds.
5028 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5031 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5034 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5037 IFUNC selector for static builds.
5039 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/mips/math_private.h [__mips_hard_float]
5042 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5043 libc_feresetround_mips_ctx.
5044 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5045 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5046 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5049 * math/s_nextafter.c (__nextafter): Do not return value from
5050 overflowing computation.
5051 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5052 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5053 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5057 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5058 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5060 2014-03-11 Roland McGrath <roland@hack.frob.com>
5062 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5063 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5064 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5065 the new mov targetting sp.
5067 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5071 Define it for static builds as well.
5072 (NO_BZERO_IMPL): Likewise.
5074 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5076 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5077 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5078 multiarch strspn for PPC64.
5079 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5080 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5082 (__libc_ifunc_impl_list): Likewise.
5083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5084 multiarch optimizations
5085 * string/strspn.c (strspn): Using macro to redefine symbol name.
5087 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5088 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5091 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5092 multiarch strncat for PPC64.
5093 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5094 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5096 (__libc_ifunc_impl_list): Likewise.
5097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5098 multiarch optimizations
5100 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5103 * nscd/nscd.service: Make service type forking.
5105 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5107 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5108 sign in non default rounding modes.
5109 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5111 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5113 * math/libm-test.inc (ALL_RM_TEST): New macro.
5114 (ceil_test): Use ALL_RM_TEST.
5115 (cimag_test): Likewise.
5116 (conj_test): Likewise.
5117 (copysign_test): Likewise.
5118 (cproj_test): Likewise.
5119 (creal_test): Likewise.
5120 (fabs_test): Likewise.
5121 (floor_test): Likewise.
5122 (fmax_test): Likewise.
5123 (fmin_test): Likewise.
5124 (fmod_test): Likewise.
5125 (fpclassify_test): Likewise.
5126 (frexp_test): Likewise.
5127 (ilogb_test): Likewise.
5128 (isfinite_test): Likewise.
5129 (finite_test): Likewise.
5130 (isgreater_test): Likewise.
5131 (isgreaterequal_test): Likewise.
5132 (isinf_test): Likewise.
5133 (isless_test): Likewise.
5134 (islessequal_test): Likewise.
5135 (islessgreater_test): Likewise.
5136 (isnan_test): Likewise.
5137 (isnormal_test): Likewise.
5138 (issignaling_test): Likewise.
5139 (isunordered_test): Likewise.
5140 (logb_test): Likewise.
5141 (logb_downward_test_data): Remove.
5142 (logb_test_downward): Likewise.
5143 (lround_test): Use ALL_RM_TEST.
5144 (llround_test): Likewise.
5145 (modf_test): Likewise.
5146 (nexttoward_test): Likewise.
5147 (remainder_test): Likewise.
5148 (drem_test): Likewise.
5149 (remainder_tonearest_test_data): Likewise.
5150 (remainder_test_tonearest): Likewise.
5151 (drem_test_tonearest): Likewise.
5152 (remainder_towardzero_test_data): Likewise.
5153 (remainder_test_towardzero): Likewise.
5154 (drem_test_towardzero): Likewise.
5155 (remainder_downward_test_data): Likewise.
5156 (remainder_test_downward): Likewise.
5157 (drem_test_downward): Likewise.
5158 (remainder_upward_test_data): Likewise.
5159 (remainder_test_upward): Likewise.
5160 (drem_test_upward): Likewise.
5161 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5162 (round_test): Use ALL_RM_TEST.
5163 (signbit_test): Likewise.
5164 (trunc_test): Likewise.
5165 (significand_test): Likewise.
5166 (main): Don't call removed functions.
5168 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5171 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5173 (ILL_ILLOPN): Likewise.
5174 (ILL_ILLADR): Likewise.
5175 (ILL_ILLTRP): Likewise.
5176 (ILL_PRVOPC): Likewise.
5177 (ILL_PRVREG): Likewise.
5178 (ILL_COPROC): Likewise.
5179 (ILL_BADSTK): Likewise.
5180 (FPE_INTDIV): Likewise.
5181 (FPE_INTOVF): Likewise.
5182 (FPE_FLTDIV): Likewise.
5183 (FPE_FLTOVF): Likewise.
5184 (FPE_FLTUND): Likewise.
5185 (FPE_FLTRES): Likewise.
5186 (FPE_FLTINV): Likewise.
5187 (FPE_FLTSUB): Likewise.
5188 (SEGV_MAPERR): Likewise.
5189 (SEGV_ACCERR): Likewise.
5190 (BUS_ADRALN): Likewise.
5191 (BUS_ADRERR): Likewise.
5192 (BUS_OBJERR): Likewise.
5193 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5194 (TRAP_TRACE): Likewise.
5195 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5197 (CLD_KILLED): Likewise.
5198 (CLD_DUMPED): Likewise.
5199 (CLD_TRAPPED): Likewise.
5200 (CLD_STOPPED): Likewise.
5201 (CLD_CONTINUED): Likewise.
5202 (POLL_IN): Likewise.
5203 (POLL_OUT): Likewise.
5204 (POLL_MSG): Likewise.
5205 (POLL_ERR): Likewise.
5206 (POLL_PRI): Likewise.
5207 (POLL_HUP): Likewise.
5208 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5210 (ILL_ILLOPN): Likewise.
5211 (ILL_ILLADR): Likewise.
5212 (ILL_ILLTRP): Likewise.
5213 (ILL_PRVOPC): Likewise.
5214 (ILL_PRVREG): Likewise.
5215 (ILL_COPROC): Likewise.
5216 (ILL_BADSTK): Likewise.
5217 (FPE_INTDIV): Likewise.
5218 (FPE_INTOVF): Likewise.
5219 (FPE_FLTDIV): Likewise.
5220 (FPE_FLTOVF): Likewise.
5221 (FPE_FLTUND): Likewise.
5222 (FPE_FLTRES): Likewise.
5223 (FPE_FLTINV): Likewise.
5224 (FPE_FLTSUB): Likewise.
5225 (SEGV_MAPERR): Likewise.
5226 (SEGV_ACCERR): Likewise.
5227 (BUS_ADRALN): Likewise.
5228 (BUS_ADRERR): Likewise.
5229 (BUS_OBJERR): Likewise.
5230 (BUS_MCEERR_AR): Likewise.
5231 (BUS_MCEERR_AO): Likewise.
5232 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5233 (TRAP_TRACE): Likewise.
5234 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5236 (CLD_KILLED): Likewise.
5237 (CLD_DUMPED): Likewise.
5238 (CLD_TRAPPED): Likewise.
5239 (CLD_STOPPED): Likewise.
5240 (CLD_CONTINUED): Likewise.
5241 (POLL_IN): Likewise.
5242 (POLL_OUT): Likewise.
5243 (POLL_MSG): Likewise.
5244 (POLL_ERR): Likewise.
5245 (POLL_PRI): Likewise.
5246 (POLL_HUP): Likewise.
5247 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5248 (ILL_ILLOPN): Likewise.
5249 (ILL_ILLADR): Likewise.
5250 (ILL_ILLTRP): Likewise.
5251 (ILL_PRVOPC): Likewise.
5252 (ILL_PRVREG): Likewise.
5253 (ILL_COPROC): Likewise.
5254 (ILL_BADSTK): Likewise.
5255 (FPE_INTDIV): Likewise.
5256 (FPE_INTOVF): Likewise.
5257 (FPE_FLTDIV): Likewise.
5258 (FPE_FLTOVF): Likewise.
5259 (FPE_FLTUND): Likewise.
5260 (FPE_FLTRES): Likewise.
5261 (FPE_FLTINV): Likewise.
5262 (FPE_FLTSUB): Likewise.
5263 (SEGV_MAPERR): Likewise.
5264 (SEGV_ACCERR): Likewise.
5265 (BUS_ADRALN): Likewise.
5266 (BUS_ADRERR): Likewise.
5267 (BUS_OBJERR): Likewise.
5268 (BUS_MCEERR_AR): Likewise.
5269 (BUS_MCEERR_AO): Likewise.
5270 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5271 (TRAP_TRACE): Likewise.
5272 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5274 (CLD_KILLED): Likewise.
5275 (CLD_DUMPED): Likewise.
5276 (CLD_TRAPPED): Likewise.
5277 (CLD_STOPPED): Likewise.
5278 (CLD_CONTINUED): Likewise.
5279 (POLL_IN): Likewise.
5280 (POLL_OUT): Likewise.
5281 (POLL_MSG): Likewise.
5282 (POLL_ERR): Likewise.
5283 (POLL_PRI): Likewise.
5284 (POLL_HUP): Likewise.
5285 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5287 (ILL_ILLOPN): Likewise.
5288 (ILL_ILLADR): Likewise.
5289 (ILL_ILLTRP): Likewise.
5290 (ILL_PRVOPC): Likewise.
5291 (ILL_PRVREG): Likewise.
5292 (ILL_COPROC): Likewise.
5293 (ILL_BADSTK): Likewise.
5294 (ILL_BADIADDR): Likewise.
5295 (ILL_BREAK): Likewise.
5296 (FPE_INTDIV): Likewise.
5297 (FPE_INTOVF): Likewise.
5298 (FPE_FLTDIV): Likewise.
5299 (FPE_FLTOVF): Likewise.
5300 (FPE_FLTUND): Likewise.
5301 (FPE_FLTRES): Likewise.
5302 (FPE_FLTINV): Likewise.
5303 (FPE_FLTSUB): Likewise.
5304 (FPE_DECOVF): Likewise.
5305 (FPE_DECDIV): Likewise.
5306 (FPE_DECERR): Likewise.
5307 (FPE_INVASC): Likewise.
5308 (FPE_INVDEC): Likewise.
5309 (SEGV_MAPERR): Likewise.
5310 (SEGV_ACCERR): Likewise.
5311 (SEGV_PSTKOVF): Likewise.
5312 (BUS_ADRALN): Likewise.
5313 (BUS_ADRERR): Likewise.
5314 (BUS_OBJERR): Likewise.
5315 (BUS_MCEERR_AR): Likewise.
5316 (BUS_MCEERR_AO): Likewise.
5317 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5318 (TRAP_TRACE): Likewise.
5319 (TRAP_BRANCH): Likewise.
5320 (TRAP_HWBKPT): Likewise.
5321 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5323 (CLD_KILLED): Likewise.
5324 (CLD_DUMPED): Likewise.
5325 (CLD_TRAPPED): Likewise.
5326 (CLD_STOPPED): Likewise.
5327 (CLD_CONTINUED): Likewise.
5328 (POLL_IN): Likewise.
5329 (POLL_OUT): Likewise.
5330 (POLL_MSG): Likewise.
5331 (POLL_ERR): Likewise.
5332 (POLL_PRI): Likewise.
5333 (POLL_HUP): Likewise.
5334 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5335 (ILL_ILLOPN): Likewise.
5336 (ILL_ILLADR): Likewise.
5337 (ILL_ILLTRP): Likewise.
5338 (ILL_PRVOPC): Likewise.
5339 (ILL_PRVREG): Likewise.
5340 (ILL_COPROC): Likewise.
5341 (ILL_BADSTK): Likewise.
5342 (FPE_INTDIV): Likewise.
5343 (FPE_INTOVF): Likewise.
5344 (FPE_FLTDIV): Likewise.
5345 (FPE_FLTOVF): Likewise.
5346 (FPE_FLTUND): Likewise.
5347 (FPE_FLTRES): Likewise.
5348 (FPE_FLTINV): Likewise.
5349 (FPE_FLTSUB): Likewise.
5350 (SEGV_MAPERR): Likewise.
5351 (SEGV_ACCERR): Likewise.
5352 (BUS_ADRALN): Likewise.
5353 (BUS_ADRERR): Likewise.
5354 (BUS_OBJERR): Likewise.
5355 (BUS_MCEERR_AR): Likewise.
5356 (BUS_MCEERR_AO): Likewise.
5357 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5358 (TRAP_TRACE): Likewise.
5359 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5361 (CLD_KILLED): Likewise.
5362 (CLD_DUMPED): Likewise.
5363 (CLD_TRAPPED): Likewise.
5364 (CLD_STOPPED): Likewise.
5365 (CLD_CONTINUED): Likewise.
5366 (POLL_IN): Likewise.
5367 (POLL_OUT): Likewise.
5368 (POLL_MSG): Likewise.
5369 (POLL_ERR): Likewise.
5370 (POLL_PRI): Likewise.
5371 (POLL_HUP): Likewise.
5372 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5373 (ILL_ILLOPN): Likewise.
5374 (ILL_ILLADR): Likewise.
5375 (ILL_ILLTRP): Likewise.
5376 (ILL_PRVOPC): Likewise.
5377 (ILL_PRVREG): Likewise.
5378 (ILL_COPROC): Likewise.
5379 (ILL_BADSTK): Likewise.
5380 (FPE_INTDIV): Likewise.
5381 (FPE_INTOVF): Likewise.
5382 (FPE_FLTDIV): Likewise.
5383 (FPE_FLTOVF): Likewise.
5384 (FPE_FLTUND): Likewise.
5385 (FPE_FLTRES): Likewise.
5386 (FPE_FLTINV): Likewise.
5387 (FPE_FLTSUB): Likewise.
5388 (SEGV_MAPERR): Likewise.
5389 (SEGV_ACCERR): Likewise.
5390 (BUS_ADRALN): Likewise.
5391 (BUS_ADRERR): Likewise.
5392 (BUS_OBJERR): Likewise.
5393 (BUS_MCEERR_AR): Likewise.
5394 (BUS_MCEERR_AO): Likewise.
5395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5396 (TRAP_TRACE): Likewise.
5397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5399 (CLD_KILLED): Likewise.
5400 (CLD_DUMPED): Likewise.
5401 (CLD_TRAPPED): Likewise.
5402 (CLD_STOPPED): Likewise.
5403 (CLD_CONTINUED): Likewise.
5404 (POLL_IN): Likewise.
5405 (POLL_OUT): Likewise.
5406 (POLL_MSG): Likewise.
5407 (POLL_ERR): Likewise.
5408 (POLL_PRI): Likewise.
5409 (POLL_HUP): Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5411 (ILL_ILLOPN): Likewise.
5412 (ILL_ILLADR): Likewise.
5413 (ILL_ILLTRP): Likewise.
5414 (ILL_PRVOPC): Likewise.
5415 (ILL_PRVREG): Likewise.
5416 (ILL_COPROC): Likewise.
5417 (ILL_BADSTK): Likewise.
5418 (FPE_INTDIV): Likewise.
5419 (FPE_INTOVF): Likewise.
5420 (FPE_FLTDIV): Likewise.
5421 (FPE_FLTOVF): Likewise.
5422 (FPE_FLTUND): Likewise.
5423 (FPE_FLTRES): Likewise.
5424 (FPE_FLTINV): Likewise.
5425 (FPE_FLTSUB): Likewise.
5426 (SEGV_MAPERR): Likewise.
5427 (SEGV_ACCERR): Likewise.
5428 (BUS_ADRALN): Likewise.
5429 (BUS_ADRERR): Likewise.
5430 (BUS_OBJERR): Likewise.
5431 (BUS_MCEERR_AR): Likewise.
5432 (BUS_MCEERR_AO): Likewise.
5433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5434 (TRAP_TRACE): Likewise.
5435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5437 (CLD_KILLED): Likewise.
5438 (CLD_DUMPED): Likewise.
5439 (CLD_TRAPPED): Likewise.
5440 (CLD_STOPPED): Likewise.
5441 (CLD_CONTINUED): Likewise.
5442 (POLL_IN): Likewise.
5443 (POLL_OUT): Likewise.
5444 (POLL_MSG): Likewise.
5445 (POLL_ERR): Likewise.
5446 (POLL_PRI): Likewise.
5447 (POLL_HUP): Likewise.
5448 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5449 (ILL_ILLOPN): Likewise.
5450 (ILL_ILLADR): Likewise.
5451 (ILL_ILLTRP): Likewise.
5452 (ILL_PRVOPC): Likewise.
5453 (ILL_PRVREG): Likewise.
5454 (ILL_COPROC): Likewise.
5455 (ILL_BADSTK): Likewise.
5456 (ILL_DBLFLT): Likewise.
5457 (ILL_HARDWALL): Likewise.
5458 (FPE_INTDIV): Likewise.
5459 (FPE_INTOVF): Likewise.
5460 (FPE_FLTDIV): Likewise.
5461 (FPE_FLTOVF): Likewise.
5462 (FPE_FLTUND): Likewise.
5463 (FPE_FLTRES): Likewise.
5464 (FPE_FLTINV): Likewise.
5465 (FPE_FLTSUB): Likewise.
5466 (SEGV_MAPERR): Likewise.
5467 (SEGV_ACCERR): Likewise.
5468 (BUS_ADRALN): Likewise.
5469 (BUS_ADRERR): Likewise.
5470 (BUS_OBJERR): Likewise.
5471 (BUS_MCEERR_AR): Likewise.
5472 (BUS_MCEERR_AO): Likewise.
5473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5474 (TRAP_TRACE): Likewise.
5475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5477 (CLD_KILLED): Likewise.
5478 (CLD_DUMPED): Likewise.
5479 (CLD_TRAPPED): Likewise.
5480 (CLD_STOPPED): Likewise.
5481 (CLD_CONTINUED): Likewise.
5482 (POLL_IN): Likewise.
5483 (POLL_OUT): Likewise.
5484 (POLL_MSG): Likewise.
5485 (POLL_ERR): Likewise.
5486 (POLL_PRI): Likewise.
5487 (POLL_HUP): Likewise.
5488 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5489 (ILL_ILLOPN): Likewise.
5490 (ILL_ILLADR): Likewise.
5491 (ILL_ILLTRP): Likewise.
5492 (ILL_PRVOPC): Likewise.
5493 (ILL_PRVREG): Likewise.
5494 (ILL_COPROC): Likewise.
5495 (ILL_BADSTK): Likewise.
5496 (FPE_INTDIV): Likewise.
5497 (FPE_INTOVF): Likewise.
5498 (FPE_FLTDIV): Likewise.
5499 (FPE_FLTOVF): Likewise.
5500 (FPE_FLTUND): Likewise.
5501 (FPE_FLTRES): Likewise.
5502 (FPE_FLTINV): Likewise.
5503 (FPE_FLTSUB): Likewise.
5504 (SEGV_MAPERR): Likewise.
5505 (SEGV_ACCERR): Likewise.
5506 (BUS_ADRALN): Likewise.
5507 (BUS_ADRERR): Likewise.
5508 (BUS_OBJERR): Likewise.
5509 (BUS_MCEERR_AR): Likewise.
5510 (BUS_MCEERR_AO): Likewise.
5511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5512 (TRAP_TRACE): Likewise.
5513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5515 (CLD_KILLED): Likewise.
5516 (CLD_DUMPED): Likewise.
5517 (CLD_TRAPPED): Likewise.
5518 (CLD_STOPPED): Likewise.
5519 (CLD_CONTINUED): Likewise.
5520 (POLL_IN): Likewise.
5521 (POLL_OUT): Likewise.
5522 (POLL_MSG): Likewise.
5523 (POLL_ERR): Likewise.
5524 (POLL_PRI): Likewise.
5525 (POLL_HUP): Likewise.
5526 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5527 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5530 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5531 before #include of <time.h>.
5532 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5533 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5534 (test-xfail-UNIX98/sched.h/conform): Likewise.
5536 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5538 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5539 error absence of trapping exception support.
5540 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5542 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5544 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5545 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5546 * timezone/Makefile (testdata): Move definition above include of
5548 (test-zones): New variable.
5549 (tests-special): Add zone files.
5550 (build-testdata): Use $(evaluate-test).
5552 * elf/Makefile (tests-special): Rename tests to end with .out.
5553 ($(objpfx)noload-mem): Likewise.
5554 ($(objpfx)tst-leaks1-mem): Likewise.
5555 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5556 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5557 $(objpfx)test-iconvconfig.out.
5558 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5559 set -e inside subshell and redirect output to file.
5560 * iconvdata/Makefile (generated): Rename tests to end with .out.
5562 (tests-special): Rename tests to end with .out.
5563 ($(objpfx)mtrace-tst-loading): Likewise.
5564 * intl/Makefile (generated): Likewise.
5565 (tests-special): Likewise.
5566 ($(objpfx)mtrace-tst-gettext): Likewise.
5567 * misc/Makefile (generated): Likewise.
5568 (tests-special): Likewise.
5569 ($(objpfx)tst-error1-mem): Likewise.
5570 * nptl/Makefile (tests-special): Likewise.
5571 ($(objpfx)tst-stack3-mem): Likewise.
5572 (generated): Likewise.
5573 * posix/Makefile (generated): Likewise.
5574 (tests-special): Likewise.
5575 (xtests-special): Likewise.
5576 ($(objpfx)tst-fnmatch-mem): Likewise.
5577 ($(objpfx)bug-regex2-mem): Likewise.
5578 ($(objpfx)bug-regex14-mem): Likewise.
5579 ($(objpfx)bug-regex21-mem): Likewise.
5580 ($(objpfx)bug-regex31-mem): Likewise.
5581 ($(objpfx)tst-vfork3-mem): Likewise.
5582 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5583 ($(objpfx)tst-pcre-mem): Likewise.
5584 ($(objpfx)tst-boost-mem): Likewise.
5585 ($(objpfx)bug-ga2-mem): Likewise.
5586 ($(objpfx)bug-glob2-mem): Likewise.
5587 * resolv/Makefile (generate): Likewise.
5588 (tests-special): Likewise.
5589 (xtests-special): Likewise.
5590 (generated): Likewise.
5591 ($(objpfx)mtrace-tst-leaks): Likewise.
5592 ($(objpfx)mtrace-tst-leaks2): Likewise.
5594 * scripts/merge-test-results.sh: New file.
5595 * Makefile (tests-special-notdir): New variable.
5596 (tests): Run merge-test-results.sh.
5598 * Rules (tests-special-notdir): New variable.
5599 (xtests-special-notdir): Likewise.
5600 (tests): Run merge-test-results.sh
5603 * Makeconfig (test-xfail-name): New variable.
5604 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5605 compute variable name for expected failures.
5606 * conform/Makefile (conformtest-headers-data): New variable.
5607 (conformtest-standards): Likewise.
5608 (conformtest-headers-ISO): Likewise.
5609 (conformtest-headers-ISO99): Likewise.
5610 (conformtest-headers-ISO11): Likewise.
5611 (conformtest-headers-POSIX): Likewise.
5612 (conformtest-headers-XPG3): Likewise.
5613 (conformtest-headers-XPG4): Likewise.
5614 (conformtest-headers-UNIX98): Likewise.
5615 (conformtest-headers-XOPEN2K): Likewise.
5616 (conformtest-headers-POSIX2008): Likewise.
5617 (conformtest-headers-XOPEN2K8): Likewise.
5618 (conformtest-header-list-base): Likewise.
5619 (conformtest-header-list-tests): Likewise.
5620 (conformtest-header-base): Likewise.
5621 (conformtest-header-tests): Likewise.
5622 (tests-special): Add $(conformtest-header-list-tests). If
5623 [$(fast-check) && !$(cross-compiling)], add
5624 $(conformtest-header-tests) instead of
5625 $(objpfx)run-conformtest.out.
5626 (generated): Add $(conformtest-header-list-base). If
5627 [$(fast-check) && !$(cross-compiling)], add
5628 $(conformtest-header-base). Remove previous setting.
5629 ($(conformtest-header-list-tests)): New target.
5630 (test-xfail-run-conformtest): Remove variable.
5631 ($(objpfx)run-conformtest.out): Remove target.
5632 (test-xfail-ISO11/complex.h/conform): New variable.
5633 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5634 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5635 (test-xfail-XPG3/varargs.h/conform): Likewise.
5636 (test-xfail-XPG4/varargs.h/conform): Likewise.
5637 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5638 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5639 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5640 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5641 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5642 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5643 (test-xfail-XPG3/ftw.h/conform): Likewise.
5644 (test-xfail-XPG3/grp.h/conform): Likewise.
5645 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5646 (test-xfail-XPG3/limits.h/conform): Likewise.
5647 (test-xfail-XPG3/pwd.h/conform): Likewise.
5648 (test-xfail-XPG3/search.h/conform): Likewise.
5649 (test-xfail-XPG3/signal.h/conform): Likewise.
5650 (test-xfail-XPG3/stdio.h/conform): Likewise.
5651 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5652 (test-xfail-XPG3/string.h/conform): Likewise.
5653 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5654 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5655 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5656 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5657 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5658 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5659 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5660 (test-xfail-XPG3/termios.h/conform): Likewise.
5661 (test-xfail-XPG3/time.h/conform): Likewise.
5662 (test-xfail-XPG3/unistd.h/conform): Likewise.
5663 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5664 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5665 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5666 (test-xfail-XPG4/netdb.h/conform): Likewise.
5667 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5668 (test-xfail-XPG4/signal.h/conform): Likewise.
5669 (test-xfail-XPG4/stdio.h/conform): Likewise.
5670 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5671 (test-xfail-XPG4/stropts.h/conform): Likewise.
5672 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5673 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5674 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5675 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5676 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5677 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5678 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5679 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5680 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5681 (test-xfail-XPG4/termios.h/conform): Likewise.
5682 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5683 (test-xfail-XPG4/unistd.h/conform): Likewise.
5684 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5685 (test-xfail-POSIX/sched.h/conform): Likewise.
5686 (test-xfail-POSIX/signal.h/conform): Likewise.
5687 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5688 (test-xfail-POSIX/tar.h/conform): Likewise.
5689 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5690 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5691 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5692 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5693 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5694 (test-xfail-UNIX98/sched.h/conform): Likewise.
5695 (test-xfail-UNIX98/signal.h/conform): Likewise.
5696 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5697 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5698 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5699 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5700 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5701 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5702 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5703 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5704 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5705 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5706 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5707 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5708 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5709 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5710 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5711 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5712 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5713 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5714 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5715 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5716 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5717 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5718 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5719 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5720 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5721 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5722 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5723 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5724 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5725 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5726 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5727 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5728 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5729 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5730 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5731 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5732 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5733 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5734 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5735 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5736 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5737 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5738 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5739 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5740 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5741 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5742 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5743 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5744 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5745 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5746 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5747 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5748 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5749 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5750 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5751 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5752 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5753 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5754 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5755 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5756 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5757 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5758 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5759 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5760 (conformtest-cc-flags): Likewise.
5761 ($(conformtest-header-tests): New target.
5762 * conform/check-header-lists.sh: New file.
5763 * conform/run-conformtest.sh: Remove.
5765 * conform/conformtest.pl: Allow ' and \ in values given for
5767 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5769 [POSIX] (sys/types.h): Likewise.
5770 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5772 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5774 * conform/data/signal.h-data (SIGIO): Remove expectation.
5775 [XPG3] (SIGBUS): Do not expect.
5776 [POSIX || XPG3] (SIGPOLL): Likewise.
5777 [POSIX || XPG3] (SIGPROF): Likewise.
5778 [POSIX || XPG3] (SIGSYS): Likewise.
5779 [XPG3] (SIGTRAP): Likewise.
5780 [POSIX || XPG3] (SIGURG): Likewise.
5781 [POSIX || XPG3] (SIGVTALRM): Likewise.
5782 [POSIX || XPG3] (SIGXCPU): Likewise.
5783 [POSIX || XPG3] (SIGXFSZ): Likewise.
5784 [POSIX] (SA_SIGINFO): Expect.
5785 [XPG3] (siginfo_t): Do not expect type or contents.
5786 [POSIX] (si_pid): Do not expect element.
5787 [POSIX] (si_uid): Likewise.
5788 [POSIX] (si_addr): Likewise.
5789 [POSIX] (si_status): Likewise.
5790 [POSIX] (si_band): Likewise.
5791 [XPG4] (si_value): Likewise.
5792 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5793 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5794 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5795 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5796 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5797 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5798 [POSIX || XPG3] (ILL_COPROC): Likewise.
5799 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5800 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5801 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5802 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5803 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5804 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5805 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5806 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5807 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5808 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5809 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5810 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5811 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5812 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5813 [POSIX || XPG3] (CLD_EXITED): Likewise.
5814 [POSIX || XPG3] (CLD_KILLED): Likewise.
5815 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5816 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5817 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5818 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5819 [POSIX || XPG3] (POLL_IN): Likewise.
5820 [POSIX || XPG3] (POLL_OUT): Likewise.
5821 [POSIX || XPG3] (POLL_MSG): Likewise.
5822 [POSIX || XPG3] (POLL_ERR): Likewise.
5823 [POSIX || XPG3] (POLL_PRI): Likewise.
5824 [POSIX || XPG3] (POLL_HUP): Likewise.
5825 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5826 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5827 (SIG*): Do not allow.
5828 [XPG3] (si_*): Likewise.
5829 [XPG3] (SI_*): Likewise.
5830 [XPG3 || XPG4] (sigev_*): Likewise.
5831 [XPG3 || XPG4] (SIGEV_*): Likewise.
5832 [XPG3 || XPG4] (sival_*): Likewise.
5833 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5834 [POSIX || XPG3] (BUS_*): Likewise.
5835 [POSIX || XPG3] (CLD_*): Likewise.
5836 [POSIX || XPG3] (FPE_*): Likewise.
5837 [POSIX || XPG3] (ILL_*): Likewise.
5838 [POSIX || XPG3] (POLL_*): Likewise.
5839 [POSIX || XPG3] (SEGV_*): Likewise.
5840 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5841 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5842 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5843 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5844 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5845 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5846 Specify type and value.
5847 (TVERSLEN): Likewise.
5848 (REGTYPE): Likewise.
5849 (AREGTYPE): Likewise.
5850 (LNKTYPE): Likewise.
5851 (SYMTYPE): Likewise.
5852 (CHRTYPE): Likewise.
5853 (BLKTYPE): Likewise.
5854 (DIRTYPE): Likewise.
5855 (FIFOTYPE): Likewise.
5856 (CONTTYPE): Likewise.
5861 (TUWRITE): Likewise.
5864 (TGWRITE): Likewise.
5867 (TOWRITE): Likewise.
5869 [POSIX] (TSVTX): Expect constant.
5871 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5873 * Makefile (tests): Change dependencies to ....
5874 (tests-special): ... additions to this variable.
5875 (tests): Depend on $(tests-special).
5876 * Makerules (check-abi-list): New variable.
5877 (check-abi): Depend on $(check-abi-list).
5878 [$(subdir) = elf] (tests-special): Add
5879 $(objpfx)check-abi-libc.out.
5880 [$(build-shared) = yes && subdir] (tests-special): Add
5882 [$(build-shared) = yes && subdir] (tests): Do not depend on
5884 * Rules (tests): Depend on $(tests-special).
5885 (xtests): Depend on $(xtests-special).
5886 * catgets/Makefile (tests): Change dependencies to ....
5887 (tests-special): ... additions to this variable.
5888 * conform/Makefile (tests): Change dependencies to ....
5889 (tests-special): ... additions to this variable.
5890 * elf/Makefile (tests): Change dependencies to ....
5891 (tests-special): ... additions to this variable.
5892 * grp/Makefile (tests): Change dependencies to ....
5893 (tests-special): ... additions to this variable.
5894 * iconv/Makefile (xtests): Change dependencies to ....
5895 (xtests-special): ... additions to this variable.
5896 * iconvdata/Makefile (tests): Change dependencies to ....
5897 (tests-special): ... additions to this variable.
5898 * intl/Makefile (tests): Change dependencies to ....
5899 (tests-special): ... additions to this variable. Also add
5900 $(objpfx)tst-gettext.out.
5901 * io/Makefile (tests): Change dependencies to ....
5902 (tests-special): ... additions to this variable.
5903 * libio/Makefile (tests): Change dependencies to ....
5904 (tests-special): ... additions to this variable.
5905 * malloc/Makefile (tests): Change dependencies to ....
5906 (tests-special): ... additions to this variable.
5907 * misc/Makefile (tests): Change dependencies to ....
5908 (tests-special): ... additions to this variable.
5909 * nptl/Makefile (tests): Change dependencies to ....
5910 (tests-special): ... additions to this variable.
5911 * nptl_db/Makefile (tests): Change dependencies to ....
5912 (tests-special): ... additions to this variable.
5913 * posix/Makefile (tests): Change dependencies to ....
5914 (tests-special): ... additions to this variable.
5915 (xtests): Change dependencies to ....
5916 (xtests-special): ... additions to this variable.
5917 * resolv/Makefile (tests): Change dependencies to ....
5918 (tests-special): ... additions to this variable.
5919 (xtests): Change dependencies to ....
5920 (xtests-special): ... additions to this variable.
5921 * stdio-common/Makefile (tests): Change dependencies to ....
5922 (tests-special): ... additions to this variable.
5923 (do-tst-unbputc): Remove target.
5924 (do-tst-printf): Likewise.
5925 * stdlib/Makefile (tests): Change dependencies to ....
5926 (tests-special): ... additions to this variable.
5927 * string/Makefile (tests): Change dependencies to ....
5928 (tests-special): ... additions to this variable.
5929 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5930 (tests-special): ... additions to this variable.
5932 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5934 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5936 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5937 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5939 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5940 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5941 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5942 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5943 * conform/data/libgen.h-data [XPG3]: Likewise.
5944 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5945 * conform/data/ndbm.h-data [XPG3]: Likewise.
5946 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5947 * conform/data/netdb.h-data [XPG3]: Likewise.
5948 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5949 * conform/data/poll.h-data [XPG3]: Likewise.
5950 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5951 * conform/data/strings.h-data [XPG3]: Likewise.
5952 * conform/data/stropts.h-data [XPG3]: Likewise.
5953 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5954 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5955 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5957 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5958 * conform/data/sys/time.h-data [XPG3]: Likewise.
5959 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5960 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5961 * conform/data/sys/un.h-data [XPG3]: Likewise.
5962 * conform/data/syslog.h-data [XPG3]: Likewise.
5963 * conform/data/ucontext.h-data [XPG3]: Likewise.
5964 * conform/data/utmpx.h-data [XPG3]: Likewise.
5965 * conform/data/varargs.h-data [UNIX98]: Enable file.
5967 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5969 * math/libm-test.inc (struct test_f_f_data): Move expected results
5970 into structure for each rounding mode.
5971 (struct test_ff_f_data): Likewise.
5972 (struct test_ff_f_data_nexttoward): Likewise.
5973 (struct test_fi_f_data): Likewise.
5974 (struct test_fl_f_data): Likewise.
5975 (struct test_if_f_data): Likewise.
5976 (struct test_fff_f_data): Likewise.
5977 (struct test_c_f_data): Likewise.
5978 (struct test_f_f1_data): Likewise.
5979 (struct test_fF_f1_data): Likewise.
5980 (struct test_ffI_f1_data): Likewise.
5981 (struct test_c_c_data): Likewise.
5982 (struct test_cc_c_data): Likewise.
5983 (struct test_f_i_data): Likewise.
5984 (struct test_ff_i_data): Likewise.
5985 (struct test_f_l_data): Likewise.
5986 (struct test_f_L_data): Likewise.
5987 (struct test_fFF_11_data): Likewise.
5989 (RM_FE_DOWNWARD): Likewise.
5990 (RM_FE_TONEAREST): Likewise.
5991 (RM_FE_TOWARDZERO): Likewise.
5992 (RM_FE_UPWARD): Likewise.
5993 (RUN_TEST_LOOP_f_f): Update references to expected results.
5994 (RUN_TEST_LOOP_2_f): Likewise.
5995 (RUN_TEST_LOOP_fff_f): Likewise.
5996 (RUN_TEST_LOOP_c_f): Likewise.
5997 (RUN_TEST_LOOP_f_f1): Likewise.
5998 (RUN_TEST_LOOP_fF_f1): Likewise.
5999 (RUN_TEST_LOOP_fI_f1): Likewise.
6000 (RUN_TEST_LOOP_ffI_f1): Likewise.
6001 (RUN_TEST_LOOP_c_c): Likewise.
6002 (RUN_TEST_LOOP_cc_c): Likewise.
6003 (RUN_TEST_LOOP_f_i): Likewise.
6004 (RUN_TEST_LOOP_f_i_tg): Likewise.
6005 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6006 (RUN_TEST_LOOP_f_b): Likewise.
6007 (RUN_TEST_LOOP_f_b_tg): Likewise.
6008 (RUN_TEST_LOOP_f_l): Likewise.
6009 (RUN_TEST_LOOP_f_L): Likewise.
6010 (RUN_TEST_LOOP_fFF_11): Likewise.
6011 * math/gen-libm-test.pl (parse_args): Output four copies of
6012 expected results for each test.
6014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6015 (__ASSUME_UTIMES): Remove.
6016 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6017 (__ASSUME_UTIMES): Likewise.
6019 * math/gen-auto-libm-tests.c: Update comment on output format.
6020 (output_for_one_input_case): Generate before-rounding and
6021 after-rounding information as conditions on output flags not
6022 floating-point format.
6023 * math/auto-libm-test-out: Regenerated.
6024 * math/gen-libm-test.pl (cond_value): New function.
6025 (or_cond_value): Use cond_value.
6026 (generate_testfile): Handle conditional exceptions.
6028 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6030 * math/libm-test.inc (max_valid_error): New variable.
6031 (init_max_error): Take new argument specifying whether function
6032 results are exactly determined. Set max_valid_error and bound
6033 other variables for errors based on this argument.
6034 (set_max_error): Do not record results above max_valid_error.
6035 (check_float_internal): Only accept errors of up to 0.5ulps if
6036 also at most max_valid_error.
6037 (START): Take new argument EXACT and pass it to init_max_error.
6038 (acos_test): Update call to START.
6039 (acos_test_tonearest): Likewise.
6040 (acos_test_towardzero): Likewise.
6041 (acos_test_downward): Likewise.
6042 (acos_test_upward): Likewise.
6043 (acosh_test): Likewise.
6044 (asin_test): Likewise.
6045 (asin_test_tonearest): Likewise.
6046 (asin_test_towardzero): Likewise.
6047 (asin_test_downward): Likewise.
6048 (asin_test_upward): Likewise.
6049 (asinh_test): Likewise.
6050 (atan_test): Likewise.
6051 (atanh_test): Likewise.
6052 (atan2_test): Likewise.
6053 (cabs_test): Likewise.
6054 (cacos_test): Likewise.
6055 (cacosh_test): Likewise.
6056 (carg_test): Likewise.
6057 (casin_test): Likewise.
6058 (casinh_test): Likewise.
6059 (catan_test): Likewise.
6060 (catanh_test): Likewise.
6061 (cbrt_test): Likewise.
6062 (ccos_test): Likewise.
6063 (ccosh_test): Likewise.
6064 (ceil_test): Likewise.
6065 (cexp_test): Likewise.
6066 (cimag_test): Likewise.
6067 (clog_test): Likewise.
6068 (clog10_test): Likewise.
6069 (conj_test): Likewise.
6070 (copysign_test): Likewise.
6071 (cos_test): Likewise.
6072 (cos_test_tonearest): Likewise.
6073 (cos_test_towardzero): Likewise.
6074 (cos_test_downward): Likewise.
6075 (cos_test_upward): Likewise.
6076 (cosh_test): Likewise.
6077 (cosh_test_tonearest): Likewise.
6078 (cosh_test_towardzero): Likewise.
6079 (cosh_test_downward): Likewise.
6080 (cosh_test_upward): Likewise.
6081 (cpow_test): Likewise.
6082 (cproj_test): Likewise.
6083 (creal_test): Likewise.
6084 (csin_test): Likewise.
6085 (csinh_test): Likewise.
6086 (csqrt_test): Likewise.
6087 (ctan_test): Likewise.
6088 (ctan_test_tonearest): Likewise.
6089 (ctan_test_towardzero): Likewise.
6090 (ctan_test_downward): Likewise.
6091 (ctan_test_upward): Likewise.
6092 (ctanh_test): Likewise.
6093 (ctanh_test_tonearest): Likewise.
6094 (ctanh_test_towardzero): Likewise.
6095 (ctanh_test_downward): Likewise.
6096 (ctanh_test_upward): Likewise.
6097 (erf_test): Likewise.
6098 (erfc_test): Likewise.
6099 (exp_test): Likewise.
6100 (exp_test_tonearest): Likewise.
6101 (exp_test_towardzero): Likewise.
6102 (exp_test_downward): Likewise.
6103 (exp_test_upward): Likewise.
6104 (exp10_test): Likewise.
6105 (exp10_test_tonearest): Likewise.
6106 (exp10_test_towardzero): Likewise.
6107 (exp10_test_downward): Likewise.
6108 (exp10_test_upward): Likewise.
6109 (pow10_test): Likewise.
6110 (exp2_test): Likewise.
6111 (expm1_test): Likewise.
6112 (expm1_test_tonearest): Likewise.
6113 (expm1_test_towardzero): Likewise.
6114 (expm1_test_downward): Likewise.
6115 (expm1_test_upward): Likewise.
6116 (fabs_test): Likewise.
6117 (fdim_test): Likewise.
6118 (floor_test): Likewise.
6119 (fma_test): Likewise.
6120 (fma_test_towardzero): Likewise.
6121 (fma_test_downward): Likewise.
6122 (fma_test_upward): Likewise.
6123 (fmax_test): Likewise.
6124 (fmin_test): Likewise.
6125 (fmod_test): Likewise.
6126 (fpclassify_test): Likewise.
6127 (frexp_test): Likewise.
6128 (hypot_test): Likewise.
6129 (ilogb_test): Likewise.
6130 (isfinite_test): Likewise.
6131 (finite_test): Likewise.
6132 (isgreater_test): Likewise.
6133 (isgreaterequal_test): Likewise.
6134 (isinf_test): Likewise.
6135 (isless_test): Likewise.
6136 (islessequal_test): Likewise.
6137 (islessgreater_test): Likewise.
6138 (isnan_test): Likewise.
6139 (isnormal_test): Likewise.
6140 (issignaling_test): Likewise.
6141 (isunordered_test): Likewise.
6142 (j0_test): Likewise.
6143 (j1_test): Likewise.
6144 (jn_test): Likewise.
6145 (ldexp_test): Likewise.
6146 (lgamma_test): Likewise.
6147 (gamma_test): Likewise.
6148 (lrint_test): Likewise.
6149 (lrint_test_tonearest): Likewise.
6150 (lrint_test_towardzero): Likewise.
6151 (lrint_test_downward): Likewise.
6152 (lrint_test_upward): Likewise.
6153 (llrint_test): Likewise.
6154 (llrint_test_tonearest): Likewise.
6155 (llrint_test_towardzero): Likewise.
6156 (llrint_test_downward): Likewise.
6157 (llrint_test_upward): Likewise.
6158 (log_test): Likewise.
6159 (log10_test): Likewise.
6160 (log1p_test): Likewise.
6161 (log2_test): Likewise.
6162 (logb_test): Likewise.
6163 (logb_test_downward): Likewise.
6164 (lround_test): Likewise.
6165 (llround_test): Likewise.
6166 (modf_test): Likewise.
6167 (nearbyint_test): Likewise.
6168 (nextafter_test): Likewise.
6169 (nexttoward_test): Likewise.
6170 (pow_test): Likewise.
6171 (pow_test_tonearest): Likewise.
6172 (pow_test_towardzero): Likewise.
6173 (pow_test_downward): Likewise.
6174 (pow_test_upward): Likewise.
6175 (remainder_test): Likewise.
6176 (drem_test): Likewise.
6177 (remainder_test_tonearest): Likewise.
6178 (drem_test_tonearest): Likewise.
6179 (remainder_test_towardzero): Likewise.
6180 (drem_test_towardzero): Likewise.
6181 (remainder_test_downward): Likewise.
6182 (drem_test_downward): Likewise.
6183 (remainder_test_upward): Likewise.
6184 (drem_test_upward): Likewise.
6185 (remquo_test): Likewise.
6186 (rint_test): Likewise.
6187 (rint_test_tonearest): Likewise.
6188 (rint_test_towardzero): Likewise.
6189 (rint_test_downward): Likewise.
6190 (rint_test_upward): Likewise.
6191 (round_test): Likewise.
6192 (scalb_test): Likewise.
6193 (scalbn_test): Likewise.
6194 (scalbln_test): Likewise.
6195 (signbit_test): Likewise.
6196 (sin_test): Likewise.
6197 (sin_test_tonearest): Likewise.
6198 (sin_test_towardzero): Likewise.
6199 (sin_test_downward): Likewise.
6200 (sin_test_upward): Likewise.
6201 (sincos_test): Likewise.
6202 (sinh_test): Likewise.
6203 (sinh_test_tonearest): Likewise.
6204 (sinh_test_towardzero): Likewise.
6205 (sinh_test_downward): Likewise.
6206 (sinh_test_upward): Likewise.
6207 (sqrt_test): Likewise.
6208 (sqrt_test_tonearest): Likewise.
6209 (sqrt_test_towardzero): Likewise.
6210 (sqrt_test_downward): Likewise.
6211 (sqrt_test_upward): Likewise.
6212 (tan_test): Likewise.
6213 (tan_test_tonearest): Likewise.
6214 (tan_test_towardzero): Likewise.
6215 (tan_test_downward): Likewise.
6216 (tan_test_upward): Likewise.
6217 (tanh_test): Likewise.
6218 (tgamma_test): Likewise.
6219 (trunc_test): Likewise.
6220 (y0_test): Likewise.
6221 (y1_test): Likewise.
6222 (yn_test): Likewise.
6223 (significand_test): Likewise.
6225 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6226 individual tests in comment.
6227 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6228 (prev_max_error): New variable.
6229 (prev_real_max_error): Likewise.
6230 (prev_imag_max_error): Likewise.
6231 (compare_ulp_data): Don't refer to test names in comment.
6232 (find_test_ulps): Remove function.
6233 (find_function_ulps): Likewise.
6234 (find_complex_function_ulps): Likewise.
6235 (init_max_error): Take function name as argument. Look up ulps
6237 (print_ulps): Remove function.
6238 (print_max_error): Use prev_max_error instead of calling
6240 (print_complex_max_error): Use prev_real_max_error and
6241 prev_imag_max_error instead of calling find_complex_function_ulps.
6242 (check_float_internal): Take max_ulp parameter instead of calling
6243 find_test_ulps. Don't call print_ulps.
6244 (check_float): Update call to check_float_internal.
6245 (check_complex): Update calls to check_float_internal.
6246 (START): Pass argument to init_max_error.
6247 * math/gen-libm-test.pl (%results): Don't include "kind"
6249 (parse_ulps): Don't handle ulps of individual tests.
6250 (print_ulps_file): Likewise.
6251 (output_ulps): Likewise.
6252 * math/README.libm-test: Update.
6253 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6255 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6256 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6257 * sysdeps/arm/libm-test-ulps: Likewise.
6258 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6259 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6260 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6261 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6262 * sysdeps/microblaze/libm-test-ulps: Likewise.
6263 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6264 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6265 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6266 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6267 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6268 * sysdeps/sh/libm-test-ulps: Likewise.
6269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6270 * sysdeps/tile/libm-test-ulps: Likewise.
6271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6273 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6275 * math/libm-test.inc (print_complex_max_error): Check separately
6276 whether real and imaginary errors are within allowed range and
6277 pass 0 to print_complex_function_ulps instead of value within
6280 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6282 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6284 (get_handles_fopen): Likewise.
6285 (do_write_test): Likewise.
6287 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6289 * libio/fileops.c (do_ftell): Use cached offset when
6291 * libio/iofwide.c (do_ftell_wide): Likewise.
6292 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6294 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6297 * libio/libioP.h (get_file_offset): New function.
6298 * libio/fileops.c (get_file_offset): Likewise.
6299 (do_ftell): Likewise.
6300 (_IO_new_file_seekoff): Split out ftell logic.
6301 * libio/wfileops.c (do_ftell_wide): Likewise.
6302 (_IO_wfile_seekoff): Split out ftell logic.
6303 * libio/tst-ftell-active-handler.c: New test case.
6304 * libio/Makefile (tests): Add it.
6306 2014-03-03 Roland McGrath <roland@hack.frob.com>
6308 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6309 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6311 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6314 * nscd/connections.c (nscd_init): Call do_exit.
6315 (start_threads): Call do_exit and notify_parent.
6316 (begin_drop_privileges): Call do_exit.
6317 (finish_drop_privileges): Likewise.
6318 * nscd/selinux.c (preserve_capabilities): Likewise.
6319 (install_real_capabilities): Likewise.
6320 (nscd_selinux_enabled): Likewise.
6321 (avc_create_thread): Likewise.
6322 (avc_alloc_lock): Likewise.
6323 (nscd_avc_init): Likewise.
6324 * nscd/nscd.c (parent_fd): New static variable.
6325 (main): Create a pipe between parent and child processes.
6326 Skip closing parent_fd.
6327 (monitor_child): New function.
6328 (do_exit): Likewise.
6329 (notify_parent): Likewise.
6330 * nscd/nscd.h (notify_parent): Likewise.
6331 (do_exit): Likewise.
6333 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6335 * malloc/malloc.c (__libc_calloc): Revert last change.
6337 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6341 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6343 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6347 (__libc_ifunc_impl_list): Likewise.
6348 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6349 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6350 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6351 * string/strrchr.c: Define STRRCHR.
6353 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6355 * benchtest/bench-strtok.c (simple_strtok): Delete.
6356 (strtok_string): Use as benchmark.
6357 * string/strtok (STRTOK): New macro.
6359 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6361 * manual/threads.texi: Add header and standard comments to all
6364 * elf/dl-lookup.c (check_match): New function.
6365 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6366 (do_lookup_x): Remove nested function check_match. Use non-nested
6367 function check_match.
6369 2014-02-28 Roland McGrath <roland@hack.frob.com>
6371 * csu/Makefile (generated, before-compile): Use += rather than =.
6372 * catgets/Makefile (generated, generated-dirs): Likewise.
6373 * debug/Makefile (generated): Likewise.
6374 * dlfcn/Makefile (generated): Likewise.
6375 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6376 * iconvdata/Makefile (before-compile, generated): Likewise.
6377 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6378 * libio/Makefile (generated): Likewise.
6379 * malloc/Makefile (generated): Likewise.
6380 * manual/Makefile (generated, generated-dirs): Likewise.
6381 * misc/Makefile (generated): Likewise.
6382 * posix/Makefile (generated): Likewise.
6383 * resolv/Makefile (generated): Likewise.
6384 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6385 * timezone/Makefile (generated, generated-dirs): Likewise.
6387 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6389 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6392 power8 implementation.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6394 file: POWER8 llround ifunc implementation.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6396 (__lllround): Add POWER8 implementation.
6397 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6398 POWER8 llround implementation.
6400 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6401 power8 implementation.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6403 file: POWER8 llrint ifunc implementation.
6404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6405 Add POWER8 implementation.
6406 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6407 POWER8 llrint implementation.
6409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6410 power8 implementation.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6412 file: POWER8 finite ifunc implementation.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6414 Add POWER8 implementation.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6417 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6418 POWER8 finite implementation.
6419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6422 power8 implementation.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6424 file: POWER8 isinf ifunc implementation.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6426 POWER8 implementation.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6429 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6430 isinf implementation.
6431 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6433 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6434 (INIT_ARCH): Add hwcap2 initialization.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6436 power8 implementation.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6438 file: POWER8 isnan ifunc implementation.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6440 POWER8 implementation.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6444 isnan implementation.
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6447 2014-02-27 Joey Ye <joey.ye@arm.com>
6449 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6450 (_FP_NANFRAC_Q): Set to zero.
6452 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6455 * math/auto-libm-test-in: New test inputs.
6456 * math/auto-libm-test-out: Regenerate.
6457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6462 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6464 * scripts/evaluate-test.sh: Take new argument indicating whether
6465 failure is expected.
6466 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6467 indicating whether failure is expected.
6468 * conform/Makefile (test-xfail-run-conformtest): New variable.
6469 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6471 * posix/Makefile (test-xfail-annexc): New variable.
6472 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6474 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6476 * argp/Makefile: Include Makeconfig immediately after defining
6478 * assert/Makefile: Likewise.
6479 * benchtests/Makefile: Likewise.
6480 * catgets/Makefile: Likewise.
6481 * conform/Makefile: Likewise.
6482 * crypt/Makefile: Likewise.
6483 * csu/Makefile: Likewise.
6484 (all): Remove target.
6485 * ctype/Makefile: Include Makeconfig immediately after defining
6487 * debug/Makefile: Likewise.
6488 * dirent/Makefile: Likewise.
6489 * dlfcn/Makefile: Likewise.
6490 * gmon/Makefile: Likewise.
6491 * gnulib/Makefile: Likewise.
6492 * grp/Makefile: Likewise.
6493 * gshadow/Makefile: Likewise.
6494 * hesiod/Makefile: Likewise.
6495 * hurd/Makefile: Likewise.
6496 (all): Remove target.
6497 * iconvdata/Makefile: Include Makeconfig immediately after
6499 * inet/Makefile: Likewise.
6500 * intl/Makefile: Likewise.
6501 * io/Makefile: Likewise.
6502 * libio/Makefile: Likewise.
6503 (all): Remove target.
6504 * locale/Makefile: Include Makeconfig immediately after defining
6506 * login/Makefile: Likewise.
6507 * mach/Makefile: Likewise.
6508 (all): Remove target.
6509 * malloc/Makefile: Include Makeconfig immediately after defining
6511 (all): Remove target.
6512 * manual/Makefile: Include Makeconfig immediately after defining
6514 * math/Makefile: Likewise.
6515 * misc/Makefile: Likewise.
6516 * nis/Makefile: Likewise.
6517 * nss/Makefile: Likewise.
6518 * po/Makefile: Likewise.
6519 (all): Remove target.
6520 * posix/Makefile: Include Makeconfig immediately after defining
6522 * pwd/Makefile: Likewise.
6523 * resolv/Makefile: Likewise.
6524 * resource/Makefile: Likewise.
6525 * rt/Makefile: Likewise.
6526 * setjmp/Makefile: Likewise.
6527 * shadow/Makefile: Likewise.
6528 * signal/Makefile: Likewise.
6529 * socket/Makefile: Likewise.
6530 * soft-fp/Makefile: Likewise.
6531 * stdio-common/Makefile: Likewise.
6532 * stdlib/Makefile: Likewise.
6533 * streams/Makefile: Likewise.
6534 * string/Makefile: Likewise.
6535 * sunrpc/Makefile: Likewise.
6536 (all): Remove target.
6537 * sysvipc/Makefile: Include Makeconfig immediately after defining
6539 * termios/Makefile: Likewise.
6540 * time/Makefile: Likewise.
6541 * timezone/Makefile: Likewise.
6542 (all): Remove target.
6543 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6545 * wctype/Makefile: Likewise.
6547 2014-02-26 Steve Ellcey <sellcey@mips.com>
6549 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6550 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6551 (libc_feholdexcept_setround_mips): Ditto.
6552 (libc_feholdsetround): New.
6553 (libc_feholdsetroundf): New.
6554 (libc_feholdsetroundl): New.
6555 (libc_feupdateenv_test_mips): New.
6556 (libc_feupdateenv_test): New.
6557 (libc_feupdateenv_testf): New.
6558 (libc_feupdateenv_testl): New.
6559 (libc_feresetround): New.
6560 (libc_feresetroundf): New.
6561 (libc_feresetroundl): New.
6562 (libc_fetestexcept_mips): New.
6563 (libc_fetestexcept): New.
6564 (libc_fetestexceptf): New.
6565 (libc_fetestexceptl): New.
6567 (libc_feholdexcept_setround_mips_ctx): New.
6568 (libc_feholdexcept_setround_ctx): New.
6569 (libc_feholdexcept_setroundf_ctx): New.
6570 (libc_feholdexcept_setroundl_ctx): New.
6571 (libc_fesetenv_mips_ctx): New.
6572 (libc_fesetenv_ctx): New.
6573 (libc_fesetenv_ctxf): New.
6574 (libc_fesetenv_ctxl): New.
6575 (libc_feupdateenv_mips_ctx): New.
6576 (libc_feupdateenv_ctx): New.
6577 (libc_feupdateenvf_ctx): New.
6578 (libc_feupdateenvl_ctx): New.
6579 (libc_feholdsetround_mips_ctx): New.
6580 (libc_feholdsetround_ctx): New.
6581 (libc_feholdsetroundf_ctx): New.
6582 (libc_feholdsetroundl_ctx): New.
6583 (libc_feresetround_mips_ctx): New.
6584 (libc_feresetround_ctx): New.
6585 (libc_feresetroundf_ctx): New.
6586 (libc_feresetroundl_ctx): New.
6588 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6590 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6592 * manual/ipc.texi: New file.
6593 * manual/Makefile (chapters): Add ipc.
6594 * manual/job.texi: Add "Inter-Process Communication" to next.
6595 * manual/process.texi: Add "Inter-Process Communication" to prev.
6597 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6601 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6603 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6605 * manual/arith.texi: Fix spaces after sentences.
6606 * manual/charset.texi: Likewise.
6607 * manual/errno.texi: Likewise.
6608 * manual/install.texi: Likewise.
6609 * manual/llio.texi: Likewise.
6610 * manual/locale.texi: Likewise.
6611 * manual/maint.texi: Likewise.
6612 * manual/math.texi: Likewise.
6613 * manual/memory.texi: Likewise.
6614 * manual/message.texi: Likewise.
6615 * manual/probes.texi: Likewise.
6616 * manual/resource.texi: Likewise.
6617 * manual/signal.texi: Likewise.
6618 * manual/socket.texi: Likewise.
6619 * manual/stdio.texi: Likewise.
6620 * manual/string.texi: Likewise.
6621 * manual/time.texi: Likewise.
6622 * manual/users.texi: Likewise.
6624 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6627 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6628 _DEFAULT_SOURCE is defined.
6630 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6631 Carlos O'Donell <carlos@redhat.com>
6634 * elf/dl-tls.c (_dl_count_modids): New function.
6635 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6636 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6637 audit library and increment generation counter.
6638 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6639 * elf/tst-audit9.c: New file.
6640 * elf/tst-auditmod9a.c: New file.
6641 * elf/tst-auditmod9b.c: New file.
6642 * elf/Makefile: Add rules to build and run tst-audit9.
6644 2014-02-25 Florian Weimer <fweimer@redhat.com>
6647 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6649 2014-02-25 Will Newton <will.newton@linaro.org>
6651 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6652 (__longjmp): Restore sp and lr before restoring callee
6653 saved registers. Add longjmp and longjmp_target
6654 SystemTap probe point.
6655 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6656 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6657 Define to zero to match jmpbuf layout.
6658 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6659 (__sigsetjmp): Save sp and lr before saving callee
6660 saved registers. Add setjmp SystemTap probe point.
6662 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6666 2014-02-24 Andreas Schwab <schwab@suse.de>
6669 * elf/pldd.c (wait_for_ptrace_stop): New function.
6670 (main): Call it after attaching.
6672 2014-02-22 Roland McGrath <roland@hack.frob.com>
6674 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6675 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6676 Versions files is now verboten.
6677 * hurd/Versions (libc: GLIBC_2.0):
6678 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6679 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6680 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6681 * mach/Versions: Likewise.
6683 * csu/Versions: Remove unused %include.
6684 * resolv/Versions: Likewise.
6686 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6688 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6689 ($(objpfx)check-local-headers.out): Likewise.
6690 ($(objpfx)begin-end-check.out): Likewise.
6691 * Makerules (check-abi-%.out): Likewise.
6692 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6693 ($(objpfx)test2.cat): Likewise.
6694 ($(objpfx)de/libc.cat): Likewise.
6695 ($(objpfx)test-gencat.out): Likewise.
6696 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6697 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6698 ($(objpfx)noload-mem): Likewise.
6699 ($(objpfx)tst-pathopt.out): Likewise.
6700 ($(objpfx)tst-rtld-load-self.out): Likewise.
6701 ($(objpfx)tst-array1-cmp.out): Likewise.
6702 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6703 ($(objpfx)tst-array2-cmp.out): Likewise.
6704 ($(objpfx)tst-array3-cmp.out): Likewise.
6705 ($(objpfx)tst-array4-cmp.out): Likewise.
6706 ($(objpfx)tst-array5-cmp.out): Likewise.
6707 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6708 ($(objpfx)check-textrel.out): Likewise.
6709 ($(objpfx)check-execstack.out): Likewise.
6710 ($(objpfx)check-localplt.out): Likewise.
6711 ($(objpfx)order2-cmp.out): Likewise.
6712 ($(objpfx)tst-leaks1-mem): Likewise.
6713 ($(objpfx)tst-leaks1-static-mem): Likewise.
6714 ($(objpfx)tst-initorder-cmp.out): Likewise.
6715 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6716 ($(objpfx)tst-unused-dep.out): Likewise.
6717 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6718 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6719 * iconv/Makefile (test-iconvconfig): Likewise.
6720 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6721 ($(objpfx)iconv-test.out): Likewise.
6722 ($(objpfx)tst-tables.out): Likewise.
6723 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6724 ($(objpfx)tst-gettext.out): Likewise.
6725 ($(objpfx)tst-translit.out): Likewise.
6726 ($(objpfx)tst-gettext2.out): Likewise.
6727 ($(objpfx)tst-gettext4.out): Likewise.
6728 ($(objpfx)tst-gettext6.out): Likewise.
6729 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6730 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6731 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6732 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6733 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6734 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6735 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6736 ($(objpfx)wordexp-tst.out): Likewise.
6737 ($(objpfx)annexc.out): Likewise.
6738 ($(objpfx)tst-fnmatch-mem): Likewise.
6739 ($(objpfx)bug-regex2-mem): Likewise.
6740 ($(objpfx)bug-regex14-mem): Likewise.
6741 ($(objpfx)bug-regex21-mem): Likewise.
6742 ($(objpfx)bug-regex31-mem): Likewise.
6743 ($(objpfx)tst-vfork3-mem): Likewise.
6744 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6745 ($(objpfx)tst-pcre-mem): Likewise.
6746 ($(objpfx)tst-boost-mem): Likewise.
6747 ($(objpfx)tst-getconf.out): Likewise.
6748 ($(objpfx)bug-ga2-mem): Likewise.
6749 ($(objpfx)bug-glob2-mem): Likewise.
6750 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6751 ($(objpfx)mtrace-tst-leaks2): Likewise.
6752 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6753 ($(objpfx)tst-printf.out): Likewise.
6754 ($(objpfx)tst-setvbuf1.out): Likewise.
6755 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6756 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6757 ($(objpfx)tst-fmtmsg.out): Likewise.
6758 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6759 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6761 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6762 * bits/sigaction.h [__USE_MISC]: Likewise.
6763 * bits/waitstatus.h: Update #endif comments.
6764 * ctype/ctype.h: Likewise.
6765 * dirent/dirent.h: Likewise.
6766 [__USE_MISC]: Remove redundant conditionals.
6767 * grp/grp.h: Update #endif comments.
6768 [__USE_GNU]: Remove redundant conditionals.
6769 [__USE_MISC]: Likewise.
6770 * inet/netinet/in.h [__USE_GNU]: Likewise.
6771 * io/sys/stat.h [__USE_MISC]: Likewise.
6772 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6773 * libio/bits/stdio.h: Update #endif comments.
6774 [__USE_MISC]: Remove redundant conditionals.
6775 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6776 * libio/stdio.h: Update #endif comments.
6777 [__USE_MISC]: Remove redundant conditionals.
6778 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6779 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6780 * math/math.h: Update #else and #endif comments.
6781 [__USE_MISC]: Remove redundant conditionals.
6782 * misc/sys/uio.h: Update #endif comments.
6783 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6784 * posix/glob.h [__USE_MISC]: Likewise.
6785 * posix/sys/types.h: Update #endif comments.
6786 [__USE_MISC]: Remove redundant conditionals.
6787 * posix/sys/wait.h: Update #endif comments.
6788 [__USE_MISC]: Remove redundant conditionals.
6789 * posix/unistd.h: Update #endif comments.
6790 [__USE_MISC]: Remove redundant conditionals.
6791 * pwd/pwd.h [__USE_GNU]: Likewise.
6792 [__USE_MISC]: Likewise.
6793 * resolv/netdb.h [__USE_GNU]: Likewise.
6794 * signal/signal.h: Update #endif comments.
6795 [__USE_MISC]: Remove redundant conditionals.
6796 * stdlib/stdlib.h: Update #else and #endif comments.
6797 [__USE_MISC]: Remove redundant conditionals.
6798 [__USE_GNU]: Likewise.
6799 * string/bits/string2.h [__USE_MISC]: Likewise.
6800 * string/string.h: Update #endif comments.
6801 [__USE_MISC]: Remove redundant conditionals.
6802 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6804 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6805 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6806 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6808 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6812 [__USE_MISC]: Remove redundant conditionals.
6813 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6814 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6815 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6816 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6817 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6819 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6820 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6822 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6825 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6827 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6828 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6830 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6832 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6833 * sysdeps/x86/bits/string.h: Update #endif comments.
6834 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6836 * time/sys/time.h: Update #endif comments.
6837 * time/time.h: Likewise.
6838 [__USE_MISC]: Remove redundant conditionals.
6840 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6843 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6845 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6847 * Versions.def (librt): Add GLIBC_2.17.
6849 2014-02-21 Adam Conrad <adconrad@0c3.net>
6851 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6852 synonym for _SYS_AUXV_H to allow direct inclusion.
6853 * sysdeps/sparc/bits/hwcap.h: Likewise.
6854 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6855 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6856 * sysdeps/sparc/sysdep.h: Likewise.
6858 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6860 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6862 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6864 * benchtests/bench-strrchr.c: Print length instead of position.
6866 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6869 * sysdeps/unix/sysv/linux/kernel-features.h
6870 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6871 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6872 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6873 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6875 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6876 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6877 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6878 (__ASSUME_SENDMMSG): Define instead of using previous
6879 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6881 (__ASSUME_SENDMMSG_SYSCALL): Define.
6882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6883 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6889 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6891 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6892 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6893 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6894 [__ASSUME_SENDMMSG]: Change conditionals to
6895 [__ASSUME_SENDMMSG_SOCKETCALL].
6896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6897 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6899 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6900 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6902 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6903 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6904 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6905 [!__ASSUME_SENDMMSG]: Change conditional to
6906 [!__ASSUME_SENDMMSG_SOCKETCALL].
6907 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6908 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6912 * sysdeps/unix/sysv/linux/kernel-features.h
6913 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6914 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6915 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6916 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6917 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6918 [__i386__ || __sparc__]
6919 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6920 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6921 (__ASSUME_RECVMMSG): Define instead of using previous
6922 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6923 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6924 (__ASSUME_RECVMMSG_SYSCALL): Define.
6925 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6928 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6931 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6934 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6935 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6936 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6937 [__ASSUME_RECVMMSG]: Change condition to
6938 [__ASSUME_RECVMMSG_SOCKETCALL].
6939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6942 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6944 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6946 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6947 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6948 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6949 [!__ASSUME_RECVMMSG]: Change condition to
6950 [!__ASSUME_RECVMMSG_SOCKETCALL].
6951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6952 (__ASSUME_RECVMMSG_SYSCALL): Define.
6955 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6956 __powerpc__ || __s390__ || __sh__ || __sparc__]
6957 (__ASSUME_SOCKETCALL): Define.
6958 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6959 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6960 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6961 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6962 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6963 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6964 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6965 (__ASSUME_ACCEPT4): Define instead of using previous
6966 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6967 __powerpc__ || __sparc__ || __s390__)] condition.
6968 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6969 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6970 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6971 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6972 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6973 [!__ASSUME_ACCEPT4]: Change condition to
6974 [!__ASSUME_ACCEPT4_SOCKETCALL].
6975 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6976 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6977 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6979 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6980 __ASSUME_ACCEPT4_SYSCALL.
6981 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6982 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6983 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6984 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6985 __ASSUME_ACCEPT4_SYSCALL.
6986 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6987 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6988 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6989 [__ASSUME_ACCEPT4]: Change condition to
6990 [__ASSUME_ACCEPT4_SOCKETCALL].
6991 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6992 (__ASSUME_SOCKETCALL): Define.
6993 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6995 (__ASSUME_SOCKETCALL): Define.
6996 (__ASSUME_ACCEPT4): Remove.
6997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6999 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7000 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7003 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7005 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7007 (HWCAP_ARM_LPAE): Likewise.
7008 (HWCAP_ARM_EVTSTRM): Likewise.
7009 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7010 Add vpfd32, lpae and evtstrm.
7011 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7014 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7016 * math/auto-libm-test-in: Add tests of clog10.
7017 * math/auto-libm-test-out: Regenerated.
7018 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7022 2014-02-18 Andreas Schwab <schwab@suse.de>
7025 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7026 Store non-zero if the second buffer was newly allocated.
7027 (send_dg): Likewise.
7028 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7029 to send_vc and send_dg.
7030 (res_nsend): Pass NULL for ansp2_malloced.
7031 * resolv/res_query.c (__libc_res_nquery): Add parameter
7032 answerp2_malloced and pass it down to __libc_res_nsend.
7033 (res_nquery): Pass additional NULL to __libc_res_nquery.
7034 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7035 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7036 second answer buffer if answerp2_malloced was set.
7037 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7038 (__libc_res_nquerydomain): Add parameter
7039 answerp2_malloced and pass it down to __libc_res_nquery.
7040 (res_nquerydomain): Pass additional NULL to
7041 __libc_res_nquerydomain.
7042 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7043 additional NULL to __libc_res_nsend and __libc_res_nquery.
7044 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7045 additional NULL to __libc_res_nsearch.
7046 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7047 parameter of __libc_res_nsearch to check for separately allocated
7049 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7051 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7052 additional NULL to __libc_res_nquery.
7053 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7055 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7056 * include/resolv.h: Update prototypes of __libc_res_nquery,
7057 __libc_res_nsearch, __libc_res_nsend.
7059 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7061 * math/auto-libm-test-in: Add tests of fma.
7062 * math/auto-libm-test-out: Regenerated.
7063 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7064 (fma_towardzero_test_data): Likewise.
7065 (fma_downward_test_data): Likewise.
7066 (fma_upward_test_data): Likewise.
7067 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7069 (rounding_modes): Add values for new field.
7070 (func_calc_method): Add value mpfr_fff_f.
7071 (func_calc_desc): Add mpfr_fff_f union field.
7072 (test_function): Add field exact_args.
7073 (FUNC): Add macro argument EXACT_ARGS.
7074 (FUNC_mpfr_f_f): Update call to FUNC.
7075 (FUNC_mpfr_f_f): Likewise.
7076 (FUNC_mpfr_ff_f): Likewise.
7077 (FUNC_mpfr_if_f): Likewise.
7078 (FUNC_mpc_c_f): Likewise.
7079 (FUNC_mpc_c_c): Likewise.
7080 (test_functions): Add fma. Update calls to FUNC.
7081 (handle_input_arg): Add argument exact_args.
7082 (add_test): Update call to handle_input_arg.
7083 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7084 (output_for_one_input_case): Update call to calc_generic_results.
7085 Recalculate exact zero results in each rounding mode.
7087 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7088 non-negative before setting low bit.
7089 * math/auto-libm-test-in: Mark one asin test possibly having
7091 * math/auto-libm-test-out: Regenerated.
7092 * sysdeps/i386/fpu/libm-test-ulps: Update.
7093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7095 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7097 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7098 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7099 ports/sysdeps/unix/sysv/linux/microblaze.
7100 * README: Add missing listing for microblaze*-*-linux-gnu.
7102 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7104 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7105 * sysdeps/unix/sysv/linux/ia64: Move directory from
7106 ports/sysdeps/unix/sysv/linux/ia64.
7107 * README: Update listing for ia64-*-linux-gnu.
7109 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7110 Joseph Myers <joseph@codesourcery.com>
7112 * Makeconfig (test-name): New variable.
7113 (evaluate-test): Likewise.
7114 * Makerules (do-test-clean): Remove .test-result files.
7115 (common-mostlyclean): Likewise.
7116 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7117 * scripts/evaluate-test.sh: New file.
7119 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7121 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7122 separate $(objpfx)tst-fopenloc-cmp.out and
7123 $(objpfx)tst-fopenloc-mem.out targets.
7124 (tests): Update dependencies.
7125 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7126 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7127 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7128 (tst-rxspencer-no-utf8-ARGS): New variable.
7129 (tst-rxspencer-no-utf8-ENV): Likewise.
7130 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7131 instead of $(objpfx)tst-rxspencer-mem.
7132 ($(objpfx)tst-rxspencer-mem): Change target to
7133 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7134 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7135 * posix/tst-rxspencer-no-utf8.c: New file.
7137 * elf/Makefile ($(objpfx)order.out): Remove rule.
7138 [$(run-built-tests) = yes] (tests): Depend on
7139 $(objpfx)order-cmp.out.
7140 ($(objpfx)order-cmp.out): New rule.
7141 [$(run-built-tests) = yes] (tests): Depend on
7142 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7143 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7144 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7145 $(objpfx)tst-array5-static-cmp.out.
7146 ($(objpfx)tst-array1.out): Remove rule.
7147 ($(objpfx)tst-array1-cmp.out): New rule.
7148 ($(objpfx)tst-array1-static.out): Remove rule.
7149 ($(objpfx)tst-array1-static-cmp.out): New rule.
7150 ($(objpfx)tst-array2.out): Remove rule.
7151 ($(objpfx)tst-array2-cmp.out): New rule.
7152 ($(objpfx)tst-array3.out): Remove rule.
7153 ($(objpfx)tst-array3-cmp.out): New rule.
7154 ($(objpfx)tst-array4.out): Remove rule.
7155 ($(objpfx)tst-array4-cmp.out): New rule.
7156 ($(objpfx)tst-array5.out): Remove rule.
7157 ($(objpfx)tst-array5-cmp.out): New rule.
7158 ($(objpfx)tst-array5-static.out): Remove rule.
7159 ($(objpfx)tst-array5-static-cmp.out): New rule.
7160 [$(run-built-tests) = yes] (tests): Depend on
7161 $(objpfx)order2-cmp.out.
7162 ($(objpfx)order2.out): Remove rule.
7163 ($(objpfx)order2-cmp.out): New rule.
7164 ($(objpfx)tst-initorder.out): Remove rule.
7165 [$(run-built-tests) = yes] (tests): Depend on
7166 $(objpfx)tst-initorder-cmp.out.
7167 ($(objpfx)tst-initorder-cmp.out): New rule.
7168 ($(objpfx)tst-initorder2.out): Remove rule.
7169 [$(run-built-tests) = yes] (tests): Depend on
7170 $(objpfx)tst-initorder2-cmp.out.
7171 ($(objpfx)tst-initorder2-cmp.out): New rule.
7172 [$(run-built-tests) = yes] (tests): Depend on
7173 $(objpfx)tst-unused-dep-cmp.out.
7174 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7175 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7176 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7177 on $(objpfx)tst-setvbuf1-cmp.out.
7178 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7179 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7180 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7181 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7182 ($(objpfx)tst-svc.out): Remove rule.
7183 ($(objpfx)tst-svc-cmp.out): New rule.
7185 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7187 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7188 * ctype/ctype.h [__USE_MISC]: Likewise.
7189 * dirent/dirent.h [__USE_MISC]: Likewise.
7190 * grp/grp.h [__USE_MISC]: Likewise.
7191 * io/fcntl.h [__USE_MISC]: Likewise.
7192 * io/sys/stat.h [__USE_MISC]: Likewise.
7193 * libio/stdio.h [__USE_MISC]: Likewise.
7194 * posix/unistd.h [__USE_MISC]: Likewise.
7195 * pwd/pwd.h [__USE_MISC]: Likewise.
7196 * stdlib.h [__USE_MISC]: Likewise.
7197 * string/bits/string2.h [__USE_MISC]: Likewise.
7198 * string/string.h [__USE_MISC]: Likewise.
7199 * time/time.h [__USE_MISC]: Likewise.
7201 2014-02-13 Andreas Schwab <schwab@suse.de>
7204 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7205 second answer buffer if it was separately allocated.
7207 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7209 * sysdeps/mips/math-tests.h: Include <features.h>.
7210 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7211 (ROUNDING_TESTS_long_double): Do not define.
7212 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7213 (EXCEPTION_TESTS_long_double): Likewise.
7214 * sysdeps/mips/mips64/libm-test-ulps: Update.
7216 * include/features.h (__USE_BSD): Remove macro definitions.
7217 (__USE_SVID): Likewise.
7218 (_BSD_SOURCE): Likewise.
7219 (_SVID_SOURCE): Likewise.
7220 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7221 from definition of _DEFAULT_SOURCE.
7222 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7224 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7225 * bits/mman.h [__USE_BSD]: Likewise.
7226 * bits/termios.h [__USE_BSD]: Likewise.
7227 * bits/waitstatus.h [__USE_BSD]: Likewise.
7228 * ctype/ctype.h [__USE_SVID]: Likewise.
7229 * dirent/dirent.h [__USE_BSD]: Likewise.
7230 * grp/grp.h [__USE_SVID]: Likewise.
7231 [__USE_BSD]: Likewise.
7232 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7233 * io/fcntl.h [__USE_BSD]: Likewise.
7234 * io/ftw.h [__USE_BSD]: Likewise.
7235 * io/sys/stat.h [__USE_BSD]: Likewise.
7236 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7237 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7238 * libio/stdio.h [__USE_SVID]: Likewise.
7239 [__USE_BSD]: Likewise.
7240 * math/math.h [__USE_SVID]: Likewise.
7241 [__USE_BSD]: Likewise.
7242 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7243 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7244 * misc/search.h [__USE_SVID]: Likewise.
7245 * misc/sys/mman.h [__USE_BSD]: Likewise.
7246 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7247 * misc/sys/uio.h [__USE_BSD]: Likewise.
7248 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7249 * posix/glob.h [__USE_BSD]: Likewise.
7250 * posix/regex.h [__USE_BSD]: Likewise.
7251 * posix/sys/types.h [__USE_BSD]: Likewise.
7252 [__USE_SVID]: Likewise.
7253 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7254 * posix/sys/wait.h [__USE_BSD]: Likewise.
7255 [__USE_SVID]: Likewise.
7256 * posix/unistd.h [__USE_BSD]: Likewise.
7257 [__USE_SVID]: Likewise.
7258 * pwd/pwd.h [__USE_SVID]: Likewise.
7259 * resolv/netdb.h [__USE_BSD]: Likewise.
7260 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7261 * signal/signal.h [__USE_BSD]: Likewise.
7262 [__USE_SVID]: Likewise.
7263 * socket/sys/socket.h [__USE_BSD]: Likewise.
7264 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7265 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7266 [__USE_SVID]: Likewise.
7267 * string/bits/string2.h [__USE_BSD]: Likewise.
7268 [__USE_SVID]: Likewise.
7269 * string/bits/string3.h [__USE_BSD]: Likewise.
7270 * string/endian.h [__USE_BSD]: Likewise.
7271 * string/string.h [__USE_SVID]: Likewise.
7272 [__USE_BSD]: Likewise.
7273 * string/strings.h [__USE_BSD]: Likewise.
7274 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7275 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7276 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7277 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7278 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7279 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7283 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7284 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7286 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7287 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7289 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7291 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7292 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7297 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7298 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7299 * termios/termios.h [__USE_BSD]: Likewise.
7300 * time/sys/time.h [__USE_BSD]: Likewise.
7301 * time/time.h [__USE_BSD]: Likewise.
7302 [__USE_SVID]: Likewise.
7304 * Makefile (subdir_targets): Remove subdir_lint.out.
7306 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7307 (do-tst-printf): Likewise.
7308 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7309 $(objpfx)tst-printf.out.
7311 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7313 * Makerules (check-abi-%): Change target to
7314 $(objpfx)check-abi-%.out.
7315 (check-abi target): Update dependencies.
7316 (check-abi-pattern variable): Redirect output of diff to $@.
7317 (check-abi variable): Likewise.
7318 * elf/Makefile (check-abi): Update dependencies.
7320 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7322 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7323 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7325 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7326 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7327 value has largest subnormal exponent.
7328 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7329 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7330 * sysdeps/aarch64/soft-fp/sfp-machine.h
7331 (_FP_TININESS_AFTER_ROUNDING): New macro.
7332 * sysdeps/alpha/soft-fp/sfp-machine.h
7333 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7334 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7336 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7338 * sysdeps/mips/soft-fp/sfp-machine.h
7339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7340 * sysdeps/powerpc/soft-fp/sfp-machine.h
7341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7342 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7348 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7351 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7354 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7357 2014-02-12 Richard Henderson <rth@redhat.com>
7359 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7360 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7361 * sysdeps/unix/sysv/linux/alpha: Move directory from
7362 ports/sysdeps/unix/sysv/linux/alpha.
7363 * README: Update listing for alpha-*-linux-gnu.
7365 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7367 * include/features.h: Update comment documenting feature test
7369 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7371 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7372 (_SVID_SOURCE): Likewise.
7373 (_DEFAULT_SOURCE): Update description of default features.
7374 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7376 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7377 (S_ISVTX): Likewise.
7378 * manual/math.texi (Mathematical Constants): Likewise.
7379 * manual/signal.texi (Interrupted Primitives): Likewise.
7380 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7381 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7382 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7383 Don't refer to _SVID_SOURCE in warning text.
7385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7387 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7389 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7390 * sysdeps/mips/dl-lookup.c: Remove.
7391 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7393 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7396 * math/auto-libm-test-in: Add testcase for expl.
7397 * math/auto-libm-test-out: Regenerate.
7398 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7399 calculation of unsafe.
7400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7402 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7404 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7405 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7406 ports/sysdeps/unix/sysv/linux/aarch64.
7407 * README: Update listing for aarch64*-*-linux-gnu.
7409 2014-02-11 Will Newton <will.newton@linaro.org>
7411 * manual/probes.texi (Mathematical Function Probes): Use
7412 "triggered" instead of "hit".
7414 * manual/probes.texi (Internal Probes): Add documentation
7415 of setjmp, longjmp and longjmp_target probes.
7417 * include/stap-probe.h: Add comment about probe argument
7420 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7421 definition. (tr_where, tr_freehook, tr_mallochook,
7422 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7424 2014-02-11 David S. Miller <davem@davemloft.net>
7426 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7427 processing int_tests.
7429 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7431 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7432 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7433 * sysdeps/unix/sysv/linux/mips: Move directory from
7434 ports/sysdeps/unix/sysv/linux/mips.
7435 * README: Update listing for mips-*-linux-gnu and
7438 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7440 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7441 * sysdeps/unix/sysv/linux/m68k: Move directory from
7442 ports/sysdeps/unix/sysv/linux/m68k.
7443 * README: Update listing for m68k-*-linux-gnu.
7445 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7447 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7448 * sysdeps/unix/sysv/linux/generic: Move directory from
7449 ports/sysdeps/unix/sysv/linux/generic.
7450 * sysdeps/unix/sysv/linux/tile: Move directory from
7451 ports/sysdeps/unix/sysv/linux/tile.
7452 * README: Update listing for tile*-*-linux-gnu.
7454 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7456 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7458 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7459 * catgets/open_catalog.c (__open_catalog): Likewise.
7460 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7461 * debug/confstr_chk.c: Likewise.
7462 * debug/fread_chk.c (__fread_chk): Likewise.
7463 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7464 * debug/getgroups_chk.c: Likewise.
7465 * debug/mbsnrtowcs_chk.c: Likewise.
7466 * debug/mbsrtowcs_chk.c: Likewise.
7467 * debug/mbstowcs_chk.c: Likewise.
7468 * debug/memcpy_chk.c: Likewise.
7469 * debug/memmove_chk.c: Likewise.
7470 * debug/mempcpy_chk.c: Likewise.
7471 * debug/memset_chk.c: Likewise.
7472 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7473 * debug/strcat_chk.c (__strcat_chk): Likewise.
7474 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7475 * debug/strncat_chk.c (__strncat_chk): Likewise.
7476 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7477 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7478 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7479 * debug/wcpncpy_chk.c: Likewise.
7480 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7481 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7482 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7483 * debug/wcsncpy_chk.c: Likewise.
7484 * debug/wcsnrtombs_chk.c: Likewise.
7485 * debug/wcsrtombs_chk.c: Likewise.
7486 * debug/wcstombs_chk.c: Likewise.
7487 * debug/wmemcpy_chk.c: Likewise.
7488 * debug/wmemmove_chk.c: Likewise.
7489 * debug/wmempcpy_chk.c: Likewise.
7490 * debug/wmemset_chk.c: Likewise.
7491 * dirent/scandirat.c (SCANDIRAT): Likewise.
7492 * dlfcn/dladdr1.c (dladdr1): Likewise.
7493 * dlfcn/dladdr.c (dladdr): Likewise.
7494 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7495 * dlfcn/dlerror.c (__dlerror): Likewise.
7496 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7497 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7498 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7499 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7500 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7501 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7502 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7503 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7505 * elf/dl-conflict.c: Likewise.
7506 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7507 * elf/dl-dst.h: Likewise.
7508 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7509 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7510 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7511 * elf/dl-init.c (call_init, _dl_init): Likewise.
7512 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7513 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7514 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7516 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7518 * elf/dl-minimal.c (__libc_memalign): Likewise.
7519 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7520 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7521 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7522 * elf/dl-sym.c (do_sym): Likewise.
7523 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7524 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7525 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7526 * elf/dl-writev.h (_dl_writev): Likewise.
7527 * elf/ldconfig.c (search_dir): Likewise.
7528 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7529 (dl_main): Likewise.
7530 * elf/setup-vdso.h (setup_vdso): Likewise.
7531 * grp/compat-initgroups.c (compat_call): Likewise.
7532 * grp/fgetgrent.c (fgetgrent): Likewise.
7533 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7534 * grp/putgrent.c (putgrent): Likewise.
7535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7537 * hurd/hurdinit.c: Likewise.
7538 * iconvdata/8bit-gap.c (struct): Likewise.
7539 * iconvdata/ansi_x3.110.c : Likewise.
7540 * iconvdata/big5.c : Likewise.
7541 * iconvdata/big5hkscs.c : Likewise.
7542 * iconvdata/cp1255.c: Likewise.
7543 * iconvdata/cp1258.c : Likewise.
7544 * iconvdata/cp932.c : Likewise.
7545 * iconvdata/euc-cn.c: Likewise.
7546 * iconvdata/euc-jisx0213.c : Likewise.
7547 * iconvdata/euc-jp.c: Likewise.
7548 * iconvdata/euc-jp-ms.c : Likewise.
7549 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7550 * iconvdata/gb18030.c : Likewise.
7551 * iconvdata/gbbig5.c (const): Likewise.
7552 * iconvdata/gbgbk.c: Likewise.
7553 * iconvdata/gbk.c : Likewise.
7554 * iconvdata/ibm1364.c : Likewise.
7555 * iconvdata/ibm930.c : Likewise.
7556 * iconvdata/ibm932.c: Likewise.
7557 * iconvdata/ibm933.c : Likewise.
7558 * iconvdata/ibm935.c : Likewise.
7559 * iconvdata/ibm937.c : Likewise.
7560 * iconvdata/ibm939.c : Likewise.
7561 * iconvdata/ibm943.c: Likewise.
7562 * iconvdata/iso_11548-1.c: Likewise.
7563 * iconvdata/iso-2022-cn.c : Likewise.
7564 * iconvdata/iso-2022-cn-ext.c : Likewise.
7565 * iconvdata/iso-2022-jp-3.c: Likewise.
7566 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7567 * iconvdata/iso-2022-kr.c : Likewise.
7568 * iconvdata/iso646.c (gconv_end): Likewise.
7569 * iconvdata/iso_6937-2.c : Likewise.
7570 * iconvdata/iso_6937.c : Likewise.
7571 * iconvdata/iso8859-1.c: Likewise.
7572 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7573 * iconvdata/shift_jisx0213.c : Likewise.
7574 * iconvdata/sjis.c : Likewise.
7575 * iconvdata/t.61.c : Likewise.
7576 * iconvdata/tcvn5712-1.c : Likewise.
7577 * iconvdata/tscii.c: Likewise.
7578 * iconvdata/uhc.c : Likewise.
7579 * iconvdata/unicode.c (gconv_end): Likewise.
7580 * iconvdata/utf-16.c (gconv_end): Likewise.
7581 * iconvdata/utf-32.c (gconv_end): Likewise.
7582 * iconvdata/utf-7.c (base64): Likewise.
7583 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7584 * iconv/gconv_close.c (__gconv_close): Likewise.
7585 * iconv/gconv_open.c (__gconv_open): Likewise.
7586 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7587 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7588 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7589 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7590 (ucs4le_internal_loop_single): Likewise.
7591 * iconv/iconv.c (iconv): Likewise.
7592 * iconv/iconv_close.c: Likewise.
7593 * iconv/loop.c (SINGLE): Likewise.
7594 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7595 * include/atomic.h: Likewise.
7596 * inet/inet6_option.c (option_alloc): Likewise.
7597 * intl/bindtextdom.c (set_binding_values): Likewise.
7598 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7599 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7600 * intl/localealias.c (read_alias_file): Likewise.
7601 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7602 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7603 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7604 * libio/fmemopen.c (fmemopen): Likewise.
7605 * libio/iofgets.c (_IO_fgets): Likewise.
7606 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7607 * libio/iofgetws.c (fgetws): Likewise.
7608 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7609 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7610 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7611 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7612 * locale/findlocale.c (_nl_find_locale): Likewise.
7613 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7614 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7616 * locale/setlocale.c (setlocale): Likewise.
7617 * login/programs/pt_chown.c (main): Likewise.
7618 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7619 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7620 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7621 (mmap, mmap64, mremap, munmap): Likewise.
7622 * math/e_exp2l.c: Likewise.
7623 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7624 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7625 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7626 * math/s_catan.c (__catan): Likewise.
7627 * math/s_catanf.c (__catanf): Likewise.
7628 * math/s_catanh.c (__catanh): Likewise.
7629 * math/s_catanhf.c (__catanhf): Likewise.
7630 * math/s_catanhl.c (__catanhl): Likewise.
7631 * math/s_catanl.c (__catanl): Likewise.
7632 * math/s_ccosh.c (__ccosh): Likewise.
7633 * math/s_ccoshf.c (__ccoshf): Likewise.
7634 * math/s_ccoshl.c (__ccoshl): Likewise.
7635 * math/s_cexp.c (__cexp): Likewise.
7636 * math/s_cexpf.c (__cexpf): Likewise.
7637 * math/s_cexpl.c (__cexpl): Likewise.
7638 * math/s_clog10.c (__clog10): Likewise.
7639 * math/s_clog10f.c (__clog10f): Likewise.
7640 * math/s_clog10l.c (__clog10l): Likewise.
7641 * math/s_clog.c (__clog): Likewise.
7642 * math/s_clogf.c (__clogf): Likewise.
7643 * math/s_clogl.c (__clogl): Likewise.
7644 * math/s_csin.c (__csin): Likewise.
7645 * math/s_csinf.c (__csinf): Likewise.
7646 * math/s_csinh.c (__csinh): Likewise.
7647 * math/s_csinhf.c (__csinhf): Likewise.
7648 * math/s_csinhl.c (__csinhl): Likewise.
7649 * math/s_csinl.c (__csinl): Likewise.
7650 * math/s_csqrt.c (__csqrt): Likewise.
7651 * math/s_csqrtf.c (__csqrtf): Likewise.
7652 * math/s_csqrtl.c (__csqrtl): Likewise.
7653 * math/s_ctan.c (__ctan): Likewise.
7654 * math/s_ctanf.c (__ctanf): Likewise.
7655 * math/s_ctanh.c (__ctanh): Likewise.
7656 * math/s_ctanhf.c (__ctanhf): Likewise.
7657 * math/s_ctanhl.c (__ctanhl): Likewise.
7658 * math/s_ctanl.c (__ctanl): Likewise.
7659 * math/w_pow.c: Likewise.
7660 * math/w_powf.c: Likewise.
7661 * math/w_powl.c: Likewise.
7662 * math/w_scalb.c (sysv_scalb): Likewise.
7663 * math/w_scalbf.c (sysv_scalbf): Likewise.
7664 * math/w_scalbl.c (sysv_scalbl): Likewise.
7665 * misc/error.c (error_tail): Likewise.
7666 * misc/pselect.c (__pselect): Likewise.
7667 * nis/nis_callback.c (__nis_create_callback): Likewise.
7668 * nis/nis_call.c (__nisfind_server): Likewise.
7669 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7670 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7671 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7672 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7673 * nis/nis_lookup.c (nis_lookup): Likewise.
7674 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7675 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7676 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7677 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7678 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7679 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7680 * nis/nss_compat/compat-initgroups.c (add_group)
7681 (internal_getgrent_r): Likewise.
7682 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7683 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7684 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7685 (internal_getspnam_r): Likewise.
7686 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7687 (_nss_nis_getaliasbyname_r): Likewise.
7688 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7689 (_nss_nis_getntohost_r): Likewise.
7690 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7691 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7692 (_nss_nis_getgrgid_r): Likewise.
7693 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7694 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7695 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7696 (_nss_nis_gethostbyname4_r): Likewise.
7697 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7698 (initgroups_netid): Likewise.
7699 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7700 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7701 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7702 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7703 (_nss_nis_getprotobynumber_r): Likewise.
7704 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7705 (_nss_nis_getsecretkey): Likewise.
7706 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7707 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7708 (_nss_nis_getpwuid_r): Likewise.
7709 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7710 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7711 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7712 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7713 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7714 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7715 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7717 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7718 (_nss_nisplus_getntohost_r): Likewise.
7719 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7720 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7721 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7722 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7724 * nis/nss_nisplus/nisplus-initgroups.c
7725 (_nss_nisplus_initgroups_dyn): Likewise.
7726 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7727 (_nss_nisplus_getnetbyaddr_r): Likewise.
7728 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7729 (_nss_nisplus_getprotobynumber_r): Likewise.
7730 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7731 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7732 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7734 * nis/nss_nisplus/nisplus-service.c
7735 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7736 (_nss_nisplus_getservbyport_r): Likewise.
7737 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7738 (_nss_nisplus_getspnam_r): Likewise.
7739 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7741 * nscd/aicache.c (addhstaiX): Likewise.
7742 * nscd/cache.c (cache_search, prune_cache): Likewise.
7743 * nscd/connections.c (register_traced_file, send_ro_fd)
7744 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7745 (main_loop_epoll): Likewise.
7746 * nscd/grpcache.c (addgrbyX): Likewise.
7747 * nscd/hstcache.c (addhstbyX): Likewise.
7748 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7749 * nscd/mem.c (gc, mempool_alloc): Likewise.
7750 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7751 (addinnetgrX): Likewise.
7752 * nscd/nscd-client.h (__nscd_acquire_maplock)
7753 (__nscd_drop_map_ref): Likewise.
7754 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7755 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7756 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7758 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7759 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7760 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7761 (__nscd_get_map_ref): Likewise.
7762 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7763 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7765 * nscd/pwdcache.c (addpwbyX): Likewise.
7766 * nscd/selinux.c (preserve_capabilities): Likewise.
7767 * nscd/servicescache.c (addservbyX): Likewise.
7768 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7769 * posix/fnmatch.c (fnmatch): Likewise.
7770 * posix/getopt.c (_getopt_internal_r): Likewise.
7771 * posix/glob.c (glob, glob_in_dir): Likewise.
7772 * posix/wordexp.c (exec_comm_child): Likewise.
7773 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7774 (getanswer_r, gaih_getanswer_slice): Likewise.
7775 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7776 * resolv/res_init.c: Likewise.
7777 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7778 * resolv/res_query.c (__libc_res_nquery): Likewise.
7779 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7782 * stdio-common/perror.c (perror): Likewise.
7783 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7784 * stdio-common/tmpnam.c (tmpnam): Likewise.
7785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7786 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7787 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7789 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7790 * stdlib/putenv.c (putenv): Likewise.
7791 * stdlib/setenv.c (__add_to_environ): Likewise.
7792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7793 * stdlib/strtol_l.c (INTERNAL): Likewise.
7794 * string/memmem.c (memmem): Likewise.
7795 * string/strerror.c (strerror): Likewise.
7796 * string/strnlen.c (__strnlen): Likewise.
7797 * string/test-memmem.c (simple_memmem): Likewise.
7798 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7799 * sunrpc/pm_getport.c (__get_socket): Likewise.
7800 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7801 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7802 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7803 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7805 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7807 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7808 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7809 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7810 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7814 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7815 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7817 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7818 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7820 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7821 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7822 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7823 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7825 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7827 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7834 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7835 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7837 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7840 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7844 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7846 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7848 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7850 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7854 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7856 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7858 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7859 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7860 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7861 * sysdeps/posix/sleep.c: Likewise.
7862 * sysdeps/posix/tempname.c: Likewise.
7863 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7864 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7866 * sysdeps/powerpc/powerpc32/dl-machine.h
7867 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7868 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7870 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7871 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7873 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7874 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7875 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7876 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7877 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7878 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7879 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7880 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7881 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7882 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7884 (elf_machine_lazy_rel): Likewise.
7885 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7887 (elf_machine_lazy_rel): Likewise.
7888 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7889 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7890 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7891 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7892 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7893 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7894 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7897 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7898 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7899 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7900 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7901 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7902 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7903 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7904 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7906 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7907 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7909 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7910 (__posix_fallocate64_l64): Likewise.
7911 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7912 (posix_fallocate): Likewise.
7913 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7916 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7917 (getifaddrs_internal): Likewise.
7918 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7919 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7920 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7922 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7923 (__posix_fallocate64_l64): Likewise.
7924 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7926 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7928 (__get_clockfreq): Likewise.
7929 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7930 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7931 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7935 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7936 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7938 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7939 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7940 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7943 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7944 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7946 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7947 (posix_fallocate): Likewise.
7948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7949 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7950 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7951 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7952 (elf_machine_rela, elf_machine_rela_relative)
7953 (elf_machine_lazy_rel): Likewise.
7954 * time/asctime.c (asctime_internal): Likewise.
7955 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7956 * time/tzset.c (__tzset_parse_tz): Likewise.
7957 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7958 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7959 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7960 * wcsmbs/wcsmbsload.h: Likewise.
7963 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7965 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7966 (arena_get2): Remove THREAD_STATS conditionals.
7967 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7968 (__malloc_stats, int): Likewise.
7970 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7972 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7973 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7975 * manual/setjmp.texi: Fix typos/grammar errors.
7977 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7978 Only return early when n is <= 0. Delete unused return statement.
7980 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7981 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7982 * debug/tst-longjmp_chk3.c: New file.
7984 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7985 (test_main): Replace code with set_fortify_handler call.
7986 * debug/test-strcpy_chk.c: Likewise.
7987 * debug/tst-chk1.c: Likewise.
7988 * debug/tst-longjmp_chk.c: Likewise.
7989 * test-skeleton.c: Include fcntl.h & paths.h
7990 (set_fortify_handler): Define.
7992 * debug/tst-longjmp_chk.c: Add header comment and include
7994 (do_test): Mark static.
7995 (TEST_FUNCTION): Define.
7997 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7998 (IP_PMTUDISC_INTERFACE): Likewise.
7999 (IP_MULTICAST_IF): Likewise.
8000 (IP_MULTICAST_TTL): Likewise.
8001 (IP_MULTICAST_LOOP): Likewise.
8002 (IP_ADD_MEMBERSHIP): Likewise.
8003 (IP_DROP_MEMBERSHIP): Likewise.
8004 (IP_UNBLOCK_SOURCE): Likewise.
8005 (IP_BLOCK_SOURCE): Likewise.
8006 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8007 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8008 (IP_MSFILTER): Likewise.
8009 (MCAST_JOIN_GROUP): Likewise.
8010 (MCAST_BLOCK_SOURCE): Likewise.
8011 (MCAST_UNBLOCK_SOURCE): Likewise.
8012 (MCAST_LEAVE_GROUP): Likewise.
8013 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8014 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8015 (MCAST_MSFILTER): Likewise.
8016 (IP_MULTICAST_ALL): Likewise.
8017 (IP_UNICAST_IF): Likewise.
8019 * timezone/Makefile: Delete $(have-ksh) check.
8020 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8021 * timezone/tzselect.ksh: Add +x mode bits.
8023 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8024 (ANON_INODE_FS_MAGIC): Likewise.
8025 (BDEVFS_MAGIC): Likewise.
8026 (BINFMTFS_MAGIC): Likewise.
8027 (BTRFS_TEST_MAGIC): Likewise.
8028 (CRAMFS_MAGIC_WEND): Likewise.
8029 (DEBUGFS_MAGIC): Likewise.
8030 (ECRYPTFS_SUPER_MAGIC): Likewise.
8031 (EXT3_SUPER_MAGIC): Likewise.
8032 (EXT4_SUPER_MAGIC): Likewise.
8033 (FUTEXFS_SUPER_MAGIC): Likewise.
8034 (HOSTFS_SUPER_MAGIC): Likewise.
8035 (HUGETLBFS_MAGIC): Likewise.
8036 (MINIX3_SUPER_MAGIC): Likewise.
8037 (MTD_INODE_FS_MAGIC): Likewise.
8038 (NILFS_SUPER_MAGIC): Likewise.
8039 (OPENPROM_SUPER_MAGIC): Likewise.
8040 (PIPEFS_MAGIC): Likewise.
8041 (PSTOREFS_MAGIC): Likewise.
8042 (QNX6_SUPER_MAGIC): Likewise.
8043 (RAMFS_MAGIC): Likewise.
8044 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8045 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8046 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8047 (SECURITYFS_MAGIC): Likewise.
8048 (SELINUX_MAGIC): Likewise.
8049 (SMACK_MAGIC): Likewise.
8050 (SOCKFS_MAGIC): Likewise.
8051 (SQUASHFS_MAGIC): Likewise.
8052 (STACK_END_MAGIC): Likewise.
8053 (TMPFS_MAGIC): Likewise.
8054 (USBDEVICE_SUPER_MAGIC): Likewise.
8055 (V9FS_MAGIC): Likewise.
8056 (XENFS_SUPER_MAGIC): Likewise.
8057 (CRAMFS_MAGIC): Fix typo in comment.
8058 (EXT2_SUPER_MAGIC): Update comment.
8059 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8061 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8063 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8064 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8065 * sysdeps/unix/sysv/linux/arm: Move directory from
8066 ports/sysdeps/unix/sysv/linux/arm.
8067 * README: Update listing for arm-*-linux-gnueabi.
8069 * README: Remove mention of am33.
8071 2014-02-07 Roland McGrath <roland@hack.frob.com>
8073 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8074 than the comma operator, to avoid "rhs of comma has no effect"
8076 (__sigfillset, __sigandset, __sigorset): Likewise.
8077 * include/signal.h (__sigemptyset): Likewise.
8078 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8080 2014-02-07 Allan McRae <allan@archlinux.org>
8082 * version.h (RELEASE): Set to "development".
8083 (VERSION): Set to "2.19.90"
8084 * NEWS: Add 2.20 section.
8086 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8089 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8091 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8093 * manual/contrib.texi: Update entry for Carlos O'Donell,
8094 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8096 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8098 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8100 * sysdeps/unix/sysv/linux/kernel-features.h
8101 [__LINUX_KERNEL_VERSION >= 0x020621]
8102 (__ASSUME_PROC_PID_TASK_COMM): Define.
8104 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8107 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8108 conversion when destination buffer does not have enough space.
8109 * libio/tst-ftell-partial-wide.c: New test case.
8110 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8112 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8113 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8114 Leonard and Allan McRae.
8116 2014-02-04 David S. Miller <davem@davemloft.net>
8118 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8121 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8150 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8152 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8153 * shlib-versions: Likewise.
8155 2014-02-04 Roland McGrath <roland@hack.frob.com>
8156 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8158 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8159 (abilist-pattern): New variable, set to %-le.abilist.
8161 * Makerules (abilist-pattern): New variable.
8162 (vpath): Use $(abilist-pattern) in place of %.abilist.
8163 (check-abi-% pattern rule): Likewise.
8164 (check-abi, update-abi): Likewise.
8166 2014-02-04 Eric Wong <normalperson@yhbt.net>
8168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8170 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8172 * manual/startup.texi: Add next, previous, and top entries for
8173 the `Program Arguments' and `Environment Variables' nodes.
8175 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8177 * manual/macros.texi: Add comments before MTASC-safety macros.
8179 * manual/users.texi: Document MTASC-safety properties.
8181 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8182 (pthread_getspecific, pthread_setspecific): Format with
8183 @deftypefun, and add @safety note.
8184 * manual/signal.texi: Move comments that analyze the above
8185 functions to their home place.
8187 2014-02-03 Allan McRae <allan@archlinux.org>
8189 * po/sl.po: Update Slovenian translation from translation project.
8191 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8193 * manual/time.texi (timegm): Add missing blank after @c.
8194 Reported by Joseph Myers <joseph@codesourcery.com>.
8196 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8198 * manual/check-safety.sh: New.
8199 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8201 * manual/terminal.texi: Document MTASC-safety properties.
8203 * manual/filesys.texi: Document MTASC-safety properties.
8205 * manual/errno.texi: Document MTASC-safety properties.
8207 * manual/intro.texi: Document safety identifiers and
8210 * manual/string.texi (wcstok): Fix prototype.
8211 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8213 * manual/time.texi: Document MTASC-safety properties.
8215 * manual/string.texi: Document MTASC-safety properties.
8217 * manual/threads.texi: Document MTASC-safety properties.
8219 * manual/stdio.texi: Document MTASC-safety properties.
8221 * manual/syslog.texi: Document MTASC-safety properties.
8223 * manual/sysinfo.texi: Document MTASC-safety properties.
8225 * manual/startup.texi: Document MTASC-safety properties.
8227 * manual/socket.texi: Document MTASC-safety properties.
8229 * manual/signal.texi: Document MTASC-safety properties.
8231 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8233 * manual/setjmp.texi: Document MTASC-safety properties.
8235 * manual/search.texi: Document MTASC-safety properties.
8237 * manual/resource.texi: Document MTASC-safety properties.
8239 * manual/process.texi: Document MTASC-safety properties.
8241 * manual/platform.texi: Document MTASC-safety properties.
8243 * manual/pipe.texi: Document MTASC-safety properties.
8245 * manual/pattern.texi: Document MTASC-safety properties.
8247 * manual/message.texi: Document MTASC-safety properties.
8250 * manual/memory.texi: Document MTASC-safety properties.
8252 * manual/math.texi: Document MTASC-safety properties.
8254 * manual/locale.texi: Document MTASC-safety properties.
8256 * manual/llio.texi: Document MTASC-safety properties.
8258 * manual/libdl.texi: New.
8260 * manual/lang.texi: Document MTASC-safety properties.
8262 * manual/job.texi: Document MTASC-safety properties.
8264 * manual/getopt.texi: Document MTASC-safety properties.
8266 * manual/ctype.texi: Document MTASC-safety properties.
8268 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8271 * csu/libc-tls.c (static_map): Remove variable.
8272 (__libc_setup_tls): Use main executable's link map for TLS data.
8273 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8274 casing for LM_ID_BASE and GL(dl_nns).
8275 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8276 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8277 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8278 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8279 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8281 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8284 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8286 * manual/debug.texi: Document MTASC-safety properties.
8288 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8292 of __x86_64__ when disabling x87 inline functions.
8294 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8296 * manual/charset.texi: Document MTASC-safety properties.
8298 * manual/crypt.texi: Document MTASC-safety properties.
8300 * manual/conf.texi: Document MTASC-safety properties.
8302 * manual/arith.texi: Document MTASC-safety properties.
8304 * manual/argp.texi: Document MTASC-safety properties.
8306 * manual/macros.texi: Introduce macros to document multi
8307 thread, asynchronous signal and asynchronous cancellation
8309 * manual/intro.texi: Introduce the properties themselves.
8311 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8313 * sysdeps/sh/sh4/Makefile: New file.
8315 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8317 * math/gen-libm-test.pl ($srcdir): New variable.
8318 ($auto_input): Use it.
8320 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8323 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8324 access beyond array bounds when parsing netgroups file.
8326 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8327 the old buffer before realloc.
8329 2014-01-27 Allan McRae <allan@archlinux.org>
8331 * po/fr.po: Update French translation from translation project.
8333 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8335 * sysdeps/sh/libm-test-ulps: Regenerate.
8337 2014-01-24 David S. Miller <davem@davemloft.net>
8339 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8341 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8344 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8346 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8349 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8350 string pointers after reallocation.
8352 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8354 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8355 __SH4A__ instead of __SH_FPU_ANY__.
8357 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8359 * sysdeps/sh/fpu_control.h: New file.
8360 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8361 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8362 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8363 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8364 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8365 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8366 * sysdeps/sh/sys/ucontext.h: Remove.
8367 * sysdeps/sh/sys: Remove directory.
8369 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8371 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8372 s390/sys/ucontext.h.
8373 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8376 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8379 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8381 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8384 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8385 Adjust the vDSO correctly for internal calls.
8386 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8388 2014-01-20 Allan McRae <allan@archlinux.org>
8390 * po/ca.po: Update Catalan translation from translation project.
8392 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8394 * sysdeps/s390/sotruss-lib.c: New file.
8396 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8400 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8401 local calls issues by not having a PLT stub required for IFUNC calls.
8402 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8404 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8406 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8407 * math/test-fpucw-static.c: Likewise.
8409 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8412 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8414 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8416 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8417 implementation for powerpc.
8419 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8422 * sysdeps/posix/system.c (__libc_system): Do not enable
8423 asynchronous cancellation.
8425 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8428 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8429 handling only for numbers special also in the IEEE case.
8431 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8433 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8435 2014-01-11 Allan McRae <allan@archlinux.org>
8437 * po/bg.po: Update Bulgarian translation from translation project.
8439 * po/de.po: Update German translation from translation project.
8441 2014-01-10 Roland McGrath <roland@hack.frob.com>
8443 * sysdeps/generic/gcc-compat.h: New file.
8445 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8447 * benchtests/asin-inputs: Correct slow inputs.
8448 * benchtests/acos-inputs: Likewise.
8450 2014-01-10 Allan McRae <allan@archlinux.org>
8452 * po:sv.po: Update Swedish translation from translation project.
8454 * po/vi.po: Update Vietnamese translation from translation project.
8456 * po/eo.po: Update Esperanto translation from translation project.
8458 * po/cs.po: Update Czech translation from translation project.
8460 * po/nl.po: Update Dutch translation from translation project.
8462 * po/pl.po: Update Polish translation from translation project.
8464 * po/ru.po: Update Russian translation from translation project.
8466 * po/uk.po: Update Ukrainian translation from translation project.
8468 2014-01-08 Brooks Moses <bmoses@google.com>
8470 * elf/dl-load.c: Fix comment typo.
8472 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8474 * po/header.pot: Rename to...
8475 * po/pot.header: ... this.
8476 * po/Makefile: Use pot.header.
8478 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8479 Maxim Kuvyrkov <maxim@kugelworks.com>
8482 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8483 SRC and DEST against LEN.
8485 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8488 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8490 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8492 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8496 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8499 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8500 for large positive arguments.
8502 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8504 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8506 * math/auto-libm-test-in: Mark various tests with
8507 xfail-rounding:ldbl-128ibm.
8508 * math/auto-libm-test-out: Regenerated.
8511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8512 Increase overflow threshold.
8514 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8517 * stdio-common/vfprintf.c: Check for integer overflow.
8519 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8521 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8522 the first argument and return value of __tls_get_addr_internal.
8524 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8526 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8527 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8529 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8531 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8532 * sysdeps/s390/rtld-global-offsets.sym: New file.
8533 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8535 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8536 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8537 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8539 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8540 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8546 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8547 halfs of GPRs for high_gprs contexts.
8548 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8549 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8551 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8553 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8555 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8556 for high GPRs (uc_high_gprs) and for future extensions
8558 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8559 for future extensions (__reserved).
8560 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8562 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8563 SC_HIGHGPRS offset definition.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8565 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8567 * Versions.def: Add GLIBC_2.19 for libpthread.
8568 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8569 siglongjmp for libpthread with GLIBC_2.19 symver.
8570 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8571 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8572 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8573 * sysdeps/s390/__longjmp.c: New file.
8574 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8575 * sysdeps/s390/longjmp.c: New file.
8576 * sysdeps/s390/setjmp.S: New file.
8577 * sysdeps/s390/sigjmp.S: New file.
8578 * sysdeps/s390/v1-longjmp.c: New file.
8579 * sysdeps/s390/v1-setjmp.h: New file.
8580 * sysdeps/s390/v1-sigjmp.c: New file.
8581 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8582 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8584 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8585 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8586 versioned symbols for ____longjmp_chk.
8587 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8597 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8598 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8599 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8600 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8601 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8602 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8603 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8604 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8605 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8606 * sysdeps/s390/rtld-__longjmp.c: New file.
8607 * sysdeps/s390/rtld-setjmp.S: New file.
8609 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8613 Return -__logl (x) for small positive arguments without evaluating
8616 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8618 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8620 (__ptrace_peeksiginfo_args): ... this.
8621 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8623 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8625 2014-01-06 Allan McRae <allan@archlinux.org>
8627 * inet/netinet/in.h: Fix typo in comment.
8629 2014-01-05 Andreas Jaeger <aj@suse.de>
8631 * sysdeps/i386/fpu/libm-test-ulps: Update.
8633 2014-01-05 Allan McRae <allan@archlinux.org>
8635 * po/libc.pot: Regenerated.
8637 * malloc/memusagestat.c: Fix gettext call formatting.
8639 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8641 * nscd/nscd.c: Improve usage() output.
8643 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8645 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8646 * sysdeps/unix/sysv/linux/configure: Regenerated.
8647 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8648 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8650 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8653 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8654 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8656 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8658 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8659 extra tokens at end of #undef directive.
8660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8661 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8664 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8666 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8668 * math/auto-libm-test-in: Mark various tests with
8669 xfail-rounding:ldbl-128ibm.
8670 * math/auto-libm-test-out: Regenerated.
8672 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8676 numbers with subnormal high part when calculating exponent.
8679 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8685 (__ieee754_acoshl): Use __log1pl not __log1p.
8687 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8689 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8690 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8691 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8692 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8693 (reused_arena, arena_get2): Convert to GNU style.
8694 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8695 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8696 (memalign_check, __malloc_set_state): Likewise.
8697 * malloc/mallocbug.c (main): Likewise.
8698 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8699 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8700 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8701 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8702 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8703 (__posix_memalign, malloc_info): Likewise.
8704 * malloc/malloc.h: Likewise.
8705 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8706 (mallochook, memalignhook, reallochook, mabort): Likewise.
8707 * malloc/mcheck.h: Likewise.
8708 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8709 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8710 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8711 * malloc/morecore.c (__default_morecore): Likewise.
8712 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8713 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8714 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8715 (print_and_abort): Likewise.
8716 * malloc/obstack.h: Likewise.
8717 * malloc/set-freeres.c (__libc_freeres): Likewise.
8718 * malloc/tst-mallocstate.c (main): Likewise.
8719 * malloc/tst-mtrace.c (main): Likewise.
8720 * malloc/tst-realloc.c (do_test): Likewise.
8722 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8725 * nscd/netgroupcache.c (do_notfound): New function.
8726 (addgetnetgrentX): Use it.
8729 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8730 NSS_STATUS_NOTFOUND.
8732 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8734 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8737 2014-01-01 Allan McRae <allan@archlinux.org>
8739 * scripts/update-copyrights: Update configure input file suffix.
8741 * NEWS: Update copyright year.
8742 * catgets/gencat.c: Likewise.
8743 * csu/version.c: Likewise.
8744 * debug/catchsegv.sh: Likewise.
8745 * debug/pcprofiledump.c: Likewise.
8746 * debug/xtrace.sh: Likewise.
8747 * elf/ldconfig.c: Likewise.
8748 * elf/ldd.bash.in: Likewise.
8749 * elf/pldd.c: Likewise.
8750 * elf/sotruss.ksh: Likewise.
8751 * elf/sprof.c: Likewise.
8752 * iconv/iconv_prog.c: Likewise.
8753 * iconv/iconvconfig.c: Likewise.
8754 * locale/programs/locale.c: Likewise.
8755 * locale/programs/localedef.c: Likewise.
8756 * login/programs/pt_chown.c: Likewise.
8757 * malloc/memusage.sh: Likewise.
8758 * malloc/memusagestat.c: Likewise.
8759 * malloc/mtrace.pl: Likewise.
8760 * manual/libc.texinfo: Likewise.
8761 * nscd/nscd.c: Likewise.
8762 * nss/getent.c: Likewise.
8763 * nss/makedb.c: Likewise.
8764 * posix/getconf.c: Likewise.
8765 * scripts/test-installation.pl: Likewise.
8767 * All files with FSF copyright notices: Update copyright dates
8768 using scripts/update-copyrights.
8769 * intl/plural.c: Regenerated.
8770 * locale/programs/charmap-kw.h: Likewise.
8771 * locale/programs/locfile-kw.h: Likewise.
8773 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8775 * sysdeps/unix/sysv/linux/configure: Regenerated.
8776 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8777 the linux/fanotify.h header.
8778 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8779 HAVE_LINUX_FANOTIFY_H is defined.
8781 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8783 * benchtests/cos-inputs: New inputs.
8784 * benchtests/sin-inputs: Likewise.
8786 * benchtests/atan-inputs: New inputs. Fix name of multiple
8787 precision fallback inputs.
8789 * benchtests/atanh-inputs: New inputs.
8790 * benchtests/tanh-inputs: Likewise.
8792 * benchtests/acosh-inputs: New inputs.
8793 * benchtests/asinh-inputs: Likewise.
8795 * benchtests/cosh-inputs: New inputs.
8796 * benchtests/sinh-inputs: Likewise.
8798 * benchtests/acos-inputs: Add more inputs.
8799 * benchtests/asin-inputs: Likewise.
8801 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8804 * manual/arith.texi: Fix spelling.
8805 * manual/charset.texi: Likewise.
8806 * manual/errno.texi: Likewise.
8807 * manual/filesys.texi: Likewise.
8808 * manual/lang.texi: Likewise.
8809 * manual/llio.texi: Likewise.
8810 * manual/locale.texi: Likewise.
8811 * manual/message.texi: Likewise.
8812 * manual/resource.texi: Likewise.
8813 * manual/search.texi: Likewise.
8814 * manual/setjmp.texi: Likewise.
8815 * manual/stdio.texi: Likewise.
8816 * manual/string.texi: Likewise.
8817 * manual/sysinfo.texi: Likewise.
8818 * manual/time.texi: Likewise.
8820 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8822 * po/sl.po: New file.
8824 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8826 * .gitignore: Add core/.gdbinit/.gdb_history.
8828 2013-12-27 Allan McRae <allan@archlinux.org>
8831 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8832 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8834 2013-12-24 Brooks Moses <bmoses@google.com>
8836 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8837 all compilers that claim C++98 compliance, not just GCC.
8838 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8841 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8843 * NEWS: Restore accidentally deleted bug-fix entries.
8845 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8846 Ondřej Bílka <neleai@seznam.cz>
8849 * malloc/malloc.c (_int_free): Perform sanity check only if we
8852 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8855 * manual/stdio.texi (String Input Conversions): Clarify that character
8856 classes are not supported.
8858 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8862 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8866 Calculate results for small negative arguments directly rather
8867 than using reflection formula with special underflow handling.
8869 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8870 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8871 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8872 (fchflags): Likewise.
8874 (setlogin): Likewise.
8875 (sigaltstack): Likewise.
8878 (sigsetmask): Likewise.
8880 (waitpid): Likewise.
8881 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8882 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8884 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8885 * sysdeps/unix/bsd/Makefile: ... here.
8886 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8887 * sysdeps/unix/bsd/Versions: ... here.
8888 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8889 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8890 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8891 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8892 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8893 * sysdeps/unix/bsd/sigblock.c: ... here.
8894 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8895 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8896 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8897 * sysdeps/unix/bsd/sigvec.c: ... here.
8898 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8899 * sysdeps/unix/bsd/tcdrain.c: ... here.
8900 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8901 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8902 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8903 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8904 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8905 * sysdeps/unix/bsd/wait.c: ... here.
8906 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8907 * sysdeps/unix/bsd/wait3.c: ... here.
8908 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8909 * sysdeps/unix/bsd/waitpid.c: ... here.
8911 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8914 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8915 round-to-nearest for [!USE_AS_EXPM1L].
8916 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8917 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8918 more tests of exp and exp10. Expect some exp10 tests to miss
8919 exceptions or fail in directed rounding modes.
8920 * math/auto-libm-test-out: Regenerated.
8921 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8922 (exp10_test_tonearest): New function.
8923 (exp10_towardzero_test_data): New array.
8924 (exp10_test_towardzero): New function.
8925 (exp10_downward_test_data): New array.
8926 (exp10_test_downward): New function.
8927 (exp10_upward_test_data): New array.
8928 (exp10_test_upward): New function.
8929 (main): Call the new functions.
8930 * sysdeps/i386/fpu/libm-test-ulps: Update.
8931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8933 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8935 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8936 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8937 * math/auto-libm-test-out: Regenerated.
8938 * math/libm-test.inc (acosh_test_data): Add more tests.
8939 (atanh_test_data): Likewise.
8940 (ceil_test_data): Likewise.
8941 (copysign_test_data): Likewise.
8942 * sysdeps/i386/fpu/libm-test-ulps: Update.
8943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8945 * timezone/checktab.awk: Update from tzcode 2013i.
8946 * timezone/private.h: Likewise.
8947 * timezone/scheck.c: Likewise.
8948 * timezone/tzfile.h: Likewise.
8949 * timezone/tzselect.ksh: Likewise.
8950 * timezone/zdump.c: Likewise.
8951 * timezone/zic.c: Likewise.
8953 * math/auto-libm-test-in: Add tests of cpow.
8954 * math/auto-libm-test-out: Regenerated.
8955 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8956 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8958 (func_calc_desc): Add mpc_cc_c union field.
8959 (test_functions): Add cpow.
8960 (special_fill_2pi): New function.
8961 (special_real_inputs): Add 2pi.
8962 (calc_generic_results): Handle mpc_cc_c.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8967 csqrt, ctan and ctanh.
8968 * math/auto-libm-test-out: Regenerated.
8969 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8970 (TEST_COND_x86): Likewise.
8971 (ccos_test_data): Use AUTO_TESTS_c_c.
8972 (ccosh_test_data): Likewise.
8973 (cexp_test_data): Likewise.
8974 (clog_test_data): Likewise.
8975 (csqrt_test_data): Likewise.
8976 (ctan_test_data): Likewise.
8977 (ctan_tonearest_test_data): Likewise.
8978 (ctan_towardzero_test_data): Likewise.
8979 (ctan_downward_test_data): Likewise.
8980 (ctan_upward_test_data): Likewise.
8981 (ctanh_test_data): Likewise.
8982 (ctanh_tonearest_test_data): Likewise.
8983 (ctanh_towardzero_test_data): Likewise.
8984 (ctanh_downward_test_data): Likewise.
8985 (ctanh_upward_test_data): Likewise.
8986 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8988 (func_calc_desc): Add mpc_c_c union field.
8989 (FUNC_mpc_c_c): New macro.
8990 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8991 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8993 (special_fill_min_subnorm_p120): New function.
8994 (special_real_inputs): Add min_subnorm_p120.
8995 (calc_generic_results): Handle mpc_c_c.
8996 * sysdeps/i386/fpu/libm-test-ulps: Update.
8997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8999 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9001 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9002 (do_sin_slow): New functions.
9003 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9004 (cslow2, csloww1, csloww2): Use the new functions.
9006 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9007 Use M to change sign of result instead of X. Assume X is
9009 (csloww1): Likewise.
9013 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9020 (sloww1): Don't adjust sign of DX.
9021 (csloww1): Likewise.
9022 (sloww2): Use X directly and don't adjust sign of DX.
9023 (csloww2): Likewise.
9025 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9027 * math/auto-libm-test-in: Add tests of cabs and carg.
9028 * math/auto-libm-test-out: Regenerated.
9029 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9030 (carg_test_data): Likewise.
9031 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9033 (func_calc_desc): Add mpc_c_f union field.
9034 (test_functions): Add cabs and carg.
9035 (calc_generic_results): Handle mpc_c_f.
9037 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9038 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9039 as a macro and a compat symbol.
9040 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9041 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9042 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9043 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9044 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9057 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9058 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9061 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9065 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9067 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9068 trailing whitespace removed.
9069 * scripts/config.guess: Update to version 2013-11-29.
9070 * scripts/config.sub: Update to version 2013-10-01.
9072 * math/auto-libm-test-in: Add tests of sincos.
9073 * math/auto-libm-test-out: Regenerated.
9074 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9077 (func_calc_desc): Add mpfr_f_11 union field.
9078 (test_functions): Add sincos.
9079 (calc_generic_results): Handle mpfr_f_11.
9080 * sysdeps/i386/fpu/libm-test-ulps: Update.
9081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9083 2013-12-19 Andreas Schwab <schwab@suse.de>
9085 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9089 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9091 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9093 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9094 * sysdeps/i386/fpu/libm-test-ulps: Update.
9095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9099 round-to-nearest mode when using frndint.
9100 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9101 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9102 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9104 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9106 * math/auto-libm-test-out: Regenerated.
9107 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9108 (TEST_COND_x86): Likewise.
9109 (expm1_tonearest_test_data): New array.
9110 (expm1_test_tonearest): New function.
9111 (expm1_towardzero_test_data): New array.
9112 (expm1_test_towardzero): New function.
9113 (expm1_downward_test_data): New array.
9114 (expm1_test_downward): New function.
9115 (expm1_upward_test_data): New array.
9116 (expm1_test_upward): New function.
9117 (main): Run the new test functions.
9118 * sysdeps/i386/fpu/libm-test-ulps: Update.
9119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9121 * include/features.h: Update comment documenting feature test
9122 macros. Mention _DEFAULT_SOURCE in comment.
9123 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9124 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9125 _BSD_SOURCE and _SVID_SOURCE.
9126 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9127 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9128 !_SVID_SOURCE]: Likewise.
9129 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9130 (__USE_POSIX_IMPLICITLY): Define.
9131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9132 (_POSIX_SOURCE): Undefine and redefine.
9133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9134 (_POSIX_C_SOURCE): Likewise.
9135 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9136 (Feature Test Macros): Update documentation of default features.
9138 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9140 * benchtests/Makefile: Add bench-strtok.
9141 * benchtests/bench-strtok.c: New file: strtok benchtest.
9143 2013-12-19 Allan McRae <allan@archlinux.org>
9145 * manual/install.texi: Suppress menu for plain text output.
9146 * INSTALL: Regenerated.
9148 2013-12-18 Brooks Moses <bmoses@google.com>
9151 * misc/getauxval.c: Include errno.h.
9152 (__getauxval): Set errno to ENOENT if the requested type is not
9154 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9155 don't declare with __attribute_const__.
9156 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9157 * manual/startup.texi: Document that getauxval sets errno.
9159 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9161 * math/auto-libm-test-in: Add tests of jn and yn.
9162 * math/auto-libm-test-out: Regenerated.
9163 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9164 (yn_test_data): Likewise.
9165 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9167 (func_calc_desc): Add mpfr_if_f union field.
9168 (FUNC_mpfr_if_f): New macro.
9169 (test_functions): Add jn and yn.
9170 (calc_generic_results): Assert type of second input for
9171 mpfr_ff_f. Handle mpfr_if_f.
9172 (output_for_one_input_case): Disable all checking for arguments
9173 fitting floating-point types in case of an integer argument.
9174 * sysdeps/i386/fpu/libm-test-ulps: Update.
9175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9178 Don't expect fegetround reference in libm.so.
9180 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9182 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9183 $(config-cflags-nofma).
9185 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9187 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9188 * math/auto-libm-test-out: Regenerated.
9191 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9192 to determine exponent and adjust argument to have exponent of -1.
9193 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9195 * math/auto-libm-test-out: Regenerated.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9199 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9201 * manual/probes.texi: Remove cases when per-thread arenas are
9204 2013-12-18 Andreas Schwab <schwab@suse.de>
9206 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9207 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9208 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9209 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9210 * sysdeps/i386/i686/multiarch/Makefile: Update.
9211 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9213 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9215 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9216 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9218 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9221 Support TZ transition times < 00:00:00.
9222 This is needed for version-3 tz-format files; it supports time
9223 stamps past 2037 for America/Godthab (the only entry in the tz
9224 database for which this change is relevant).
9225 * manual/time.texi (TZ Variable): Document transition times
9226 from -167:59:59 through -00:00:01.
9227 * time/tzset.c (tz_rule): Time of day is now signed.
9228 (__tzset_parse_tz): Parse negative time of day.
9230 Document TZ transition times >= 25:00:00.
9231 * manual/time.texi (TZ Variable): Document transition times from
9232 25:00:00 through 167:59:59. These are already supported, and this
9233 support will help with version-3 tz-format files.
9235 * manual/time.texi (TZ Variable): Modernize North America example
9236 to reflect current (i.e., 2007-and-later) daylight saving rules.
9238 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9240 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9243 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9246 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9247 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9248 * sysdeps/unix/bsd/clock.c: Likewise.
9249 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9250 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9251 * sysdeps/unix/bsd/init-posix.c: Likewise.
9252 * sysdeps/unix/bsd/poll.c: Likewise.
9253 * sysdeps/unix/bsd/ptsname.c: Likewise.
9254 * sysdeps/unix/bsd/seekdir.c: Likewise.
9255 * sysdeps/unix/bsd/setegid.c: Likewise.
9256 * sysdeps/unix/bsd/seteuid.c: Likewise.
9257 * sysdeps/unix/bsd/setgid.c: Likewise.
9258 * sysdeps/unix/bsd/setrgid.c: Likewise.
9259 * sysdeps/unix/bsd/setruid.c: Likewise.
9260 * sysdeps/unix/bsd/setsid.c: Likewise.
9261 * sysdeps/unix/bsd/setuid.c: Likewise.
9262 * sysdeps/unix/bsd/sigaction.c: Likewise.
9263 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9264 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9265 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9266 * sysdeps/unix/bsd/telldir.c: Likewise.
9267 * sysdeps/unix/bsd/times.c: Likewise.
9268 * sysdeps/unix/bsd/usleep.c: Likewise.
9270 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9271 ($(objpfx)libbsd-compat.a): Remove rule.
9273 * include/features.h (__FAVOR_BSD): Do not define.
9274 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9275 features conflicting with POSIX.
9276 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9277 (_BSD_SOURCE): Remove description of not being a subset of other
9278 feature test macros.
9279 * manual/job.texi (getpgrp): Do not document BSD version.
9280 (getpgid): Do not document by reference to BSD getpgrp.
9281 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9282 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9283 * signal/signal.h [__FAVOR_BSD]: Likewise.
9284 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9285 instead of making contents conditional on [__FAVOR_BSD].
9286 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9288 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9292 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9295 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9296 values below 2**-450, not 2**-500.
9297 * math/auto-libm-test-in: Don't allow spurious underflow from
9299 * math/auto-libm-test-out: Regenerated.
9303 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9304 values of ha and hb and sort them after adjusting subnormal
9306 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9308 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9309 values of ea and eb and sort them after adjusting subnormal
9311 * math/auto-libm-test-in: Do not expect some hypot tests of
9312 subnormals to fail. Add more hypot tests.
9313 * math/auto-libm-test-out: Regenerated.
9315 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9318 * sysdeps/sh/s_fma.c: New file.
9319 * sysdeps/sh/s_fmaf.c: New file.
9320 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9322 * sysdeps/sh/Implies: Add sh/soft-fp.
9324 2013-12-16 Roland McGrath <roland@hack.frob.com>
9326 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9327 level of indirection to members `objname', `errstring', `malloced'.
9328 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9329 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9330 it as the __longjmp argument (just pass 1 instead).
9331 (_dl_catch_error): Initialize C with argument pointers and address of
9332 volatile local ERRCODE rather than copying values out of C at return.
9334 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9336 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9337 * math/auto-libm-test-out: Regenerated.
9338 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9339 (hypot_test_data): Likewise.
9340 (pow_test_data): Likewise.
9341 (pow_tonearest_test_data): Likewise.
9342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9344 (func_calc_desc): Add mpfr_ff_f union field.
9345 (FUNC_mpfr_ff_f): New macro.
9346 (test_functions): Add atan2, hypot and pow.
9347 (special_fill_min): New function.
9348 (special_fill_minus_min): Likewise.
9349 (special_fill_min_subnorm): Likewise.
9350 (special_fill_minus_min_subnorm): Likewise.
9351 (special_real_inputs): Add min, -min, min_subnorm and
9353 (calc_generic_results): Handle mpfr_ff_f.
9354 * sysdeps/i386/fpu/libm-test-ulps: Update.
9355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9357 2013-12-16 Will Newton <will.newton@linaro.org>
9359 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9360 (Aligned Memory Blocks): Add documentation for aligned_alloc
9361 and suggest it as an alternative to posix_memalign.
9362 (Hooks for Malloc): Document __memalign_hook is also called
9363 for aligned_alloc. (Summary of Malloc): Add summary for
9364 aligned alloc. Document __memalign_hook is also called
9367 2013-12-16 Will Newton <will.newton@linaro.org>
9369 * manual/memory.texi (Malloc Examples): Clarify default
9370 alignment documentation. Suggest posix_memalign rather
9371 than memalign or valloc.
9372 (Aligned Memory Blocks): Remove suggestion to use memalign
9373 or valloc. Remove obsolete comment about BSD.
9374 Document memalign errno values and mark the function obsolete.
9375 Document posix_memalign returned error codes. Mark valloc
9376 as obsolete. (Hooks for Malloc): __memalign_hook is also
9377 called for posix_memalign and valloc.
9378 (Summary of Malloc): Add posix_memalign to function summary.
9379 __memalign_hook is also called for posix_memalign and valloc.
9381 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9383 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9387 (sloww): Use mynumber union. Expand ternary operator into
9389 (cslow): use mynumber union.
9391 2013-12-16 Allan McRae <allan@archlinux.org>
9393 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9394 * configure: Regenerated.
9396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9399 * configure.ac: Added --enable-maintainer-mode. Check for
9400 autoconf when enabled.
9401 * configure: Regenerated.
9403 * nscd/nscd.service: New file.
9404 * nscd/nscd.tmpfiles: New file.
9406 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9409 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9410 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9411 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9412 (strstr): Add __strstr_sse2_unaligned ifunc.
9413 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9414 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9415 (strcasestr): Remove __strcasestr_sse42 ifunc.
9416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9420 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9422 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9423 * sysdeps/sh/bits/fenv.h: ... here.
9424 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9426 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9428 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9431 hypotf multiarch implementations.
9432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9435 multiarch hypot for PPC64.
9436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9439 multiarch hypotf for PPC64.
9441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9442 modff multiarch implementations.
9443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9446 multiarch modf for PPC64.
9447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9450 multiarch modff for PPC64.
9452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9453 and logl multiarch implementations.
9454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9457 multiarch logb for PPC64.
9458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9461 multiarch logb for PPC64.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9465 multiarch logb for PPC64.
9467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9468 isinff multiarch implementation.
9469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9473 multiarch isinf for PPC64.
9474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9477 multiarch isinff for PPC64.
9479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9480 finitef multiarch implementation.
9481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9485 multiarch finite for PPC64.
9486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9489 multiarch finitef for PPC64.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9492 lrint multiarch implementation.
9493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9497 multiarch llrint for PPC64.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9499 multiarch lrint for PPC64.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9502 copysignf multiarch implementation.
9503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9508 multiarch copysign for PPC64.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9510 multiarch copysignf for PPC64.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9513 multiarch implementation.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9522 multiarch llround for PPC64.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9524 multiarch trunc for PPC64.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9526 multiarch truncf for PPC64.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9529 multiarch implementation.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9538 multiarch llround for PPC64.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9540 multiarch round for PPC64.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9542 multiarch roundf for PPC64.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9545 multiarch implementation.
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9554 multiarch llround for PPC64.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9556 multiarch floor for PPC64.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9558 multiarch floorf for PPC64.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9561 multiarch implementation.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9570 multiarch llround for PPC64.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9572 multiarch ceil for PPC64.
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9574 multiarch ceilf for PPC64.
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9577 multiarch implementation.
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9585 multiarch llround for PPC64.
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9587 multiarch lround for PPC64.
9589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9590 multiarch implementation.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9598 multiarch isnan for PPC64.
9599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9600 multiarch isnanf for PPC64.
9602 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9603 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9604 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9605 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9606 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9609 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9615 multiarch implementations.
9616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9617 (__libc_ifunc_impl_list): Likewise.
9618 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9619 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9620 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9621 multiarch stpcpy for PPC64.
9623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9624 multiarch implementations.
9625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9626 (__libc_ifunc_impl_list): Likewise.
9627 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9628 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9629 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9630 multiarch strcpy for PPC64.
9632 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9633 redefine function name.
9634 (_wordcopy_fwd_dest_aligned): Likewise.
9635 (_wordcopy_bwd_aligned): Likewise.
9636 (_wordcopy_bwd_dest_aligned): Likewise.
9637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9638 multiarch implementations.
9639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9640 (__libc_ifunc_impl_list): Likewise.
9641 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9642 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9645 multiarch wcscpy for PPC64.
9647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9648 multiarch implementations.
9649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9650 (__libc_ifunc_impl_list): Likewise.
9651 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9655 multiarch wcscpy for PPC64.
9657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9658 multiarch implementations.
9659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9660 (__libc_ifunc_impl_list): Likewise.
9661 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9662 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9665 multiarch wcsrchr for PPC64.
9667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9668 multiarch implementations.
9669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9670 (__libc_ifunc_impl_list): Likewise.
9671 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9672 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9673 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9674 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9675 multiarch wcschr for PPC64.
9677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9678 multiarch implementations.
9679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9680 (__libc_ifunc_impl_list): Likewise.
9681 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9682 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9683 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9684 multiarch strchrnul for PPC64.
9686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9689 (__libc_ifunc_impl_list): Likewise.
9690 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9691 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9692 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9693 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9699 (__libc_ifunc_impl_list): Likewise.
9700 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9701 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9703 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9707 multiarch implementations.
9708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9709 (__libc_ifunc_impl_list): Likewise.
9710 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9712 strncasecmp for PPC64.
9713 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9714 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9715 multiarch strncasecmp_l for PPC64.
9717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9718 multiarch implementations.
9719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9720 (__libc_ifunc_impl_list): Likewise.
9721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9723 multiarch strcasecmp for PPC64.
9724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9727 multiarch strcasecmp_l for PPC64.
9729 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9732 (__libc_ifunc_impl_list): Likewise.
9733 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9735 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9741 (__libc_ifunc_impl_list): Likewise.
9742 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9743 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9744 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9747 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9750 (__libc_ifunc_impl_list): Likewise.
9751 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9754 rawmemrchr for PPC64.
9756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9759 (__libc_ifunc_impl_list): Likewise.
9760 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9761 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9762 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9768 (__libc_ifunc_impl_list): Likewise.
9769 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9770 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9771 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9777 (__libc_ifunc_impl_list): Likewise.
9778 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9783 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9784 avoid cretion of __bzero symbol.
9785 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9787 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9789 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9792 multiarch implementations.
9793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9794 (__libc_ifunc_impl_list): Likewise.
9795 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9796 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9798 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9800 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9801 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9803 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9804 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9806 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9808 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9812 (__libc_ifunc_impl_list): Likewise.
9813 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9814 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9816 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9820 multiarch for POWER/PPC64.
9821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9822 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9832 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9833 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9834 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9835 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9836 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9837 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9838 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9839 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9840 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9841 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9842 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9843 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9844 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9845 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9846 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9855 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9857 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9859 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9861 * benchtests/Makefile (bench): Add exp2 and log2.
9862 (LDLIBS-bench-exp2): Add -lm.
9863 (LDLIBS-bench-log2): Likewise.
9864 * benchtests/exp2-inputs: New inputs file.
9865 * benchtests/log2-inputs: New inputs file.
9866 * benchtests/log-inputs: Add new inputs.
9867 * benchtests/tan-inputs: Likewise.
9869 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9873 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9874 (csloww2): ... from here.
9876 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9877 instead of structures.
9878 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9879 (POLYNOMIAL): Likewise.
9880 (TAYLOR_SLOW): Likewise.
9888 (bsloww1): Likewise.
9889 (bsloww2): Likewise.
9892 (csloww1): Likewise.
9893 (csloww2): Likewise.
9895 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9897 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9898 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9899 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9900 * malloc/hooks.c (realloc_check): Likewise.
9902 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9903 * malloc/arena.c: Remove PER_THREAD conditional.
9904 [!PER_THREAD]: Remove code.
9905 (ptmalloc_unlock_all2): Likewise.
9906 (ptmalloc_init): Likewise.
9907 (_int_new_arena): Likewise.
9908 (arena_get2): Likewise.
9909 * malloc/hooks.c (__malloc_get_state): Likewise.
9910 (__malloc_set_state): Likewise.
9911 * malloc/malloc.c: Likewise.
9912 (struct malloc_state): Likewise.
9913 (struct malloc_par): Likewise.
9914 (__libc_realloc): Likewise.
9915 (__libc_mallopt): Likewise.
9917 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9919 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9921 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9923 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9924 macro to a function. Check for zero perturb_byte.
9925 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9927 * malloc/malloc.c: (force_reg): Remove.
9928 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9929 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9930 force_reg by atomic_forced_read.
9931 * malloc/arena.c (ptmalloc_init): Likewise.
9932 * malloc/hooks.c (top_check): Likewise.
9934 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9938 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9942 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9944 * math/auto-libm-test-in: Add tests of lgamma.
9945 * math/auto-libm-test-out: Regenerated.
9946 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9947 (M_LOG_2_SQRT_PIl): Likewise.
9948 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9949 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9951 (func_calc_desc): Add mpfr_f_f1 union field.
9960 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9961 (test_functions): Add lgamma.
9962 (calc_generic_results): Handle mpfr_f_f1.
9963 * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9968 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9969 __mpn_add_n for PowerPC64/POWER7.
9970 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9971 __mpn_sub_n for PowerPC64/POWER7.
9973 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9974 __mpn_addmul_1 for PowerPC64.
9975 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9976 __mpn_submul_1 for PowerPC64.
9977 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9979 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9982 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9985 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9987 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9989 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9991 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9992 add multiarch folders.
9993 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9994 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9995 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9996 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9997 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9998 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9999 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10000 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10001 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10002 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10003 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10012 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10018 multiarch __ieee754_hypot for PowerPC32.
10019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10024 multiarch __ieee754_hypotf for PowerPC32.
10026 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10027 long_double_symbol only if __logbl is defined.
10028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10029 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10031 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10033 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10035 path for implementation.
10036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10039 logb, and logbl multiarch implementations for PowerPC32.
10040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10045 multiarch logb for PowerPC32.
10046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10051 multiarch logbf for PowerPC32.
10052 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10056 multiarch logbl implementation for PowerPC32.
10058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10059 and modff multiarch implementations.
10060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10065 multiarch modf for PowerPC32.
10066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10071 multiarch modff for PowerPC32.
10073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10074 and lrintf multiarch implementations.
10075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10080 multiarch lrint for PowerPC32.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10082 file: multiarch lrintf for PowerPC32.
10084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10085 and lroundf multiarch implementations.
10086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10093 multiarch lround for PowerPC32.
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10095 file: multiarch lroundf for PowerPC32.
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10098 copysign and copysignf multiarch implementations.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10104 file: multiarch copysign for PowerPC32.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10106 file: multiarch copysignf for PowerPC32.
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10109 and truncf multiarch implementations.
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10115 multiarch trunc for PowerPC32.
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10121 multiarch truncf for PowerPC32.
10123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10124 and roundf multiarch implementations.
10125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10130 multiarch round for PowerPC32.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10136 multiarch roundf for PowerPC32.
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10139 and floorf multiarch implementations.
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10145 multiarch floor for PowerPC32.
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10151 multiarch floorf for PowerPC32.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10154 and ceilf multiarch implementations.
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10160 multiarch ceil for PowerPC32.
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10166 multiarch ceilf for PowerPC32.
10168 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10170 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10171 FINITEF is defined.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10173 and finitef multiarch implementations.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10179 multiarch finite for PowerPC32.
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10183 file: multiarch finitef for PowerPC32.
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10186 and isinff multiarch implementations.
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10192 multiarch isinf for PowerPC32.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10196 multiarch isinff for PowerPC32.
10198 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10199 alias when __isnan is defined.
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10201 and isnanf multiarch implementations.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10211 multiarch isnan for PowerPC32.
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10217 multiarch isnanf for PowerPC32.
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10220 and sqrtf multiarch implementations.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10226 multiarch sqrt for PowerPC32.
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10232 multiarch sqrtf for PowerPC32.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10235 and llroundf multiarch implementations.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10243 file: multiarch llround for PowerPC32.
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10245 file: multiarch llroundf for PowerPC32.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10248 multiarch PowerPC32 fpu implementations.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10254 multiarch llrint for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10264 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10271 multiarch wordcopy for PPC32.
10272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10275 (__libc_ifunc_impl_list): Likewise.
10276 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10277 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10279 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10280 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10281 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10283 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10291 multiarch wcscpy for PPC32.
10292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10295 (__libc_ifunc_impl_list): Likewise.
10296 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10297 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10298 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10299 sysdeps/powerpc/power6/wcscpy.c.
10301 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10309 multiarch wcsrchr for PPC32.
10310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10313 (__libc_ifunc_impl_list): Likewise.
10314 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10315 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10316 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10317 sysdeps/powerpc/power6/wcsrchr.c.
10319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10325 multiarch wcschr for PPc32.
10326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10329 (__libc_ifunc_impl_list): Likewise.
10330 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10331 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10332 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10333 sysdeps/powerpc/power6/wcschr.c.
10335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10339 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10340 file: multiarch strchr for PPC32.
10341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10344 (__libc_ifunc_impl_list): Likewise.
10346 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10348 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10353 multiarch strchrnul for PPC32.
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10357 (__libc_ifunc_impl_list): Likewise.
10359 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10362 multiarch strncasecmp for PPC32.
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10366 multiarch strncasecmp_l for PPC32.
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10368 strncasecmp multiarch objects.
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10370 (__libc_ifunc_impl_list): Likewise.
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10375 multiarch strncasecmp for PPC32.
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10379 multiarch strcasecmp_l for PPC32.
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10383 (__libc_ifunc_impl_list): Likewise.
10385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10390 multiarch strncmp for PPC32.
10391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10394 (__libc_ifunc_impl_list): Likewise.
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10397 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10404 (__libc_ifunc_impl_list): Likewise.
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10411 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10413 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10414 (__libc_ifunc_impl_list): Likewise.
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10421 multiarch rawmemchr for PPC32.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10425 (__libc_ifunc_impl_list): Likewise.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10432 file: memrchr multiarch for PPC32.
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10436 (__libc_ifunc_impl_list): Likewise.
10438 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10443 multiarch memchr for PPC32.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10447 (__libc_ifunc_impl_list): Likewise.
10449 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10455 file: multiarch mempcpy for PPC32.
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10459 (__libc_ifunc_impl_list): Likewise.
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10465 multiarch bzero for PPC32.
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10471 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10472 file: multiarch memset for PPC32.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10475 memset multiarch objects.
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10477 (__libc_ifunc_impl_list): Likewise.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10488 (__libc_ifunc_impl_list): Likewise.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10499 multiarch memcpy for PPC32.
10500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10503 (__libc_ifunc_impl_list): Likewise.
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10506 support multiarch for POWER/PPC32.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10511 Implies file to make multiarch folder appers before the fpu and
10512 default folder for power4 configuration.
10514 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10516 * scripts/bench.pl: Append volatile keyword to type.
10518 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10520 * sysdeps/sh/sotruss-lib.c: New file.
10521 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10523 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10527 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10530 * math/w_tgamma.c: Include <errno.h>.
10531 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10532 * math/w_tgammaf.c: Include <errno.h>.
10533 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10534 * math/w_tgammal.c: Include <errno.h>.
10535 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10536 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10537 underflow. Add more tgamma tests.
10538 * math/auto-libm-test-out: Regenerated.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10542 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10543 sin, sinh, tan, tanh, tgamma, y0 and y1.
10544 * math/auto-libm-test-out: Regenerated.
10545 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10546 (TEST_COND_x86): Likewise.
10547 (M_E2l): Remove macro.
10549 (M_2_SQRT_PIl): Likewise.
10550 (M_SQRT_PIl): Likewise.
10551 (M_1_DIV_El): Likewise.
10552 (log_test_data): Use AUTO_TESTS_f_f.
10553 (log10_test_data): Likewise.
10554 (log1p_test_data): Likewise.
10555 (log2_test_data): Likewise.
10556 (sin_test_data): Likewise.
10557 (sin_tonearest_test_data): Likewise.
10558 (sin_towardzero_test_data): Likewise.
10559 (sin_downward_test_data): Likewise.
10560 (sin_upward_test_data): Likewise.
10561 (sinh_test_data): Likewise.
10562 (sinh_tonearest_test_data): Likewise.
10563 (sinh_towardzero_test_data): Likewise.
10564 (sinh_downward_test_data): Likewise.
10565 (sinh_upward_test_data): Likewise.
10566 (tan_test_data): Likewise.
10567 (tan_tonearest_test_data): Likewise.
10568 (tan_towardzero_test_data): Likewise.
10569 (tan_downward_test_data): Likewise.
10570 (tan_upward_test_data): Likewise.
10571 (tanh_test_data): Likewise.
10572 (tgamma_test_data): Likewise.
10573 (y0_test_data): Likewise.
10574 (y1_test_data): Likewise.
10575 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10576 (special_real_inputs): Add pi/4.
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10580 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10582 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10583 "longjmp_target" static probes.
10584 (__longjmp): Rename to __longjmp_symbol.
10585 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10586 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10587 on which longjmp to generate.
10588 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10589 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10591 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10592 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10593 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10594 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10595 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10596 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10598 __longjmp_symbol based on which __longjmp to generate.
10599 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10601 (setjmp): Rename to setjmp_symbol.
10602 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10603 (_setjmp): Rename to _setjmp_symbol.
10604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10605 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10606 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10607 which setjmp to generate.
10608 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10609 "longjmp_target" static probes.
10611 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10613 * benchtests/README: Add note about output arguments.
10614 * benchtests/bench-sincos.c: Remove file.
10615 * benchtests/sincos-inputs: New file.
10616 * scripts/bench.pl: Identify output arguments and define
10617 static variables for them.
10619 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10622 * Makefile (INSTALL): Add install-plain.texi as the primary
10624 * manual/install-plain.texi: New file.
10625 * manual/install.texi: Include node directive only for
10626 non-plaintext output.
10628 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10630 * stdlib/longlong.h: Update from GCC.
10634 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10635 * math/w_j0f.c (y0f): Likewise.
10636 * math/w_j0l.c (__y0l): Likewise.
10637 * math/w_j1.c (y1): Likewise.
10638 * math/w_j1f.c (y1f): Likewise.
10639 * math/w_j1l.c (__y1l): Likewise
10640 * math/w_jn.c (yn): Likewise.
10641 * math/w_jnf.c (ynf): Likewise.
10642 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10643 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10644 value for Bessel function domain errors outside _SVID_ mode.
10645 Adjust sign of return value for yn (negative integer, 0).
10646 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10647 by zero in return for negative x and set sign appropriately for
10649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10651 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10652 expectations in error cases.
10653 (y1_test_data): Likewise.
10654 (yn_test_data): Likewise.
10655 * sysdeps/i386/fpu/libm-test-ulps: Update.
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10660 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10661 "64" to "64-v1". Add "64-v2".
10662 (abi-64-options): Rename to ...
10663 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10664 (abi-64-condition): Rename to ...
10665 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10666 (abi-64-ld-soname): Rename to ...
10667 (abi-64-v1-ld-soname): ... this.
10668 (abi-64-v2-options): Define.
10669 (abi-64-v2-condition): Likewise.
10670 (abi-64-v2-ld-soname): Likewise.
10671 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10672 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10677 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10678 Alan Modra <amodra@gmail.com>
10680 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10681 New versions for use with the ELFv2 ABI.
10682 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10683 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10685 (struct La_ppc64v2_retval): Likewise.
10686 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10687 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10688 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10689 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10690 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10691 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10692 Do not save or restore CR.
10693 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10694 (_dl_profile_resolve): Do no save or restore CR. Support extended
10695 return values for ELFv2 ABI. Fix location of FPR return registers.
10696 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10697 updated values for _CALL_ELF == 2.
10698 (La_regs, La_retval, int_retval): Likewise.
10700 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10702 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10703 (FRAME_MIN_SIZE_PARM): Likewise.
10704 (FRAME_BACKCHAIN): Likewise.
10705 (FRAME_CR_SAVE): Likewise.
10706 (FRAME_LR_SAVE): Likewise.
10707 (FRAME_TOC_SAVE): Likewise.
10708 (FRAME_PARM_SAVE): Likewise.
10709 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10710 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10711 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10712 (call_mcount_parm_offset): New macro.
10713 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10714 (PROF): Use symbolic stack frame offsets.
10715 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10717 Redefine in terms of FRAME_MIN_SIZE.
10718 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10719 (_dl_profile_resolve): Likewise. Update comment.
10720 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10721 symbols stack frame offsets.
10722 (__sigsetjmp): Likewise.
10723 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10724 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10725 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10726 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10729 (FRAME_BACKCHAIN): Remove.
10730 (FRAME_CR_SAVE): Likewise.
10731 (FRAME_LR_SAVE): Likewise.
10732 (FRAME_COMPILER_DW): Likewise.
10733 (FRAME_LINKER_DW): Likewise.
10734 (FRAME_TOC_SAVE): Likewise.
10735 (FRAME_PARM_SAVE): Likewise.
10736 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10737 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10738 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10740 (CHECK_SP): Use symbolic stack frame offsets.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10742 zone" instead of caller's parameter save area for temp storage.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10744 Likewise. Also, use symbolic stack frame offsets.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10746 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10747 our own stack frame instead of the caller's.
10748 (__socket): Use symbolic stack frame offsets.
10750 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10751 Alan Modra <amodra@gmail.com>
10753 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10755 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10756 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10757 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10759 (elf_machine_fixup_plt): Call it.
10760 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10762 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10763 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10764 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10765 r2 before calling target.
10767 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10768 Alan Modra <amodra@gmail.com>
10770 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10771 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10772 versions of macros to support ELFv2 ABI.
10773 (LOCALENTRY): New macro.
10774 (ENTRY, EALIGN): Use it.
10775 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10776 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10777 fall through into ENTRY entry point.
10778 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10779 Only define if _CALL_ELF != 2.
10781 (elf_machine_matches_host): Verify ABI version matches.
10782 (RTLD_START): Use LOCALENTRY.
10783 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10784 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10785 (PLT_ENTRY_WORDS): New macro.
10786 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10787 (elf_machine_runtime_setup): Support ELFv2 ABI.
10788 (elf_machine_fixup_plt): Likewise.
10789 (elf_machine_plt_conflict): Likewise.
10790 (resolve_ifunc): Likewise.
10791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10792 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10795 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10797 (makecontext): Support ELFv2 ABI.
10798 * elf/elf.h (EF_PPC64_ABI): Define.
10800 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10802 * sysdeps/powerpc/powerpc64/sysdep.h
10803 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10804 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10805 (ENTRY) [ASSEMBLER]: ... but instead here ...
10806 (EALIGN) [ASSEMBLER]: ... and here.
10807 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10808 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10809 (ENTRY_2) [!ASSEMBLER]: Use it.
10810 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10811 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10813 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10814 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10816 Use PPC64_LOAD_FUNCPTR.
10818 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10820 2013-12-04 Alan Modra <amodra@gmail.com>
10822 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10823 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10824 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10825 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10828 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10829 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10830 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10831 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10832 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10834 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10837 (__makecontext): Fix incorrect CFI when backtracing out of
10838 context created via makecontext.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10840 (__setcontext): Fix incorrect CFI during switch to new context.
10841 (__novec_setcontext): Likewise.
10843 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10846 * time/strptime_l.c (__strptime_internal): Allow modifiers
10848 * time/tst-strptime.c (day_tests): Add testcase.
10850 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10852 * scripts/bench.pl: Skip over blank lines.
10854 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10857 * manual/time.texi (Calendar Time): Clarify what timezone functions
10860 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10864 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10866 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10868 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10869 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10870 * debug/memset_chk.c (__memset_chk): Likewise.
10871 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10872 * debug/strncpy_chk.c: Likewise.
10874 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10878 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10879 (__ieee754_exp): For possibly underflowing results, check size of
10880 result and force underflow exception if required.
10881 * math/auto-libm-test-in: Add more tests of exp.
10882 * math/auto-libm-test-out: Regenerated.
10883 * sysdeps/i386/fpu/libm-test-ulps: Update.
10884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10887 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10888 * math/w_exp2f.c (__exp2f): Likewise.
10889 * math/w_exp2l.c (__exp2l): Likewise.
10890 * math/auto-libm-test-in: Do not allow missing errno on exp2
10892 * math/auto-libm-test-out: Regenerated.
10894 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10897 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10898 handle filename validation.
10899 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10902 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10905 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10906 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10907 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10909 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10911 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10916 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10917 Add more erfc tests.
10918 * math/auto-libm-test-out: Regenerated.
10919 * sysdeps/i386/fpu/libm-test-ulps: Update.
10920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10922 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10923 exp2, expm1, j0 and j1.
10924 * math/auto-libm-test-out: Regenerated.
10925 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10926 (erfc_test_data): Likewise.
10927 (exp_test_data): Likewise.
10928 (exp_tonearest_test_data): Likewise.
10929 (exp_towardzero_test_data): Likewise.
10930 (exp_downward_test_data): Likewise.
10931 (exp_upward_test_data): Likewise.
10932 (exp10_test_data): Likewise.
10933 (exp2_test_data): Likewise.
10934 (expm1_test_data): Likewise.
10935 (j0_test_data): Likewise.
10936 (j1_test_data): Likewise.
10937 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10938 (input_flag_type): Add flag_xfail_rounding.
10939 (input_flags): Add xfail-rounding.
10940 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10941 (output_for_one_input_case): Handle flag_xfail_rounding.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10948 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10951 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10954 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10955 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10956 (STAP_PROBE0): New macro.
10957 (STAP_PROBE1): Likewise.
10958 (STAP_PROBE2): Likewise.
10959 (STAP_PROBE3): Likewise.
10960 (STAP_PROBE4): Likewise.
10962 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10964 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10966 2013-12-02 Steve Ellcey <sellcey@mips.com>
10968 * benchtests/Makefile (bench): Add sqrt.
10969 (LDLIBS-bench-sqrt): New.
10970 * benchtests/sqrt-input: New.
10972 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10974 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10975 (GAIH_EAI): Likewise.
10976 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10977 (gaih_inet): Likewise.
10978 (getaddrinfo): Don't use GAIH_EAI.
10980 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10981 (struct gaih): Remove definition.
10983 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10985 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10986 Use HERRNOP directly.
10988 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10992 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10994 * math/gen-auto-libm-tests.c (test_functions): Add more
10995 single-argument functions.
10996 (special_fill_pi_2): New function.
10997 (special_fill_minus_pi_2): Likewise.
10998 (special_fill_pi_6): Likewise.
10999 (special_fill_minus_pi_6): Likewise.
11000 (special_fill_pi_3): Likewise.
11001 (special_fill_2pi_3): Likewise.
11002 (special_fill_e): Likewise.
11003 (special_fill_1_e): Likewise.
11004 (special_fill_e_minus_1): Likewise.
11005 (special_real_inputs): Add more special inputs.
11006 (output_for_one_input_case): Do not require ERANGE on underflow to
11007 zero if round-to-nearest result does not underflow to zero, unless
11008 exact results required.
11009 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11010 atan, atanh, cbrt, cos and cosh.
11011 * math/auto-libm-test-out: Regenerated.
11012 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11013 (acos_tonearest_test_data): Likewise.
11014 (acos_towardzero_test_data): Likewise.
11015 (acos_downward_test_data): Likewise.
11016 (acos_upward_test_data): Likewise.
11017 (acosh_test_data): Likewise.
11018 (asin_test_data): Likewise.
11019 (asin_tonearest_test_data): Likewise.
11020 (asin_towardzero_test_data): Likewise.
11021 (asin_upward_test_data): Likewise.
11022 (asinh_test_data): Likewise.
11023 (atan_test_data): Likewise.
11024 (atanh_test_data): Likewise.
11025 (cbrt_test_data): Likewise.
11026 (cos_test_data): Likewise.
11027 (cos_tonearest_test_data): Likewise.
11028 (cos_towardzero_test_data): Likewise.
11029 (cos_downward_test_data): Likewise.
11030 (cos_upward_test_data): Likewise.
11031 (cosh_test_data): Likewise.
11032 (cosh_tonearest_test_data): Likewise.
11033 (cosh_towardzero_test_data): Likewise.
11034 (cosh_downward_test_data): Likewise.
11035 (cosh_upward_test_data): Likewise.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11042 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11043 * math/w_exp10f.c (__exp10f): Likewise.
11044 * math/w_exp10l.c (__exp10l): Likewise.
11045 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11046 errno settings in existing tests.
11049 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11050 precision control set to double precision.
11051 * sysdeps/i386/fpu/w_sqrt.c: New file.
11052 * math/auto-libm-test-in: Add more tests.
11053 * math/auto-libm-test-out: Update.
11055 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11056 (sqrt_test_tonearest): New function.
11057 (sqrt_towardzero_test_data): New variable.
11058 (sqrt_test_towardzero): New function.
11059 (sqrt_downward_test_data): New variable.
11060 (sqrt_test_downward): New function.
11061 (sqrt_upward_test_data): New variable.
11062 (sqrt_test_upward): New function.
11063 (main): Call the new functions.
11065 * math/gen-auto-libm-tests.c: New file.
11066 * math/auto-libm-test-in: Likewise.
11067 * math/auto-libm-test-out: New generated file.
11068 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11070 (%beautify): Add generated representations of zero.
11071 (top level): Set $auto_input and call parse_auto_input.
11072 (beautify): Remove trailing "f" from hex float constants.
11073 (parse_args): Handle XFAIL_TEST.
11074 (convert_condition): New function.
11075 (or_value): Likewise.
11076 (or_cond_value): Likewise.
11077 (generate_testfile): Handle AUTO_TESTS_* lines.
11078 (parse_auto_input): New function.
11079 * math/libm-test.inc (XFAIL_TEST): New macro.
11080 (ERRNO_UNCHANGED): Update value.
11081 (ERRNO_EDOM): Likewise.
11082 (ERRNO_ERANGE): Likewise.
11083 (IGNORE_RESULT): Likewise.
11084 (TEST_COND_flt_32): New macro.
11085 (TEST_COND_dbl_64): Likewise.
11086 (TEST_COND_ldbl_96_intel): Likewise.
11087 (TEST_COND_ldbl_96_m68k): Likewise.
11088 (TEST_COND_ldbl_128): Likewise.
11089 (TEST_COND_ldbl_128ibm): Likewise.
11090 (TEST_COND_long32): Likewise.
11091 (TEST_COND_long64): Likewise.
11092 (TEST_COND_before_rounding): Likewise.
11093 (TEST_COND_after_rounding): Likewise.
11094 (enable_test): Handle XFAIL_TEST flag.
11095 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11096 with finite results.
11097 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11098 auto-libm-test-out.
11100 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11101 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11104 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11105 __tls_get_addr_internal instead of __tls_get_offset in order to
11106 avoid GOT pointer dependency. Make rtld export
11107 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11108 __tls_get_addr since we are a __tls_get_offset platform.
11109 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11110 GOT pointer being set up before.
11111 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11113 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11115 * manual/math.texi (Errors in Math Functions): Document accuracy
11119 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11132 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11136 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11137 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11138 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11139 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11140 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11146 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11147 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11148 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11149 atomic-feupdateenv and flt-rounds.
11150 * sysdeps/powerpc/nofpu/Versions (libc): Add
11151 __atomic_feholdexcept, __atomic_feclearexcept,
11152 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11154 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11156 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11161 * manual/arith.texi (FP Exceptions): Document that exceptions may
11162 not be raised when matherr is used.
11163 (Math Error Reporting): Document overflow in directed rounding
11164 modes. Document that errno may not be set when finite values are
11165 returned on overflow. Document intent to set errno on underflow
11166 only for underflow to zero.
11169 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11170 round-to-nearest then adjust result for other rounding modes.
11171 * include/fenv.h (fegetround): Use libm_hidden_proto.
11172 * math/fegetround.c (fegetround): Use libm_hidden_def.
11173 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11174 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11175 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11176 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11178 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11180 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11181 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11183 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11186 * nss/Versions (libnss_files): Add
11187 _nss_files_gethostbyname3_r.
11188 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11190 (HOST_DB_LOOKUP): Remove macro.
11191 (_nss_files_gethostbyname_r): Implement function without the
11192 HOST_DB_LOOKUP macro.
11193 (_nss_files_gethostbyname2_r): Likewise.
11195 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11197 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11199 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11201 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11202 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11205 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11207 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11208 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11209 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11210 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11211 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11212 __fe_nomask_env_priv and attribute_hidden.
11213 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11214 (libc_feupdateenv_test_ppc): Likewise.
11215 (libc_feresetround_ppc): Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11217 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11218 compat_symbol macro.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11220 (__fe_nomask_env): Likewise.
11221 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11223 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11225 * string/Makefile: Remove ifunc tests.
11226 * string/test-string.h: Define TEST_IFUNC.
11227 * string/test-bcopy-ifunc.c: Remove.
11228 * string/test-bzero-ifunc.c: Likewise.
11229 * string/test-memccpy-ifunc.c: Likewise.
11230 * string/test-memchr-ifunc.c: Likewise.
11231 * string/test-memcmp-ifunc.c: Likewise.
11232 * string/test-memcpy-ifunc.c: Likewise.
11233 * string/test-memmem-ifunc.c: Likewise.
11234 * string/test-memmove-ifunc.c: Likewise.
11235 * string/test-mempcpy-ifunc.c: Likewise.
11236 * string/test-memrchr-ifunc.c: Likewise.
11237 * string/test-memset-ifunc.c: Likewise.
11238 * string/test-rawmemchr-ifunc.c: Likewise.
11239 * string/test-stpcpy-ifunc.c: Likewise.
11240 * string/test-stpncpy-ifunc.c: Likewise.
11241 * string/test-strcasecmp-ifunc.c: Likewise.
11242 * string/test-strcasestr-ifunc.c: Likewise.
11243 * string/test-strcat-ifunc.c: Likewise.
11244 * string/test-strchr-ifunc.c: Likewise.
11245 * string/test-strchrnul-ifunc.c: Likewise.
11246 * string/test-strcmp-ifunc.c: Likewise.
11247 * string/test-strcpy-ifunc.c: Likewise.
11248 * string/test-strcspn-ifunc.c: Likewise.
11249 * string/test-strlen-ifunc.c: Likewise.
11250 * string/test-strncasecmp-ifunc.c: Likewise.
11251 * string/test-strncat-ifunc.c: Likewise.
11252 * string/test-strncmp-ifunc.c: Likewise.
11253 * string/test-strncpy-ifunc.c: Likewise.
11254 * string/test-strnlen-ifunc.c: Likewise.
11255 * string/test-strpbrk-ifunc.c: Likewise.
11256 * string/test-strrchr-ifunc.c: Likewise.
11257 * string/test-strspn-ifunc.c: Likewise.
11258 * string/test-strstr-ifunc.c: Likewise.
11260 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11262 * benchtests/Makefile: Remove ifunc tests.
11263 * benchtests/bench-string.h: Define TEST_IFUNC.
11264 * benchtests/bench-bcopy-ifunc.c: Remove.
11265 * benchtests/bench-bzero-ifunc.c: Likewise.
11266 * benchtests/bench-memccpy-ifunc.c: Likewise.
11267 * benchtests/bench-memchr-ifunc.c: Likewise.
11268 * benchtests/bench-memcmp-ifunc.c: Likewise.
11269 * benchtests/bench-memcpy-ifunc.c: Likewise.
11270 * benchtests/bench-memmem-ifunc.c: Likewise.
11271 * benchtests/bench-memmove-ifunc.c: Likewise.
11272 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11273 * benchtests/bench-memrchr-ifunc.c: Likewise.
11274 * benchtests/bench-memset-ifunc.c: Likewise.
11275 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11276 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11277 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11278 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11279 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11280 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11281 * benchtests/bench-strcat-ifunc.c: Likewise.
11282 * benchtests/bench-strchr-ifunc.c: Likewise.
11283 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11284 * benchtests/bench-strcmp-ifunc.c: Likewise.
11285 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11286 * benchtests/bench-strcpy-ifunc.c: Likewise.
11287 * benchtests/bench-strcspn-ifunc.c: Likewise.
11288 * benchtests/bench-strlen-ifunc.c: Likewise.
11289 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11290 * benchtests/bench-strncat-ifunc.c: Likewise.
11291 * benchtests/bench-strncmp-ifunc.c: Likewise.
11292 * benchtests/bench-strncpy-ifunc.c: Likewise.
11293 * benchtests/bench-strnlen-ifunc.c: Likewise.
11294 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11295 * benchtests/bench-strrchr-ifunc.c: Likewise.
11296 * benchtests/bench-strsep-ifunc.c: Likewise.
11297 * benchtests/bench-strspn-ifunc.c: Likewise.
11298 * benchtests/bench-strstr-ifunc.c: Likewise.
11300 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11302 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11304 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11306 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11307 * rt/aio.h: Likewise.
11308 * sysdeps/gnu/bits/utmp.h: Likewise.
11309 * sysdeps/gnu/bits/utmpx.h: Likewise.
11310 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11311 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11312 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11313 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11314 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11315 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11316 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11317 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11325 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11328 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11330 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11331 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11333 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11334 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11336 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11337 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11338 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11344 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11345 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11346 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11348 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11349 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11350 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11351 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11353 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11356 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11357 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11359 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11361 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11362 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11365 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11368 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11369 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11370 (__fesetround): Remove define.
11371 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11372 rounding and exceptions handling.
11373 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11374 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11375 (__fe_nomask_env): Likewise.
11376 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11377 __fegetround instead of fegetround.
11378 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11379 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11381 2013-11-21 Roland McGrath <roland@hack.frob.com>
11383 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11386 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11388 2013-11-21 Meador Inge <meadori@codesourcery.com>
11391 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11392 (encrypt_r): Likewise.
11393 * malloc/obstack.h (obstack_free): Likewise.
11394 * posix/unistd.h (encrypt): Likewise.
11396 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11398 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11399 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11400 DL_CALL_DT_FINI() that call the functions directly.
11401 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11402 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11403 * elf/dl-fini.c: Likewise.
11405 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11407 * malloc/hooks.c (memalign_check): Add alignment rounding.
11408 * malloc/malloc.c (_mid_memalign): New function.
11409 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11410 Implement by calling _mid_memalign.
11411 * manual/probes.texi (Memory Allocation Probes): Remove
11412 memory_valloc_retry and memory_pvalloc_retry.
11414 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 * locale/programs/locarchive.c (open_archive): Add const
11417 qualifier to ARCHIVEFNAME and copy default fname to
11421 * libio/tst-widetext.input: Rename Oriya to Odia.
11422 * locale/iso-639.def: Likewise.
11424 * manual/probes.texi (Mathematical Function Probes): Add
11425 documentation for sin, cos, asin and acos probes.
11426 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11427 (__sin32): Add slowasin probe.
11428 (__cos32): Add slowacos probe.
11429 (__mpsin): Add slowsin probe.
11430 (__mpcos): Add slowcos probe.
11432 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11435 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11436 thread-local __sim_exceptions_thread and global
11437 __sim_exceptions_global.
11438 (__sim_disabled_exceptions): Change to thread-local
11439 __sim_disabled_exceptions_thread and global
11440 __sim_disabled_exceptions_global.
11441 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11442 and global __sim_round_mode_global.
11443 (__simulate_exceptions): Use thread-local floating-point state and
11444 set global state from it as needed.
11445 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11446 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11447 __sim_round_mode_thread.
11448 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11449 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11450 and global __sim_exceptions_global.
11451 (__sim_disabled_exceptions): Change to thread-local
11452 __sim_disabled_exceptions_thread and global
11453 __sim_disabled_exceptions_global.
11454 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11455 and global __sim_round_mode_global.
11456 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11457 (SIM_SET_GLOBAL): Likewise.
11458 * sysdeps/powerpc/soft-fp/sfp-machine.h
11459 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11460 __sim_round_mode_thread.
11461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11462 __sim_disabled_exceptions_thread.
11463 (__sim_exceptions): Change to __sim_exceptions_thread.
11464 (__sim_disabled_exceptions): Change to
11465 __sim_disabled_exceptions_thread.
11466 (__sim_round_mode): Change to __sim_round_mode_thread.
11467 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11468 thread-local floating-point state and set global state from it as
11470 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11471 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11472 (__sim_disabled_exceptions): Remove extern declaration.
11473 (feenableexcept): Use thread-local floating-point state and set
11474 global state from it as needed.
11475 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11476 extern declaration.
11477 (__sim_disabled_exceptions): Likewise.
11478 (__sim_round_mode): Likewise.
11479 (__fegetenv): Use thread-local floating-point state.
11480 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11481 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11482 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11483 floating-point state and set global state from it as needed.
11484 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11485 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11486 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11488 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11489 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11491 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11492 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11493 Use __sim_round_mode_thread.
11494 * math/test-fenv-tls.c: New file.
11495 * math/Makefile (tests): Add test-fenv-tls.
11496 ($(objpfx)test-fenv-tls): Depend on
11497 $(common-objpfx)nptl/libpthread.so.
11499 2013-11-19 Andreas Schwab <schwab@suse.de>
11501 * locale/programs/locale.c (show_info): Decode wordarray elements.
11502 * locale/categories.def (LC_MONETARY): Add element for
11503 _NL_MONETARY_CRNCYSTR.
11504 * locale/C-monetary.c (conversion_rate): New variable.
11505 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11508 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11510 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11511 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11513 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11515 * elf/Makefile (tst-auxv): New test.
11516 * elf/tst-auxv.c: New
11517 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11519 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11521 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11522 (hidden_proto): Caller changed.
11523 (hidden_tls_proto): New macro.
11524 (libc_hidden_tls_proto): Likewise.
11525 (rtld_hidden_tls_proto): Likewise.
11526 (libm_hidden_tls_proto): Likewise.
11527 (libresolv_hidden_tls_proto): Likewise.
11528 (librt_hidden_tls_proto): Likewise.
11529 (libdl_hidden_tls_proto): Likewise.
11530 (libnss_files_hidden_tls_proto): Likewise.
11531 (libnsl_hidden_tls_proto): Likewise.
11532 (libnss_nisplus_hidden_tls_proto): Likewise.
11533 (libutil_hidden_tls_proto): Likewise.
11535 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11538 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11539 (decompose_rpath): Defer expansion to fillin_rpath.
11540 (_dl_init_paths): Pass linkmap to fillin_rpath.
11542 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11544 * benchtests/Makefile: Add strsep.
11545 * benchtests/bench-strsep.c: New file: strsep benchtest.
11546 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11548 2013-11-18 Andreas Schwab <schwab@suse.de>
11550 * locale/programs/locale.c (show_info) [case byte]: Check for
11551 '\377' instead of '\177'.
11552 * locale/C-monetary.c (not_available): Always use "\377".
11553 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11554 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11555 detect unavailable sign_posn locale elements.
11556 * locale/localeconv.c (__localeconv): For grouping and
11557 mon_grouping handle "\177" and "\377" like no grouping.
11558 (INT_ELEM): New macro. Use it to set all numeric members.
11559 * locale/programs/ld-monetary.c (monetary_read)
11560 <tok_mon_grouping>: Normalize single -1 to the empty string.
11561 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11564 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11567 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11568 when we match (nil).
11569 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11571 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11573 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11574 (NO_TEST_INLINE): Update value.
11575 (ERRNO_UNCHANGED): Likewise.
11576 (ERRNO_EDOM): Likewise.
11577 (ERRNO_ERANGE): Likewise.
11578 (IGNORE_RESULT): Likewise.
11579 (check_float_internal): Check signs of NaN results if
11580 TEST_NAN_SIGN used.
11581 (check_complex): Pass TEST_NAN_SIGN flag through to second
11582 check_float_internal call.
11583 (copysign_test_data): Add tests with quiet NaNs as second
11584 argument. Use TEST_NAN_SIGN.
11585 (fabs_test_data): Add test of negative quiet NaN argument. Use
11587 (signbit_test_data): Add tests of quiet NaN argument.
11588 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11590 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11592 (parse_args): Handle function results specified as IGNORE.
11593 * math/libm-test.inc (IGNORE_RESULT): New macro.
11594 (check_float_internal): Do not check numerical result if flag
11596 (check_complex): Pass through IGNORE_RESULT to second
11597 check_float_internal call.
11598 (check_int): Do not check numerical result if flag IGNORE_RESULT
11600 (check_long): Likewise.
11601 (check_bool): Likewise.
11602 (check_longlong): Likewise.
11603 (lrint_test_data): Add tests of infinite and NaN arguments.
11604 (lrint_tonearest_test_data): Likewise.
11605 (lrint_towardzero_test_data): Likewise.
11606 (lrint_downward_test_data): Likewise.
11607 (lrint_upward_test_data): Likewise.
11608 (llrint_test_data): Likewise.
11609 (llrint_tonearest_test_data): Likewise.
11610 (llrint_towardzero_test_data): Likewise.
11611 (llrint_downward_test_data): Likewise.
11612 (llrint_upward_test_data): Likewise.
11613 (lround_test_data): Likewise.
11614 (llround_test_data): Likewise.
11616 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11617 (ERRNO_UNCHANGED): Update value.
11618 (ERRNO_EDOM): Likewise.
11619 (ERRNO_ERANGE): Likewise.
11620 (NO_TEST_INLINE_FLOAT): New macro.
11621 (NO_TEST_INLINE_DOUBLE): Likewise.
11622 (enable_test): New function.
11623 (RUN_TEST_f_f): Check enable_test before running test.
11624 (RUN_TEST_2_f): Likewise.
11625 (RUN_TEST_fff_f): Likewise.
11626 (RUN_TEST_c_f): Likewise.
11627 (RUN_TEST_f_f1): Likewise.
11628 (RUN_TEST_fF_f1): Likewise.
11629 (RUN_TEST_fI_f1): Likewise.
11630 (RUN_TEST_ffI_f1): Likewise.
11631 (RUN_TEST_c_c): Likewise.
11632 (RUN_TEST_cc_c): Likewise.
11633 (RUN_TEST_f_i): Likewise.
11634 (RUN_TEST_f_i_tg): Likewise.
11635 (RUN_TEST_ff_i_tg): Likewise.
11636 (RUN_TEST_f_b): Likewise.
11637 (RUN_TEST_f_b_tg): Likewise.
11638 (RUN_TEST_f_l): Likewise.
11639 (RUN_TEST_f_L): Likewise.
11640 (RUN_TEST_fFF_11): Likewise.
11641 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11643 (cosh_test_data): Likewise.
11644 (exp_test_data): Likewise.
11645 (expm1_test_data): Likewise.
11646 (hypot_test_data): Likewise.
11647 (pow_test_data): Likewise.
11648 (sinh_test_data): Likewise.
11649 (tanh_test_data): Likewise.
11650 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11653 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11654 tests with quiet NaN input and output.
11655 (acosh_test_data): Likewise.
11656 (asin_test_data): Likewise.
11657 (asinh_test_data): Likewise.
11658 (atan_test_data): Likewise.
11659 (atanh_test_data): Likewise.
11660 (atan2_test_data): Likewise.
11661 (cbrt_test_data): Likewise.
11662 (cos_test_data): Likewise.
11663 (cosh_test_data): Likewise.
11664 (erf_test_data): Likewise.
11665 (erfc_test_data): Likewise.
11666 (exp_test_data): Likewise.
11667 (exp10_test_data): Likewise.
11668 (exp2_test_data): Likewise.
11669 (expm1_test_data): Likewise.
11670 (hypot_test_data): Likewise.
11671 (j0_test_data): Likewise.
11672 (j1_test_data): Likewise.
11673 (jn_test_data): Likewise.
11674 (lgamma_test_data): Likewise.
11675 (log_test_data): Likewise.
11676 (log10_test_data): Likewise.
11677 (log1p_test_data): Likewise.
11678 (log2_test_data): Likewise.
11679 (pow_test_data): Likewise.
11680 (scalb_test_data): Likewise.
11681 (sin_test_data): Likewise.
11682 (sincos_test_data): Likewise.
11683 (sinh_test_data): Likewise.
11684 (tan_test_data): Likewise.
11685 (tanh_test_data): Likewise.
11686 (tgamma_test_data): Likewise.
11687 (y0_test_data): Likewise.
11688 (y1_test_data): Likewise.
11689 (yn_test_data): Likewise.
11692 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11693 argument being NaN and avoid computations with second argument in
11695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11696 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11697 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11699 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11701 * locale/iso-639.def: Add Chitwani Tharu (the).
11703 2013-11-14 Andreas Schwab <schwab@suse.de>
11705 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11706 word instead of empty string.
11708 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11711 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11713 (__fe_nomask_env): Likewise.
11715 2013-11-13 Steve Ellcey <sellcey@mips.com>
11717 * benchtests/bench-timing.h: Include time.h.
11719 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11722 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11724 * sysdeps/unix/sysv/linux/configure: Regenerated.
11726 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11729 * stdlib/strtod_l.c (round_and_return): Do not consider
11730 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11731 exponent one less than half the least subnormal exponent.
11732 * stdlib/test-strtod-round-data: Add more tests.
11733 * stdlib/tst-strtod-round.c (tests): Regenerated.
11735 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11738 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11739 (__fe_mask_env): Likewise.
11740 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11741 libm_hidden_proto and add function prototype.
11742 (__fe_mask_env): Add function prototype.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11744 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11746 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11748 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11750 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11752 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11753 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11755 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11757 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11758 of htab_find_slot().
11760 2013-11-11 David S. Miller <davem@davemloft.net>
11763 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11764 symbol in the non-vis3 case in static builds.
11765 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11766 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11767 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11768 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11770 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11773 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11776 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11778 * benchtests/Makefile: Add bench-strtod.
11779 * benchtests/bench-strtod.c: New file: strtod benchtest
11781 2013-11-11 Andreas Schwab <schwab@suse.de>
11784 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11785 terminating NUL in key length.
11787 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11790 Add artificial ODP entry for vDSO symbol for PPC64.
11791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11792 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11794 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11797 * nss/getent.c (services_keys): Recognize services starting with digit.
11799 2013-11-06 David S. Miller <davem@davemloft.net>
11802 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11803 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11805 2013-11-06 Will Newton <will.newton@linaro.org>
11807 * manual/memory.texi (Malloc Examples): Remove register
11808 keyword from examples.
11810 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11812 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11814 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11817 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11818 depending on [__GCC_IEC_559 > 0].
11819 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11820 depending on [__GCC_IEC_559_COMPLEX > 0].
11822 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11824 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11827 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11829 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11831 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11834 * malloc/malloc (malloc_info): Do not handle first bin as
11837 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11839 * locale/iso-639.def: Add Central Nahuatl (nhn).
11841 2013-11-01 Bruno Haible <bruno@clisp.org>
11844 * manual/math.texi (BSD Random): Specify range upper bound as
11847 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11849 * locale/iso-639.def: Add Meadow Mari (mhr).
11851 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11853 [BZ #14752], [BZ #15763]
11854 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11856 * rt/tst_shm.c: Add test for escaping directory.
11858 2013-10-31 Andreas Schwab <schwab@suse.de>
11861 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11862 followed by 'x' as part of digit sequence.
11863 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11865 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11868 * configure.ac: allow GNU Make 4.0 and greater.
11869 * configure: Regenerated.
11871 2013-10-30 Will Newton <will.newton@linaro.org>
11874 * malloc/hooks.c (memalign_check): Limit alignment to the
11875 maximum representable power of two.
11876 * malloc/malloc.c (__libc_memalign): Likewise.
11877 * malloc/tst-memalign.c (do_test): Add test for very
11878 large alignment values.
11879 * malloc/tst-posix_memalign.c (do_test): Likewise.
11881 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11884 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11885 (munmap_chunk): Likewise.
11886 (mremap_chunk): Likewise.
11888 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11891 * stdlib/div.c (div): Remove obsolete code.
11892 * stdlib/ldiv.c (ldiv): Likewise.
11893 * stdlib/lldiv.c (lldiv): Likewise.
11895 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11898 * nss/nss_files/files-XXX.c (get_contents_ret): New
11900 (get_contents): New function.
11901 (internal_getent): Use it. Expand size of LINEBUFLEN.
11903 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11905 * configure.in: Moved to ...
11906 * configure.ac: ... here. Change reference to configure.in
11908 * sysdeps/arm/preconfigure.ac: ... here.
11909 configure.in to configure.ac.
11910 * sysdeps/gnu/configure.in: Moved to ...
11911 * sysdeps/gnu/configure.ac: ... here.
11912 * sysdeps/i386/configure.in: Moved to ...
11913 * sysdeps/i386/configure.ac: ... here.
11914 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11915 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11916 * sysdeps/mach/configure.in: Moved to ...
11917 * sysdeps/mach/configure.ac: ... here.
11918 * sysdeps/mach/hurd/configure.in: Moved to ...
11919 * sysdeps/mach/hurd/configure.ac: ... here.
11920 * sysdeps/powerpc/configure.in: Moved to ...
11921 * sysdeps/powerpc/configure.ac: ... here.
11922 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11923 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11924 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11925 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11926 * sysdeps/s390/s390-32/configure.in: Moved to ...
11927 * sysdeps/s390/s390-32/configure.ac: ... here.
11928 * sysdeps/s390/s390-64/configure.in: Moved to ...
11929 * sysdeps/s390/s390-64/configure.ac: ... here.
11930 * sysdeps/sh/configure.in: Moved to ...
11931 * sysdeps/sh/configure.ac: ... here.
11932 * sysdeps/sparc/configure.in: Moved to ...
11933 * sysdeps/sparc/configure.ac: ... here.
11934 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11935 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11936 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11937 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11938 * sysdeps/x86_64/configure.in: Moved to ...
11939 * sysdeps/x86_64/configure.ac: ... here.
11940 * sysdeps/x86_64/preconfigure.in: Moved to ...
11941 * sysdeps/x86_64/preconfigure.ac: ... here.
11942 * aclocal.m4: Change reference to configure.in to configure.ac.
11943 * config.h.in: Likewise.
11944 * manual/install.texi: Likewise.
11945 * manual/maint.texi: Likewise.
11946 * Makefile: Likewise.
11947 * malloc/Makefile: Likewise.
11948 * nscd/Makefile: Likewise.
11949 * Makeconfig: Change reference to configure.in and
11950 preconfigure.in to configure.ac and preconfigure.ac
11952 * INSTALL: Regenerated.
11953 * configure: Likewise.
11954 * sysdeps/gnu/configure: Likewise.
11955 * sysdeps/i386/configure: Likewise.
11956 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11957 * sysdeps/mach/configure: Likewise.
11958 * sysdeps/mach/hurd/configure: Likewise.
11959 * sysdeps/powerpc/configure: Likewise.
11960 * sysdeps/powerpc/powerpc32/configure: Likewise.
11961 * sysdeps/powerpc/powerpc64/configure: Likewise.
11962 * sysdeps/s390/s390-32/configure: Likewise.
11963 * sysdeps/s390/s390-64/configure: Likewise.
11964 * sysdeps/sh/configure: Likewise.
11965 * sysdeps/sparc/configure: Likewise.
11966 * sysdeps/unix/sysv/linux/configure: Likewise.
11967 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11968 * sysdeps/x86_64/configure: Likewise.
11969 * sysdeps/x86_64/preconfigure: Likewise.
11971 2013-10-29 Andreas Schwab <schwab@suse.de>
11973 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11975 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11977 * benchtests/pow-inputs: Add new inputs.
11979 * benchtests/exp-inputs: Add new inputs.
11981 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11982 conditional check for return value.
11983 (__cos32): Likewise.
11985 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11988 to provide a boost for large inputs with word alignment.
11989 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11990 implementation based on optimized PPC64 strcpy.
11991 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11992 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11993 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11994 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11996 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11999 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12001 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12004 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12005 * time/tst-strptime.c (day_tests): Add testcase.
12007 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12010 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12012 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12015 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12016 MAP_FAILED on error.
12018 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12021 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12022 heap for large requests.
12024 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12027 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12028 result if the result has no associated interface.
12029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12030 interface for all 127.X.Y.Z addresses.
12032 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12034 * locale/iso-639.def: Add Ligurian (lij)
12036 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12039 * sunrpc/rpc_main.c: Document rpcgen -5.
12041 2013-10-19 Michael Stahl <mstahl@redhat.com>
12043 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12045 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12048 * posix/glob.c: Match only directories when trailing slash is present.
12049 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12050 (main): Add testcase.
12052 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12055 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12057 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12059 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12060 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12061 AUTH_DES and cindex for FIPS 140-2.
12062 (DES Encryption): Add cindex FIPS 46-3.
12064 * locale/locarchive.h (struct locarhandle): Add fname.
12065 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12066 if an optional argument was specified to --list-archive,
12068 * locale/programs/locarchive.c (show_archive_content): Take new
12069 argument fname and pass it via ah.fname to open_archive.
12070 * locale/programs/localedef.h: Update decl.
12071 (open_archive): If AH->fname is non-null, open that file
12072 rather than the default file name, and don't ignore ENOENT.
12073 (create_archive): Set AH.fname to NULL.
12074 (delete_locales_from_archive): Likewise.
12075 (add_locales_to_archive): Likewise.
12076 * locale/programs/locfile.c (write_all_categories): Likewise.
12078 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12079 Aldy Hernandez <aldyh@redhat.com>
12081 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12082 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12083 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12084 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12085 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12086 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12087 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12089 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12090 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12091 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12092 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12093 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12094 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12095 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12103 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12104 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12107 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12109 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12111 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12113 * sysdeps/powerpc/preconfigure: Likewise.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12116 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12117 Replace contents of file by #include of <fenv_libc.h>.
12118 * sysdeps/powerpc/soft-fp/sfp-machine.h
12119 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12121 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12129 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12134 Allow copysignl PLT reference to be missing.
12136 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12137 Joseph Myers <joseph@codesourcery.com
12140 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12142 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12144 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12146 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12147 * elf/tst-tls1.c: Likewise.
12148 * elf/tst-tls10.h: Likewise.
12149 * elf/tst-tls14.c: Likewise.
12150 * elf/tst-tls2.c: Likewise.
12151 * elf/tst-tls3.c: Likewise.
12152 * elf/tst-tls4.c: Likewise.
12153 * elf/tst-tls5.c: Likewise.
12154 * elf/tst-tls6.c: Likewise.
12155 * elf/tst-tls7.c: Likewise.
12156 * elf/tst-tls8.c: Likewise.
12157 * elf/tst-tls9.c: Likewise.
12158 * elf/tst-tlsmod1.c: Likewise.
12159 * elf/tst-tlsmod13.c: Likewise.
12160 * elf/tst-tlsmod13a.c: Likewise.
12161 * elf/tst-tlsmod14a.c: Likewise.
12162 * elf/tst-tlsmod16a.c: Likewise.
12163 * elf/tst-tlsmod16b.c: Likewise.
12164 * elf/tst-tlsmod2.c: Likewise.
12165 * elf/tst-tlsmod3.c: Likewise.
12166 * elf/tst-tlsmod4.c: Likewise.
12167 * elf/tst-tlsmod5.c: Likewise.
12168 * elf/tst-tlsmod6.c: Likewise.
12170 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12173 * malloc/malloc.c: remove checks for statistics.
12175 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12178 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12179 * inet/tst-network.c: Add testcase.
12181 2013-10-17 Andreas Schwab <schwab@suse.de>
12184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12185 to determine canonical name.
12187 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12189 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12190 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12191 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12192 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12193 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12194 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12196 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12197 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12198 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12199 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12201 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12203 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12206 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12207 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12212 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12213 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12214 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12219 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12232 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12233 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12248 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12251 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12252 make result into a quiet NaN.
12254 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12256 * soft-fp/adddf3.c: Fix horizontal whitespace.
12257 * soft-fp/addsf3.c: Likewise.
12258 * soft-fp/addtf3.c: Likewise.
12259 * soft-fp/divdf3.c: Likewise.
12260 * soft-fp/divsf3.c: Likewise.
12261 * soft-fp/divtf3.c: Likewise.
12262 * soft-fp/double.h: Likewise.
12263 * soft-fp/eqdf2.c: Likewise.
12264 * soft-fp/eqsf2.c: Likewise.
12265 * soft-fp/eqtf2.c: Likewise.
12266 * soft-fp/extenddftf2.c: Likewise.
12267 * soft-fp/extended.h: Likewise.
12268 * soft-fp/extendsfdf2.c: Likewise.
12269 * soft-fp/extendsftf2.c: Likewise.
12270 * soft-fp/extendxftf2.c: Likewise.
12271 * soft-fp/fixdfdi.c: Likewise.
12272 * soft-fp/fixdfsi.c: Likewise.
12273 * soft-fp/fixdfti.c: Likewise.
12274 * soft-fp/fixsfdi.c: Likewise.
12275 * soft-fp/fixsfsi.c: Likewise.
12276 * soft-fp/fixsfti.c: Likewise.
12277 * soft-fp/fixtfdi.c: Likewise.
12278 * soft-fp/fixtfsi.c: Likewise.
12279 * soft-fp/fixtfti.c: Likewise.
12280 * soft-fp/fixunsdfdi.c: Likewise.
12281 * soft-fp/fixunsdfsi.c: Likewise.
12282 * soft-fp/fixunsdfti.c: Likewise.
12283 * soft-fp/fixunssfdi.c: Likewise.
12284 * soft-fp/fixunssfsi.c: Likewise.
12285 * soft-fp/fixunssfti.c: Likewise.
12286 * soft-fp/fixunstfdi.c: Likewise.
12287 * soft-fp/fixunstfsi.c: Likewise.
12288 * soft-fp/fixunstfti.c: Likewise.
12289 * soft-fp/floatdidf.c: Likewise.
12290 * soft-fp/floatdisf.c: Likewise.
12291 * soft-fp/floatditf.c: Likewise.
12292 * soft-fp/floatsidf.c: Likewise.
12293 * soft-fp/floatsisf.c: Likewise.
12294 * soft-fp/floatsitf.c: Likewise.
12295 * soft-fp/floattidf.c: Likewise.
12296 * soft-fp/floattisf.c: Likewise.
12297 * soft-fp/floattitf.c: Likewise.
12298 * soft-fp/floatundidf.c: Likewise.
12299 * soft-fp/floatundisf.c: Likewise.
12300 * soft-fp/floatunditf.c: Likewise.
12301 * soft-fp/floatunsidf.c: Likewise.
12302 * soft-fp/floatunsisf.c: Likewise.
12303 * soft-fp/floatunsitf.c: Likewise.
12304 * soft-fp/floatuntidf.c: Likewise.
12305 * soft-fp/floatuntisf.c: Likewise.
12306 * soft-fp/floatuntitf.c: Likewise.
12307 * soft-fp/fmadf4.c: Likewise.
12308 * soft-fp/fmasf4.c: Likewise.
12309 * soft-fp/fmatf4.c: Likewise.
12310 * soft-fp/gedf2.c: Likewise.
12311 * soft-fp/gesf2.c: Likewise.
12312 * soft-fp/getf2.c: Likewise.
12313 * soft-fp/ledf2.c: Likewise.
12314 * soft-fp/lesf2.c: Likewise.
12315 * soft-fp/letf2.c: Likewise.
12316 * soft-fp/muldf3.c: Likewise.
12317 * soft-fp/mulsf3.c: Likewise.
12318 * soft-fp/multf3.c: Likewise.
12319 * soft-fp/negdf2.c: Likewise.
12320 * soft-fp/negsf2.c: Likewise.
12321 * soft-fp/negtf2.c: Likewise.
12322 * soft-fp/op-1.h: Likewise.
12323 * soft-fp/op-2.h: Likewise.
12324 * soft-fp/op-4.h: Likewise.
12325 * soft-fp/op-8.h: Likewise.
12326 * soft-fp/op-common.h: Likewise.
12327 * soft-fp/quad.h: Likewise.
12328 * soft-fp/single.h: Likewise.
12329 * soft-fp/soft-fp.h: Likewise.
12330 * soft-fp/sqrtdf2.c: Likewise.
12331 * soft-fp/sqrtsf2.c: Likewise.
12332 * soft-fp/sqrttf2.c: Likewise.
12333 * soft-fp/subdf3.c: Likewise.
12334 * soft-fp/subsf3.c: Likewise.
12335 * soft-fp/subtf3.c: Likewise.
12336 * soft-fp/truncdfsf2.c: Likewise.
12337 * soft-fp/trunctfdf2.c: Likewise.
12338 * soft-fp/trunctfsf2.c: Likewise.
12339 * soft-fp/trunctfxf2.c: Likewise.
12340 * soft-fp/unorddf2.c: Likewise.
12341 * soft-fp/unordsf2.c: Likewise.
12342 * soft-fp/unordtf2.c: Likewise.
12344 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12346 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12347 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12349 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12351 * elf/dl-libc.c: Clear initfini list after freeing.
12353 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12355 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12356 * soft-fp/addsf3.c: Likewise.
12357 * soft-fp/addtf3.c: Likewise.
12358 * soft-fp/divdf3.c: Likewise.
12359 * soft-fp/divsf3.c: Likewise.
12360 * soft-fp/divtf3.c: Likewise.
12361 * soft-fp/double.h: Likewise.
12362 * soft-fp/eqdf2.c: Likewise.
12363 * soft-fp/eqsf2.c: Likewise.
12364 * soft-fp/eqtf2.c: Likewise.
12365 * soft-fp/extenddftf2.c: Likewise.
12366 * soft-fp/extended.h: Likewise.
12367 * soft-fp/extendsfdf2.c: Likewise.
12368 * soft-fp/extendsftf2.c: Likewise.
12369 * soft-fp/extendxftf2.c: Likewise.
12370 * soft-fp/fixdfdi.c: Likewise.
12371 * soft-fp/fixdfsi.c: Likewise.
12372 * soft-fp/fixdfti.c: Likewise.
12373 * soft-fp/fixsfdi.c: Likewise.
12374 * soft-fp/fixsfsi.c: Likewise.
12375 * soft-fp/fixsfti.c: Likewise.
12376 * soft-fp/fixtfdi.c: Likewise.
12377 * soft-fp/fixtfsi.c: Likewise.
12378 * soft-fp/fixtfti.c: Likewise.
12379 * soft-fp/fixunsdfdi.c: Likewise.
12380 * soft-fp/fixunsdfsi.c: Likewise.
12381 * soft-fp/fixunsdfti.c: Likewise.
12382 * soft-fp/fixunssfdi.c: Likewise.
12383 * soft-fp/fixunssfsi.c: Likewise.
12384 * soft-fp/fixunssfti.c: Likewise.
12385 * soft-fp/fixunstfdi.c: Likewise.
12386 * soft-fp/fixunstfsi.c: Likewise.
12387 * soft-fp/fixunstfti.c: Likewise.
12388 * soft-fp/floatdidf.c: Likewise.
12389 * soft-fp/floatdisf.c: Likewise.
12390 * soft-fp/floatditf.c: Likewise.
12391 * soft-fp/floatsidf.c: Likewise.
12392 * soft-fp/floatsisf.c: Likewise.
12393 * soft-fp/floatsitf.c: Likewise.
12394 * soft-fp/floattidf.c: Likewise.
12395 * soft-fp/floattisf.c: Likewise.
12396 * soft-fp/floattitf.c: Likewise.
12397 * soft-fp/floatundidf.c: Likewise.
12398 * soft-fp/floatundisf.c: Likewise.
12399 * soft-fp/floatunsidf.c: Likewise.
12400 * soft-fp/floatunsisf.c: Likewise.
12401 * soft-fp/floatuntidf.c: Likewise.
12402 * soft-fp/floatuntisf.c: Likewise.
12403 * soft-fp/floatuntitf.c: Likewise.
12404 * soft-fp/fmadf4.c: Likewise.
12405 * soft-fp/fmasf4.c: Likewise.
12406 * soft-fp/fmatf4.c: Likewise.
12407 * soft-fp/gedf2.c: Likewise.
12408 * soft-fp/gesf2.c: Likewise.
12409 * soft-fp/getf2.c: Likewise.
12410 * soft-fp/ledf2.c: Likewise.
12411 * soft-fp/lesf2.c: Likewise.
12412 * soft-fp/letf2.c: Likewise.
12413 * soft-fp/muldf3.c: Likewise.
12414 * soft-fp/mulsf3.c: Likewise.
12415 * soft-fp/multf3.c: Likewise.
12416 * soft-fp/negdf2.c: Likewise.
12417 * soft-fp/negsf2.c: Likewise.
12418 * soft-fp/negtf2.c: Likewise.
12419 * soft-fp/op-1.h: Likewise.
12420 * soft-fp/op-2.h: Likewise.
12421 * soft-fp/op-4.h: Likewise.
12422 * soft-fp/op-8.h: Likewise.
12423 * soft-fp/op-common.h: Likewise.
12424 * soft-fp/quad.h: Likewise.
12425 * soft-fp/single.h: Likewise.
12426 * soft-fp/soft-fp.h: Likewise.
12427 * soft-fp/sqrtdf2.c: Likewise.
12428 * soft-fp/sqrtsf2.c: Likewise.
12429 * soft-fp/sqrttf2.c: Likewise.
12430 * soft-fp/subdf3.c: Likewise.
12431 * soft-fp/subsf3.c: Likewise.
12432 * soft-fp/subtf3.c: Likewise.
12433 * soft-fp/truncdfsf2.c: Likewise.
12434 * soft-fp/trunctfdf2.c: Likewise.
12435 * soft-fp/trunctfsf2.c: Likewise.
12436 * soft-fp/trunctfxf2.c: Likewise.
12437 * soft-fp/unorddf2.c: Likewise.
12438 * soft-fp/unordsf2.c: Likewise.
12439 * soft-fp/unordtf2.c: Likewise.
12441 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12444 * misc/error.c (error_tail): Fix possible buffer overflow.
12446 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12449 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12452 2013-10-14 P. J. McDermott <pj@pehjota.net>
12455 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12456 testing pipefail option.
12458 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12460 * soft-fp/double.h: Indent preprocessor directives inside #if.
12461 * soft-fp/extended.h: Likewise.
12462 * soft-fp/op-2.h: Likewise.
12463 * soft-fp/op-4.h: Likewise.
12464 * soft-fp/op-common.h: Likewise.
12465 * soft-fp/quad.h: Likewise.
12466 * soft-fp/single.h: Likewise.
12467 * soft-fp/soft-fp.h: Likewise.
12469 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12471 * iconv/iconv_prog.c: Fix typos.
12472 * stdio-common/psiginfo-data.h: Likewise.
12474 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12477 * locale/setlocale.c: Fix typo.
12479 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12482 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12483 signaling NaN arguments.
12484 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12485 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12488 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12489 unordered operands.
12490 * soft-fp/gesf2.c (__gesf2): Likewise.
12491 * soft-fp/getf2.c (__getf2): Likewise.
12492 * soft-fp/ledf2.c (__ledf2): Likewise.
12493 * soft-fp/lesf2.c (__lesf2): Likewise.
12494 * soft-fp/letf2.c (__letf2): Likewise.
12496 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12497 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12498 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12499 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12500 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12501 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12502 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12503 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12504 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12505 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12506 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12507 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12508 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12509 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12510 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12511 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12512 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12513 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12514 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12515 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12516 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12517 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12518 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12519 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12520 * soft-fp/floattidf.c (__floattidf): Likewise.
12521 * soft-fp/floattisf.c (__floattisf): Likewise.
12522 * soft-fp/floattitf.c (__floattitf): Likewise.
12523 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12524 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12525 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12526 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12527 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12528 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12529 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12530 * soft-fp/gesf2.c (__gesf2): Likewise.
12531 * soft-fp/getf2.c (__getf2): Likewise.
12532 * soft-fp/ledf2.c (__ledf2): Likewise.
12533 * soft-fp/lesf2.c (__lesf2): Likewise.
12534 * soft-fp/letf2.c (__letf2): Likewise.
12536 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12537 Undefine and redefine.
12538 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12539 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12540 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12541 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12542 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12543 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12544 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12545 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12546 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12547 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12548 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12549 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12550 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12551 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12552 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12555 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12556 without decrementing exponent if mantissa >= that for the
12557 denominator, not >.
12558 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12559 denominator, not >. Decrement exponent in < case instead of
12560 incrementing in >= case.
12561 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12562 without decrementing exponent if mantissa >= that for the
12563 denominator, not >.
12565 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12566 computing saturated result for unsigned overflow.
12568 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12569 Jeff Law <law@redhat.com>
12571 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12572 (atan2Mp): Add systemtap probe marker.
12573 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12574 (__ieee754_log): Add systemtap probe marker.
12575 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12576 (atanMp): Add systemtap probe marker.
12577 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12578 (tanMp): Add systemtap probe marker.
12579 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12580 (__slowexp): Add systemtap probe marker.
12581 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12582 (__slowpow): Add systemtap probe marker.
12583 * manual/probes.texi: Document probes.
12585 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12588 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12590 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12592 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12593 written to buffer but not flushed.
12594 * libio/iofwrite_u.c: Likewise.
12595 * libio/iopadn.c: Return bytes returned even if EOF was
12597 * libio/iowpadn.c: Likewise.
12598 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12599 if _IO_padn does not write the whole buffer.
12600 [!COMPILE_WPRINTF] (PAD): Likewise.
12602 2013-10-10 David S. Miller <davem@davemloft.net>
12604 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12607 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12609 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12610 instead of FSF address.
12611 * soft-fp/fixdfti.c: Likewise.
12612 * soft-fp/fixsfti.c: Likewise.
12613 * soft-fp/fixtfti.c: Likewise.
12614 * soft-fp/fixunsdfti.c: Likewise.
12615 * soft-fp/fixunssfti.c: Likewise.
12616 * soft-fp/fixunstfti.c: Likewise.
12617 * soft-fp/floattidf.c: Likewise.
12618 * soft-fp/floattisf.c: Likewise.
12619 * soft-fp/floattitf.c: Likewise.
12620 * soft-fp/floatuntidf.c: Likewise.
12621 * soft-fp/floatuntisf.c: Likewise.
12622 * soft-fp/floatuntitf.c: Likewise.
12623 * soft-fp/trunctfxf2.c: Likewise.
12625 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12626 * soft-fp/fixdfti.c: Likewise.
12627 * soft-fp/fixsfti.c: Likewise.
12628 * soft-fp/fixtfti.c: Likewise.
12629 * soft-fp/fixunsdfti.c: Likewise.
12630 * soft-fp/fixunssfti.c: Likewise.
12631 * soft-fp/fixunstfti.c: Likewise.
12632 * soft-fp/floattidf.c: Likewise.
12633 * soft-fp/floattisf.c: Likewise.
12634 * soft-fp/floattitf.c: Likewise.
12635 * soft-fp/floatuntidf.c: Likewise.
12636 * soft-fp/floatuntisf.c: Likewise.
12637 * soft-fp/floatuntitf.c: Likewise.
12638 * soft-fp/trunctfxf2.c: Likewise.
12640 2013-10-10 David S. Miller <davem@davemloft.net>
12642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12644 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12646 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12647 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12648 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12655 for NaNs before doing comparisons on argument.
12656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12659 2013-10-10 Will Newton <will.newton@linaro.org>
12661 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12662 passed to _int_memalign does not overflow.
12664 2013-10-10 Torvald Riegel <triegel@redhat.com>
12666 * scripts/bench.pl: Add include-sources directive.
12667 * benchtests/README: Update documentation.
12669 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12671 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12672 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12673 instead of FP_INIT_ROUNDMODE.
12674 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12675 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12678 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12679 copy class of input value.
12680 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12681 not handle exceptions.
12682 * soft-fp/negsf2.c (__negsf2): Likewise.
12683 * soft-fp/negtf2.c (__negtf2): Likewise.
12684 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12686 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12688 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12689 semicolon. From Linux kernel.
12691 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12693 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12695 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12698 * manual/socket.texi: Added statement about buffer
12699 for gethostbyname2_r.
12701 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12703 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12704 Use .p2align directive instead, throughout.
12705 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12706 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12707 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12710 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12711 * sysdeps/x86_64/strchr.S: Likewise.
12712 * sysdeps/x86_64/strrchr.S: Likewise.
12714 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12716 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12718 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12720 * sysdeps/generic/math_private.h (__mpsin1): Remove
12722 (__mpcos1): Likewise.
12723 (__mpsin): New argument __range_reduce.
12724 (__mpcos): Likewise.
12725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12726 (slow): Use __mpsin and __mpcos.
12730 (sloww1): Likewise.
12731 (sloww2): Likewise.
12732 (bsloww): Likewise.
12733 (bsloww1): Likewise.
12734 (bsloww2): Likewise.
12735 (cslow2): Likewise.
12736 (csloww): Likewise.
12737 (csloww1): Likewise.
12738 (csloww2): Likewise.
12739 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12740 range_reduce. Merge in __mpsin1.
12741 (__mpcos): Likewise.
12742 (__mpsin1): Remove.
12743 (__mpcos1): Likewise.
12745 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12747 * locale/loadlocale.c (_nl_intern_locale_data): Use
12749 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12750 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12751 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12752 obstack data is appropriately aligned.
12753 (obstack_int32_grow_fast): Likewise.
12754 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12755 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12756 (add_locale_uint32_array): Likewise.
12758 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12760 * benchtests/Makefile: Remove ARGLIST and RET variables.
12761 ($(objpfx)bench-%.c): Pass only function name to the script.
12762 * benchtests/README: Update documentation.
12763 * benchtests/acos-inputs: Add new directives.
12764 * benchtests/acosh-inputs: Likewise.
12765 * benchtests/asin-inputs: Likewise.
12766 * benchtests/asinh-inputs: Likewise.
12767 * benchtests/atan-inputs: Likewise.
12768 * benchtests/atanh-inputs: Likewise.
12769 * benchtests/cos-inputs: Likewise.
12770 * benchtests/cosh-inputs: Likewise.
12771 * benchtests/exp-inputs: Likewise.
12772 * benchtests/log-inputs: Likewise.
12773 * benchtests/pow-inputs: Likewise.
12774 * benchtests/rint-inputs: Likewise.
12775 * benchtests/sin-inputs: Likewise.
12776 * benchtests/sinh-inputs: Likewise.
12777 * benchtests/tan-inputs: Likewise.
12778 * benchtests/tanh-inputs: Likewise.
12779 * scripts/bench.pl: Add support for new directives.
12781 2013-10-07 Alan Modra <amodra@gmail.com>
12783 * README: Fix careless merge.
12785 2013-10-05 Alan Modra <amodra@gmail.com>
12787 * NEWS: Mention powerpc64le support and bugs fixed.
12788 * README: Both big-endian and little-endian powerpc64 supported.
12790 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12792 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12793 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12794 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12795 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12797 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12799 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12802 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12804 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12805 Move -mhard-float appending from
12806 ports/sysdeps/powerpc/powerpc32/Makefile.
12807 [$(with-fp) = yes] (ASFLAGS): Likewise.
12808 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12809 * sysdeps/powerpc/nofpu: Move directory from
12810 ports/sysdeps/powerpc/nofpu.
12811 * sysdeps/powerpc/soft-fp: Move directory from
12812 ports/sysdeps/powerpc/soft-fp.
12813 * sysdeps/powerpc/powerpc32/405: Move directory from
12814 ports/sysdeps/powerpc/powerpc32/405.
12815 * sysdeps/powerpc/powerpc32/440: Move directory from
12816 ports/sysdeps/powerpc/powerpc32/440.
12817 * sysdeps/powerpc/powerpc32/464: Move directory from
12818 ports/sysdeps/powerpc/powerpc32/464.
12819 * sysdeps/powerpc/powerpc32/476: Move directory from
12820 ports/sysdeps/powerpc/powerpc32/476.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12831 * README: Update for powerpc-*-linux-gnu software floating point
12834 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12835 case to powerpc/powerpc32*.
12836 * sysdeps/unix/sysv/linux/configure: Regenerated.
12838 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12839 (_FPU_MASK_OM): Define as 0x04.
12840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12848 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12851 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12854 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12855 and setcontext_e500.
12857 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12859 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12861 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12863 * manual/threads.texi (Default Thread Attributes): Fix typo.
12865 2013-10-04 Will Newton <will.newton@linaro.org>
12867 * malloc/Makefile: Add tst-memalign.
12868 * malloc/tst-memalign.c: New file.
12870 * malloc/tst-posix_memalign.c: Add comments.
12871 (do_test): Add comments and call free on all potentially
12872 allocated pointers. Add space after cast.
12874 * malloc/tst-pvalloc.c: Add comments.
12875 (do_test): Add comments and call free on all potentially
12876 allocated pointers. Remove duplicate check for NULL pointer.
12877 Add space after cast.
12879 * malloc/tst-valloc.c: Add comments.
12880 (do_test): Add comments and call free on all potentially
12881 allocated pointers. Remove duplicate check for NULL pointer.
12882 Add space after cast.
12884 2013-10-04 Alan Modra <amodra@gmail.com>
12886 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12887 Use stdint types in rather than __attribute__((mode())).
12888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12890 2013-10-04 Alan Modra <amodra@gmail.com>
12892 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12893 Correct handling of unaligned relocs for little-endian.
12894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12896 2013-10-04 Alan Modra <amodra@gmail.com>
12898 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12899 * configure: Regenerate.
12900 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12901 * shlib-versions: Likewise.
12903 2013-10-04 Alan Modra <amodra@gmail.com>
12905 * string/tester.c (test_memrchr): Increment reported test cycle.
12907 2013-10-04 Alan Modra <amodra@gmail.com>
12909 * string/test-memcpy.c (do_one_test): When reporting errors, print
12910 string address and don't overrun end of string.
12912 2013-10-04 Alan Modra <amodra@gmail.com>
12914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12915 insrdi. Make better use of reg selection to speed exit slightly.
12916 Schedule entry path a little better. Remove useless "are we done"
12917 checks on entry to main loop. Handle wrapping around zero address.
12918 Correct main loop count. Handle single left-over word from main
12919 loop inline rather than by using loop_small. Remove extra word
12920 case in loop_small caused by wrong loop count. Add little-endian
12922 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12925 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12926 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12927 support. Avoid rlwimi.
12928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12930 2013-10-04 Alan Modra <amodra@gmail.com>
12932 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12933 insrdi. Formatting.
12934 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12935 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12936 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12937 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12938 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12939 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12941 2013-10-04 Alan Modra <amodra@gmail.com>
12943 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12947 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12948 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12949 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12950 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12951 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12952 use of regs. Use power7 mtocrf. Tidy function tails.
12954 2013-10-04 Alan Modra <amodra@gmail.com>
12956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12957 Formatting. Consistently use rXXX register defines or rN defines.
12958 Use early exit labels that avoid restoring unused non-volatile regs.
12959 Make cr field use more consistent with rWORDn compares. Rename
12960 regs used as shift registers for unaligned loop, using rN defines
12961 for short lifetime/multiple use regs.
12962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12964 addi 1,1,64 to pop stack frame. Simplify return value code.
12965 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12967 2013-10-04 Alan Modra <amodra@gmail.com>
12969 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12970 support. Correct typos, formatting. Optimize tail. Use insrdi
12971 rather than rlwimi.
12972 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12973 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12974 little-endian support. Correct typos.
12975 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12976 rather than rlwimi.
12977 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12978 in loop and entry code to keep "and." results.
12979 (strchr): Add little-endian support. Comment. Move cntlzd
12981 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12983 2013-10-04 Alan Modra <amodra@gmail.com>
12985 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12986 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12987 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12988 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12990 2013-10-04 Alan Modra <amodra@gmail.com>
12992 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12993 (rTMP): Define as r11.
12994 (strcmp): Add little-endian support. Optimise tail.
12995 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12996 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12997 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12998 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13003 2013-10-04 Alan Modra <amodra@gmail.com>
13005 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13006 little-endian support. Remove unnecessary "are we done" tests.
13007 Handle "s" wrapping around zero and extremely large "size".
13008 Correct main loop count. Handle single left-over word from main
13009 loop inline rather than by using small_loop. Correct comments.
13010 Delete "zero" tail, use "end_max" instead.
13011 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13013 2013-10-04 Alan Modra <amodra@gmail.com>
13015 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13016 support. Don't branch over align.
13017 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13019 support. Rearrange tmp reg use to suit. Comment.
13020 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13022 2013-10-04 Alan Modra <amodra@gmail.com>
13024 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13026 2013-10-04 Alan Modra <amodra@gmail.com>
13028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13029 conditional form of branch and link when obtaining pc.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13032 2013-10-04 Alan Modra <amodra@gmail.com>
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13039 2013-10-04 Alan Modra <amodra@gmail.com>
13041 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13042 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13043 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13046 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13047 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13048 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13049 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13050 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13052 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13053 Alistair Popple <alistair@ozlabs.au.ibm.com>
13054 Alan Modra <amodra@gmail.com>
13057 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13059 _dl_hwcap access for little-endian.
13060 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13061 destroy vmx regs when saving unaligned.
13062 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13063 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13064 destroy vmx regs when saving unaligned.
13066 2013-10-04 Alan Modra <amodra@gmail.com>
13068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13069 Don't use a union to pack hi/low value.
13071 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13073 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13075 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13077 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13079 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13081 2013-10-04 Alan Modra <amodra@gmail.com>
13083 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13084 constants to usual value for .cst8 section, and remove redundant
13086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13087 constant for 0x1p52. Load little-endian words of double from
13088 correct stack offsets.
13090 2013-10-04 Alan Modra <amodra@gmail.com>
13092 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13093 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13094 words of double from correct stack offsets.
13095 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13096 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13097 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13098 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13100 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13102 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13103 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13104 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13107 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13108 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13109 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13110 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13111 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13113 2013-10-04 Alan Modra <amodra@gmail.com>
13115 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13116 64-bit int/double union.
13117 (_FPU_SETCW): Likewise.
13118 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13119 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13121 2013-10-04 Alan Modra <amodra@gmail.com>
13123 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13124 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13126 2013-10-04 Alan Modra <amodra@gmail.com>
13128 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13129 use vector int constants.
13130 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13132 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13134 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13135 array with long long.
13136 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13137 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13138 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13139 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13140 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13141 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13142 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13143 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13144 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13145 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13146 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13147 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13148 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13150 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13152 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13153 (__signbit): Likewise. Correct for little-endian.
13154 (__signbitl): Call __signbit.
13155 (lrint): Correct for little-endian.
13156 (lrintf): Call lrint.
13158 2013-10-04 Alan Modra <amodra@gmail.com>
13160 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13161 union 32-bit int array member with 64-bit int array.
13162 (t515, tm256): Double rather than long double.
13163 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13165 2013-10-04 Alan Modra <amodra@gmail.com>
13167 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13169 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13171 version of math_ldbl.h.
13173 2013-10-04 Alan Modra <amodra@gmail.com>
13175 [BZ #15734], [BZ #15735]
13176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13177 all uses of ieee875 long double macros and unions. Simplify test
13178 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13179 ldbl_extract_mantissa value for ix,iy exponents. Properly
13180 normalize after ldbl_extract_mantissa, and don't add hidden bit
13181 already handled. Don't treat low word of ieee854 mantissa like
13182 low word of IBM long double and mask off bit when testing for
13184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13185 all uses of ieee875 long double macros and unions. Simplify tests
13186 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13187 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13188 two1022, instead use their values. Recognise that tests for large
13189 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13190 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13191 Rewrite all uses of ieee875 long double macros and unions. Simplify
13192 test for 0.0L and nan. Correct negation.
13193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13194 ieee875 long double macros and unions. Correct output for large
13195 magnitude x. Correct absolute value calculation.
13196 (__erfcl): Likewise.
13197 * math/libm-test.inc: Add tests for errors discovered in IBM long
13198 double versions of fmodl, remainderl, erfl and erfcl.
13200 2013-10-04 Alan Modra <amodra@gmail.com>
13202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13203 all uses of ieee854 long double macros and unions. Simplify tests
13204 for long doubles that are fully specified by the high double.
13205 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13207 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13208 Remove dead code too.
13209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13210 (__ieee754_ynl): Likewise.
13211 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13212 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13214 Remove dead code too.
13215 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13220 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13222 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13223 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13224 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13225 Comment on variable precision.
13226 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13227 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13232 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13233 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13235 2013-10-04 Alan Modra <amodra@gmail.com>
13237 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13239 all uses of ieee854 long double macros and unions.
13240 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13242 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13253 Simplify sign and nan test too.
13254 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13256 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13259 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13269 2013-10-04 Alan Modra <amodra@gmail.com>
13271 * stdio-common/printf_size.c (__printf_size): Don't use
13272 union ieee854_long_double in fpnum union.
13273 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13274 signbit macro to retrieve sign from long double.
13275 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13276 retrieve sign from long double.
13277 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13278 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13279 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13280 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13281 * math/test-misc.c (main): Don't use union ieee854_long_double.
13283 2013-10-04 Alan Modra <amodra@gmail.com>
13286 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13287 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13288 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13289 calculation. Remove unnecessary test for denormal exponent.
13290 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13291 Correct handling of denormals. Avoid undefined shift behaviour.
13292 Correct normalisation of low mantissa when low double is denormal.
13293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13294 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13295 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13296 Correct normalisation of low mantissa. Test for overflow of high
13297 mantissa and normalise.
13298 (ldbl_nearbyint): Use more readable constant for two52.
13299 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13300 (__mpn_construct_long_double): Fix test for overflow of high
13301 mantissa and correct normalisation. Avoid undefined shift.
13303 2013-10-04 Alan Modra <amodra@gmail.com>
13305 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13306 (union ibm_extended_long_double): Define as an array of ieee754_double.
13307 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13308 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13309 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13310 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13314 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13315 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13319 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13321 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13322 page size instead of calling getpagesize.
13324 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13325 (LOCFILE_ALIGN_MASK): Likewise.
13326 (LOCFILE_ALIGN_UP): Likewise.
13327 (LOCFILE_ALIGNED_P): Likewise.
13328 * locale/programs/ld-collate.c (collate_output): Use the new
13329 macros instead of __alignof__ (int32_t).
13330 * locale/weight.h (findidx): Likewise.
13332 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13335 * manual/string.texi: Fix strncat and wcsncat.
13337 2013-10-03 Brooks Moses <bmoses@google.com>
13340 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13341 * Makerules: ...here, and adjust associated comments.
13343 2013-10-02 Will Newton <will.newton@linaro.org>
13345 * malloc/Makefile: Add tst-pvalloc.
13346 * malloc/tst-pvalloc.c: New file.
13348 2013-10-02 Will Newton <will.newton@linaro.org>
13350 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13351 improve test coverage.
13353 2013-10-02 Will Newton <will.newton@linaro.org>
13355 * malloc/Makefile: Add tst-posix_memalign.
13356 * malloc/tst-posix_memalign.c: New file.
13358 2013-10-01 Eric Blake <eblake@redhat.com>
13360 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13361 Use __THROWNL rather than __THROW on static functions.
13363 2013-09-30 Petr Machata <pmachata@redhat.com>
13365 * elf/elf.h (R_AARCH64_ABS16): New macro.
13366 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13367 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13368 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13369 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13370 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13371 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13372 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13373 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13374 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13375 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13376 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13377 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13378 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13379 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13380 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13381 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13382 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13383 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13384 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13385 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13386 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13387 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13388 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13389 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13390 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13391 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13392 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13393 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13394 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13395 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13396 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13397 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13398 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13399 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13400 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13401 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13402 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13403 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13404 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13405 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13406 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13407 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13408 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13409 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13410 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13411 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13412 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13413 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13414 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13415 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13416 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13417 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13418 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13419 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13420 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13421 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13422 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13423 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13424 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13425 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13426 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13427 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13428 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13429 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13430 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13431 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13432 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13433 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13434 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13435 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13436 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13437 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13438 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13439 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13440 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13441 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13442 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13443 (R_AARCH64_TLSDESC_LDR): Likewise.
13444 (R_AARCH64_TLSDESC_ADD): Likewise.
13445 (R_AARCH64_TLSDESC_CALL): Likewise.
13447 2013-09-30 Andreas Schwab <schwab@suse.de>
13450 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13451 the nss database lookup.
13452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13455 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13457 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13459 2013-09-28 P. J. McDermott <pj@pehjota.net>
13461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13462 ${Bash-specific parameter/pattern/string} parameter expansion.
13463 * sysdeps/unix/make-syscalls.sh: Likewise.
13465 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13467 * sysdeps/sh/stackguard-macros.h: New file.
13469 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13473 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13475 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13476 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13478 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13480 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13481 Fix thread ID register.
13483 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13485 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13486 [POSIX || UNIX98]: Require rather than permitting all symbols from
13488 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13489 element of struct sched_param.
13490 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13491 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13492 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13493 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13496 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13498 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13499 argument calculation.
13501 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13503 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13505 [POSIX] (pthread_attr_t): Do not require type.
13506 [POSIX] (pthread_cond_t): Likewise.
13507 [POSIX] (pthread_condattr_t): Likewise.
13508 [POSIX] (pthread_key_t): Likewise.
13509 [POSIX] (pthread_mutex_t): Likewise.
13510 [POSIX] (pthread_mutexattr_t): Likewise.
13511 [POSIX] (pthread_once_t): Likewise.
13512 [POSIX] (pthread_t): Likewise.
13513 [POSIX-based standards] (pthread_atfork): Expect function.
13515 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13516 Richard Sandiford <richard@codesourcery.com>
13518 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13519 (swap_endianness_p): New extern variable.
13520 (set_big_endian): New inline function.
13521 (maybe_swap_uint32): Likewise.
13522 (maybe_swap_uint32_array): Likewise.
13523 (maybe_swap_uint32_obstack): Likewise.
13524 * locale/programs/locfile.c: Include <stdbool.h>.
13525 (swap_endianness_p): New variable.
13526 (add_locale_uint32): Call maybe_swap_uint32.
13527 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13528 (write_locale_data): Call maybe_swap_uint32_array.
13529 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13531 (obstack_int32_grow_fast): Likewise.
13532 (output_weightwc): Call maybe_swap_uint32_obstack.
13533 (collate_output): Likewise.
13534 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13535 (OPT_LITTLE_ENDIAN): Likewise.
13536 (options): Add --little-endian and --big-endian options.
13537 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13538 * locale/programs/locarchive.c: Include "locfile.h".
13542 (create_archive): Use the new macros to access fields of
13543 structures directly mapped from or written to locale archives.
13544 (oldlocrecentcmp): Likewise.
13545 (enlarge_archive): Likewise.
13546 (insert_name): Likewise.
13547 (add_alias): Likewise.
13548 (add_locale): Likewise.
13549 (delete_locales_from_archive): Likewise.
13550 (show_archive_content): Likewise.
13551 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13554 2013-09-24 Roland McGrath <roland@hack.frob.com>
13556 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13557 http://www.gnu.org/doc/freemanuals.texi.
13558 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13560 2013-09-24 Will Newton <will.newton@linaro.org>
13562 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13565 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13567 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13570 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13572 * manual/threads.texi (POSIX Threads): Fix a typo.
13574 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13577 * string/tst-strcoll-overflow.c: New test case.
13578 * string/Makefile (xtests): Add tst-strcoll-overflow.
13579 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13580 cache if string sizes may cause integer overflow.
13583 * string/strcoll_l.c (coll_seq): New members rule, idx,
13584 save_idx and back_us.
13585 (get_next_seq_nocache): New function.
13586 (do_compare_nocache): New function.
13587 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13590 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13593 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13594 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13595 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13598 * elf/Makefile (tests): Add tst-ptrguard1.
13599 (tests-static): Add tst-ptrguard1-static.
13600 (tst-ptrguard1-ARGS): Define.
13601 (tst-ptrguard1-static-ARGS): Define.
13602 * elf/tst-ptrguard1.c: New file.
13603 * elf/tst-ptrguard1-static.c: New file.
13604 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13605 * sysdeps/i386/stackguard-macros.h: Likewise.
13606 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13607 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13608 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13609 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13610 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13611 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13613 2013-09-23 Hector Marco <hecmargi@upv.es>
13614 Ismael Ripoll <iripoll@disca.upv.es>
13615 Carlos O'Donell <carlos@redhat.com>
13618 * sysdeps/generic/stackguard-macros.h: Define
13619 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13620 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13621 Define __pointer_chk_guard_local.
13622 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13623 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13625 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13628 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13630 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13632 * include/string.h (__ffs): Declare as hidden.
13633 * string/ffs.c (__ffs): Define as hidden.
13634 * sysdeps/i386/ffs.c (__ffs): Likewise.
13635 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13636 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13637 * sysdeps/s390/ffs.c (__ffs): Likewise.
13638 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13640 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13642 * NEWS: Mention malloc probes.
13644 * malloc/arena.c (new_heap): New memory_heap_new probe.
13645 (grow_heap): New memory_heap_more probe.
13646 (shrink_heap): New memory_heap_less probe.
13647 (heap_trim): New memory_heap_free probe.
13648 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13649 (systrim): New memory_sbrk_less probe.
13650 * manual/probes.texi: Document them.
13652 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13653 * manual/probes.texi: Document it.
13655 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13656 (__libc_realloc): Add memory_realloc_retry probe.
13657 (__libc_memalign): Add memory_memalign_retry probe.
13658 (__libc_valloc): Add memory_valloc_retry probe.
13659 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13660 (__libc_calloc): Add memory_calloc_retry probe.
13661 * manual/probes.texi: Document them.
13663 * malloc/arena.c (get_free_list): Add probe
13664 memory_arena_reuse_free_list.
13665 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13666 and memory_arena_reuse.
13667 (arena_get2) [!PER_THREAD]: Likewise.
13668 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13669 memory_arena_reuse_realloc.
13670 * manual/probes.texi: Document them.
13672 * malloc/malloc.c (__libc_free): Add
13673 memory_mallopt_free_dyn_thresholds probe.
13674 (__libc_mallopt): Add multiple memory_mallopt probes.
13675 * manual/probes.texi: Document them.
13677 * malloc/malloc.c: Include stap-probe.h.
13678 (__libc_mallopt): Add memory_mallopt probe.
13679 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13680 * manual/probes.texi: New.
13681 * manual/Makefile (chapters): Add probes.
13682 * manual/threads.texi: Set next node.
13684 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13686 [BZ #15963, #13985]
13687 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13688 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13689 Add `Chinese' to `nan' entry name.
13691 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13693 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13694 (POLYNOMIAL): Likewise.
13695 (TAYLOR_SINCOS): Likewise.
13696 (TAYLOR_SLOW): Likewise.
13697 (__sin): Use TAYLOR_SINCOS.
13699 (slow): Use TAYLOR_SLOW.
13701 (bsloww): Likewise.
13702 (csloww): Likewise.
13704 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13706 * stdlib/strtod_l.c: Fix buffer overrun.
13708 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13710 * benchtests/Makefile (bench): Add sincos.
13711 * benchtests/bench-sincos.c: New file.
13713 * math/libm-test.inc (cos_test_data): New test inputs.
13714 (sin_test_data): Likewise.
13716 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13722 (sloww1): Likewise.
13723 (sloww2): Likewise.
13724 (bsloww1): Likewise.
13725 (bsloww2): Likewise.
13726 (cslow2): Likewise.
13727 (csloww1): Likewise.
13728 (csloww2): Likewise.
13730 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13735 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13739 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13741 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13742 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13743 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13744 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13745 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13746 * elf/cache.c (print_entry): Handle the new cache flags.
13748 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13749 Aldy Hernandez <aldyh@redhat.com>
13751 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13752 Change condition to [_SOFT_FLOAT].
13753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13765 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13768 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13771 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13773 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13774 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13775 (__longjmp): Use LOAD_GP to load saved GPRs.
13776 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13777 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13778 (__sigsetjmp): Use SAVE_GP to save GPRs.
13780 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13781 Do not append -msoft-float.
13782 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13784 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13786 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13788 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13791 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13792 (_FPU_GETCW): Use initial "__" on variable and field names but not
13793 on macro parameter name.
13794 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13795 parentheses around reference to macro parameter.
13797 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13799 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13801 (ctype_startup): Use uint32_t in cast and sizeof for
13804 2013-09-11 Jia Liu <proljc@gmail.com>
13806 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13808 [__FreeBSD__]: Likewise.
13810 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13812 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13813 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13814 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13815 (strchr): Remove __strchr_sse42 ifunc selection.
13816 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13817 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13819 2013-09-11 Will Newton <will.newton@linaro.org>
13821 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13822 parameter to RES. Remove hardcoded 1000 value.
13823 * benchtests/bench-skeleton.c (main): Pass RES parameter
13824 to TIMING_INIT and multiply result by 1000.
13826 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13830 2013-09-11 Andreas Schwab <schwab@suse.de>
13832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13834 (O_TMPFILE) [__USE_GNU]: Define.
13835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13838 2013-09-11 Will Newton <will.newton@linaro.org>
13841 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13844 2013-09-11 Will Newton <will.newton@linaro.org>
13847 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13850 2013-09-11 Will Newton <will.newton@linaro.org>
13853 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13856 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13858 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13859 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13860 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13862 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13864 2013-09-10 Allan McRae <allan@archlinux.org>
13867 * manual/arith.texi (Parsing of Floats): Clarify
13871 * manual/install.texi (Running make install): Mention
13873 * INSTALL: Regenerated.
13875 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13877 * csu/init-first.c (_init): Remove the !SHARED condition around
13878 FPU control word initialization.
13879 * elf/dl-support.c (_dl_fpu_control): New variable.
13880 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13881 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13882 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13883 * math/test-fpucw-static.c: New file.
13884 * math/test-fpucw-ieee.c: New file.
13885 * math/test-fpucw-ieee-static.c: New file.
13886 * math/Makefile (tests): Add `test-fpucw-ieee' and
13888 (tests-static): New variable.
13889 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13891 [($(build-shared),yes)]
13892 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13894 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13897 2013-09-09 Allan McRae <allan@archlinux.org>
13900 * manual/string.texi (Collation Functions): Fix typo in
13902 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13905 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13908 * libio/memstream.c (open_memstream): Fix memory leak.
13909 * libio/wmemstream.c (open_wmemstream): Likewise.
13912 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13914 2013-09-09 Will Newton <will.newton@linaro.org>
13916 * malloc/Makefile: Add tst-realloc to tests.
13917 * malloc/tst-realloc.c: New file.
13919 2013-09-09 Allan McRae <allan@archlinux.org>
13922 * COPYING: Update from GNU website to fix FSF address.
13923 * COPYING.LIB: Likewise.
13925 2013-09-06 David S. Miller <davem@davemloft.net>
13927 * po/zh_TW.po: Update Chinese (traditional) translation from
13928 translation project.
13930 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13931 Joseph Myers <joseph@codesourcery.com>
13933 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13935 (obstack_chunk_alloc): New macro.
13936 (obstack_chunk_free): Likewise.
13937 (record_offset): New function.
13938 (init_locale_data): Likewise.
13939 (align_locale_data): Likewise.
13940 (add_locale_empty): Likewise.
13941 (add_locale_raw_data): Likewise.
13942 (add_locale_raw_obstack): Likewise.
13943 (add_locale_string): Likewise.
13944 (add_locale_wstring): Likewise.
13945 (add_locale_uint32): Likewise.
13946 (add_locale_uint32_array): Likewise.
13947 (add_locale_char): Likewise.
13948 (start_locale_structure): Likewise.
13949 (end_locale_structure): Likewise.
13950 (start_locale_prelude): Likewise.
13951 (end_locale_prelude): Likewise.
13952 (write_locale_data): Take locale_file structure rather than an
13954 * locale/programs/locfile.h: Include "obstack.h".
13955 (struct locale_file): Change to store locale file contents instead
13957 (init_locale_data): New prototype.
13958 (align_locale_data): Likewise.
13959 (add_locale_empty): Likewise.
13960 (add_locale_raw_data): Likewise.
13961 (add_locale_raw_obstack): Likewise.
13962 (add_locale_string): Likewise.
13963 (add_locale_wstring): Likewise.
13964 (add_locale_uint32): Likewise.
13965 (add_locale_uint32_array): Likewise.
13966 (add_locale_char): Likewise.
13967 (start_locale_structure): Likewise.
13968 (end_locale_structure): Likewise.
13969 (start_locale_prelude): Likewise.
13970 (end_locale_prelude): Likewise.
13971 (write_locale_data): Update prototype.
13972 * locale/programs/3level.h (struct TABLE): Remove result field.
13973 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13974 Use new locale_file interface.
13975 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13976 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13977 * locale/programs/ld-address.c (address_output): Use new
13978 locale_file interface.
13979 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13981 (collate_finish): Don't call collseq_table_finalize.
13982 (collate_output): Use new locale_file interface.
13983 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13985 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13986 (TABLE): Move defines earlier in file.
13987 (ELEMENT): Likewise.
13988 (DEFAULT): Likewise.
13989 (wctrans_table_add): Move macro and inline function earlier in
13991 (struct wctype_table): Move type earlier in file.
13992 (add_locale_wctype_table): New static prototype.
13993 (struct locale_ctype_t): Use logical types instead of struct iovec
13994 pointers for members.
13995 (ctype_output): Use new locale_file interface.
13996 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13997 new locale_file interface.
13998 (allocate_arrays): Update for use of new locale_file interface.
13999 * locale/programs/ld-identification.c (identification_output): Use
14000 new locale_file interface.
14001 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14002 * locale/programs/ld-messages.c (messages_output): Likewise.
14003 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14004 * locale/programs/ld-name.c (name_output): Likewise.
14005 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14006 * locale/programs/ld-paper.c (paper_output): Likewise.
14007 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14008 * locale/programs/ld-time.c (time_output): Likewise.
14010 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14012 * benchtests/Makefile: Add memrchr benchmark.
14013 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14014 benchmark as memrchr.
14015 * benchtests/bench-memrchr-ifunc.c: New file.
14016 * benchtests/bench-memrchr.c: New file.
14018 2013-09-06 Will Newton <will.newton@linaro.org>
14020 * benchtests/Makefile (string-bench): Add memcpy.
14022 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14023 Cong Wang <amwang@redhat.com>
14026 * sysdeps/unix/sysv/linux/bits/in.h
14027 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14028 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14029 before __USE_KERNEL_IPV6_DEFS uses.
14030 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14032 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14033 sockaddr_in6, or ipv6_mreq.
14035 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14037 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14038 memory access for final bytes in some large inputs.
14039 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14041 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14043 * string/test-memrchr.c: New file.
14044 * string/test-memrchr-ifunc.c: New file.
14045 * string/Makefile: Add new memrchr testcase.
14047 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14049 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14050 fanotify_init returns EPERM.
14052 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14054 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14056 (top level): Treat second token from macro or constant entries for
14057 allowed headers as allowed.
14058 * include/complex.h: Condition internal declarations on
14060 * include/fenv.h: Condition include of <stdbool.h> and internal
14061 declarations on [!_ISOMAC].
14063 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14066 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14068 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14070 * configure.in (--enable-versioning): Remove configure option.
14071 (libc_cv_asm_symver_directive): Remove configure test.
14072 (libc_cv_ld_version_script_option): Likewise.
14073 (VERSIONING): Remove variable and AC_SUBST.
14074 (DO_VERSIONING): Remove AC_DEFINE.
14075 * configure: Regenerated.
14076 * config.h.in (DO_VERSIONING): Remove macro.
14077 * Makerules [$(versioning) = yes]: Change conditionals to
14078 [$(build-shared) = yes].
14079 * config.make.in (versioning): Remove variable.
14080 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14081 [$(build-shared) = yes].
14082 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14083 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14084 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14085 [$(build-shared) = yes].
14086 * extra-lib.mk [$(versioning) = yes]: Likewise.
14087 * hurd/Makefile [$(versioning) = yes]: Likewise.
14088 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14090 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14092 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14093 [SHARED && !NO_HIDDEN].
14094 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14096 [SHARED && DO_VERSIONING]: Likewise..
14097 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14098 [$(build-shared) = yes].
14099 * manual/install.texi (--disable-versioning): Remove
14101 * INSTALL: Regenerated.
14102 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14104 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14105 [$(build-shared) = yes].
14106 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14107 * sysdeps/i386/i686/multiarch/strstr-c.c
14108 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14109 [SHARED && !NO_HIDDEN].
14110 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14111 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14112 * sysdeps/powerpc/powerpc32/dl-machine.c
14113 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14114 * sysdeps/powerpc/powerpc32/sysdep.h
14115 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14116 to [SHARED && PIC && !NO_HIDDEN].
14117 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14118 conditional to [SHARED].
14120 2013-09-04 Will Newton <will.newton@linaro.org>
14122 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14123 * benchtests/bench-string.h: Include bench-timing.h instead
14124 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14125 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14126 call to HP_TIMING_DIFF_INIT.
14127 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14128 instead of hp-timing.h macros.
14129 * benchtests/bench-memchr.c: Likewise.
14130 * benchtests/bench-memcmp.c: Likewise.
14131 * benchtests/bench-memcpy.c: Likewise.
14132 * benchtests/bench-memmem.c: Likewise.
14133 * benchtests/bench-memmove.c: Likewise.
14134 * benchtests/bench-memset.c: Likewise.
14135 * benchtests/bench-rawmemchr.c: Likewise.
14136 * benchtests/bench-strcasecmp.c: Likewise.
14137 * benchtests/bench-strcasestr.c: Likewise.
14138 * benchtests/bench-strcat.c: Likewise.
14139 * benchtests/bench-strchr.c: Likewise.
14140 * benchtests/bench-strcmp.c: Likewise.
14141 * benchtests/bench-strcpy.c: Likewise.
14142 * benchtests/bench-strcpy_chk.c: Likewise.
14143 * benchtests/bench-strlen.c: Likewise.
14144 * benchtests/bench-strncasecmp.c: Likewise.
14145 * benchtests/bench-strncat.c: Likewise.
14146 * benchtests/bench-strncmp.c: Likewise.
14147 * benchtests/bench-strncpy.c: Likewise.
14148 * benchtests/bench-strnlen.c: Likewise.
14149 * benchtests/bench-strpbrk.c: Likewise.
14150 * benchtests/bench-strrchr.c: Likewise.
14151 * benchtests/bench-strspn.c: Likewise.
14152 * benchtests/bench-strstr.c: Likewise.
14154 2013-09-04 Will Newton <will.newton@linaro.org>
14156 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14158 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14161 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14162 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14163 * math/libm-test.inc (lgamma_test_data): Add more tests.
14164 * sysdeps/i386/fpu/libm-test-ulps: Update.
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14167 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14169 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14173 Add strcmp-sse2-unaligned
14174 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14176 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14178 * Versions.def (libc): Add GLIBC_2.19.
14180 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14182 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14183 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14185 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14188 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14189 intermediate calculations in recurrence.
14190 (__ieee754_ynf): Likewise.
14191 * math/libm-test.inc (jn_test_data): Do not allow spurious
14192 underflow exception. Add more tests.
14193 (yn_test_data): Add more tests.
14194 * sysdeps/i386/fpu/libm-test-ulps: Update.
14195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14197 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14199 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14201 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14203 * csu/init-first.c: Fix then/than typos.
14204 * locale/programs/ld-collate.c: Likewise.
14205 * locale/programs/linereader.h: Likewise.
14206 * manual/charset.texi: Likewise.
14207 * manual/filesys.texi: Likewise.
14208 * manual/stdio.texi: Likewise.
14209 * manual/string.texi: Likewise.
14210 * stdlib/fmtmsg.c: Likewise.
14211 * sysdeps/i386/stpncpy.S: Likewise.
14212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14213 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14217 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14219 * elf/dl-open.c: Fix typos.
14220 * iconvdata/gbbig5.c: Likewise.
14221 * iconvdata/iso-2022-jp.c: Likewise.
14222 * iconv/gconv_int.h: Likewise.
14223 * iconv/loop.c: Likewise.
14224 * nis/rpcsvc/nis.h: Likewise.
14225 * resolv/ns_name.c: Likewise.
14226 * stdio-common/vfscanf.c: Likewise.
14227 * streams/stropts.h: Likewise.
14228 * sunrpc/rpc_thread.c: Likewise.
14229 * sysdeps/i386/strpbrk.S: Likewise.
14230 * sysdeps/ieee754/k_standard.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14233 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14234 * sysdeps/mach/hurd/profil.c: Likewise.
14235 * sysdeps/s390/dl-procinfo.h: Likewise.
14236 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14237 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14239 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14240 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14242 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14244 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14245 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14247 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14249 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14250 aix specific files.
14251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14254 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14255 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14256 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14257 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14258 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14260 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14261 Roland McGrath <roland@hack.frob.com>
14263 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14264 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14266 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14268 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14269 __executable_start symbol instead of _start.
14271 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14273 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14274 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14276 * sysdeps/gnu/ldsodefs.h: ... this new file.
14278 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14279 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14280 instead of ELFOSABI_LINUX.
14282 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14283 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14284 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14285 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14287 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14288 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14289 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14291 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14292 (ibm_extended_long_double): Add ieee_nan member.
14293 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14294 (do_test): New function.
14296 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14298 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14299 functions, renamed from truncdfsf_test, trunctfsf_test,
14301 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14303 (do_test): Run all these.
14305 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14307 * argp/argp-help.c: Fix typos.
14308 * argp/argp-parse.c: Likewise.
14309 * debug/backtracesyms.c: Likewise.
14310 * elf/elf.h: Likewise.
14311 * malloc/malloc.c: Likewise.
14312 * nis/nis_print.c: Likewise.
14313 * resolv/res_comp.c: Likewise.
14314 * stdlib/stdlib.h: Likewise.
14315 * sunrpc/clnt_tcp.c: Likewise.
14316 * sunrpc/clnt_udp.c: Likewise.
14317 * sunrpc/clnt_unix.c: Likewise.
14318 * sysdeps/unix/bsd/ptsname.c: Likewise.
14319 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14327 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14329 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14331 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14334 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14337 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14338 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14339 ($(objpfx)bug-dl-leaf): New rule.
14340 ($(objpfx)bug-dl-leaf.so): Likewise.
14341 ($(objpfx)bug-dl-leaf.out): Likewise.
14342 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14343 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14344 * dlfcn/bug-dl-leaf.c: New test.
14345 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14346 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14347 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14348 (dlclose): Likewise.
14349 (dlmopen): Likewise.
14351 2013-08-27 Roland McGrath <roland@hack.frob.com>
14353 * include/netdb.h [!_ISOMAC]:
14354 Don't include <tls.h>.
14355 (h_errno, __libc_h_errno): Move declaration and macros out of
14358 * include/resolv.h [_RESOLV_H_]:
14359 Don't include <tls.h>.
14360 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14361 * resolv/res_libc.c: Don't include <tls.h>.
14362 (_res): Use __attribute__ ((nocommon)) in place of
14363 __attribute__ ((section (".bss"))).
14365 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14366 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14368 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14370 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14371 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14373 * resolv/res_mkquery.c: Include <sys/time.h>.
14375 * inet/ifreq.c: Moved to ...
14376 * sysdeps/unix/ifreq.c: ... here.
14377 * inet/ifreq.c: New file, true stub version.
14379 * socket/sa_len.c: New file.
14380 * socket/Makefile (aux): Add it.
14381 * sysdeps/unix/sysv/linux/Makefile
14382 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14383 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14384 and #include <socket/sa_len.c>.
14385 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14386 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14389 * bits/socket.h: ... here.
14391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14392 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14393 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14395 2013-08-27 Andreas Schwab <schwab@suse.de>
14398 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14399 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14400 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14401 * string/test-strcasecmp.c (test_main): Run tests in several
14403 * string/test-strncasecmp.c (test_main): Likewise.
14405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14406 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14407 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14409 (__strncasecmp_ssse3) [PIC]: Likewise.
14411 2013-08-26 Roland McGrath <roland@hack.frob.com>
14413 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14415 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14416 instead of explicitly declaring xdecrypt.
14417 * nis/nss_nis/nis-publickey.c: Likewise.
14419 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14422 * nscd/aicache.c: Include res_hconf.h.
14423 (addhstaiX): Initialize res_hconf.
14425 2013-08-26 Andreas Schwab <schwab@suse.de>
14427 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14428 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14430 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14432 * nscd/aicache.c (addhstaiX): Fix indentation.
14434 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14436 * configure.ac: Quote $build_pt_chown test.
14437 * configure: Regenerated.
14439 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14442 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14443 * math/s_cexpf.c (__cexpf): Likewise.
14444 * math/s_cexpl.c (__cexpl): Likewise.
14445 * math/libm-test.inc (cexp_test_data): Correct expected return
14446 value for NaN + i0. Add another test.
14448 2013-08-22 David S. Miller <davem@davemloft.net>
14450 * po/ca.po: Update Catalan translation from translation project.
14451 * po/uk.po: Add Ukrainian translations from translation project.
14453 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14456 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14457 is infinite, not alongside NaN test.
14458 * math/s_fdimf.c (__fdimf): Likewise.
14459 * math/s_fdiml.c (__fdiml): Likewise.
14460 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14461 errno is unchanged.
14463 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14465 * argp/argp-help.c: Fix typos.
14466 * crypt/speeds.c: Likewise.
14467 * csu/check_fds.c: Likewise.
14468 * elf/dl-load.c: Likewise.
14469 * elf/dl-open.c: Likewise.
14470 * elf/reldep3.c: Likewise.
14471 * elf/reldep.c: Likewise.
14472 * elf/sprof.c: Likewise.
14473 * iconv/iconv_charmap.c: Likewise.
14474 * iconv/skeleton.c: Likewise.
14475 * iconv/strtab.c: Likewise.
14476 * io/lockf64.c: Likewise.
14477 * libio/libioP.h: Likewise.
14478 * resolv/gai_notify.c: Likewise.
14479 * resolv/ns_name.c: Likewise.
14480 * resolv/ns_samedomain.c: Likewise.
14481 * resolv/res_send.c: Likewise.
14482 * stdlib/random.c: Likewise.
14483 * sunrpc/rpc/xdr.h: Likewise.
14484 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14486 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14487 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14489 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14492 * sysdeps/mach/hurd/check_fds.c: Likewise.
14493 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14494 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14497 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14499 * sysdeps/pthread/aio_notify.c: Likewise.
14500 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14501 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14503 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14504 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14506 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14508 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14509 version if bit_Slow_SSE4_2 is set.
14510 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14513 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14516 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14517 trampoline stack frame information.
14518 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14519 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14520 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14521 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14522 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14523 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14524 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14525 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14527 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14528 interrupting a syscall and set with option SA_SIGINFO.
14530 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14533 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14534 argument is infinite.
14535 * math/s_cprojf.c (__cprojf): Likewise.
14536 * math/s_cprojl.c (__cprojl): Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14538 * math/libm-test.inc (cproj_test_data): Add more tests.
14540 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14542 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14543 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14544 size. Use __ffs to determine corresponding shift.
14546 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14547 Roland McGrath <roland@hack.frob.com>
14549 * Makefile (INSTALL): Remove trailing blank lines from output of
14552 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14554 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14555 Align 32 bit compat elf_greg to 8 bytes.
14557 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14559 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14561 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14563 * string/strcoll_l.c (coll_seq): New structure.
14564 (get_next_seq_cached): New function.
14565 (get_next_seq): New function.
14566 (do_compare): New function.
14567 (STRCOLL): Use GNU style definition. Simplify implementation
14568 by using get_next_seq, get_next_seq_cached and do_compare.
14570 2013-08-16 Florian Weimer <fweimer@redhat.com>
14574 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14576 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14578 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14579 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14580 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14582 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14583 GETDENTS_64BIT_ALIGNED.
14584 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14585 * manual/filesys.texi (Reading/Closing Directory): Document
14586 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14588 * manual/conf.texi (Limits for Files): Add portability note to
14589 NAME_MAX, PATH_MAX.
14590 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14592 2013-08-13 Andreas Schwab <schwab@suse.de>
14595 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14597 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14598 LDBL_MAX_EXP >= 16384]: Add tests for it.
14600 2013-08-12 David S. Miller <davem@davemloft.net>
14602 * version.h (RELEASE): Set to "development".
14603 (VERSION): Set to "2.18.90".
14604 * NEWS: Add 2.19 section.
14606 2013-08-03 David S. Miller <davem@davemloft.net>
14608 * po/ko.po: Update Korean translation from translation project.
14610 2013-08-01 David S. Miller <davem@davemloft.net>
14612 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14613 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14616 2013-07-30 David S. Miller <davem@davemloft.net>
14618 * po/fr.po: Update French translation from translation project.
14620 2013-07-28 David S. Miller <davem@davemloft.net>
14622 * po/cs.po: Update Czech translation from translation project.
14624 * po/sv.po: Update Swedish translation from translation project.
14626 2013-07-27 David S. Miller <davem@davemloft.net>
14628 * po/eo.po: Update Esperanto translation from translation project.
14630 * po/vi.po: Update Vietnamese translation from translation project.
14632 * po/de.po: Update German translation from translation project.
14634 2013-07-26 David S. Miller <davem@davemloft.net>
14636 * po/bg.po: Update Bulgarian translation from translation project.
14638 * po/nl.po: Update Dutch translation from translation project.
14639 * po/pl.po: Update Polish translation from translation project.
14640 * po/ru.po: Update Russian translation from translation project.
14642 2013-07-24 David S. Miller <davem@davemloft.net>
14644 * po/libc.pot: Update.
14646 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14648 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14649 variable page size.
14650 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14651 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14652 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14654 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14656 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14658 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14659 Andreas Schwab <schwab@suse.de>
14660 Roland McGrath <roland@hack.frob.com>
14661 Joseph Myers <joseph@codesourcery.com>
14662 Carlos O'Donell <carlos@redhat.com>
14665 * config.h.in: Define HAVE_PT_CHOWN.
14666 * config.make.in (build-pt-chown): New variable.
14667 * configure.in (--enable-pt_chown): New configure option.
14668 * configure: Regenerate.
14669 * login/Makefile: Include Makeconfig. Build pt_chown only if
14670 build-pt-chown is enabled.
14671 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14672 pt_chown to fix pty ownership.
14673 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14675 * manual/install.texi (Configuring and compiling): Mention
14676 --enable-pt_chown. Add @findex for grantpt.
14677 * INSTALL: Regenerate.
14679 2013-07-20 David S. Miller <davem@davemloft.net>
14681 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14682 difference between 32-bit and 64-bit.
14684 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14687 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14688 Avoid system header dependency with -ffreestanding.
14689 ($(objpfx)bits/syscall%d): Likewise.
14691 2013-07-13 David S. Miller <davem@davemloft.net>
14693 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14694 underflows from atanl/atan2l due to bug 15319.
14695 (casinh_test_data): Likewise.
14697 2013-07-07 David S. Miller <davem@davemloft.net>
14699 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14701 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14703 * sysdeps/i386/fpu/libm-test-ulps: Update.
14704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14706 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14708 * configure.in (--enable-lock-elision): Fix message text.
14709 * INSTALL: Regenerate.
14710 * configure: Regenerate.
14712 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14716 2013-07-03 Andreas Jaeger <aj@suse.de>
14718 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14720 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14721 (ptrace_peeksiginfo_args): Add.
14722 (__ptrace_peeksiginfo_flags): Add.
14723 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14727 2013-07-03 Allan McRae <allan@archlinux.org>
14729 * sysdeps/i386/fpu/libm-test-ulps: Update.
14731 2013-07-02 David S. Miller <davem@davemloft.net>
14733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14735 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14739 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14741 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14744 2013-07-02 Andi Kleen <ak@linux.intel.com>
14746 * config.h.in (ENABLE_LOCK_ELISION): Add.
14747 * configure.in (--enable-lock-elision): Add option.
14748 * manual/install.texi: Document --enable lock elision.
14749 * configure: Regenerate
14750 * INSTALL: Regenerate.
14752 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14754 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14755 SSE4.2 strcasecmp for libc.a.
14756 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14758 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14761 * soft-fp/op-common.h (_FP_FMA): New macro.
14762 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14763 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14764 (_FP_MUL_MEAT_1_imm): ... here.
14765 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14766 (_FP_MUL_MEAT_1_wide): ... here.
14767 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14768 (_FP_MUL_MEAT_1_hard): ... here.
14769 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14770 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14771 (_FP_MUL_MEAT_2_wide): ... here.
14772 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14773 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14774 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14775 (_FP_MUL_MEAT_2_gmp): ... here.
14776 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14777 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14778 (_FP_MUL_MEAT_4_wide): ... here.
14779 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14780 (_FP_MUL_MEAT_4_gmp): ... here.
14781 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14782 (_FP_WFRACBITS_DW_S): Likewise.
14783 (_FP_WFRACXBITS_DW_S): Likewise.
14784 (_FP_HIGHBIT_DW_S): Likewise.
14785 (FP_FMA_S): Likewise.
14786 (_FP_FRAC_HIGH_DW_S): Likewise.
14787 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14788 (_FP_WFRACBITS_DW_D): Likewise.
14789 (_FP_WFRACXBITS_DW_D): Likewise.
14790 (_FP_HIGHBIT_DW_D): Likewise.
14791 (FP_FMA_D): Likewise.
14792 (_FP_FRAC_HIGH_DW_D): Likewise.
14793 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14794 (_FP_WFRACBITS_DW_E): Likewise.
14795 (_FP_WFRACXBITS_DW_E): Likewise.
14796 (_FP_HIGHBIT_DW_E): Likewise.
14797 (FP_FMA_E): Likewise.
14798 (_FP_FRAC_HIGH_DW_E): Likewise.
14799 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14800 (_FP_WFRACBITS_DW_Q): Likewise.
14801 (_FP_WFRACXBITS_DW_Q): Likewise.
14802 (_FP_HIGHBIT_DW_Q): Likewise.
14803 (FP_FMA_Q): Likewise.
14804 (_FP_FRAC_HIGH_DW_Q): Likewise.
14805 * soft-fp/fmasf4.c: New file.
14806 * soft-fp/fmadf4.c: Likewise.
14807 * soft-fp/fmatf4.c: Likewise.
14809 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14812 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14816 (index_Slow_SSE4_2): Likewise.
14817 (index_Prefer_PMINUB_for_stringop): Likewise.
14818 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14819 bit_Slow_SSE4_2 is set.
14820 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14823 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14825 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14826 rtld_global._dl_hwcap2.
14827 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14829 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14830 POWER8 feature descriptions defined in _dl_hwcap2.
14831 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14832 string handling for POWER8 feature bits.
14833 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14834 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14835 _dl_powerpc_cap_flags.
14836 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14837 * sysdeps/powerpc/rtld-global-offsets.sym
14838 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14839 _dl_hwcap2 in the rtld_global_ro structure.
14841 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14843 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14844 hardware capabilities in support of AT_HWCAP2.
14845 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14846 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14848 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14849 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14850 explicitly the unknown a_type display mechanism is used.
14851 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14852 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14854 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14855 to macro prototype for AT_HWCAP2 support.
14856 * sysdeps/i386/dl-procinfo.h: Likewise.
14857 * sysdeps/s390/dl-procinfo.h: Likewise.
14858 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14859 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14860 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14861 return -1 for unknown a_type display fallback.
14862 * sysdeps/sparc/dl-procinfo.h: Likewise.
14863 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14864 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14866 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14868 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14869 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14871 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14874 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14875 mprotect making __stack_prot writable.
14877 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14878 Joseph Myers <joseph@codesourcery.com>
14880 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14881 as being properly aligned.
14883 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14885 * dlfcn/modstatic5.c: New file.
14886 * dlfcn/tststatic5.c: New file.
14887 * dlfcn/Makefile (tests): Add tststatic5.
14888 (tests-static): Likewise.
14889 (modules-names): Add modstatic5.
14890 (tststatic5-ENV): New variable.
14891 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14894 * elf/dl-support.c (_dl_main_map): New variable.
14895 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14896 (_dl_nns, _dl_load_adds): Set to 1.
14897 (_dl_initial_searchlist): Refer to _dl_main_map.
14898 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14899 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14900 call to _dl_get_origin.
14901 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14903 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14904 * dlfcn/modstatic3.c: New file.
14905 * dlfcn/tststatic3.c: New file.
14906 * dlfcn/tststatic4.c: New file.
14907 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14908 (tests-static): Likewise.
14909 (modules-names): Add modstatic3.
14910 (tststatic3-ENV, tststatic4-ENV): New variables.
14911 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14912 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14914 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14916 * configure.in (CC): Require GCC version 4.4 or later.
14917 * configure: Regenerated.
14918 * manual/install.texi (Tools for Compilation): Update GCC version
14920 * INSTALL: Regenerated.
14922 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14925 * string/test-memcmp.c (check2): New.
14926 (main): Call check2.
14928 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14930 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14933 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14935 (dl_open_worker) [!SHARED]: ... here.
14937 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14939 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14941 2013-06-25 Richard Henderson <rth@redhat.com>
14943 * locale/programs/locarchive.c: Include <libc-internal.h>
14945 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14947 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14948 trailing whitespace removed.
14950 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14953 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14954 * locale/programs/locarchive.c: Include libc-mmap.h.
14955 (prepare_address_space): Take two new outputs (the mmap base and len).
14956 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14958 (create_archive): Declare new mmap base and len values for
14959 prepare_address_space, and store the result in ah.
14960 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14961 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14962 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14963 Declare new mmap base and len values for
14964 prepare_address_space, and store the result in new_ah.
14965 (open_archive): Declare new mmap base and len values for
14966 prepare_address_space, and store the result in ah.
14967 (close_archive): If ah->mmap_base is not NULL, use that and
14968 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14969 * sysdeps/generic/libc-mmap.h: New file.
14971 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14973 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14974 (ALIGN_UP): Likewise.
14975 (PTR_ALIGN_DOWN): Likewise.
14976 (PTR_ALIGN_UP): Likewise.
14978 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14980 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14981 entry mapped to PPC_PLATFORM_POWER8.
14982 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14984 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14985 (_dl_string_platform): Add case for exporting platform position for
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14988 search path to sysdeps/powerpc/powerpc32/power8 directory.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14990 search path to sysdeps/powerpc/powerpc64/power8 directory.
14991 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14992 power7 directories.
14993 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14994 power7 directories.
14996 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14998 * INSTALL: Regenerate.
15000 * nscd/connections.c (nscd_init): Fix comment.
15002 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15004 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15007 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15008 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15010 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15012 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15014 (DL_DST_REQ_STATIC): Remove macro.
15016 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15019 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15020 with a shift of 0 bits.
15022 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15024 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15027 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15030 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15032 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15034 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15035 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15036 accepts -fno-tree-loop-distribute-patterns.
15037 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15038 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15040 * string/memset.c (memset): Likewise.
15041 * string/test-memmove.c (simple_memmove): Disable loop transformation
15043 * string/test-memset.c (simple_memset): Likewise.
15044 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15045 * benchtests/bench-memset.c (simple_memset): Likewise.
15046 * configure: Regenerated.
15048 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15050 * math/test-misc.c (main): Ignore fesetround failure when failures
15051 of subsequent rounding tests would be ignored.
15054 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15055 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15056 * math/fegetenv.c (__fegetenv): Return 0.
15057 * math/fegetexcept.c (fegetexcept): Return 0.
15058 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15060 * math/feholdexcpt.c (feholdexcept): Return 0.
15061 * math/fesetenv.c (__fesetenv): Return 0.
15062 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15063 argument FE_TONEAREST.
15064 * math/feupdateenv.c (__feupdateenv): Return 0.
15065 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15067 2013-06-18 Roland McGrath <roland@hack.frob.com>
15069 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15070 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15071 ($(objpfx)rtld-%.os rules): Use them.
15073 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15075 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15078 2013-06-17 Roland McGrath <roland@hack.frob.com>
15080 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15081 length of target pattern, then descending length of dependency pattern.
15082 * configure.in (AWK): Require gawk 3.1.2 or newer.
15083 * manual/install.texi (Tools for Compilation): Say that we do.
15084 * configure: Regenerated.
15086 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15087 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15088 * scripts/sysd-rules.awk: ... this new script.
15089 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15090 than a glob-style pattern.
15092 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15094 * math/test-misc.c (main): Do not treat incorrectly rounded
15095 conversions as failure unless ROUNDING_TESTS passes.
15097 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15101 restore exception state around main square root computation, then
15102 check for inexactness explicitly.
15104 * math/libm-test.inc (fma_test_data): Add another test.
15106 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15108 * manual/threads.texi (Non-POSIX Extensions): New document
15109 node. Document pthread_getattr_default_np and
15110 pthread_setattr_default_np.
15112 * Versions.def (libpthread): Add GLIBC_2.18.
15113 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15122 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15133 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15136 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15138 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15139 H.J. Lu <hjl.tools@gmail.com>
15142 * sysdeps/x86_64/rtld-memset.c: Remove file.
15143 * sysdeps/x86_64/rtld-memset.S: New file.
15145 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15147 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15148 (test_in_one_mode): Take arguments for whether the rounding mode
15149 is supported for each floating-point type.
15150 (do_test): Pass new arguments to test_in_one_mode using
15153 2013-06-13 Roland McGrath <roland@hack.frob.com>
15155 * posix/tst-waitid.c (do_test): Distinguish different instances of
15156 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15157 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15158 before entering the kernel for waitpid.
15160 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15162 * NEWS: Fix note on clock function precision. Text by Roland
15165 2013-06-13 Roland McGrath <roland@hack.frob.com>
15167 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15168 it into place only when and if the sanity check passes.
15170 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15172 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15173 output for whether conversion result is exact. Take argument
15174 indicating whether type is IBM long double.
15175 (round_for_all): Change need_exact field to ibm_ld.
15176 * stdlib/tst-strtod-round.c (struct exactness): New type.
15177 (struct test): Change bool ld_ok field to struct exactness exact.
15178 (TEST): Update all definitions for change to field.
15179 (tests): Regenerate array contents.
15180 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15181 field value. Check for IBM long double here.
15182 (do_test): Update calls to test_in_one_mode.
15184 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15187 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15188 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15190 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15193 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15194 generated by the compiler on loop optimizations.
15195 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15196 general definitions.
15198 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15200 * math/bug-nextafter.c: Include <math-tests.h>.
15201 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15203 * math/bug-nexttoward.c: Include <math-tests.h>.
15204 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15206 * math/test-misc.c: Include <math-tests.h>.
15207 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15210 2013-06-12 Andreas Jaeger <aj@suse.de>
15212 * po/ia.po: Update Interlingua translation from translation
15215 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15217 * include/fenv.h: Include stdbool.h.
15218 (struct rm_ctx): New structure.
15219 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15221 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15222 (SET_RESTORE_ROUNDF): Likewise.
15223 (SET_RESTORE_ROUNDL): Likewise.
15224 (SET_RESTORE_ROUND_NOEX): Likewise.
15225 (SET_RESTORE_ROUND_NOEXF): Likewise.
15226 (SET_RESTORE_ROUND_NOEXL): Likewise.
15227 (SET_RESTORE_ROUND_53BIT): Likewise.
15228 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15229 (libc_feresetround_noexf_ctx): Likewise.
15230 (libc_feresetround_noexl_ctx): Likewise.
15231 (libc_feholdsetround_53bit_ctx): Likewise.
15232 (libc_feresetround_53bit_ctx): Likewise.
15233 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15234 (libc_feholdexcept_setround_sse_ctx): New function.
15235 (libc_fesetenv_sse_ctx): Likewise.
15236 (libc_feupdateenv_sse_ctx): Likewise.
15237 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15238 (libc_feholdexcept_setround_387_ctx): Likewise.
15239 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15240 (libc_feholdsetround_387_prec_ctx): Likewise.
15241 (libc_feholdsetround_387_ctx): Likewise.
15242 (libc_feholdsetround_387_53bit_ctx): Likewise.
15243 (libc_feholdsetround_sse_ctx): Likewise.
15244 (libc_feresetround_sse_ctx): Likewise.
15245 (libc_feresetround_387_ctx): Likewise.
15246 (libc_feupdateenv_387_ctx): Likewise.
15247 (libc_feholdexcept_setroundf_ctx): Define macro.
15248 (libc_fesetenvf_ctx): Likewise.
15249 (libc_feupdateenvf_ctx): Likewise.
15250 (libc_feholdsetroundf_ctx): Likewise.
15251 (libc_feresetroundf_ctx): Likewise.
15252 (libc_feholdexcept_setround_ctx): Likewise.
15253 (libc_fesetenv_ctx): Likewise.
15254 (libc_feupdateenv_ctx): Likewise.
15255 (libc_feholdsetround_ctx): Likewise.
15256 (libc_feresetround_ctx): Likewise.
15257 (libc_feholdexcept_setroundl_ctx): Likewise.
15258 (libc_feupdateenvl_ctx): Likewise.
15259 (libc_feholdsetroundl_ctx): Likewise.
15260 (libc_feresetroundl_ctx): Likewise.
15261 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15262 (libc_feresetround_53bit_ctx): Likewise.
15264 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15266 * locale/iso-639.def: Convert to UTF-8.
15268 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15270 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15271 (EXCEPTION_TESTS_double): Likewise.
15272 (EXCEPTION_TESTS_long_double): Likewise.
15273 (EXCEPTION_TESTS): Likewise.
15274 * math/libm-test.inc (test_exceptions): Only test exceptions if
15275 EXCEPTION_TESTS (FLOAT).
15277 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 * benchtests/Makefile (string-bench): Add strcpy_chk and
15281 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15282 * benchtests/bench-stpcpy_chk.c: New file.
15283 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15284 * benchtests/bench-strcpy_chk.c: New file.
15285 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15287 (do_test): Likewise.
15289 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15291 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15292 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15293 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15294 with tabs where appropriate.
15295 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15297 [PPC_PLATFORM_PPC440]: Likewise.
15298 [PPC_PLATFORM_PPC464]: Likewise.
15299 [PPC_PLATFORM_PPC476]: Likewise.
15300 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15301 ppc464, and ppc476 platform strings merging from ports/
15304 2013-06-11 Andreas Schwab <schwab@suse.de>
15307 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15308 (from_ucs4_idx): Regenerate.
15309 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15310 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15311 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15312 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15313 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15314 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15315 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15316 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15317 from FROM_LOOP and TO_LOOP specific macros.
15318 (BODY): Handle combining characters.
15319 * iconvdata/BIG5HKSCS.irreversible: Update.
15320 * iconvdata/BIG5HKSCS.precomposed: New file.
15321 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15323 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15325 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15327 * include/sys/time.h: Fix indentation and add copyright header.
15329 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15330 (do_test): Likewise.
15331 * string/test-memchr.c (do_one_test): Likewise.
15332 (do_test): Likewise.
15333 * string/test-memcmp.c (do_one_test): Likewise.
15334 (do_test): Likewise.
15335 * string/test-memcpy.c (do_one_test): Likewise.
15336 (do_test): Likewise.
15337 * string/test-memmem.c (do_one_test): Likewise.
15338 (do_test): Likewise.
15339 (do_random_tests): Likewise.
15340 * string/test-memmove.c (do_one_test): Likewise.
15341 (do_test): Likewise.
15342 * string/test-memset.c (do_one_test): Likewise.
15343 (do_test): Likewise.
15344 * string/test-rawmemchr.c (do_one_test): Likewise.
15345 (do_test): Likewise.
15346 * string/test-strcasecmp.c (do_one_test): Likewise.
15347 (do_test): Likewise.
15348 * string/test-strcasestr.c (do_one_test): Likewise.
15349 (do_test): Likewise.
15350 * string/test-strcat.c (do_one_test): Likewise.
15351 (do_test): Likewise.
15352 * string/test-strchr.c (do_one_test): Likewise.
15353 (do_test): Likewise.
15354 * string/test-strcmp.c (do_one_test): Likewise.
15355 (do_test): Likewise.
15356 * string/test-strcpy.c (do_one_test): Likewise.
15357 (do_test): Likewise.
15358 * string/test-string.h: Likewise.
15359 (test_init): Likewise.
15360 * string/test-strlen.c (do_one_test): Likewise.
15361 (do_test): Likewise.
15362 * string/test-strncasecmp.c (do_one_test): Likewise.
15363 (do_test): Likewise.
15364 * string/test-strncat.c (do_one_test): Likewise.
15365 (do_test): Likewise.
15366 * string/test-strncmp.c (do_one_test): Likewise.
15367 (do_test_limit): Likewise.
15368 (do_test): Likewise.
15369 * string/test-strncpy.c (do_one_test): Likewise.
15370 (do_test): Likewise.
15371 * string/test-strnlen.c (do_one_test): Likewise.
15372 (do_test): Likewise.
15373 * string/test-strpbrk.c (do_one_test): Likewise.
15374 (do_test): Likewise.
15375 * string/test-strrchr.c (do_one_test): Likewise.
15376 (do_test): Likewise.
15377 * string/test-strspn.c (do_one_test): Likewise.
15378 (do_test): Likewise.
15379 * string/test-strstr.c (do_one_test): Likewise.
15380 (do_test): Likewise.
15382 * benchtests/Makefile (string-bench): Add string benchmarks.
15383 * benchtests/bench-bcopy-ifunc.c: New file.
15384 * benchtests/bench-bcopy.c: New file.
15385 * benchtests/bench-bzero-ifunc.c: New file.
15386 * benchtests/bench-bzero.c: New file.
15387 * benchtests/bench-memccpy-ifunc.c: New file.
15388 * benchtests/bench-memccpy.c: New file.
15389 * benchtests/bench-memchr-ifunc.c: New file.
15390 * benchtests/bench-memchr.c: New file.
15391 * benchtests/bench-memcmp-ifunc.c: New file.
15392 * benchtests/bench-memcmp.c: New file.
15393 * benchtests/bench-memmem-ifunc.c: New file.
15394 * benchtests/bench-memmem.c: New file.
15395 * benchtests/bench-memmove-ifunc.c: New file.
15396 * benchtests/bench-memmove.c: New file.
15397 * benchtests/bench-mempcpy-ifunc.c: New file.
15398 * benchtests/bench-mempcpy.c: New file.
15399 * benchtests/bench-memset-ifunc.c: New file.
15400 * benchtests/bench-memset.c: New file.
15401 * benchtests/bench-rawmemchr-ifunc.c: New file.
15402 * benchtests/bench-rawmemchr.c: New file.
15403 * benchtests/bench-stpcpy-ifunc.c: New file.
15404 * benchtests/bench-stpcpy.c: New file.
15405 * benchtests/bench-stpncpy-ifunc.c: New file.
15406 * benchtests/bench-stpncpy.c: New file.
15407 * benchtests/bench-strcasecmp-ifunc.c: New file.
15408 * benchtests/bench-strcasecmp.c: New file.
15409 * benchtests/bench-strcasestr-ifunc.c: New file.
15410 * benchtests/bench-strcasestr.c: New file.
15411 * benchtests/bench-strcat-ifunc.c: New file.
15412 * benchtests/bench-strcat.c: New file.
15413 * benchtests/bench-strchr-ifunc.c: New file.
15414 * benchtests/bench-strchr.c: New file.
15415 * benchtests/bench-strchrnul-ifunc.c: New file.
15416 * benchtests/bench-strchrnul.c: New file.
15417 * benchtests/bench-strcmp-ifunc.c: New file.
15418 * benchtests/bench-strcmp.c: New file.
15419 * benchtests/bench-strcpy-ifunc.c: New file.
15420 * benchtests/bench-strcpy.c: New file.
15421 * benchtests/bench-strcspn-ifunc.c: New file.
15422 * benchtests/bench-strcspn.c: New file.
15423 * benchtests/bench-strlen-ifunc.c: New file.
15424 * benchtests/bench-strlen.c: New file.
15425 * benchtests/bench-strncasecmp-ifunc.c: New file.
15426 * benchtests/bench-strncasecmp.c: New file.
15427 * benchtests/bench-strncat-ifunc.c: New file.
15428 * benchtests/bench-strncat.c: New file.
15429 * benchtests/bench-strncmp-ifunc.c: New file.
15430 * benchtests/bench-strncmp.c: New file.
15431 * benchtests/bench-strncpy-ifunc.c: New file.
15432 * benchtests/bench-strncpy.c: New file.
15433 * benchtests/bench-strnlen-ifunc.c: New file.
15434 * benchtests/bench-strnlen.c: New file.
15435 * benchtests/bench-strpbrk-ifunc.c: New file.
15436 * benchtests/bench-strpbrk.c: New file.
15437 * benchtests/bench-strrchr-ifunc.c: New file.
15438 * benchtests/bench-strrchr.c: New file.
15439 * benchtests/bench-strspn-ifunc.c: New file.
15440 * benchtests/bench-strspn.c: New file.
15441 * benchtests/bench-strstr-ifunc.c: New file.
15442 * benchtests/bench-strstr.c: New file.
15444 * benchtests/Makefile: Disable parallel execution of targets.
15445 (string-bench): Add memcpy.
15446 (benchset): New variable to store a list of benchmark sets.
15447 (bench-func): Renamed from bench.
15448 (bench-set): New target.
15449 (bench): Depend on bench-func and bench-set.
15450 * benchtests/README: Add section on benchmark sets.
15451 * benchtests/bench-memcpy-ifunc.c: New file.
15452 * benchtests/bench-memcpy.c: New file.
15453 * benchtests/bench-string.h: New file.
15455 2013-06-11 Andreas Schwab <schwab@suse.de>
15458 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15459 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15460 values in the triple.
15461 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15462 terminator in the group key.
15464 2013-06-11 Andreas Jaeger <aj@suse.de>
15466 * po/zh_TW.po: Update Chinese (traditional) translation from
15467 translation project.
15469 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15471 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15472 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15473 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15474 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15475 (clock_getcpuclockid): Likewise.
15476 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15477 Add weak_alias and libc_hidden_def.
15478 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15479 * rt/clock_gettime.c (clock_gettime): Rename to
15480 __clock_gettime. Add weak_alias and libc_hidden_def.
15481 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15482 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15483 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15484 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15485 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15487 * rt/clock_settime.c (clock_settime): Rename to
15488 __clock_settime. Add weak_alias and libc_hidden_def.
15489 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15491 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15493 * mach/err_boot.sub: Remove trailing whitespace.
15494 * mach/err_ipc.sub: Likewise.
15495 * mach/err_mach.sub: Likewise.
15497 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15498 (ROUNDING_TESTS_double): Likewise.
15499 (ROUNDING_TESTS_long_double): Likewise.
15500 (ROUNDING_TESTS): Likewise.
15501 * math/libm-test.inc: Include <math-tests.h>.
15502 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15503 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15504 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15505 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15507 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15509 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15512 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15514 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15515 otherwise empty TRANS lines.
15516 * sysdeps/gnu/errlist.c: Regenerated.
15518 * catgets/gencat.c (error_print): Use (void) in function
15520 * crypt/crypt_util.c (__init_des): Likewise.
15521 * crypt/speeds.c (Stop): Likewise.
15523 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15524 * inet/ruserpass.c (token): Likewise.
15525 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15526 * intl/localealias.c (extend_alias_table): Likewise.
15527 * intl/plural-exp.c (init_germanic_plural): Likewise.
15528 * libio/fcloseall.c (__fcloseall): Likewise.
15529 * libio/genops.c (_IO_flush_all): Likewise.
15530 (_IO_flush_all_linebuffered): Likewise.
15531 (_IO_cleanup): Likewise.
15532 (_IO_iter_begin): Likewise.
15533 (_IO_iter_end): Likewise.
15534 (_IO_list_lock): Likewise.
15535 (_IO_list_unlock): Likewise.
15536 (_IO_list_resetlock): Likewise.
15537 * libio/getchar.c (getchar): Likewise.
15538 * libio/getchar_u.c (getchar_unlocked): Likewise.
15539 * libio/getwchar.c (getwchar): Likewise.
15540 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15541 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15542 * login/getpt.c (__getpt): Likewise.
15543 * login/tst-utmp.c (main): Likewise.
15544 * malloc/hooks.c (__malloc_check_init): Likewise.
15545 * malloc/malloc.c (__malloc_stats): Likewise.
15546 * malloc/mtrace.c (tr_break): Likewise.
15547 (mtrace): Likewise.
15548 (muntrace): Likewise.
15549 * misc/fstab.c (endfsent): Likewise.
15550 * misc/getclktck.c (__getclktck): Likewise.
15551 * misc/getdtsz.c (__getdtablesize): Likewise.
15552 * misc/gethostid.c (gethostid): Likewise.
15553 * misc/getpagesize.c (__getpagesize): Likewise.
15554 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15555 (__get_nprocs): Likewise.
15556 (__get_phys_pages): Likewise.
15557 (__get_avphys_pages): Likewise.
15558 * misc/getttyent.c (getttyent): Likewise.
15559 (setttyent): Likewise.
15560 (endttyent): Likewise.
15561 * misc/getusershell.c (getusershell): Likewise.
15562 (endusershell): Likewise.
15563 (setusershell): Likewise.
15564 (initshells): Likewise.
15565 * misc/hsearch.c (__hdestroy): Likewise.
15566 * misc/sync.c (sync): Likewise.
15567 * misc/syslog.c (closelog_internal): Likewise.
15568 (closelog): Likewise.
15569 * misc/ttyslot.c (ttyslot): Likewise.
15570 * misc/vhangup.c (vhangup): Likewise.
15571 * posix/fork.c (__fork): Likewise.
15572 * posix/getegid.c (__getegid): Likewise.
15573 * posix/geteuid.c (__geteuid): Likewise.
15574 * posix/getgid.c (__getgid): Likewise.
15575 * posix/getpid.c (__getpid): Likewise.
15576 * posix/getppid.c (__getppid): Likewise.
15577 * posix/getuid.c (__getuid): Likewise.
15578 * posix/pause.c (pause): Likewise.
15579 * posix/setpgrp.c (setpgrp): Likewise.
15580 * posix/setsid.c (__setsid): Likewise.
15581 * posix/test-vfork.c (noop): Likewise.
15582 * resolv/gethnamaddr.c (_endhtent): Likewise.
15583 (_gethtent): Likewise.
15584 (ht_endhostent): Likewise.
15585 (gethostent): Likewise.
15586 (dns_service): Likewise.
15587 * stdlib/drand48.c (drand48): Likewise.
15588 * stdlib/lrand48.c (lrand48): Likewise.
15589 * stdlib/mrand48.c (mrand48): Likewise.
15590 * stdlib/rand.c (rand): Likewise.
15591 * stdlib/random.c (__random): Likewise.
15592 * stdlib/setenv.c (clearenv): Likewise.
15593 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15594 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15595 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15596 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15597 (__get_nprocs): Likewise.
15598 (__get_phys_pages): Likewise.
15599 (__get_avphys_pages): Likewise.
15600 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15601 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15602 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15603 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15604 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15605 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15606 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15607 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15608 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15609 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15610 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15611 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15612 * sysdeps/posix/clock.c (clock): Likewise.
15613 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15614 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15615 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15616 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15617 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15618 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15619 (__get_nprocs_conf): Likewise.
15620 (__get_phys_pages): Likewise.
15621 (__get_avphys_pages): Likewise.
15622 * time/clock.c (clock): Likewise.
15623 * time/tzset.c (__tzname_max): Likewise.
15625 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15627 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15628 (__bswap_32): Do not use "register".
15629 * crypt/crypt.c (_ufc_doit_r): Likewise.
15630 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15631 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15632 * gmon/gmon.c (__monstartup): Likewise.
15633 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15634 * hurd/hurdmalloc.c (more_memory): Likewise.
15635 (malloc): Likewise.
15637 (realloc): Likewise.
15638 (malloc_fork_prepare): Likewise.
15639 (malloc_fork_parent): Likewise.
15640 (malloc_fork_child): Likewise.
15641 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15642 (_svcauth_des): Likewise.
15643 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15644 * inet/inet_net.c (inet_network): Likewise.
15645 * inet/inet_netof.c (inet_netof): Likewise.
15646 * inet/rcmd.c (__validuser2_sa): Likewise.
15647 * io/fts.c (fts_open): Likewise.
15648 (fts_load): Likewise.
15649 (fts_close): Likewise.
15650 (fts_read): Likewise.
15651 (fts_children): Likewise.
15652 (fts_build): Likewise.
15653 (fts_stat): Likewise.
15654 (fts_sort): Likewise.
15655 (fts_alloc): Likewise.
15656 (fts_lfree): Likewise.
15657 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15658 (_IO_file_xsgetn): Likewise.
15659 (_IO_file_xsgetn_mmap): Likewise.
15660 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15661 (_IO_cookie_write): Likewise.
15662 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15663 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15664 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15665 * malloc/obstack.c (_obstack_begin): Likewise.
15666 (_obstack_begin_1): Likewise.
15667 (_obstack_newchunk): Likewise.
15668 (_obstack_allocated_p): Likewise.
15669 (obstack_free): Likewise.
15670 (_obstack_memory_used): Likewise.
15671 * misc/getttyent.c (getttynam): Likewise.
15672 (getttyent): Likewise.
15675 * misc/getusershell.c (initshells): Likewise.
15676 * misc/syslog.c (__vsyslog_chk): Likewise.
15677 * misc/ttyslot.c (ttyslot): Likewise.
15678 * nis/nis_hash.c (__nis_hash): Likewise.
15679 * posix/fnmatch_loop.c (FCT): Likewise.
15680 * posix/getconf.c (print_all): Likewise.
15682 * posix/getopt.c (exchange): Likewise.
15683 * posix/glob.c (globfree): Likewise.
15684 (prefix_array): Likewise.
15685 (__glob_pattern_type): Likewise.
15686 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15687 (NS_GET32): Likewise.
15688 (NS_PUT16): Likewise.
15689 (NS_PUT32): Likewise.
15690 * resolv/gethnamaddr.c (getanswer): Likewise.
15691 (gethostbyname2): Likewise.
15692 (gethostbyaddr): Likewise.
15693 (_gethtent): Likewise.
15694 (_gethtbyname2): Likewise.
15695 (_gethtbyaddr): Likewise.
15696 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15697 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15698 * resolv/res_init.c (__res_vinit): Likewise.
15699 (net_mask): Likewise.
15700 * resolv/res_mkquery.c (outchar): Likewise.
15702 * stdio-common/printf_fp.c (outchar): Likewise.
15704 * stdio-common/printf_fphex.c (outchar): Likewise.
15706 * stdio-common/printf_size.c (outchar): Likewise.
15708 * stdio-common/test_rdwr.c (main): Likewise.
15709 * stdio-common/tfformat.c (matches): Likewise.
15710 * stdio-common/vfprintf.c (outchar): Likewise.
15711 (printf_unknown): Likewise.
15712 (buffered_vfprintf): Likewise.
15713 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15714 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15715 (ReadFile): Likewise.
15716 * stdlib/qsort.c (SWAP): Likewise.
15717 (_quicksort): Likewise.
15718 * stdlib/setenv.c (__add_to_environ): Likewise.
15719 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15720 * stdlib/strtol_l.c (__strtol_l): Likewise.
15721 * stdlib/tst-strtod.c (main): Likewise.
15722 * stdlib/tst-strtol.c (main): Likewise.
15723 * stdlib/tst-strtoll.c (main): Likewise.
15724 * string/bits/string2.h (__strcmp_cc): Likewise.
15725 (__strcmp_cg): Likewise.
15726 (__strcspn_c1): Likewise.
15727 (__strcspn_c2): Likewise.
15728 (__strcspn_c3): Likewise.
15729 (__strspn_c1): Likewise.
15730 (__strspn_c2): Likewise.
15731 (__strspn_c3): Likewise.
15732 (__strsep_1c): Likewise.
15733 (__strsep_2c): Likewise.
15734 (__strsep_3c): Likewise.
15735 * string/memccpy.c (__memccpy): Likewise.
15736 * string/stpcpy.c (__stpcpy): Likewise.
15737 * string/strcmp.c (strcmp): Likewise.
15738 * string/strrchr.c (strrchr): Likewise.
15739 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15741 * sysdeps/mach/hurd/getcwd.c
15742 (_hurd_canonicalize_directory_name_internal): Likewise.
15743 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15744 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15745 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15746 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15747 Likewise, in both definitions.
15748 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15750 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15751 64] (__bswap_64): Likewise.
15752 * time/test_time.c (main): Likewise.
15753 * time/tzfile.c (__tzfile_read): Likewise.
15754 (__tzfile_compute): Likewise.
15755 * time/tzset.c (__tzset_parse_tz): Likewise.
15756 (tzset_internal): Likewise.
15757 (compute_change): Likewise.
15758 * wcsmbs/wcscat.c (__wcscat): Likewise.
15759 * wcsmbs/wcschr.c (wcschr): Likewise.
15760 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15761 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15762 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15763 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15764 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15765 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15766 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15767 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15768 * wcsmbs/wmemset.c (wmemset): Likewise.
15770 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15772 * scripts/config.guess: Update to version 2013-05-16.
15773 * scripts/config.sub: Update to version 2013-04-24.
15774 * scripts/install-sh: Update to version 2011-11-20.07.
15775 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15776 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15778 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15780 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15781 * elf/sln.c: Likewise.
15782 * hurd/hurd/ioctl.h: Likewise.
15783 * hurd/hurdmalloc.c: Likewise.
15784 * hurd/xattr.c: Likewise.
15785 * include/shlib-compat.h: Likewise.
15786 * inet/ruserpass.c: Likewise.
15787 * libio/iofgets_u.c: Likewise.
15788 * libio/iofgetws_u.c: Likewise.
15789 * locale/programs/ld-identification.c: Likewise.
15790 * locale/programs/ld-time.c: Likewise.
15791 * mach/msg-destroy.c: Likewise.
15792 * nss/nss_files/files-netgrp.c: Likewise.
15793 * resolv/res_data.c: Likewise.
15794 * soft-fp/op-1.h: Likewise.
15795 * soft-fp/op-2.h: Likewise.
15796 * soft-fp/op-4.h: Likewise.
15797 * soft-fp/op-common.h: Likewise.
15798 * stdio-common/printf_fphex.c: Likewise.
15799 * stdlib/strtod_l.c: Likewise.
15800 * sunrpc/rpc/clnt.h: Likewise.
15801 * sysdeps/generic/framestate.c: Likewise.
15802 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15803 * sysdeps/i386/bsd-setjmp.S: Likewise.
15804 * sysdeps/i386/__longjmp.S: Likewise.
15805 * sysdeps/i386/setjmp.S: Likewise.
15806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15817 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15819 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15820 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15821 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15823 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15824 * sysdeps/ieee754/support.c: Likewise.
15825 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15826 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15827 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15828 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15829 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15830 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15831 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15832 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15833 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15834 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15835 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15836 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15838 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15840 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15841 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15844 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15846 * posix/transbug.c: Remove executable mode.
15848 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15850 * crypt/speeds.c: Remove trailing whitespace.
15851 * dlfcn/default.c: Likewise.
15852 * elf/ifuncdep2.c: Likewise.
15853 * elf/ifuncmain1.c: Likewise.
15854 * elf/ifuncmain1vis.c: Likewise.
15855 * elf/testobj.h: Likewise.
15856 * elf/tst-stackguard1.c: Likewise.
15857 * gmon/sys/gmon.h: Likewise.
15858 * hurd/hurdmsg.c: Likewise.
15859 * hurd/new-fd.c: Likewise.
15860 * hurd/ports-get.c: Likewise.
15861 * iconvdata/ibm1008_420.c: Likewise.
15862 * inet/tst-getni1.c: Likewise.
15863 * inet/tst-getni2.c: Likewise.
15864 * libio/ioungetc.c: Likewise.
15865 * libio/wfiledoalloc.c: Likewise.
15866 * manual/libm-err-tab.pl: Likewise.
15867 * math/w_dremf.c: Likewise.
15868 * misc/ftruncate.c: Likewise.
15869 * posix/bug-glob2.c: Likewise.
15870 * posix/tst-pcre.c: Likewise.
15871 * posix/wait4.c: Likewise.
15872 * resolv/README: Likewise.
15873 * resolv/res_debug.h: Likewise.
15874 * resolv/tst-inet_ntop.c: Likewise.
15875 * setjmp/bug269-setjmp.c: Likewise.
15876 * soft-fp/extended.h: Likewise.
15877 * soft-fp/op-1.h: Likewise.
15878 * soft-fp/op-2.h: Likewise.
15879 * soft-fp/op-4.h: Likewise.
15880 * soft-fp/op-8.h: Likewise.
15881 * soft-fp/testit.c: Likewise.
15882 * stdio-common/bug16.c: Likewise.
15883 * stdlib/random.c: Likewise.
15884 * sunrpc/rpcsvc/rquota.x: Likewise.
15885 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15886 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15888 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15889 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15890 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15893 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15913 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15914 * sysdeps/ieee754/s_lib_version.c: Likewise.
15915 * sysdeps/mach/hurd/check_fds.c: Likewise.
15916 * sysdeps/mach/hurd/getsockname.c: Likewise.
15917 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15918 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15919 * sysdeps/powerpc/bits/link.h: Likewise.
15920 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15921 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15922 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15923 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15924 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15925 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15926 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15927 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15928 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15929 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15930 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15931 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15932 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15933 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15934 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15935 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15940 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15941 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15943 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15944 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15946 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15953 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15954 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15955 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15956 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15957 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15958 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15959 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15960 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15961 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15962 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15963 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15964 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15965 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15966 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15967 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15968 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15969 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15972 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15973 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15974 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15975 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15976 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15977 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15980 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15982 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15984 * sysdeps/powerpc/sysdep.h: Likewise.
15985 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15986 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15987 * sysdeps/sh/dl-trampoline.S: Likewise.
15988 * sysdeps/sh/memset.S: Likewise.
15989 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15990 * sysdeps/sh/strlen.S: Likewise.
15991 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15992 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15993 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15994 * sysdeps/sparc/sparc32/rem.S: Likewise.
15995 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15996 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15997 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15998 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15999 * sysdeps/sparc/sparc32/urem.S: Likewise.
16000 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16002 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16003 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16005 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16006 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16007 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16008 * sysdeps/unix/bsd/times.c: Likewise.
16009 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16010 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16014 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16016 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16018 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16021 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16022 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16023 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16024 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16025 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16026 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16027 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16028 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16029 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16030 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16031 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16032 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16033 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16034 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16035 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16037 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16038 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16039 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16040 * sysdeps/x86_64/strcspn.S: Likewise.
16042 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16044 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16045 generated file. Regenerate properly from gen-translit.pl.
16046 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16047 locale/C-translit.h.
16049 2013-06-05 Andreas Schwab <schwab@suse.de>
16052 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16053 week as 6 instead of -1.
16054 * time/tst-strptime.c (day_tests): Add test case.
16056 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16058 * sysdeps/generic/math_private.h
16059 (libc_feholdexcept_setround_53bit): Replace with
16060 libc_feholdsetround_53bit.
16061 (libc_feupdateenv_53bit): Replace with
16062 libc_feresetround_53bit.
16063 (SET_RESTORE_ROUND_53BIT): Adjust.
16065 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16067 * string/test-strchrnul.c: Add copyright header.
16069 * posix/tst-getaddrinfo4.c: Increase test timeout.
16071 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16074 * math/libm-test.inc (MAX_EXP): Remove
16076 (ulp): Use MIN_EXP - MANT_DIG.
16077 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16079 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16081 * po/be.po: Revert last change.
16082 * po/zh_CN.po: Likewise.
16083 * po/header.pot: Likewise.
16085 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16087 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16088 link-libc-deps to empty as target-specific variable.
16089 * Makerules (link-libc-args): New variable.
16090 (libc-for-link): Likewise.
16091 (link-libc-deps): Likewise.
16092 (lib%.so): Depend on $(link-libc-deps). Link with
16094 (build-module): Link with $(link-libc-args).
16095 (build-module-asneeded): Likewise.
16096 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16098 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16099 target-specific variable.
16100 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16101 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16102 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16104 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16106 ($(objpfx)libpcprofile.so): Likewise.
16107 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16109 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16110 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16111 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16113 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16114 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16115 * login/Makefile ($(objpfx)libutil.so): Likewise.
16116 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16117 * math/Makefile ($(objpfx)libm.so): Likewise.
16118 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16119 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16120 variable instead of depending directly on libc.
16121 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16122 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16124 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16126 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16127 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16128 ($(objpfx)libanl.so): Likewise.
16129 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16131 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16133 * sysdeps/i386/fpu/Makefile: Remove file.
16134 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16135 ($(objpfx)libm.so): Remove dependency on ld.so.
16137 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16140 * nis/yp_xdr.c (XDRMAXNAME): Define.
16141 (XDRMAXRECORD): Define.
16142 (xdr_domainname): Use XDRMAXNAME.
16143 (xdr_mapname): Likewise.
16144 (xdr_peername): Likewise.
16145 (xdr_keydat): Use XDRMAXRECORD.
16146 (xdr_valdat): Likewise.
16148 2013-05-30 Jeff Law <law@redhat.com>
16151 * manual/errno.texi (ESTALE): Update to account for more than
16152 just NFS file systems.
16153 * sysdeps/gnu/errlist.c: Regenerated.
16155 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16158 * elf/Makefile (tests): Add tst-null-argv.
16159 (modules-names): Add tst-null-argv-lib.
16160 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16161 (tst-null-argv-ENV): Set environment for tst-null-argv.
16162 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16163 (RTLD_PROGNAME): New macro.
16164 * elf/tst-null-argv.c: New test case.
16165 * elf/tst-null-argv-lib.c: Library for test case.
16166 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16167 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16168 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16169 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16170 * elf/dl-init.c (call_init): Likewise.
16171 (_dl_init): Likewise.
16172 * elf/dl-load.c (print_search_path): Likewise.
16173 (_dl_map_object): Likewise.
16174 * elf/dl-lookup.c (do_lookup_x): Likewise.
16175 (add_dependency): Likewise.
16176 (_dl_lookup_symbol_x): Likewise.
16177 (_dl_debug_bindings): Likewise.
16178 * elf/dl-open.c (_dl_show_scope): Likewise.
16179 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16180 * elf/dl-version.c (match_symbol): Likewise.
16181 (_dl_check_map_versions): Likewise.
16182 * elf/rtld.c (dl_main): Likewise.
16183 (print_unresolved): Use RTLD_PROGNAME.
16184 (print_missing_version): Likewise.
16185 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16186 (elf_machine_rela): Likewise.
16187 * sysdeps/powerpc/powerpc32/dl-machine.c
16188 (__process_machine_rela): Likewise.
16189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16193 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16195 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16202 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16204 * po/be.po: Add descriptive title.
16205 * po/zh_CN.po: Likewise.
16206 * po/header.pot: Likewise.
16208 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16210 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16212 (enlarge_archive): Likewise.
16214 2013-05-28 Ben North <ben@redfrontdoor.org>
16216 * manual/arith.texi (frexp): It is the magnitude of the return
16217 value which lies in [0.5, 1), not the return value itself.
16219 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16223 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16225 * stdio-common/bug26.c (main): Correct fscanf template.
16227 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16228 declare _dl_skip_args.
16230 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16233 * manual/platform.texi: Add missing @end deftypefun.
16235 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16238 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16239 bit of mantissa of 2^16382.
16240 * math/libm-test.inc (hypot_test_data): Add more tests.
16242 * math/libm-test.inc: Add drem and pow10 to list of tested
16244 (pow10_test): New function.
16245 (drem_test): Likewise.
16246 (drem_test_tonearest): Likewise.
16247 (drem_test_towardzero): Likewise.
16248 (drem_test_downward): Likewise.
16249 (drem_test_upward): Likewise.
16250 (main): Call the new functions.
16252 * math/libm-test.inc (finite_test_data): Remove.
16253 (finite_test): Run tests from isfinite_test_data.
16254 (gamma_test_data): Remove.
16255 (gamma_test): Run tests from lgamma_test_data.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16259 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16261 * manual/platform.texi: Add PowerPC PPR function set documentation.
16262 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16265 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16267 * math/libm-test.inc (MAX_EXP): Define.
16269 (ulp): New function.
16270 (check_float_internal): Use ULPDIFF.
16271 (cpow_test): Disable failing test.
16272 (check_ulp): Test ulp() implemetnation.
16273 (main): Call check_ulp before starting tests.
16275 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16277 * math/gen-libm-test.pl (generate_testfile): Do not handle
16278 START_DATA and END_DATA.
16279 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16281 (acos_tonearest_test_data): Likewise.
16282 (acos_towardzero_test_data): Likewise.
16283 (acos_downward_test_data): Likewise.
16284 (acos_upward_test_data): Likewise.
16285 (acosh_test_data): Likewise.
16286 (asin_test_data): Likewise.
16287 (asin_tonearest_test_data): Likewise.
16288 (asin_towardzero_test_data): Likewise.
16289 (asin_downward_test_data): Likewise.
16290 (asin_upward_test_data): Likewise.
16291 (asinh_test_data): Likewise.
16292 (atan_test_data): Likewise.
16293 (atanh_test_data): Likewise.
16294 (atan2_test_data): Likewise.
16295 (cabs_test_data): Likewise.
16296 (cacos_test_data): Likewise.
16297 (cacosh_test_data): Likewise.
16298 (carg_test_data): Likewise.
16299 (casin_test_data): Likewise.
16300 (casinh_test_data): Likewise.
16301 (catan_test_data): Likewise.
16302 (catanh_test_data): Likewise.
16303 (cbrt_test_data): Likewise.
16304 (ccos_test_data): Likewise.
16305 (ccosh_test_data): Likewise.
16306 (ceil_test_data): Likewise.
16307 (cexp_test_data): Likewise.
16308 (cimag_test_data): Likewise.
16309 (clog_test_data): Likewise.
16310 (clog10_test_data): Likewise.
16311 (conj_test_data): Likewise.
16312 (copysign_test_data): Likewise.
16313 (cos_test_data): Likewise.
16314 (cos_tonearest_test_data): Likewise.
16315 (cos_towardzero_test_data): Likewise.
16316 (cos_downward_test_data): Likewise.
16317 (cos_upward_test_data): Likewise.
16318 (cosh_test_data): Likewise.
16319 (cosh_tonearest_test_data): Likewise.
16320 (cosh_towardzero_test_data): Likewise.
16321 (cosh_downward_test_data): Likewise.
16322 (cosh_upward_test_data): Likewise.
16323 (cpow_test_data): Likewise.
16324 (cproj_test_data): Likewise.
16325 (creal_test_data): Likewise.
16326 (csin_test_data): Likewise.
16327 (csinh_test_data): Likewise.
16328 (csqrt_test_data): Likewise.
16329 (ctan_test_data): Likewise.
16330 (ctan_tonearest_test_data): Likewise.
16331 (ctan_towardzero_test_data): Likewise.
16332 (ctan_downward_test_data): Likewise.
16333 (ctan_upward_test_data): Likewise.
16334 (ctanh_test_data): Likewise.
16335 (ctanh_tonearest_test_data): Likewise.
16336 (ctanh_towardzero_test_data): Likewise.
16337 (ctanh_downward_test_data): Likewise.
16338 (ctanh_upward_test_data): Likewise.
16339 (erf_test_data): Likewise.
16340 (erfc_test_data): Likewise.
16341 (exp_test_data): Likewise.
16342 (exp_tonearest_test_data): Likewise.
16343 (exp_towardzero_test_data): Likewise.
16344 (exp_downward_test_data): Likewise.
16345 (exp_upward_test_data): Likewise.
16346 (exp10_test_data): Likewise.
16347 (exp2_test_data): Likewise.
16348 (expm1_test_data): Likewise.
16349 (fabs_test_data): Likewise.
16350 (fdim_test_data): Likewise.
16351 (finite_test_data): Likewise.
16352 (floor_test_data): Likewise.
16353 (fma_test_data): Likewise.
16354 (fma_towardzero_test_data): Likewise.
16355 (fma_downward_test_data): Likewise.
16356 (fma_upward_test_data): Likewise.
16357 (fmax_test_data): Likewise.
16358 (fmin_test_data): Likewise.
16359 (fmod_test_data): Likewise.
16360 (fpclassify_test_data): Likewise.
16361 (frexp_test_data): Likewise.
16362 (gamma_test_data): Likewise.
16363 (hypot_test_data): Likewise.
16364 (ilogb_test_data): Likewise.
16365 (isfinite_test_data): Likewise.
16366 (isgreater_test_data): Likewise.
16367 (isgreaterequal_test_data): Likewise.
16368 (isinf_test_data): Likewise.
16369 (isless_test_data): Likewise.
16370 (islessequal_test_data): Likewise.
16371 (islessgreater_test_data): Likewise.
16372 (isnan_test_data): Likewise.
16373 (isnormal_test_data): Likewise.
16374 (issignaling_test_data): Likewise.
16375 (isunordered_test_data): Likewise.
16376 (j0_test_data): Likewise.
16377 (j1_test_data): Likewise.
16378 (jn_test_data): Likewise.
16379 (ldexp_test_data): Likewise.
16380 (lgamma_test_data): Likewise.
16381 (lrint_test_data): Likewise.
16382 (lrint_tonearest_test_data): Likewise.
16383 (lrint_towardzero_test_data): Likewise.
16384 (lrint_downward_test_data): Likewise.
16385 (lrint_upward_test_data): Likewise.
16386 (llrint_test_data): Likewise.
16387 (llrint_tonearest_test_data): Likewise.
16388 (llrint_towardzero_test_data): Likewise.
16389 (llrint_downward_test_data): Likewise.
16390 (llrint_upward_test_data): Likewise.
16391 (log_test_data): Likewise.
16392 (log10_test_data): Likewise.
16393 (log1p_test_data): Likewise.
16394 (log2_test_data): Likewise.
16395 (logb_test_data): Likewise.
16396 (logb_downward_test_data): Likewise.
16397 (lround_test_data): Likewise.
16398 (llround_test_data): Likewise.
16399 (modf_test_data): Likewise.
16400 (nearbyint_test_data): Likewise.
16401 (nextafter_test_data): Likewise.
16402 (nexttoward_test_data): Likewise.
16403 (pow_test_data): Likewise.
16404 (pow_tonearest_test_data): Likewise.
16405 (pow_towardzero_test_data): Likewise.
16406 (pow_downward_test_data): Likewise.
16407 (pow_upward_test_data): Likewise.
16408 (remainder_test_data): Likewise.
16409 (remainder_tonearest_test_data): Likewise.
16410 (remainder_towardzero_test_data): Likewise.
16411 (remainder_downward_test_data): Likewise.
16412 (remainder_upward_test_data): Likewise.
16413 (remquo_test_data): Likewise.
16414 (rint_test_data): Likewise.
16415 (rint_tonearest_test_data): Likewise.
16416 (rint_towardzero_test_data): Likewise.
16417 (rint_downward_test_data): Likewise.
16418 (rint_upward_test_data): Likewise.
16419 (round_test_data): Likewise.
16420 (scalb_test_data): Likewise.
16421 (scalbn_test_data): Likewise.
16422 (scalbln_test_data): Likewise.
16423 (signbit_test_data): Likewise.
16424 (sin_test_data): Likewise.
16425 (sin_tonearest_test_data): Likewise.
16426 (sin_towardzero_test_data): Likewise.
16427 (sin_downward_test_data): Likewise.
16428 (sin_upward_test_data): Likewise.
16429 (sincos_test_data): Likewise.
16430 (sinh_test_data): Likewise.
16431 (sinh_tonearest_test_data): Likewise.
16432 (sinh_towardzero_test_data): Likewise.
16433 (sinh_downward_test_data): Likewise.
16434 (sinh_upward_test_data): Likewise.
16435 (sqrt_test_data): Likewise.
16436 (tan_test_data): Likewise.
16437 (tan_tonearest_test_data): Likewise.
16438 (tan_towardzero_test_data): Likewise.
16439 (tan_downward_test_data): Likewise.
16440 (tan_upward_test_data): Likewise.
16441 (tanh_test_data): Likewise.
16442 (tgamma_test_data): Likewise.
16443 (trunc_test_data): Likewise.
16444 (y0_test_data): Likewise.
16445 (y1_test_data): Likewise.
16446 (yn_test_data): Likewise.
16447 (significand_test_data): Likewise.
16449 * math/gen-libm-test.pl (@functions): Remove variable.
16450 (generate_testfile): Don't handle START and END lines.
16451 * math/libm-test.inc (START): New macro.
16453 (END_COMPLEX): Likewise.
16454 (acos_test): Use END macro without arguments.
16455 (acos_test_tonearest): Likewise.
16456 (acos_test_towardzero): Likewise.
16457 (acos_test_downward): Likewise.
16458 (acos_test_upward): Likewise.
16459 (acosh_test): Likewise.
16460 (asin_test): Likewise.
16461 (asin_test_tonearest): Likewise.
16462 (asin_test_towardzero): Likewise.
16463 (asin_test_downward): Likewise.
16464 (asin_test_upward): Likewise.
16465 (asinh_test): Likewise.
16466 (atan_test): Likewise.
16467 (atanh_test): Likewise.
16468 (atan2_test): Likewise.
16469 (cabs_test): Likewise.
16470 (cacos_test): Use END_COMPLEX macro without arguments.
16471 (cacosh_test): Likewise.
16472 (carg_test): Use END macro without arguments.
16473 (casin_test): Use END_COMPLEX macro without arguments.
16474 (casinh_test): Likewise.
16475 (catan_test): Likewise.
16476 (catanh_test): Likewise.
16477 (cbrt_test): Use END macro without arguments.
16478 (ccos_test): Use END_COMPLEX macro without arguments.
16479 (ccosh_test): Likewise.
16480 (ceil_test): Use END macro without arguments.
16481 (cexp_test): Use END_COMPLEX macro without arguments.
16482 (cimag_test): Use END macro without arguments.
16483 (clog_test): Use END_COMPLEX macro without arguments.
16484 (clog10_test): Likewise.
16485 (conj_test): Likewise.
16486 (copysign_test): Use END macro without arguments.
16487 (cos_test): Likewise.
16488 (cos_test_tonearest): Likewise.
16489 (cos_test_towardzero): Likewise.
16490 (cos_test_downward): Likewise.
16491 (cos_test_upward): Likewise.
16492 (cosh_test): Likewise.
16493 (cosh_test_tonearest): Likewise.
16494 (cosh_test_towardzero): Likewise.
16495 (cosh_test_downward): Likewise.
16496 (cosh_test_upward): Likewise.
16497 (cpow_test): Use END_COMPLEX macro without arguments.
16498 (cproj_test): Likewise.
16499 (creal_test): Use END macro without arguments.
16500 (csin_test): Use END_COMPLEX macro without arguments.
16501 (csinh_test): Likewise.
16502 (csqrt_test): Likewise.
16503 (ctan_test): Likewise.
16504 (ctan_test_tonearest): Likewise.
16505 (ctan_test_towardzero): Likewise.
16506 (ctan_test_downward): Likewise.
16507 (ctan_test_upward): Likewise.
16508 (ctanh_test): Likewise.
16509 (ctanh_test_tonearest): Likewise.
16510 (ctanh_test_towardzero): Likewise.
16511 (ctanh_test_downward): Likewise.
16512 (ctanh_test_upward): Likewise.
16513 (erf_test): Use END macro without arguments.
16514 (erfc_test): Likewise.
16515 (exp_test): Likewise.
16516 (exp_test_tonearest): Likewise.
16517 (exp_test_towardzero): Likewise.
16518 (exp_test_downward): Likewise.
16519 (exp_test_upward): Likewise.
16520 (exp10_test): Likewise.
16521 (exp2_test): Likewise.
16522 (expm1_test): Likewise.
16523 (fabs_test): Likewise.
16524 (fdim_test): Likewise.
16525 (finite_test): Likewise.
16526 (floor_test): Likewise.
16527 (fma_test): Likewise.
16528 (fma_test_towardzero): Likewise.
16529 (fma_test_downward): Likewise.
16530 (fma_test_upward): Likewise.
16531 (fmax_test): Likewise.
16532 (fmin_test): Likewise.
16533 (fmod_test): Likewise.
16534 (fpclassify_test): Likewise.
16535 (frexp_test): Likewise.
16536 (gamma_test): Likewise.
16537 (hypot_test): Likewise.
16538 (ilogb_test): Likewise.
16539 (isfinite_test): Likewise.
16540 (isgreater_test): Likewise.
16541 (isgreaterequal_test): Likewise.
16542 (isinf_test): Likewise.
16543 (isless_test): Likewise.
16544 (islessequal_test): Likewise.
16545 (islessgreater_test): Likewise.
16546 (isnan_test): Likewise.
16547 (isnormal_test): Likewise.
16548 (issignaling_test): Likewise.
16549 (isunordered_test): Likewise.
16550 (j0_test): Likewise.
16551 (j1_test): Likewise.
16552 (jn_test): Likewise.
16553 (ldexp_test): Likewise.
16554 (lgamma_test): Likewise.
16555 (lrint_test): Likewise.
16556 (lrint_test_tonearest): Likewise.
16557 (lrint_test_towardzero): Likewise.
16558 (lrint_test_downward): Likewise.
16559 (lrint_test_upward): Likewise.
16560 (llrint_test): Likewise.
16561 (llrint_test_tonearest): Likewise.
16562 (llrint_test_towardzero): Likewise.
16563 (llrint_test_downward): Likewise.
16564 (llrint_test_upward): Likewise.
16565 (log_test): Likewise.
16566 (log10_test): Likewise.
16567 (log1p_test): Likewise.
16568 (log2_test): Likewise.
16569 (logb_test): Likewise.
16570 (logb_test_downward): Likewise.
16571 (lround_test): Likewise.
16572 (llround_test): Likewise.
16573 (modf_test): Likewise.
16574 (nearbyint_test): Likewise.
16575 (nextafter_test): Likewise.
16576 (nexttoward_test): Likewise.
16577 (pow_test): Likewise.
16578 (pow_test_tonearest): Likewise.
16579 (pow_test_towardzero): Likewise.
16580 (pow_test_downward): Likewise.
16581 (pow_test_upward): Likewise.
16582 (remainder_test): Likewise.
16583 (remainder_test_tonearest): Likewise.
16584 (remainder_test_towardzero): Likewise.
16585 (remainder_test_downward): Likewise.
16586 (remainder_test_upward): Likewise.
16587 (remquo_test): Likewise.
16588 (rint_test): Likewise.
16589 (rint_test_tonearest): Likewise.
16590 (rint_test_towardzero): Likewise.
16591 (rint_test_downward): Likewise.
16592 (rint_test_upward): Likewise.
16593 (round_test): Likewise.
16594 (scalb_test): Likewise.
16595 (scalbn_test): Likewise.
16596 (scalbln_test): Likewise.
16597 (signbit_test): Likewise.
16598 (sin_test): Likewise.
16599 (sin_test_tonearest): Likewise.
16600 (sin_test_towardzero): Likewise.
16601 (sin_test_downward): Likewise.
16602 (sin_test_upward): Likewise.
16603 (sincos_test): Likewise.
16604 (sinh_test): Likewise.
16605 (sinh_test_tonearest): Likewise.
16606 (sinh_test_towardzero): Likewise.
16607 (sinh_test_downward): Likewise.
16608 (sinh_test_upward): Likewise.
16609 (sqrt_test): Likewise.
16610 (tan_test): Likewise.
16611 (tan_test_tonearest): Likewise.
16612 (tan_test_towardzero): Likewise.
16613 (tan_test_downward): Likewise.
16614 (tan_test_upward): Likewise.
16615 (tanh_test): Likewise.
16616 (tgamma_test): Likewise.
16617 (trunc_test): Likewise.
16618 (y0_test): Likewise.
16619 (y1_test): Likewise.
16620 (yn_test): Likewise.
16621 (significand_test): Likewise.
16623 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16626 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16628 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16631 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16632 __ppc_mdoio and __ppc_mdoom.
16633 * manual/platform.texi: Document new functions __ppc_yield,
16634 __ppc_mdoio and __ppc_mdoom.
16636 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16638 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16639 (main): Mention "tls" pseudo-hwcap is legacy.
16640 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16642 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16644 * math/gen-libm-test.pl (parse_args): Output only string of
16645 arguments as text for test name, not full call or descriptions of
16646 tests for extra outputs.
16647 (generate_testfile): Do not pass function name to parse_args.
16648 Generate this_func variable from START.
16649 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16651 (struct test_ff_f_data): Likewise.
16652 (test_ff_f_data_nexttoward): Likewise.
16653 (struct test_fi_f_data): Likewise.
16654 (struct test_fl_f_data): Likewise.
16655 (struct test_if_f_data): Likewise.
16656 (struct test_fff_f_data): Likewise.
16657 (struct test_c_f_data): Likewise.
16658 (struct test_f_f1_data): Likewise. Remove field extra_name.
16659 (struct test_fF_f1_data): Likewise.
16660 (struct test_ffI_f1_data): Likewise.
16661 (struct test_c_c_data): Rename test_name field to arg_str.
16662 (struct test_cc_c_data): Likewise.
16663 (struct test_f_i_data): Likewise.
16664 (struct test_ff_i_data): Likewise.
16665 (struct test_f_l_data): Likewise.
16666 (struct test_f_L_data): Likewise.
16667 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16669 (COMMON_TEST_SETUP): New macro.
16670 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16671 (COMMON_TEST_CLEANUP): Likewise.
16672 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16673 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16675 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16676 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16678 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16679 (RUN_TEST_fff_f): Take argument string. Call new setup and
16681 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16682 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16684 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16685 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16687 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16688 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16690 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16691 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16693 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16694 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16696 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16697 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16699 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16700 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16702 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16703 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16705 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16706 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16708 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16709 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16711 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16712 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16714 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16715 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16717 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16718 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16720 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16721 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16723 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16724 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16726 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16728 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16730 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16731 to _sifields.sigfault.
16732 (si_addr_lsb): Define new macro.
16733 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16735 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16737 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16740 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16742 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16744 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16745 loading the domain.
16747 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16749 * math/gen-libm-test.pl (parse_args): Do not include expected
16750 result in test name.
16751 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16753 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16758 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16760 * benchtests/Makefile: Sort function entries.
16762 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16763 tanh, asinh, acosh, atanh.
16764 * benchtests/acos-inputs: New file.
16765 * benchtests/acosh-inputs: New file.
16766 * benchtests/asin-inputs: New file.
16767 * benchtests/asinh-inputs: New file.
16768 * benchtests/atanh-inputs: New file.
16769 * benchtests/cosh-inputs: New file.
16770 * benchtests/log-inputs: New file.
16771 * benchtests/sinh-inputs: New file.
16772 * benchtests/tanh-inputs: New file.
16774 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16777 * posix/tst-getaddrinfo4.c: New test.
16778 * posix/Makefile (tests): Add it.
16780 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16783 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16784 when no services were used.
16785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16786 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16788 2013-05-21 Andreas Schwab <schwab@suse.de>
16791 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16792 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16794 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16795 redundant variable declarations and reallocation of buffer when
16796 parsing as IPv6 address. Always set NSS status when called from
16797 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16798 buffer too small. Correct computation of needed size.
16799 * nss/Makefile (tests): Add test-digits-dots.
16800 * nss/test-digits-dots.c: New test.
16802 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16804 * benchtests/Makefile: Remove instructions for adding
16806 * benchtests/README: New file to explain how to execute and
16807 enhance the benchmark tests.
16809 2013-05-21 Andreas Schwab <schwab@suse.de>
16812 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16813 * setjmp/tst-sigsetjmp.c: New test.
16815 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16817 * sysdeps/x86_64/memset.S (memset): New implementation.
16818 (__bzero): Likewise.
16819 (__memset_tail): New function.
16821 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16823 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16824 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16825 __memcpy_sse2_unaligned ifunc selection.
16826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16827 Add memcpy-sse2-unaligned.S.
16828 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16829 Add: __memcpy_sse2_unaligned.
16831 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16835 math_force_eval before restoring floating-point envrionment.
16836 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16839 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16841 (__nearbyintl): Use math_force_eval before restoring
16842 floating-point environment.
16843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16845 * math/gen-libm-test.pl (special_functions): Remove.
16846 (parse_args): Don't handle TEST_extra. Handle functions with no
16848 * math/libm-test.inc (struct test_sincos_data): Replace with
16849 struct test_fFF_11_data.
16850 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16851 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16852 (sincos_test_data): Change element type to struct
16853 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16854 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16855 RUN_TEST_LOOP_sincos.
16856 * math/README.libm-test: Don't mention special handling of
16857 individual functions.
16858 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16865 * math/gen-libm-test.pl (get_variable): Remove function.
16866 (parse_args): Don't show pointer parameters to call in test
16867 names. Use "extra output N" in test names for extra outputs
16868 rather than naming variables.
16870 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16873 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16874 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16875 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16877 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16879 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16882 * math/gen-libm-test.pl (@tests): Remove variable.
16883 ($count): Likewise.
16884 (new_test): Remove function.
16885 (show_exceptions): New function.
16886 (special_functions): Use show_exceptions instead of new_test.
16887 (parse_args): Likewise.
16888 (generate_testfile): Pass only function name in generated call to
16889 print_max_error or print_complex_max_error.
16890 (get_ulps): Do not handle complex tests specially.
16891 (output_test): Rename to ...
16892 (get_all_ulps_for_test): ... this. Return a string rather than
16893 printing to a file. Require ulps to be present.
16894 (output_ulps): Generate arrays rather than #defines.
16895 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16896 (struct ulp_data): New type.
16897 (BUILD_COMPLEX_ULP): Remove macro.
16898 (compare_ulp_data): New function.
16899 (find_ulps): Likewise.
16900 (find_test_ulps): Likewise.
16901 (find_function_ulps): Likewise.
16902 (find_complex_function_ulps): Likewise.
16903 (print_max_error): Determine allowed ulps using
16904 find_function_ulps.
16905 (print_complex_max_error): Determine allowed ulps using
16906 find_complex_function_ulps.
16907 (check_float_internal): Determine max ulps using find_test_ulps.
16908 (check_float): Do not take max_ulp parameter. Update call to
16909 check_float_internal.
16910 (check_complex): Likewise.
16911 (check_int): Do not take max_ulp parameter.
16912 (check_long): Likewise.
16913 (check_bool): Likewise.
16914 (check_longlong): Likewise.
16915 (struct test_f_f_data): Remove max_ulp field.
16916 (struct test_ff_f_data): Likewise.
16917 (struct test_ff_f_data_nexttoward): Likewise.
16918 (struct test_fi_f_data): Likewise.
16919 (struct test_fl_f_data): Likewise.
16920 (struct test_if_f_data): Likewise.
16921 (struct test_fff_f_data): Likewise.
16922 (struct test_c_f_data): Likewise.
16923 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16924 (struct test_fF_f1_data): Likewise.
16925 (struct test_ffI_f1_data): Likewise.
16926 (struct test_c_c_data): Remove max_ulp field.
16927 (struct test_cc_c_data): Likewise.
16928 (struct test_f_i_data): Likewise.
16929 (struct test_ff_i_data): Likewise.
16930 (struct test_f_l_data): Likewise.
16931 (struct test_f_L_data): Likewise.
16932 (struct test_sincos_data): Likewise.
16933 (RUN_TEST_f_f): Do not handle ulps.
16934 (RUN_TEST_LOOP_f_f): Likewise.
16935 (RUN_TEST_2_f): Likewise.
16936 (RUN_TEST_LOOP_2_f): Likewise.
16937 (RUN_TEST_fff_f): Likewise.
16938 (RUN_TEST_LOOP_fff_f): Likewise.
16939 (RUN_TEST_c_f): Likewise.
16940 (RUN_TEST_LOOP_c_f): Likewise.
16941 (RUN_TEST_f_f1): Likewise.
16942 (RUN_TEST_LOOP_f_f1): Likewise.
16943 (RUN_TEST_fF_f1): Likewise.
16944 (RUN_TEST_LOOP_fF_f1): Likewise.
16945 (RUN_TEST_fI_f1): Likewise.
16946 (RUN_TEST_LOOP_fI_f1): Likewise.
16947 (RUN_TEST_ffI_f1): Likewise.
16948 (RUN_TEST_LOOP_ffI_f1): Likewise.
16949 (RUN_TEST_c_c): Likewise.
16950 (RUN_TEST_LOOP_c_c): Likewise.
16951 (RUN_TEST_cc_c): Likewise.
16952 (RUN_TEST_LOOP_cc_c): Likewise.
16953 (RUN_TEST_f_i): Likewise.
16954 (RUN_TEST_LOOP_f_i): Likewise.
16955 (RUN_TEST_f_i_tg): Likewise.
16956 (RUN_TEST_LOOP_f_i_tg): Likewise.
16957 (RUN_TEST_ff_i_tg): Likewise.
16958 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16959 (RUN_TEST_f_b): Likewise.
16960 (RUN_TEST_LOOP_f_b): Likewise.
16961 (RUN_TEST_f_b_tg): Likewise.
16962 (RUN_TEST_LOOP_f_b_tg): Likewise.
16963 (RUN_TEST_f_l): Likewise.
16964 (RUN_TEST_LOOP_f_l): Likewise.
16965 (RUN_TEST_f_L): Likewise.
16966 (RUN_TEST_LOOP_f_L): Likewise.
16967 (RUN_TEST_sincos): Likewise.
16968 (RUN_TEST_LOOP_sincos): Likewise.
16970 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16974 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16975 main case of finite arguments, set rounding mode to FE_TONEAREST
16976 and discard exceptions.
16977 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16979 (remainder_tonearest_test_data): New variable.
16980 (remainder_test_tonearest): New function.
16981 (remainder_towardzero_test_data): New variable.
16982 (remainder_test_towardzero): New function.
16983 (remainder_downward_test_data): New variable.
16984 (remainder_test_downward): New function.
16985 (remainder_upward_test_data): New variable.
16986 (remainder_test_upward): New function.
16987 (main): Call the new test functions.
16989 * math/libm-test.inc (struct test_f_f1_data): Remove field
16991 (struct test_fF_f1_data): Likewise.
16992 (struct test_ffI_f1_data): Likewise.
16993 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16994 based on value of EXTRA_EXPECTED.
16995 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16996 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16997 EXTRA_VAR based on value of EXTRA_EXPECTED.
16998 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16999 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17000 EXTRA_VAR based on value of EXTRA_EXPECTED.
17001 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17002 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17003 EXTRA_VAR based on value of EXTRA_EXPECTED.
17004 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17005 * math/gen-libm-test.pl (parse_args): Don't output initializers
17006 for extra output values.
17008 * math/libm-test.inc (check_int): Expect result to be exactly
17009 equal to expected value and do not handle ulps.
17010 (check_long): Likewise.
17011 (check_longlong): Likewise.
17013 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17015 (cimag_test_data): Likewise.
17016 (conj_test_data): Likewise.
17017 (copysign_test_data): Likewise.
17018 (cproj_test_data): Likewise.
17019 (creal_test_data): Likewise.
17020 (fabs_test_data): Likewise.
17021 (fdim_test_data): Likewise.
17022 (finite_test_data): Likewise.
17023 (floor_test_data): Likewise.
17024 (fmax_test_data): Likewise.
17025 (fmin_test_data): Likewise.
17026 (fmod_test_data): Likewise.
17027 (fpclassify_test_data): Likewise.
17028 (frexp_test_data): Likewise.
17029 (ilogb_test_data): Likewise.
17030 (isfinite_test_data): Likewise.
17031 (isgreater_test_data): Likewise.
17032 (isgreaterequal_test_data): Likewise.
17033 (isinf_test_data): Likewise.
17034 (isless_test_data): Likewise.
17035 (islessequal_test_data): Likewise.
17036 (islessgreater_test_data): Likewise.
17037 (isnan_test_data): Likewise.
17038 (isnormal_test_data): Likewise.
17039 (issignaling_test_data): Likewise.
17040 (isunordered_test_data): Likewise.
17041 (ldexp_test_data): Likewise.
17042 (lrint_test_data): Likewise.
17043 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17044 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17045 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17046 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17047 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17048 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17050 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17051 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17052 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17053 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17055 (lrint_downward_test_data): Test for "inexact" exceptions.
17056 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17057 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17058 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17060 (lrint_upward_test_data): Test for "inexact" exceptions.
17061 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17063 (llrint_test_data): Test for "inexact" exceptions.
17064 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17065 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17066 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17067 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17068 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17069 (llrint_downward_test_data): Test for "inexact" exceptions.
17070 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17071 (llrint_upward_test_data): Test for "inexact" exceptions.
17072 (logb_test_data): Likewise.
17073 (logb_downward_test_data): Likewise.
17074 (nextafter_test_data): Likewise.
17075 (nexttoward_test_data): Likewise.
17076 (remainder_test_data): Likewise.
17077 (remquo_test_data): Likewise.
17078 (scalbn_test_data): Likewise.
17079 (scalbln_test_data): Likewise.
17080 (signbit_test_data): Likewise.
17081 (sqrt_test_data): Likewise.
17082 (significand_test_data): Likewise.
17084 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17087 * benchtests/bench-modf.c (struct args): Mark arg0 as
17089 * scripts/bench.pl: Mark members of struct args as volatile.
17091 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17094 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17095 negative infinity on POWER6 or lower.
17096 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17098 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17101 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17102 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17103 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17104 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17105 (_FP_SETQNAN): New macro.
17106 (_FP_SETQNAN_SEMIRAW): Likewise.
17107 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17108 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17109 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17110 (FP_EXTEND): Use _FP_FRAC_SNANP.
17111 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17112 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17116 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17119 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17121 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17122 with DIVIDE_BY_ZERO_EXCEPTION.
17123 (gamma_test_data): Likewise.
17124 (lgamma_test_data): Likewise.
17125 (log_test_data): Likewise.
17126 (log10_test_data): Likewise.
17127 (log2_test_data): Likewise.
17128 (tgamma_test_data): Likewise.
17130 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17131 (acos_test_tonearest): Likewise.
17132 (acos_test_towardzero): Likewise.
17133 (acos_test_downward): Likewise.
17134 (acos_test_upward): Likewise.
17135 (acosh_test): Likewise.
17136 (asin_test): Likewise.
17137 (asin_test_tonearest): Likewise.
17138 (asin_test_towardzero): Likewise.
17139 (asin_test_downward): Likewise.
17140 (asin_test_upward): Likewise.
17141 (asinh_test): Likewise.
17142 (atan_test): Likewise.
17143 (atanh_test): Likewise.
17144 (atan2_test): Likewise.
17145 (cabs_test): Likewise.
17146 (cacos_test): Likewise.
17147 (cacosh_test): Likewise.
17148 (casin_test): Likewise.
17149 (casinh_test): Likewise.
17150 (catan_test): Likewise.
17151 (catanh_test): Likewise.
17152 (cbrt_test): Likewise.
17153 (ccos_test): Likewise.
17154 (ccosh_test): Likewise.
17155 (cexp_test): Likewise.
17156 (clog_test): Likewise.
17157 (clog10_test): Likewise.
17158 (cos_test): Likewise.
17159 (cos_test_tonearest): Likewise.
17160 (cos_test_towardzero): Likewise.
17161 (cos_test_downward): Likewise.
17162 (cos_test_upward): Likewise.
17163 (cosh_test): Likewise.
17164 (cosh_test_tonearest): Likewise.
17165 (cosh_test_towardzero): Likewise.
17166 (cosh_test_downward): Likewise.
17167 (cosh_test_upward): Likewise.
17168 (cpow_test): Likewise.
17169 (csin_test): Likewise.
17170 (csinh_test): Likewise.
17171 (csqrt_test): Likewise.
17172 (ctan_test): Likewise.
17173 (ctan_test_tonearest): Likewise.
17174 (ctan_test_towardzero): Likewise.
17175 (ctan_test_downward): Likewise.
17176 (ctan_test_upward): Likewise.
17177 (ctanh_test): Likewise.
17178 (ctanh_test_tonearest): Likewise.
17179 (ctanh_test_towardzero): Likewise.
17180 (ctanh_test_downward): Likewise.
17181 (ctanh_test_upward): Likewise.
17182 (erf_test): Likewise.
17183 (erfc_test): Likewise.
17184 (exp_test): Likewise.
17185 (exp_test_tonearest): Likewise.
17186 (exp_test_towardzero): Likewise.
17187 (exp_test_downward): Likewise.
17188 (exp_test_upward): Likewise.
17189 (exp10_test): Likewise.
17190 (exp2_test): Likewise.
17191 (expm1_test): Likewise.
17192 (fmod_test): Likewise.
17193 (gamma_test): Likewise.
17194 (hypot_test): Likewise.
17195 (j0_test): Likewise.
17196 (j1_test): Likewise.
17197 (jn_test): Likewise.
17198 (lgamma_test): Likewise.
17199 (log_test): Likewise.
17200 (log10_test): Likewise.
17201 (log1p_test): Likewise.
17202 (log2_test): Likewise.
17203 (logb_test_downward): Likewise.
17204 (pow_test): Likewise.
17205 (pow_test_tonearest): Likewise.
17206 (pow_test_towardzero): Likewise.
17207 (pow_test_downward): Likewise.
17208 (pow_test_upward): Likewise.
17209 (remainder_test): Likewise.
17210 (remquo_test): Likewise.
17211 (sin_test): Likewise.
17212 (sin_test_tonearest): Likewise.
17213 (sin_test_towardzero): Likewise.
17214 (sin_test_downward): Likewise.
17215 (sin_test_upward): Likewise.
17216 (sincos_test): Likewise.
17217 (sinh_test): Likewise.
17218 (sinh_test_tonearest): Likewise.
17219 (sinh_test_towardzero): Likewise.
17220 (sinh_test_downward): Likewise.
17221 (sinh_test_upward): Likewise.
17222 (sqrt_test): Likewise.
17223 (tan_test): Likewise.
17224 (tan_test_tonearest): Likewise.
17225 (tan_test_towardzero): Likewise.
17226 (tan_test_downward): Likewise.
17227 (tan_test_upward): Likewise.
17228 (tanh_test): Likewise.
17229 (tgamma_test): Likewise.
17230 (y0_test): Likewise.
17231 (y1_test): Likewise.
17232 (yn_test): Likewise.
17234 * math/gen-libm-test.pl (adjust_arg): Remove function.
17235 (special_function): Remove argument $in_func. Only handle
17236 generating output for tables of tests, not inside functions.
17237 (parse_args): Likewise.
17238 (generate_testfile): Remove variable $in_func. Update call to
17240 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17241 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17242 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17243 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17244 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17245 (MAX_VALUE_INIT): Rename macro to max_value.
17246 (MIN_VALUE_INIT): Rename macro to min_value.
17247 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17248 (plus_zero): Remove variable.
17249 (minus_zero): Likewise.
17250 (plus_infty): Likewise.
17251 (minus_infty): Likewise.
17252 (qnan_value): Likewise.
17253 (max_value): Likewise.
17254 (min_value): Likewise.
17255 (min_subnorm_value): Likewise.
17257 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17259 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17260 uint64_t or uint32_t usage.
17261 * crypt/sha256-block.c: Likewise.
17262 * crypt/sha256-crypt.c: Likewise.
17263 * crypt/sha256.c: Likewise.
17264 * crypt/sha512-block.c: Likewise.
17265 * crypt/sha512-crypt.c: Likewise.
17266 * crypt/sha512.c: Likewise.
17267 * debug/backtrace-tst.c: Likewise.
17268 * debug/pcprofiledump.c: Likewise.
17269 * elf/cache.c: Likewise.
17270 * elf/dl-cache.c: Likewise.
17271 * elf/dl-misc.c: Likewise.
17272 * elf/dl-profile.c: Likewise.
17273 * elf/dl-support.c: Likewise.
17274 * elf/ldconfig.c: Likewise.
17275 * elf/sprof.c: Likewise.
17276 * iconv/dummy-repertoire.c: Likewise.
17277 * iconv/iconv_charmap.c: Likewise.
17278 * iconv/skeleton.c: Likewise.
17279 * iconvdata/8bit-generic.c: Likewise.
17280 * iconvdata/cp737.h: Likewise.
17281 * iconvdata/cp775.h: Likewise.
17282 * iconvdata/ibm1008.h: Likewise.
17283 * iconvdata/ibm1025.h: Likewise.
17284 * iconvdata/ibm1046.h: Likewise.
17285 * iconvdata/ibm1097.h: Likewise.
17286 * iconvdata/ibm1112.h: Likewise.
17287 * iconvdata/ibm1122.h: Likewise.
17288 * iconvdata/ibm1123.h: Likewise.
17289 * iconvdata/ibm1124.h: Likewise.
17290 * iconvdata/ibm1129.h: Likewise.
17291 * iconvdata/ibm1130.h: Likewise.
17292 * iconvdata/ibm1132.h: Likewise.
17293 * iconvdata/ibm1133.h: Likewise.
17294 * iconvdata/ibm1137.h: Likewise.
17295 * iconvdata/ibm1140.h: Likewise.
17296 * iconvdata/ibm1141.h: Likewise.
17297 * iconvdata/ibm1142.h: Likewise.
17298 * iconvdata/ibm1143.h: Likewise.
17299 * iconvdata/ibm1144.h: Likewise.
17300 * iconvdata/ibm1145.h: Likewise.
17301 * iconvdata/ibm1146.h: Likewise.
17302 * iconvdata/ibm1147.h: Likewise.
17303 * iconvdata/ibm1148.h: Likewise.
17304 * iconvdata/ibm1149.h: Likewise.
17305 * iconvdata/ibm1153.h: Likewise.
17306 * iconvdata/ibm1154.h: Likewise.
17307 * iconvdata/ibm1155.h: Likewise.
17308 * iconvdata/ibm1156.h: Likewise.
17309 * iconvdata/ibm1157.h: Likewise.
17310 * iconvdata/ibm1158.h: Likewise.
17311 * iconvdata/ibm1160.h: Likewise.
17312 * iconvdata/ibm1161.h: Likewise.
17313 * iconvdata/ibm1162.h: Likewise.
17314 * iconvdata/ibm1163.h: Likewise.
17315 * iconvdata/ibm1164.h: Likewise.
17316 * iconvdata/ibm1166.h: Likewise.
17317 * iconvdata/ibm1167.h: Likewise.
17318 * iconvdata/ibm12712.h: Likewise.
17319 * iconvdata/ibm1390.h: Likewise.
17320 * iconvdata/ibm1399.h: Likewise.
17321 * iconvdata/ibm16804.h: Likewise.
17322 * iconvdata/ibm4517.h: Likewise.
17323 * iconvdata/ibm4899.h: Likewise.
17324 * iconvdata/ibm4909.h: Likewise.
17325 * iconvdata/ibm4971.h: Likewise.
17326 * iconvdata/ibm5347.h: Likewise.
17327 * iconvdata/ibm803.h: Likewise.
17328 * iconvdata/ibm856.h: Likewise.
17329 * iconvdata/ibm901.h: Likewise.
17330 * iconvdata/ibm902.h: Likewise.
17331 * iconvdata/ibm9030.h: Likewise.
17332 * iconvdata/ibm9066.h: Likewise.
17333 * iconvdata/ibm921.h: Likewise.
17334 * iconvdata/ibm922.h: Likewise.
17335 * iconvdata/ibm9448.h: Likewise.
17336 * iconvdata/isiri-3342.h: Likewise.
17337 * iconvdata/jis0201.h: Likewise.
17338 * include/link.h: Likewise.
17339 * include/netdb.h: Likewise.
17340 * inet/check_native.c: Likewise.
17341 * inet/check_pf.c: Likewise.
17342 * inet/getipv4sourcefilter.c: Likewise.
17343 * inet/getnameinfo.c: Likewise.
17344 * inet/getsourcefilter.c: Likewise.
17345 * inet/htonl.c: Likewise.
17346 * inet/setipv4sourcefilter.c: Likewise.
17347 * inet/setsourcefilter.c: Likewise.
17348 * inet/test-inet6_opt.c: Likewise.
17349 * inet/tst-network.c: Likewise.
17350 * locale/C-collate.c: Likewise.
17351 * locale/C-ctype.c: Likewise.
17352 * locale/C-time.c: Likewise.
17353 * locale/C-translit.h: Likewise.
17354 * locale/loadarchive.c: Likewise.
17355 * locale/programs/3level.h: Likewise.
17356 * locale/programs/charmap.c: Likewise.
17357 * locale/programs/charmap.h: Likewise.
17358 * locale/programs/ld-address.c: Likewise.
17359 * locale/programs/ld-collate.c: Likewise.
17360 * locale/programs/ld-ctype.c: Likewise.
17361 * locale/programs/ld-identification.c: Likewise.
17362 * locale/programs/ld-measurement.c: Likewise.
17363 * locale/programs/ld-messages.c: Likewise.
17364 * locale/programs/ld-monetary.c: Likewise.
17365 * locale/programs/ld-name.c: Likewise.
17366 * locale/programs/ld-numeric.c: Likewise.
17367 * locale/programs/ld-paper.c: Likewise.
17368 * locale/programs/ld-telephone.c: Likewise.
17369 * locale/programs/ld-time.c: Likewise.
17370 * locale/programs/linereader.c: Likewise.
17371 * locale/programs/locale.c: Likewise.
17372 * locale/programs/locarchive.c: Likewise.
17373 * locale/programs/locfile.h: Likewise.
17374 * locale/programs/repertoire.c: Likewise.
17375 * locale/programs/simple-hash.c: Likewise.
17376 * locale/programs/simple-hash.h: Likewise.
17377 * malloc/memusage.c: Likewise.
17378 * malloc/memusagestat.c: Likewise.
17379 * nis/nis_defaults.c: Likewise.
17380 * nis/nis_hash.c: Likewise.
17381 * nis/nis_print.c: Likewise.
17382 * nis/nis_xdr.c: Likewise.
17383 * nscd/connections.c: Likewise.
17384 * nscd/hstcache.c: Likewise.
17385 * nscd/nscd_gethst_r.c: Likewise.
17386 * nscd/nscd_getserv_r.c: Likewise.
17387 * nscd/nscd_helper.c: Likewise.
17388 * nscd/servicescache.c: Likewise.
17389 * nss/makedb.c: Likewise.
17390 * nss/nss_db/db-XXX.c: Likewise.
17391 * nss/nss_db/db-initgroups.c: Likewise.
17392 * nss/nss_db/db-netgrp.c: Likewise.
17393 * nss/nss_files/files-network.c: Likewise.
17394 * nss/nss_files/files-parse.c: Likewise.
17395 * posix/bug-regex5.c: Likewise.
17396 * posix/fnmatch_loop.c: Likewise.
17397 * posix/regcomp.c: Likewise.
17398 * posix/regexec.c: Likewise.
17399 * posix/tst-rfc3484-2.c: Likewise.
17400 * posix/tst-rfc3484-3.c: Likewise.
17401 * posix/tst-rfc3484.c: Likewise.
17402 * resolv/nss_dns/dns-canon.c: Likewise.
17403 * resolv/nss_dns/dns-network.c: Likewise.
17404 * resolv/res_init.c: Likewise.
17405 * resolv/res_mkquery.c: Likewise.
17406 * resolv/tst-aton.c: Likewise.
17407 * stdlib/cxa_atexit.c: Likewise.
17408 * stdlib/cxa_finalize.c: Likewise.
17409 * stdlib/gen-fpioconst.c: Likewise.
17410 * stdlib/strtol_l.c: Likewise.
17411 * string/tst-endian.c: Likewise.
17412 * sunrpc/auth_des.c: Likewise.
17413 * sunrpc/clnt_udp.c: Likewise.
17414 * sunrpc/rtime.c: Likewise.
17415 * sunrpc/svcauth_des.c: Likewise.
17416 * sunrpc/xdr.c: Likewise.
17417 * sunrpc/xdr_intXX_t.c: Likewise.
17418 * sunrpc/xdr_rec.c: Likewise.
17419 * sysdeps/generic/ldconfig.h: Likewise.
17420 * sysdeps/generic/ldsodefs.h: Likewise.
17421 * sysdeps/generic/memusage.h: Likewise.
17422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17432 * sysdeps/posix/getaddrinfo.c: Likewise.
17433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17435 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17436 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17437 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17438 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17439 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17440 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17441 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17442 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17443 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17444 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17445 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17446 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17447 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17448 * sysdeps/x86_64/dl-tls.h: Likewise.
17449 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17450 * time/alt_digit.c: Likewise.
17451 * time/era.c: Likewise.
17452 * wcsmbs/tst-c16c32-1.c: Likewise.
17454 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17456 * math/libm-test.inc (struct test_sincos_data): New type.
17457 (RUN_TEST_LOOP_sincos): New macro.
17458 (sincos_test_data): New variable.
17459 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17461 2013-05-16 Richard Henderson <rth@redhat.com>
17463 * math/atest-exp2.c (LIMB64): New macro.
17464 (CONSTSZ): New macro.
17465 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17467 (print_mpn_fp): ... to function scope.
17468 (read_mpn_hex): Remove.
17469 (get_log2): Remove.
17470 (exp2_mpn): Use mp_log2.
17471 (main): Use mp_exp1.
17473 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17475 * math/libm-test.inc: Remove comment about not testing "inexact"
17477 (INEXACT_EXCEPTION): New macro.
17478 (NO_INEXACT_EXCEPTION): Likewise.
17479 (INVALID_EXCEPTION_OK): Update value.
17480 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17481 (OVERFLOW_EXCEPTION_OK): Likewise.
17482 (UNDERFLOW_EXCEPTION_OK): Likewise.
17483 (IGNORE_ZERO_INF_SIGN): Likewise.
17484 (ERRNO_UNCHANGED): Likewise.
17485 (ERRNO_EDOM): Likewise.
17486 (ERRNO_ERANGE): Likewise.
17487 (test_exceptions): Handle testing "inexact" exceptions.
17488 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17489 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17490 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17491 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17493 (rint_towardzero_test_data): Likewise.
17494 (rint_downward_test_data): Likewise.
17495 (rint_upward_test_data): Likewise.
17497 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17498 with OVERFLOW_EXCEPTION.
17499 (exp10_test_data): Likewise.
17500 (exp2_test_data): Likewise.
17501 (expm1_test_data): Likewise.
17502 (lgamma_test_data): Likewise.
17503 (pow_test_data): Likewise.
17504 (tgamma_test_data): Likewise.
17505 (yn_test_data): Remove duplicate test of overflow.
17507 * math/libm-test.inc (struct test_cc_c_data): New type.
17508 (RUN_TEST_LOOP_cc_c): New macro.
17509 (cpow_test_data): New variable.
17510 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17512 * math/libm-test.inc (struct test_f_L_data): New type.
17513 (RUN_TEST_LOOP_f_L): New macro.
17514 (llrint_test_data): New variable.
17515 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17516 (llrint_tonearest_test_data): New variable.
17517 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17518 (llrint_towardzero_test_data): New variable.
17519 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17520 (llrint_downward_test_data): New variable.
17521 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17522 (llrint_upward_test_data): New variable.
17523 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17524 (llround_test_data): New variable.
17525 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17527 2013-05-13 Peter Collingbourne <pcc@google.com>
17529 * math/atest-exp2.c (get_log2): Remove const attribute.
17531 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17533 * math/libm-test.inc (struct test_f_l_data): New type.
17534 (RUN_TEST_LOOP_f_l): New macro.
17535 (lrint_test_data): New variable.
17536 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17537 (lrint_tonearest_test_data): New variable.
17538 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17539 (lrint_towardzero_test_data): New variable.
17540 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17541 (lrint_downward_test_data): New variable.
17542 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17543 (lrint_upward_test_data): New variable.
17544 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17545 (lround_test_data): New variable.
17546 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17548 2013-05-15 Peter Collingbourne <pcc@google.com>
17550 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17551 (EXTRACT_WORDS64) Use where appropriate.
17552 (INSERT_WORDS64) Likewise.
17554 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17555 constraints with x constraints.
17556 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17558 * malloc/obstack.c (_obstack_compat): Add initializer.
17560 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17563 si_trapno and add si_addr_lsb to _sifields.sigfault.
17564 (si_trapno): Remove macro.
17565 (si_addr_lsb): Define new macro.
17566 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17568 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17570 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17571 instead of TEST_f_l.
17572 (llrint_test_tonearest): Likewise.
17573 (llrint_test_towardzero): Likewise.
17574 (llrint_test_downward): Likewise.
17575 (llrint_test_upward): Likewise.
17576 (llround_test): Likewise.
17578 * math/libm-test.inc (struct test_f_i_data): Add comment.
17579 (RUN_TEST_LOOP_f_b): New macro.
17580 (RUN_TEST_LOOP_f_b_tg): Likewise.
17581 (finite_test_data): New variable.
17582 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17583 (isfinite_test_data): New variable.
17584 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17585 (isinf_test_data): New variable.
17586 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17587 (isnan_test_data): New variable.
17588 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17589 (isnormal_test_data): New variable.
17590 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17591 (issignaling_test_data): New variable.
17592 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17593 (signbit_test_data): New variable.
17594 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17596 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17597 with INVALID_EXCEPTION.
17598 (acosh_test_data): Likewise.
17599 (asin_test_data): Likewise.
17600 (atanh_test_data): Likewise.
17601 (fmod_test_data): Likewise.
17602 (log_test_data): Likewise.
17603 (log10_test_data): Likewise.
17604 (log2_test_data): Likewise.
17605 (pow_test_data): Likewise.
17606 (sqrt_test_data): Likewise.
17607 (y0_test_data): Likewise.
17608 (y1_test_data): Likewise.
17609 (yn_test_data): Likewise.
17611 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17614 * math/libm-test.inc (struct test_ff_i_data): New type.
17615 (RUN_TEST_LOOP_ff_i_tg): New macro.
17616 (isgreater_test_data): New variable.
17617 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17618 (isgreaterequal_test_data): New variable.
17619 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17620 (isless_test_data): New variable.
17621 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17622 (islessequal_test_data): New variable.
17623 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17624 (islessgreater_test_data): New variable.
17625 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17626 (isunordered_test_data): New variable.
17627 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17629 2013-05-14 David S. Miller <davem@davemloft.net>
17631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17633 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17635 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17637 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17639 (struct test_f_i_data): Change type of max_ulp to int.
17641 * math/libm-test.inc (test_ffI_f1_data): New type.
17642 (RUN_TEST_LOOP_ffI_f1): New macro.
17643 (remquo_test_data): New variable.
17644 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17646 * setjmp/tst-setjmp-fp.c: New file.
17647 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17648 (link-libm): New variable.
17649 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17651 * math/libm-test.inc (struct test_f_i_data): New type.
17652 (RUN_TEST_LOOP_f_i): New macro.
17653 (RUN_TEST_LOOP_f_i_tg): Likewise.
17654 (fpclassify_test_data): New variable.
17655 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17656 (ilogb_test_data): New variable.
17657 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17659 * math/libm-test.inc (scalbln_test): Correct function name in END
17662 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17663 (RUN_TEST_LOOP_fI_f1): New macro.
17664 (frexp_test_data): New variable.
17665 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17667 * math/libm-test.inc (struct test_fF_f1_data): New type.
17668 (RUN_TEST_LOOP_fF_f1): New macro.
17669 (modf_test_data): New variable.
17670 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17672 * math/libm-test.inc (struct test_f_f1_data): New type.
17673 (RUN_TEST_LOOP_f_f1): New macro.
17674 (gamma_test_data): New variable.
17675 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17676 (lgamma_test_data): New variable.
17677 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17679 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17681 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17682 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17683 (main): Comment "tls" pseudo-hwcap.
17685 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17687 * math/libm-test.inc (struct test_fl_f_data): New type.
17688 (RUN_TEST_LOOP_fl_f): New variable.
17689 (scalbln_test_data): New variable.
17690 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17692 * math/libm-test.inc (struct test_fi_f_data): New type.
17693 (RUN_TEST_LOOP_fi_f): New macro.
17694 (ldexp_test_data): New variable.
17695 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17696 (scalbn_test_data): New variable.
17697 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17699 * math/libm-test.inc (struct test_c_f_data): New type.
17700 (RUN_TEST_LOOP_c_f): New macro.
17701 (cabs_test_data): New variable.
17702 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17703 (carg_test_data): New variable.
17704 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17705 (cimag_test_data): New variable.
17706 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17707 (creal_test_data): New variable.
17708 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17710 * math/libm-test.inc (struct test_if_f_data): New type.
17711 (RUN_TEST_LOOP_if_f): New macro.
17712 (jn_test_data): New variable.
17713 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17714 (yn_test_data): New variable.
17715 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17717 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17719 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17721 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17722 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17724 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17726 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17727 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17728 (bench-deps): Add bench-timing.h.
17729 * benchtests-bench-skeleton.c: Include bench-timing.h.
17730 (main): Use TIMING_* macros instead of clock_gettime.
17731 * benchtests/bench-timing.h: New file.
17734 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17735 Renamed from _LIB_VERSION.
17736 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17738 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17740 * math/libm-test.inc (struct test_fff_f_data): New type.
17741 (RUN_TEST_LOOP_fff_f): New macro.
17742 (fma_test_data): New variable.
17743 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17744 (fma_towardzero_test_data): New variable.
17745 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17746 (fma_downward_test_data): New variable.
17747 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17748 (fma_upward_test_data): New variable.
17749 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17751 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17752 (struct test_c_c_data): New type.
17753 (RUN_TEST_LOOP_c_c): New macro.
17754 (cacos_test_data): New variable.
17755 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17756 (cacosh_test_data): New variable.
17757 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17758 (casin_test_data): New variable.
17759 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17760 (casinh_test_data): New variable.
17761 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17762 (catan_test_data): New variable.
17763 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17764 (catanh_test_data): New variable.
17765 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17766 (ccos_test_data): New variable.
17767 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17768 (ccosh_test_data): New variable.
17769 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17770 (cexp_test_data): New variable.
17771 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17772 (clog_test_data): New variable.
17773 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17774 (clog10_test_data): New variable.
17775 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17776 (conj_test_data): New variable.
17777 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17778 (cproj_test_data): New variable.
17779 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17780 (csin_test_data): New variable.
17781 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17782 (csinh_test_data): New variable.
17783 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17784 (csqrt_test_data): New variable.
17785 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17786 (ctan_test_data): New variable.
17787 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17788 (ctan_tonearest_test_data): New variable.
17789 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17790 (ctan_towardzero_test_data): New variable.
17791 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17792 (ctan_downward_test_data): New variable.
17793 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17794 (ctan_upward_test_data): New variable.
17795 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17796 (ctanh_test_data): New variable.
17797 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17798 (ctanh_tonearest_test_data): New variable.
17799 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17800 (ctanh_towardzero_test_data): New variable.
17801 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17802 (ctanh_downward_test_data): New variable.
17803 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17804 (ctanh_upward_test_data): New variable.
17805 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17806 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17809 * math/libm-test.inc (struct test_ff_f_data): New type.
17810 (struct test_ff_f_data_nexttoward): Likewise.
17811 (RUN_TEST_LOOP_2_f): New macro.
17812 (RUN_TEST_LOOP_ff_f): Likewise.
17813 (atan2_test_data): New variable.
17814 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17815 (copysign_test_data): New variable.
17816 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17817 (fdim_test_data): New variable.
17818 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17819 (fmax_test_data): New variable.
17820 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17821 (fmin_test_data): New variable.
17822 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17823 (fmod_test_data): New variable.
17824 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17825 (hypot_test_data): New variable.
17826 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17827 (nextafter_test_data): New variable.
17828 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17829 (nexttoward_test_data): New variable.
17830 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17831 (pow_test_data): New variable.
17832 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17833 (pow_tonearest_test_data): New variable.
17834 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17835 (pow_towardzero_test_data): New variable.
17836 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17837 (pow_downward_test_data): New variable.
17838 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17839 (pow_upward_test_data): New variable.
17840 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17841 (remainder_test_data): New variable.
17842 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17843 (scalb_test_data): New variable.
17844 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17845 * sysdeps/i386/fpu/libm-test-ulps: Update.
17847 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17849 * math/libm-test.inc (fma_test): Use max_value instead of local
17851 (nextafter_test): Likewise.
17853 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17854 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17855 (acos_downward_test_data): New variable.
17856 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17857 (acos_upward_test_data): New variable.
17858 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17859 (acosh_test_data): New variable.
17860 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17861 (asin_test_data): New variable.
17862 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17863 (asin_tonearest_test_data): New variable.
17864 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17865 (asin_towardzero_test_data): New variable.
17866 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17867 (asin_downward_test_data): New variable.
17868 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17869 (asin_upward_test_data): New variable.
17870 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17871 (asinh_test_data): New variable.
17872 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17873 (atan_test_data): New variable.
17874 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17875 (atanh_test_data): New variable.
17876 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17877 (cbrt_test_data): New variable.
17878 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17879 (ceil_test_data): New variable.
17880 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17881 (cos_test_data): New variable.
17882 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17883 (cos_tonearest_test_data): New variable.
17884 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17885 (cos_towardzero_test_data): New variable.
17886 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17887 (cos_downward_test_data): New variable.
17888 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17889 (cos_upward_test_data): New variable.
17890 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17891 (cosh_test_data): New variable.
17892 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17893 (cosh_tonearest_test_data): New variable.
17894 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17895 (cosh_towardzero_test_data): New variable.
17896 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17897 (cosh_downward_test_data): New variable.
17898 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17899 (cosh_upward_test_data): New variable.
17900 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17901 (erf_test_data): New variable.
17902 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17903 (erfc_test_data): New variable.
17904 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17905 (exp_test_data): New variable.
17906 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17907 (exp_tonearest_test_data): New variable.
17908 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17909 (exp_towardzero_test_data): New variable.
17910 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17911 (exp_downward_test_data): New variable.
17912 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17913 (exp_upward_test_data): New variable.
17914 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17915 (exp10_test_data): New variable.
17916 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17917 (exp2_test_data): New variable.
17918 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17919 (expm1_test_data): New variable.
17920 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17921 (fabs_test_data): New variable.
17922 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17923 (floor_test_data): New variable.
17924 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17925 (j0_test_data): New variable.
17926 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17927 (j1_test_data): New variable.
17928 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17929 (log_test_data): New variable.
17930 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17931 (log10_test_data): New variable.
17932 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17933 (log1p_test_data): New variable.
17934 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17935 (log2_test_data): New variable.
17936 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17937 (logb_test_data): New variable.
17938 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17939 (logb_downward_test_data): New variable.
17940 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17941 (nearbyint_test_data): New variable.
17942 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17943 (rint_test_data): New variable.
17944 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17945 (rint_tonearest_test_data): New variable.
17946 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17947 (rint_towardzero_test_data): New variable.
17948 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17949 (rint_downward_test_data): New variable.
17950 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17951 (rint_upward_test_data): New variable.
17952 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17953 (round_test_data): New variable.
17954 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (sin_test_data): New variable.
17956 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17957 (sin_tonearest_test_data): New variable.
17958 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17959 (sin_towardzero_test_data): New variable.
17960 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17961 (sin_downward_test_data): New variable.
17962 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17963 (sin_upward_test_data): New variable.
17964 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17965 (sinh_test_data): New variable.
17966 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (sinh_tonearest_test_data): New variable.
17968 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17969 (sinh_towardzero_test_data): New variable.
17970 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17971 (sinh_downward_test_data): New variable.
17972 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17973 (sinh_upward_test_data): New variable.
17974 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17975 (sqrt_test_data): New variable.
17976 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17977 (tan_test_data): New variable.
17978 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (tan_tonearest_test_data): New variable.
17980 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17981 (tan_towardzero_test_data): New variable.
17982 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17983 (tan_downward_test_data): New variable.
17984 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17985 (tan_upward_test_data): New variable.
17986 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17987 (tanh_test_data): New variable.
17988 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (tgamma_test_data): New variable.
17990 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (trunc_test_data): New variable.
17992 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (y0_test_data): New variable.
17994 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (y1_test_data): New variable.
17996 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (significand_test_data): New variable.
17998 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18000 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18003 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18005 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18007 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18009 2013-05-10 Andreas Jaeger <aj@suse.de>
18012 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18013 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18015 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18017 * math/gen-libm-test.pl (adjust_arg): New function.
18018 (special_functions): Handle generating output in both functions
18020 (parse_args): Likewise.
18021 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18022 $in_func argument to parse_args.
18023 * math/libm-test.inc (struct test_f_f_data): New type.
18024 (IF_ROUND_INIT_): New macro.
18025 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18026 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18027 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18028 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18029 (ROUND_RESTORE_): Likewise.
18030 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18031 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18032 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18033 (ROUND_RESTORE_FE_UPWARD): Likewise.
18034 (RUN_TEST_LOOP_f_f): New macro.
18035 (acos_test_data): New variable.
18036 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18037 (acos_tonearest_test_data): New variable.
18038 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18040 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18042 * benchtests/bench-skeleton.c (startup): Fix coding style.
18044 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18047 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18048 negative infinity argument.
18049 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18050 negative infinity argument.
18051 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18052 negative infinity argument.
18053 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18056 2013-05-10 Florian Weimer <fweimer@redhat.com>
18058 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18059 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18060 * iconv/iconv_prog.c (main): Likewise.
18061 * locale/programs/charmap-dir.c (charmap_readdir)
18062 (fopen_uncompressed): Likewise.
18063 * locale/programs/locfile.c (siblings_uncached)
18064 (write_locale_data): Use lstat64 instead of lstat.
18065 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18068 2013-05-10 Andreas Jaeger <aj@suse.de>
18071 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18073 Include <locale.h>.
18075 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18077 * elf/dl-close.c (_dl_close_worker): Add comments.
18079 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18082 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18084 (__ieee754_rem_pio2l): Update comments.
18087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18089 (__ieee754_rem_pio2l): Update comments.
18091 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18092 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18094 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18097 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18098 (M_PI_34_LOG10El): Likewise.
18099 (M_PI2_LOG10El): Likewise.
18100 (M_PI4_LOG10El): Likewise.
18101 (M_PI_LOG10El): Likewise.
18103 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18107 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18109 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18110 (MINUS_ZERO_INIT): Likewise.
18111 (PLUS_INFTY_INIT): Likewise.
18112 (MINUS_INFTY_INIT): Likewise.
18113 (QNAN_VALUE_INIT): Likewise.
18114 (MAX_VALUE_INIT): Likewise.
18115 (MIN_VALUE_INIT): Likewise.
18116 (MIN_SUBNORM_VALUE_INIT): Likewise.
18117 (plus_zero): Initialize with PLUS_ZERO_INIT.
18118 (minus_zero): Initialize with MINUS_ZERO_INIT.
18119 (plus_infty): Initialize with PLUS_INFTY_INIT.
18120 (minus_infty): Initialize with MINUS_INFTY_INIT.
18121 (qnan_value): Initialize with QNAN_VALUE_INIT.
18122 (max_value): Initialize with MAX_VALUE_INIT.
18123 (min_value): Initialize with MIN_VALUE_INIT.
18124 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18126 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18127 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18128 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18129 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18131 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18132 (RUN_TEST_2_f): Likewise.
18133 (RUN_TEST_ff_f): Likewise.
18134 (RUN_TEST_fi_f): Likewise.
18135 (RUN_TEST_fl_f): Likewise.
18136 (RUN_TEST_fff_f): Likewise.
18137 (RUN_TEST_c_f): Likewise.
18138 (RUN_TEST_f_f1): Likewise.
18139 (RUN_TEST_fF_f1): Likewise.
18140 (RUN_TEST_fI_f1): Likewise.
18141 (RUN_TEST_ffI_f1): Likewise.
18142 (RUN_TEST_c_c): Likewise.
18143 (RUN_TEST_cc_c): Likewise.
18144 (RUN_TEST_f_i): Likewise.
18145 (RUN_TEST_f_i_tg): Likewise.
18146 (RUN_TEST_ff_i_tg): Likewise.
18147 (RUN_TEST_f_b): Likewise.
18148 (RUN_TEST_f_b_tg): Likewise.
18149 (RUN_TEST_f_l): Likewise.
18150 (RUN_TEST_f_L): Likewise.
18151 (RUN_TEST_sincos): Likewise.
18152 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18153 whether to show exceptions. Do not include ");\n" in return
18155 (special_functions): Output call to RUN_TEST_sincos instead of
18156 check_float calls. Update calls to new_test.
18157 (parse_args): Output call to single RUN_TEST_* macro instead of
18158 check_* calls and other assignments. Update calls to new_test.
18164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18165 input to result for tgamma overflow.
18166 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18167 (gamma_coeff): New variable.
18168 (NCOEFF): New macro.
18169 (gamma_positive): New function.
18170 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18171 underflow here. Use gamma_positive instead of exp (lgamma) for
18173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18174 (gamma_coeff): New variable.
18175 (NCOEFF): New macro.
18176 (gammaf_positive): New function.
18177 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18178 underflow here. Use gamma_positive instead of exp (lgamma) for
18180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18181 (gamma_coeff): New variable.
18182 (NCOEFF): New macro.
18183 (gammal_positive): New function.
18184 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18185 underflow here. Use gamma_positive instead of exp (lgamma) for
18187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18188 (gamma_coeff): New variable.
18189 (NCOEFF): New macro.
18190 (gammal_positive): New function.
18191 (__ieee754_gammal_r): Handle positive infinity, overflow and
18192 underflow here. Handle NaN the same as positive infinity. Remove
18193 check x < 0xffffffff for negative integers. Use gamma_positive
18194 instead of exp (lgamma) for other arguments.
18195 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18196 (gamma_coeff): New variable.
18197 (NCOEFF): New macro.
18198 (gammal_positive): New function.
18199 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18200 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18205 * sysdeps/generic/math_private.h (__gamma_productf): New
18207 (__gamma_product): Likewise.
18208 (__gamma_productl): Likewise.
18209 * math/Makefile (libm-calls): Add gamma_product.
18210 * math/libm-test.inc (tgamma_test): Add more tests.
18211 * sysdeps/i386/fpu/libm-test-ulps: Update.
18212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18214 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18216 * benchtests/bench-skeleton.c (main): Preheat CPU.
18218 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18220 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18222 2013-05-07 Roland McGrath <roland@hack.frob.com>
18224 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18225 and _dl_skip_args_internal.
18227 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18229 * manual/message.texi (Message Translation): Talk about users.
18230 Message to key mapping impacts design.
18232 2013-05-06 Roland McGrath <roland@hack.frob.com>
18234 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18236 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18238 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18239 * sysdeps/wordsize-64/glob64.c: ... here.
18241 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18242 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18245 * debug/getlogin_r_chk.c: Moved to ...
18246 * login/getlogin_r_chk.c: ... here.
18247 * debug/Makefile (routines): Move getlogin_r_chk to ...
18248 * login/Makefile (routines): ... here.
18249 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18250 * login/Versions (libc: GLIBC_2.4): ... here.
18252 * io/poll.c (__poll): Renamed from poll.
18253 Add libc_hidden_def.
18254 (poll): Define as weak alias.
18256 * debug/ptsname_r_chk.c: Moved to ...
18257 * login/ptsname_r_chk.c: ... here.
18258 * debug/Makefile (routines): Move ptsname_r_chk to ...
18259 * login/Makefile (routines): ... here.
18260 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18261 * login/Versions (libc: GLIBC_2.4): ... here.
18263 * posix/getlogin.c: Moved to ...
18264 * login/getlogin.c: ... here.
18265 * posix/getlogin_r.c: Moved to ...
18266 * login/getlogin_r.c: ... here.
18267 * posix/getlogin_r.c: Moved to ...
18268 * login/getlogin_r.c: ... here.
18269 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18270 * login/Makefile (routines): ... here.
18271 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18272 * login/Versions (libc: GLIBC_2.0): ... here.
18274 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18275 (setrlimit): Define as weak alias.
18277 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18278 Call __ names for open, ftruncate, and close.
18279 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18280 (truncate): Define as weak alias.
18282 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18284 * math/gen-libm-test.pl (parse_args): Initialize x before each
18285 test of frexp, modf and remquo.
18287 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18288 test signgam value.
18290 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18296 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18298 2013-05-06 Roland McGrath <roland@hack.frob.com>
18300 * elf/dl-writev.h: New file.
18301 * elf/dl-misc.c: Include it.
18302 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18303 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18305 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18307 * math/libm-test.inc (noXFails): Remove variable.
18308 (noXPasses): Likewise.
18309 (BUILD_COMPLEX_INT): Remove macro.
18310 (print_screen): Remove xfail argument.
18311 (print_screen_max_error): Likewise.
18312 (update_stats): Likewise.
18313 (print_max_error): Likewise. Update calls to other affected
18315 (print_complex_max_error): Likewise.
18316 (test_single_exception): Update calls to print_screen.
18317 (test_single_errno): Likewise.
18318 (check_float_internal): Remove xfail argument. Update calls to
18319 other affected functions.
18320 (check_float): Likewise.
18321 (check_complex): Likewise.
18322 (check_int): Likewise.
18323 (check_long): Likewise.
18324 (check_bool): Likewise.
18325 (check_longlong): Likewise.
18326 (main): Don't print noXFails and noXPasses.
18327 * math/gen-libm-test.pl (top level): Don't mention expected
18328 failure handling in comment.
18329 (new_test): Don't handle expected failures.
18330 (parse_args): Don't mention expected failure handling in comment.
18331 (generate_testfile): Don't handle expected failures.
18332 (parse_ulps): Likewise.
18333 (print_ulps_file): Likewise.
18334 (get_failure): Remove function.
18335 (output_test): Don't handle expected failures.
18336 * make/README.libm-test: Don't mention expected failure handling.
18338 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18339 (minus_zero): Likewise.
18340 (plus_infty): Likewise.
18341 (minus_infty): Likewise.
18342 (qnan_value): Likewise.
18343 (max_value): Likewise.
18344 (min_value): Likewise.
18345 (min_subnorm_value): Likewise.
18346 (initialize): Do not initialize those variables dynamically.
18348 2013-05-03 Roland McGrath <roland@hack.frob.com>
18350 * io/open.c (__open_2): Moved to ...
18351 * io/open_2.c: ... this new file.
18352 * io/open64.c (__open64_2): Moved to ...
18353 * io/open64_2.c: ... this new file.
18354 * io/openat.c (__openat_2): Moved to ...
18355 * io/openat_2.c: ... this new file.
18356 * io/openat64.c (__openat64_2): Moved to ...
18357 * io/openat64_2.c: ... this new file.
18358 * io/Makefile (routines): Add them.
18359 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18360 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18361 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18362 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18363 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18364 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18365 (__openat64): Add hidden_ver.
18366 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18367 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18369 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18370 Separately conditionalize setting of GLRO(dl_sysinfo) so
18371 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18372 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18374 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18376 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18379 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18380 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18381 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18382 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18383 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18385 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18387 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18388 test signgam value.
18390 * math/libm-test.inc (hypot_test): Do not use
18391 IGNORE_ZERO_INF_SIGN.
18393 2013-05-03 Andreas Jaeger <aj@suse.de>
18395 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18397 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18398 (PF_MAX): Adjust for VSOCK change.
18400 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18404 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18407 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18408 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18409 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18411 2013-05-02 David S. Miller <davem@davemloft.net>
18413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18415 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18417 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18419 2013-05-01 Roland McGrath <roland@hack.frob.com>
18421 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18423 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18426 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18427 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18428 Use __attribute__ ((__gnu_inline__)).
18429 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18430 Don't use __attribute__ ((__gnu_inline__)).
18432 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18435 * math/s_catan.c (__catan): Handle small real or imaginary part of
18436 input specially to avoid spurious underflow.
18437 * math/s_catanf.c (__catanf): Likewise.
18438 * math/s_catanh.c (__catanh): Likewise.
18439 * math/s_catanhf.c (__catanhf): Likewise.
18440 * math/s_catanhl.c (__catanhl): Likewise.
18441 * math/s_catanl.c (__catanl): Likewise.
18442 * math/libm-test.inc (catan_test): Add more tests.
18443 (catanh_test): Likewise.
18444 * sysdeps/i386/fpu/libm-test-ulps: Update.
18445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18447 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18451 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18454 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18455 accurately for denominator in atan2.
18456 * math/s_catanf.c (__catanf): Likewise.
18457 * math/s_catanh.c (__catanh): Likewise.
18458 * math/s_catanhf.c (__catanhf): Likewise.
18459 * math/s_catanhl.c (__catanhl): Likewise.
18460 * math/s_catanl.c (__catanl): Likewise.
18461 * math/libm-test.inc (catan_test): Add more tests.
18462 (catanh_test): Likewise.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18466 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18468 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18470 * benchtests/Makefile (bench): Remove slow benchmarks.
18471 * benchtests/atan-inputs: Add slow benchmark inputs.
18472 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18473 (BENCH_FUNC): Accept variant offset.
18475 * benchtests/bench-skeleton.c (main): Run benchmark for each
18477 * benchtests/cos-inputs: Add slow benchmark inputs.
18478 * benchtests/exp-inputs: Likewise.
18479 * benchtests/pow-inputs: Likewise.
18480 * benchtests/sin-inputs: Likewise.
18481 * benchtests/slowatan-inputs: Remove.
18482 * benchtests/slowatan.c: Remove.
18483 * benchtests/slowcos-inputs: Remove.
18484 * benchtests/slowcos.c: Remove.
18485 * benchtests/slowexp-inputs: Remove.
18486 * benchtests/slowexp.c: Remove.
18487 * benchtests/slowpow-inputs: Remove.
18488 * benchtests/slowpow.c: Remove.
18489 * benchtests/slowsin-inputs: Remove.
18490 * benchtests/slowsin.c: Remove.
18491 * benchtests/slowtan-inputs: Remove.
18492 * benchtests/slowtan.c: Remove.
18493 * benchtests/tan-inputs: Add slow benchmark inputs.
18494 * scripts/bench.pl: Parse comments and directives.
18496 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18498 ($(objpfx)bench-%.c): Remove *-ITER.
18499 * benchtests/bench-modf.c: Remove definition of ITER.
18500 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18501 (main): Loop for DURATION seconds instead of fixed number of
18503 * scripts/bench.pl: Don't expect iterations in parameters.
18505 2013-04-29 Roland McGrath <roland@hack.frob.com>
18507 * io/fchdir.c (__fchdir): Renamed from fchdir.
18508 (fchdir): Define as weak alias.
18510 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18512 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18513 (ERRNO_EDOM): Likewise.
18514 (ERRNO_ERANGE): Likewise.
18515 (noErrnoTests): New variable.
18516 (init_max_error): Set errno to 0.
18517 (test_single_errno): New function.
18518 (test_errno): Likewise.
18519 (check_float_internal): Call test_errno. Set errno to 0.
18520 (check_complex): Refer to errno tests in comment.
18521 (check_int): Call test_errno. Set errno to 0.
18522 (check_long): Likewise.
18523 (check_bool): Likewise.
18524 (check_longlong): Likewise.
18525 (cos_test): Use ERRNO_* flags for errno tests instead of
18527 (expm1_test): Likewise.
18528 (fmod_test): Likewise.
18529 (ilogb_test): Likewise.
18530 (lgamma_test): Likewise.
18531 (pow_test): Likewise.
18532 (remainder_test): Likewise.
18533 (sin_test): Likewise.
18534 (tan_test): Likewise.
18535 (yn_test): Likewise.
18536 (initialize): Set errno to 0.
18537 (main): Print number of errno tests.
18538 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18540 2013-04-29 Andreas Jaeger <aj@suse.de>
18543 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18547 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18548 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18552 * stdlib/random.c (__initstate): Return NULL if
18556 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18557 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18560 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18564 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18566 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18567 of individual tests.
18568 (casin_test): Likewise.
18569 (casinh_test): Likewise.
18571 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18574 * math/s_catan.c (__catan): Handle arguments with large real or
18575 imaginary part separately without squaring.
18576 * math/s_catanf.c (__catanf): Likewise.
18577 * math/s_catanh.c (__catanh): Likewise.
18578 * math/s_catanhf.c (__catanhf): Likewise.
18579 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18581 (__catanhl): Handle arguments with large real or imaginary part
18582 separately without squaring.
18583 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18585 (__catanl): Handle arguments with large real or imaginary part
18586 separately without squaring.
18587 * math/libm-test.inc (catan_test): Add more tests.
18588 (catanh_test): Likewise.
18589 * sysdeps/i386/fpu/libm-test-ulps: Update.
18590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18592 2013-04-27 Andreas Jaeger <aj@suse.de>
18595 * stdlib/stdlib.h: Update guards for qecvt.
18596 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18599 2013-04-27 Allan McRae <allan@archlinux.org>
18601 * sysdeps/i386/fpu/libm-test-ulps: Update.
18603 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18606 * math/s_catan.c: Include <float.h>.
18607 (__catan): Ensure underflow exception occurs for underflowed
18609 * math/s_catanf.c: Include <float.h>.
18610 (__catanf): Ensure underflow exception occurs for underflowed
18612 * math/s_catanh.c: Include <float.h>.
18613 (__catanh): Ensure underflow exception occurs for underflowed
18615 * math/s_catanhf.c: Include <float.h>.
18616 (__catanhf): Ensure underflow exception occurs for underflowed
18618 * math/s_catanhl.c: Include <float.h>.
18619 (__catanhl): Ensure underflow exception occurs for underflowed
18621 * math/s_catanl.c: Include <float.h>.
18622 (__catanl): Ensure underflow exception occurs for underflowed
18624 * math/libm-test.inc (catan_test): Add more tests.
18625 (catanh_test): Likewise.
18628 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18629 underflowed result.
18630 * math/s_ccoshf.c (__ccoshf): Likewise.
18631 * math/s_ccoshl.c (__ccoshl): Likewise.
18632 * math/s_csin.c (__csin): Likewise.
18633 * math/s_csinf.c (__csinf): Likewise.
18634 * math/s_csinh.c (__csinh): Likewise.
18635 * math/s_csinhf.c (__csinhf): Likewise.
18636 * math/s_csinhl.c (__csinhl): Likewise.
18637 * math/s_csinl.c (__csinl): Likewise.
18638 * math/libm-test.inc (ccos_test): Add more tests.
18639 (ccosh_test): Likewise.
18640 (csin_test): Likewise.
18641 (csinh_test): Likewise.
18643 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18646 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18647 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18648 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18649 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18650 powerpc/power5+/fpu folders.
18651 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18654 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18658 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18660 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18661 additions to variable.
18662 [$(config-machine) = x86_64] (modules-names): Likewise.
18663 ($(objpfx)tst-audit3): Remove dependency.
18664 ($(objpfx)tst-audit3.out): Likewise.
18665 ($(objpfx)tst-audit4): Likewise.
18666 ($(objpfx)tst-audit4.out): Likewise.
18667 ($(objpfx)tst-audit5): Likewise.
18668 ($(objpfx)tst-audit5.out): Likewise.
18669 ($(objpfx)tst-audit6): Likewise.
18670 ($(objpfx)tst-audit6.out): Likewise.
18671 ($(objpfx)tst-audit7): Likewise.
18672 ($(objpfx)tst-audit7.out): Likewise.
18673 (tst-audit3-ENV): Remove variable.
18674 (tst-audit4-ENV): Likewise.
18675 (tst-audit5-ENV): Likewise.
18676 (tst-audit6-ENV): Likewise.
18677 (tst-audit7-ENV): Likewise.
18678 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18679 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18680 addition to variable.
18681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18686 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18687 tst-audit3, tst-audit4 and tst-audit5.
18688 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18689 tst-audit6 and tst-audit7.
18690 [$(subdir) = elf] (modules-names): Add audit modules for those
18692 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18693 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18694 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18695 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18696 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18697 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18698 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18699 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18700 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18701 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18702 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18703 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18704 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18705 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18706 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18707 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18709 [$(subdir) = elf && $(config-cflags-avx) = yes]
18710 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18711 [$(subdir) = elf && $(config-cflags-avx) = yes]
18712 (CFLAGS-tst-auditmod4a.c): Likewise.
18713 [$(subdir) = elf && $(config-cflags-avx) = yes]
18714 (CFLAGS-tst-auditmod4b.c): Likewise.
18715 [$(subdir) = elf && $(config-cflags-avx) = yes]
18716 (CFLAGS-tst-auditmod6b.c): Likewise.
18717 [$(subdir) = elf && $(config-cflags-avx) = yes]
18718 (CFLAGS-tst-auditmod6c.c): Likewise.
18719 [$(subdir) = elf && $(config-cflags-avx) = yes]
18720 (CFLAGS-tst-auditmod7b.c): Likewise.
18721 * elf/tst-audit3.c: Move to ...
18722 * sysdeps/x86_64/tst-audit3.c: ... here.
18723 * elf/tst-audit4.c: Move to ...
18724 * sysdeps/x86_64/tst-audit4.c: ... here.
18725 * elf/tst-audit5.c: Move to ...
18726 * sysdeps/x86_64/tst-audit5.c: ... here.
18727 * elf/tst-audit6.c: Move to ...
18728 * sysdeps/x86_64/tst-audit6.c: ... here.
18729 * elf/tst-audit7.c: Move to ...
18730 * sysdeps/x86_64/tst-audit7.c: ... here.
18731 * elf/tst-auditmod3a.c: Move to ...
18732 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18733 * elf/tst-auditmod3b.c: Move to ...
18734 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18735 * elf/tst-auditmod4a.c: Move to ...
18736 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18737 * elf/tst-auditmod4b.c: Move to ...
18738 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18739 * elf/tst-auditmod5a.c: Move to ...
18740 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18741 * elf/tst-auditmod5b.c: Move to ...
18742 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18743 * elf/tst-auditmod6a.c: Move to ...
18744 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18745 * elf/tst-auditmod6b.c: Move to ...
18746 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18747 * elf/tst-auditmod6c.c: Move to ...
18748 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18749 * elf/tst-auditmod7a.c: Move to ...
18750 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18751 * elf/tst-auditmod7b.c: Move to ...
18752 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18754 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18757 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18758 define unconditionally.
18759 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18760 define unconditionally.
18761 (INT8_C, INT16_C, etc.): Likewise.
18763 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18765 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18766 __ehdr_start with hidden visibility.
18768 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18770 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18772 * math/libm-test.inc (cos_test): Use accurate hex constants.
18773 (sincost_test): Likewise.
18775 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18777 * math/libm-test.inc (catan_test): Add more tests.
18778 (catanh_test): Likewise.
18780 * math/s_catanf.c (__catanf): Use suffixed floating-point
18782 * math/s_catanhf.c (__catanhf): Likewise.
18783 * math/s_catanhl.c (__catanhl): Likewise.
18784 * math/s_catanl.c (__catanl): Likewise.
18787 * math/s_catan.c (__catan): Calculate imaginary part of result
18788 with log1p not log unless computing log of number close to 0.
18789 * math/s_catanf.c (__catanf): Likewise.
18790 * math/s_catanl.c (__catanl): Likewise.
18791 * math/s_catanh.c (__catanh): Calculate real part of result with
18792 log1p not log unless computing log of number close to 0.
18793 * math/s_catanhf.c (__catanhf): Likewise.
18794 * math/s_catanhl.c (__catanhl): Likewise.
18795 * math/libm-test.inc (catan_test): Add more tests.
18796 (catanh_test): Likewise.
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18800 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18802 * benchtests/Makefile: Mention files in which fast and slow
18803 paths of math functions are implemented.
18805 2013-04-23 Roland McGrath <roland@hack.frob.com>
18807 * sysdeps/posix/timespec_get.c: New file.
18809 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18811 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18813 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18815 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18816 powerpc/power5/fpu folders.
18817 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18818 * benchtests/Makefile: Add modf testcase.
18819 * benchtests/bench-modf.c: New file: Benchmark test for mo
18821 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18824 * time/Makefile (tests): Add tst-strptime-whitespace.
18825 * time/strptime_l.c (get_number): Use ISSPACE.
18826 (__strptime_internal): Likewise.
18827 * time/tst-strptime-whitespace.c: New test case.
18829 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18831 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18833 (_nss_files_init): Set it here.
18835 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18837 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18838 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18841 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18843 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18845 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18850 2013-04-21 David S. Miller <davem@davemloft.net>
18852 * po/ru.po: Update Russion translation from translation project.
18854 2013-04-17 Adam Conrad <adconrad@0c3.net>
18856 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18859 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18861 * configure.in: Remove i386 configure warning. Remove i386 case.
18862 * configure: Regenerate.
18863 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18864 Add example to error message.
18865 * sysdeps/i386/configure: Regenerate.
18867 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18869 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18871 * benchtests/cos-inputs: New file.
18872 * benchtests/slowcos-inputs: New file.
18873 * benchtests/slowcos.c: New file.
18874 * benchtests/slowtan-inputs: New file.
18875 * benchtests/slowtan.c: New file.
18876 * benchtests/tan-inputs: New file.
18878 2013-04-16 Roland McGrath <roland@hack.frob.com>
18880 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18883 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18885 * benchtests/Makefile: Include cppflags-iterator.mk to add
18886 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18888 * Makefile.in (bench-clean): New target.
18889 * benchtests/Makefile (bench-clean): Likewise.
18891 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18893 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18895 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18897 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18899 2013-04-15 Andreas Schwab <schwab@suse.de>
18901 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18903 * nscd/pwdcache.c (cache_addpw): Likewise.
18904 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18907 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18909 * benchtests/Makefile (bench): Write all output to
18910 bench-out.tmp together.
18912 2013-04-15 Andreas Schwab <schwab@suse.de>
18914 * nscd/nscd.c (main): Don't fork again after closing files.
18916 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18918 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18920 * benchtests/Rules (bench-deps): Collect dependencies into a
18921 single variable. Add Makefile to dependencies.
18922 ($(objpfx)bench-%.c): Depend on bench-deps.
18924 2013-04-12 Roland McGrath <roland@hack.frob.com>
18925 Xavier Roche <roche+kml2@exalead.com>
18928 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18929 just that it's a file descriptor.
18930 * manual/llio.texi (Synchronizing AIO Operations): Update description
18931 for EBADF error from aio_fsync.
18933 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18935 * Rules (bench): Move target definition...
18936 * benchtests/Makefile: ... here.
18938 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18940 * math/libm-test.inc (cos_test): Fix PI/2 test.
18941 (sincos_test): Likewise.
18942 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18943 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18945 2013-04-11 Andreas Schwab <schwab@suse.de>
18948 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18949 accept exponent character only when digits were seen.
18950 * stdio-common/Makefile (tests): Add bug26.
18951 * stdio-common/bug26.c: New file.
18954 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18957 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18959 * Makeconfig (rtld-prefix): Define built linker prefix.
18960 * Rules (run-bench): Use it.
18961 * math/Makefile (run-regen-ulps): Likewise.
18963 * Rules (bench): Remove eval.
18965 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18966 Roland McGrath <roland@hack.frob.com>
18967 Ondrej Bilka <neleai@seznam.cz>
18970 * time/getdate.c: Include ctype.h and alloca.h.
18971 (__getdate_r): Trim leading and trailing spaces of input.
18972 * time/tst-getdate.c (tests): Add tests with leading and
18975 2013-04-08 Roland McGrath <roland@hack.frob.com>
18978 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18979 when computing value.
18981 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18983 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18984 Use testrun.sh to run libm tests.
18987 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18989 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18992 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18994 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18996 * Makefile.in (regen-ulps): New target.
18997 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18998 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18999 [ifneq (no,$(PERL)] (regen-ulps): New target.
19000 [ifeq (no,$(PERL)] (regen-ulps): New target.
19001 * math/libm-test.inc (ulps_file_name): Define.
19002 (output_dir): New variable.
19003 (options): Add "output-dir" option.
19004 (parse_opt): Handle 'o' case.
19005 (main): If output_dir is non-NULL use it as a prefix
19007 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19009 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19011 [BZ #10060, #10062]
19012 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19013 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19014 fail configure if __sync_val_compare_and_swap is not inlined.
19015 * sysdeps/i386/configure: Regenerate.
19016 * configure.in: Build for i686 when configured for i386.
19017 * configure: Regenerate.
19018 * README: Remove i386 reference.
19020 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19022 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19025 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19027 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19028 (lmsnanval): New variables.
19029 (F): Add conversion tests.
19030 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19031 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19033 * stdio-common/tstdiomisc.c (F): Properly collect individual
19036 [BZ #14686, #15336]
19037 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19038 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19039 Instead, use input NaN values or generate a qNaN by arithmetic
19040 operation. Also fix bugs to comply with the standard.
19041 * math/libm-test.inc (remainder_test): Add more tests.
19043 [BZ #15335, #15342]
19044 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19046 input NaN values or generate a qNaN by arithmetic operation.
19048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19051 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19054 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19057 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19058 underflowed result.
19059 * math/s_cexpf.c (__cexpf): Likewise.
19060 * math/s_cexpl.c (__cexpl): Likewise.
19061 * math/libm-test.inc (cexp_test): Add more tests.
19063 2013-04-03 Andreas Schwab <schwab@suse.de>
19066 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19067 order arrays from heap if bigger than alloca cutoff.
19069 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19071 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19072 (SNAN_TESTS_double): Refer to GCC PR56831.
19073 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19076 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19078 * Rules (bench): Move bench.out after the run is complete.
19080 * Rules (bench): Echo currently running benchmark.
19082 * benchtests/Makefile (bench): Add atan and slowatan.
19083 * benchtests/atan-inputs: New file.
19084 * benchtests/slowatan-inputs: New file.
19085 * benchtests/slowatan.c: New file.
19087 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19088 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19092 * sysdeps/unix/sysv/linux/kernel-features.h
19093 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19094 __ASSUME_XFS_RESTRICTED_CHOWN.
19095 * sysdeps/unix/sysv/linux/pathconf.c
19096 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19097 Save and restore errno.
19099 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19102 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19103 arguments using __kernel_casinh.
19104 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19105 arguments using __kernel_casinhf.
19106 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19107 arguments using __kernel_casinhl.
19108 * math/libm-test.inc (cacosh_test): Add more tests.
19109 * sysdeps/i386/fpu/libm-test-ulps: Update.
19110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19114 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19117 * bench/Makefile (bench): Add sin and slowsin.
19118 * benchtests/sin-inputs: New file.
19119 * benchtests/slowsin-inputs: New file.
19120 * benchtests/slowsin.c: New file.
19122 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19123 (bench): Add slowexp and slowpow.
19124 (exp-ITER): Increase iterations.
19125 (pow-ITER): Likewise.
19126 * benchtests/exp-inputs: Change input.
19127 * benchtests/pow-inputs: Likewise.
19128 * benchtests/slowexp-inputs: New file.
19129 * benchtests/slowexp.c: New file.
19130 * benchtests/slowpow-inputs: New file.
19131 * benchtests/slowpow.c: New file.
19133 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19135 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19137 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19138 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19140 * benchtests/Makefile: Add rint benchtest.
19141 * benchtests/rint-inputs: Input for rint benchtest.
19143 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19145 * Versions.def (libm): Add GLIBC_2.18.
19146 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19147 hidden libm prototypes.
19148 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19149 * math/Makefile (libm-calls): Add s_issignaling.
19150 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19151 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19152 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19154 * math/math.h [__USE_GNU] (issignaling): New macro.
19155 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19156 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19157 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19158 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19161 * manual/arith.texi (issignaling): New section.
19162 * manual/libm-err-tab.pl (@all_functions): Update comment.
19163 * math/gen-libm-test.pl (parse_args): Apply special handling for
19165 * math/libm-test.inc (print_float, issignaling_test): New
19167 (check_float_internal): Add issignaling checks.
19168 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19169 default definition.
19170 * sysdeps/powerpc/math-tests.h: New file.
19171 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19173 * math/test-snan.c (TEST_FUNC): Likewise.
19175 2013-03-30 David S. Miller <davem@davemloft.net>
19177 * po/de.po: Update from translation team.
19179 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19182 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19183 imaginary part less than 1.0 and real part less than 0.5
19185 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19186 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19187 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19188 (cacos_test): Add more tests.
19189 (casin_test): Likewise.
19190 (casinh_test): Likewise.
19191 * sysdeps/i386/fpu/libm-test-ulps: Update.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19196 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19197 ONE with its value.
19199 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19200 (__pow_mp): Replace ONE and MONE with their values.
19201 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19202 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19203 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19204 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19206 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19208 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19210 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19211 (__pow_mp): Replace ZERO and MZERO with their values.
19212 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19217 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19220 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19222 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19224 2013-03-28 Roland McGrath <roland@hack.frob.com>
19226 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19227 Declare with __attribute__ ((weak)).
19228 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19229 Call __call_tls_dtors only if it's not NULL.
19231 2013-03-28 Roland McGrath <roland@hack.frob.com>
19233 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19234 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19235 magic __ehdr_start linker symbol if it's defined.
19236 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19237 them up here if it was already done.
19239 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19240 (_dl_aux_init): Use const in cast when setting it.
19241 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19242 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19243 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19245 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19247 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19248 * csu/libc-tls.c: Nor here.
19249 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19251 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19252 (__libc_message): Never call vsyslog.
19254 2013-03-28 Alan Modra <amodra@gmail.com>
19256 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19258 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19261 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19264 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19268 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19271 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19272 Don't add gid passed as argument.
19274 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19276 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19279 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19280 imaginary part between 1.0 and 1.5 and real part less than 0.5
19282 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19283 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19284 * math/libm-test.inc (cacos_test): Add more tests.
19285 (casin_test): Likewise.
19286 (casinh_test): Likewise.
19287 * sysdeps/i386/fpu/libm-test-ulps: Update.
19288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19292 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19295 (denorm): Likewise.
19296 (__dbl_mp): Likewise.
19297 (add_magnitudes): Likewise.
19298 (sub_magnitudes): Likewise.
19306 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19308 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19309 (__dubcos): Likewise.
19310 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19311 (__ieee754_acos): Likewise.
19312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19314 (__exp1): Likewise.
19315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19318 (my_log2): Likewise.
19319 (checkint): Likewise.
19320 * sysdeps/ieee754/dbl-64/e_remainder.c
19321 (__ieee754_remainder): Likewise.
19322 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19323 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19324 (bsloww): Likewise.
19325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19327 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19328 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19329 MANTISSA_STORE_T to store computations on mantissa. Use
19330 macros for rounding and division.
19331 (denorm): Likewise.
19332 (__dbl_mp): Likewise.
19333 (add_magnitudes): Likewise.
19334 (sub_magnitudes): Likewise.
19337 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19338 powers of two in terms of TWOPOW macro.
19339 (mp_no): Make type of mantissa as MANTISSA_T.
19340 [!RADIXI]: Define RADIXI.
19341 [!TWO52]: Define TWO52.
19342 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19344 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19346 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19347 llroundl symbol when building for PPC32.
19349 2013-03-24 Mark H Weaver <mhw@netris.org>
19351 * manual/arith.texi (Normalization Functions): Fix prototypes for
19352 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19354 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19358 high value to check if expl overflow.
19359 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19360 to check for underflow and overflow.
19361 * math/libm-test.inc: Add exp test.
19363 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19366 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19369 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19371 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19374 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19376 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19377 wrap blocks consisting of several statements.
19379 * sysdeps/generic/math-tests.h: New file.
19380 * sysdeps/i386/fpu/math-tests.h: Likewise.
19381 * math/test-snan.c: Include it.
19382 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19384 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19387 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19388 (__ieee754_j0l): Do not improve calculations using cos of twice
19389 input for inputs above LDBL_MAX / 2.0L.
19390 (__ieee754_y0l): Likewise.
19391 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19392 (__ieee754_j1l): Do not improve calculations using cos of twice
19393 input for inputs above LDBL_MAX / 2.0L.
19394 (__ieee754_y1l): Likewise.
19395 * math/libm-test.inc (j0_test): Add another test.
19396 (j1_test): Likewise.
19397 (y0_test): Likewise.
19398 (y1_test): Likewise.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19401 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19403 * Rules ($(objpfx)bench-%.c): Include code from a C source
19406 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19409 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19410 imaginary part 1.0 and real part less than 0.5 specially.
19411 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19412 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19413 * math/libm-test.inc (cacos_test): Add more tests.
19414 (casin_test): Likewise.
19415 (casinh_test): Likewise.
19416 * sysdeps/i386/fpu/libm-test-ulps: Update.
19417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19419 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19422 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19424 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19426 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19427 * config.make.in (config-cflags-sse4): Remove variable.
19428 (config-cflags-avx): Likewise.
19429 (config-cflags-sse2avx): Likewise.
19430 (config-cflags-novzeroupper): Likewise.
19431 (config-asflags-i686): Likewise.
19432 (have-mfma4): Likewise.
19433 (have-as-vis3): Likewise.
19435 * configure.in (MIG): Do not AC_SUBST.
19436 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19437 (libc_cv_cc_sse4): Do not AC_SUBST.
19438 (libc_cv_cc_avx): Likewise.
19439 (libc_cv_cc_sse2avx): Likewise.
19440 (libc_cv_cc_novzeroupper): Likewise.
19441 (libc_cv_cc_fma4): Likewise.
19442 (libc_cv_as_i686): Likewise.
19443 (libc_cv_sparc_as_vis3): Likewise.
19444 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19446 (config-asflags-i686): Likewise.
19447 (config-cflags-avx): Likewise.
19448 (config-cflags-sse2avx): Likewise.
19449 (have-mfma4): Likewise.
19450 (config-cflags-novzeroupper): Likewise.
19451 * sysdeps/mach/configure.in (MIG): Likewise.
19452 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19453 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19455 (config-cflags-avx): Likewise.
19456 (config-cflags-sse2avx): Likewise.
19457 (have-mfma4): Likewise.
19458 (config-cflags-novzeroupper): Likewise.
19459 * configure: Regenerated.
19460 * sysdeps/i386/configure: Likewise.
19461 * sysdeps/mach/configure: Likewise.
19462 * sysdeps/sparc/configure: Likewise.
19463 * sysdeps/x86_64/configure: Likewise.
19465 2013-03-20 Roland McGrath <roland@hack.frob.com>
19468 * locale/programs/localedef.c (options): Put N_ translation marker
19469 on argument names, not just descriptions.
19471 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19473 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19475 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19478 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19480 2013-03-19 Roland McGrath <roland@hack.frob.com>
19482 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19483 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19484 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19485 [!BEFORE_ABORT] (before_abort): New function.
19486 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19487 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19488 (writev_for_fatal): New function.
19489 (WRITEV_FOR_FATAL): New macro; call that.
19490 (backtrace_and_maps): New function.
19491 (BEFORE_ABORT): New macro; call that.
19492 (struct str_list): Type removed.
19493 (__libc_message, __libc_fatal): Functions removed.
19494 Include <sysdeps/posix/libc_fatal.c> instead.
19496 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19498 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19500 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19503 2013-03-19 Andreas Schwab <schwab@suse.de>
19505 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19506 * sysdeps/gnu/configure: Regenerate.
19508 * configure.in: Substitute libc_cv_rtlddir.
19509 * configure: Regenerate.
19510 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19511 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19512 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19513 * elf/Makefile (install-others, CFLAGS-interp.c)
19514 (ldso_install, common-ldd-rewrite): Likewise.
19515 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19516 $(inst_slibdir)/$(rtld-installed-name).
19517 * scripts/rellns-sh: Add -p option.
19518 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19521 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19523 * manual/nptl.texi: Renamed to ...
19524 * manual/threads.texi: ... this.
19525 * manual/Makefile (chapters): Update.
19527 2013-03-18 Roland McGrath <roland@hack.frob.com>
19530 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19531 on argument names, not just descriptions.
19532 * malloc/memusagestat.c (options): Likewise.
19533 * nss/getent.c (options): Likewise.
19535 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19538 * iconv/iconv_prog.c (options): Put N_ translation marker
19539 on argument names, not just descriptions.
19540 * iconv/iconvconfig.c (options): Likewise.
19542 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19544 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19545 implementation which is faster on all x86_64 architectures.
19546 Tested on AMD, Intel Nehalem, SNB, IVB.
19547 * sysdeps/x86_64/strnlen.S: Likewise.
19549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19550 Remove all multiarch strlen and strnlen versions.
19551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19552 Remove strlen and strnlen related parts.
19554 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19555 Inline strlen part.
19556 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19558 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19559 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19560 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19561 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19562 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19563 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19565 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19567 * manual/memory.texi (Malloc Tunable Parameters):
19568 Sort parameters alphabetically. Add comments for missing entries.
19570 2013-03-17 David S. Miller <davem@davemloft.net>
19572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19574 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19577 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19578 for arguments at most half maximum finite value.
19579 * math/libm-test.inc (j0_test): Add more tests.
19580 (j1_test): Likewise.
19581 (y0_test): Likewise.
19582 (y1_test): Likewise.
19583 * sysdeps/i386/fpu/libm-test-ulps: Update.
19584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19587 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19588 1 / x and functions P and Q for arguments above 0x1p256L.
19589 (__ieee754_y0l): Likewise.
19590 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19591 (__ieee754_y1l): Likewise.
19592 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19593 (j1_test): Likewise.
19594 (y0_test): Likewise.
19595 (y1_test): Likewise.
19597 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19599 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19602 2013-03-15 Roland McGrath <roland@hack.frob.com>
19604 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19605 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19606 zero since it's initialized to EXEC_PAGESIZE.
19608 * sysdeps/unix/sysv/linux/ldsodefs.h
19609 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19610 * sysdeps/generic/ldsodefs.h: ... here.
19612 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19614 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19616 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19618 * math/test-snan.c: Renamed from
19619 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19620 * math/Makefile (tests): Add test-snan.
19621 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19624 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19625 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19627 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19628 __builtin_nan family of functions.
19629 * math/libm-test.inc (initialize): Initialize qnan_value with
19630 __builtin_nan family of functions.
19631 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19633 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19635 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19636 storage class. Initialize qNaN_var and sNaN_var with
19637 __builtin_nan and __builtin_nans families of functions,
19640 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19641 (sqrt_test): Remove duplicate test with qNaN input.
19642 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19643 (round_test, signbit_test, significand_test): Note missing +/-Inf
19644 as well as qNaN tests.
19646 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19647 qNaN_var. Fix a few strings, too.
19648 * math/libm-test.inc (nan_value): Rename to qnan_value.
19649 * math/gen-libm-test.pl (%beautify): Adjust to that.
19650 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19651 * math/test-misc.c (main): Likewise.
19652 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19653 to __qnan_bytes, and __qnan_union, respectively.
19654 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19656 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19657 and lqnanval, respectively.
19658 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19659 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19661 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19663 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19664 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19667 * math/test-misc.c (main): Fix copy'n'pastos.
19668 * misc/tst-efgcvt.c (special): Likewise.
19670 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19671 Remove declarations.
19673 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19675 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19676 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19677 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19680 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19683 macro to return vdso values correctly in IFUNC implementations.
19684 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19685 Optimization by using IFUNC.
19687 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19688 Richard Henderson <rth@redhat.com>
19689 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19691 * Makefile.in (bench): New target.
19692 * NEWS: Mention the benchmark framework.
19693 * Rules (bench): Likewise.
19694 (binaries-bench): Generate binaries for functions to
19696 * benchtests/Makefile: New makefile for benchmark tests.
19697 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19699 * benchtests/exp-inputs: New input file for EXP function.
19700 * benchtests/pow-inputs: New input file for POW function.
19701 * scripts/bench.pl: New script to generate source files for
19702 benchmark programs.
19704 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19706 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19707 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19708 computations on mantissa. Use macros for rounding and
19710 (denorm): Likewise.
19711 (__dbl_mp): Likewise.
19712 (add_magnitudes): Likewise.
19713 (sub_magnitudes): Likewise.
19716 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19717 powers of two in terms of TWOPOW macro.
19718 (mp_no): Make type of mantissa as MANTISSA_T.
19719 [!RADIXI]: Define RADIXI.
19720 [!TWO52]: Define TWO52.
19721 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19723 * manual/nptl.texi (cindex): Modify threads to pthreads.
19725 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19727 * sysdeps/x86_64/preconfigure: Regenerated.
19729 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19732 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19734 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19735 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19737 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19738 * math/libm-test.inc (j0_test): Do not allow one spurious
19739 underflow exception.
19740 (y1_test): Likewise.
19742 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19744 * manual/Makefile (chapters): Add nptl.
19745 * manual/debug.texi (Debugging Support): Add link to Threads
19747 * manual/nptl.texi: New file.
19749 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19751 2013-03-14 Petr Baudis <pasky@ucw.cz>
19753 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19754 for non-NULL pointer before the memory validity test. Pointed
19755 out by Holger Brunck <holger.brunck@keymile.com>.
19757 2013-03-13 Andreas Schwab <schwab@suse.de>
19759 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19762 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19764 * timezone/zic.c: Update from tzcode 2013b.
19766 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19768 * manual/install.texi (Configuring and compiling):
19769 Mention i686 and i586.
19770 * INSTALL: Regenerate.
19772 2013-03-12 Roland McGrath <roland@hack.frob.com>
19774 * sysdeps/init_array/elf-init.c: New file.
19776 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19777 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19779 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19780 __gmon_start__ as global, but as static with a .preinit_array pointer.
19781 * sysdeps/init_array/gmon-start.c: New file. Use that.
19782 * sysdeps/init_array/crti.S: New file, empty except for comments.
19783 * sysdeps/init_array/crtn.S: Likewise.
19785 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19787 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19790 Remove Prefer_SSE_for_memop.
19791 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19792 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19793 HAS_PREFER_SSE_FOR_MEMOP.
19794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19797 Remove bzero, memset ifunc support.
19798 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19799 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19800 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19801 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19803 2013-03-11 Andreas Schwab <schwab@suse.de>
19806 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19809 (GLIBC_2.16): Remove pthread_atfork.
19811 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19813 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19814 (ptestcases.h): Likewise.
19816 2013-03-08 Roland McGrath <roland@hack.frob.com>
19818 * Makeconfig ($(common-objpfx)config.status): Depend on
19819 sysdeps/*/preconfigure{,.in} too.
19821 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19823 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19824 (__free_hook): Use void * instead of __malloc_ptr_t.
19825 (__malloc_hook): Likewise.
19826 (__realloc_hook): Likewise.
19827 (__memalign_hook): Likewise.
19828 (__after_morecore_hook): Likewise.
19829 * malloc/arena.c (save_malloc_hook): Likewise.
19830 (save_free_hook): Likewise.
19831 * malloc/hooks.c (malloc_hook_ini): Likewise.
19832 (realloc_hook_ini): Likewise.
19833 (memalign_hook_ini): Likewise.
19834 * malloc/malloc.c (malloc_hook_ini): Likewise.
19835 (realloc_hook_ini): Likewise.
19836 (memalign_hook_ini): Likewise.
19837 (__free_hook): Likewise.
19838 (__malloc_hook): Likewise.
19839 (__realloc_hook): Likewise.
19840 (__memalign_hook): Likewise.
19841 (__libc_malloc): Likewise.
19842 (__libc_free): Likewise.
19843 (__libc_realloc): Likewise.
19844 (__libc_memalign): Likewise.
19845 (__libc_valloc): Likewise.
19846 (__libc_pvalloc): Likewise.
19847 (__libc_calloc): Likewise.
19848 (__posix_memalign): Likewise.
19849 * malloc/morecore.c (__sbrk): Likewise.
19850 (__default_morecore): Likewise.
19852 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19854 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19855 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19856 __malloc_ptrdiff_t.
19858 * malloc/malloc.h (__malloc_size_t): Remove macro.
19859 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19861 (old_memalign_hook): Likewise.
19862 (old_realloc_hook): Likewise.
19863 (struct hdr): Likewise.
19865 (mallochook): Likewise.
19866 (memalignhook): Likewise.
19867 (reallochook): Likewise.
19868 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19869 (tr_old_realloc_hook): Likewise.
19870 (tr_old_memalign_hook): Likewise.
19871 (tr_mallochook): Likewise.
19872 (tr_reallochook): Likewise.
19873 (tr_memalignhook): Likewise.
19875 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19878 default_ldbl_pack and using as default implementation.
19879 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19881 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19882 redundant definition.
19883 (ldbl_insert_mantissa): Likewise.
19884 (ldbl_canonicalize): Likewise.
19885 (ldbl_nearbyint): Likewise.
19886 (ldbl_pack): Rename to ldbl_pack_ppc.
19887 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19888 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19889 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19891 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19894 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19895 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19896 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19898 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19899 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19900 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19902 2013-03-07 Andreas Jaeger <aj@suse.de>
19904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19907 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19909 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19910 Include mpa.h and declare __MPEXP.
19911 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19913 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19915 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19916 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19917 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19919 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19920 (__slowpow): Use long double EXPL and LOGL functions to
19922 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19923 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19924 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19925 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19926 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19930 intermediate variable to calculate exponent.
19932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19936 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19937 [!NO__SQR]: Define __sqr.
19938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19939 and NO__SQR. Remove all code except __mul and __sqr. Include
19940 sysdeps/ieee754/dbl-64/mpa.c.
19941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19944 * posix/Makefile (tests): Add tst-pathconf.
19945 * posix/tst-pathconf.c: New test case.
19946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19948 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19950 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19952 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19954 2013-03-06 Andreas Jaeger <aj@suse.de>
19956 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19957 definition via __MAP_ANONYMOUS.
19959 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19960 it's not part of Linux headers.
19962 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19963 (MAP_HUGE_MASK): Define.
19965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19967 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19970 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19971 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19973 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19974 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19976 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19978 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19979 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19980 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19981 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19982 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19983 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19985 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19989 Handle f2fs and efivarfs.
19991 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19994 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19995 (EFIVARFS_MAGIC): Add.
19996 (F2FS_LINK_MAX): Add.
19998 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20000 * stdio-common/vfprintf.c: Replace __builtin_expect with
20003 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20006 * sysdeps/generic/bp-sym.h: Remove file.
20007 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20008 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20009 <bp-sym.h> and <bp-asm.h>.
20010 (__longjmp): Don't use BP_SYM.
20011 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20013 (memcpy): Don't use BP_SYM.
20014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20015 <bp-sym.h> and <bp-asm.h>.
20016 (memcpy): Don't use BP_SYM.
20017 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20019 (memcpy): Don't use BP_SYM.
20020 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20022 (memset): Don't use BP_SYM.
20023 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20024 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20025 (__bzero): Don't use BP_SYM.
20026 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20027 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20028 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20029 <bp-sym.h> and <bp-asm.h>.
20030 (memcmp): Don't use BP_SYM. Remove comment about bounded
20032 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20033 <bp-sym.h> and <bp-asm.h>.
20034 (memcpy): Don't use BP_SYM.
20035 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20036 <bp-sym.h> and <bp-asm.h>.
20037 (memset): Don't use BP_SYM.
20038 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20039 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20040 (__bzero): Don't use BP_SYM.
20041 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20042 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20043 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20044 <bp-sym.h> and <bp-asm.h>.
20045 (strncmp): Don't use BP_SYM. Remove comment about bounded
20047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20048 <bp-sym.h> and <bp-asm.h>.
20049 (memcpy): Don't use BP_SYM.
20050 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20051 <bp-sym.h> and <bp-asm.h>.
20052 (memset): Don't use BP_SYM.
20053 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20054 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20055 (__bzero): Don't use BP_SYM.
20056 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20057 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20059 <bp-sym.h> and <bp-asm.h>.
20060 (__memchr): Don't use BP_SYM.
20061 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20062 <bp-sym.h> and <bp-asm.h>.
20063 (memcmp): Don't use BP_SYM. Remove comment about bounded
20065 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20066 <bp-sym.h> and <bp-asm.h>.
20067 (memcpy): Don't use BP_SYM.
20068 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20069 <bp-sym.h> and <bp-asm.h>.
20070 (__mempcpy): Don't use BP_SYM.
20071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20072 <bp-sym.h> and <bp-asm.h>.
20073 (__memrchr): Don't use BP_SYM.
20074 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20075 <bp-sym.h> and <bp-asm.h>.
20076 (memset): Don't use BP_SYM.
20077 (__bzero): Likewise.
20078 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20079 <bp-sym.h> and <bp-asm.h>.
20080 (__rawmemchr): Don't use BP_SYM.
20081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20082 <bp-sym.h> and <bp-asm.h>.
20083 (__STRCMP): Don't use BP_SYM.
20084 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20085 <bp-sym.h> and <bp-asm.h>.
20086 (strchr): Don't use BP_SYM.
20087 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20088 <bp-sym.h> and <bp-asm.h>.
20089 (__strchrnul): Don't use BP_SYM.
20090 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20091 <bp-sym.h> and <bp-asm.h>.
20092 (strlen): Don't use BP_SYM.
20093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20094 <bp-sym.h> and <bp-asm.h>.
20095 (strncmp): Don't use BP_SYM. Remove comment about bounded
20097 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20098 <bp-sym.h> and <bp-asm.h>.
20099 (__strnlen): Don't use BP_SYM.
20100 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20101 <bp-sym.h> and <bp-asm.h>.
20102 (__GI__setjmp): Don't use BP_SYM.
20103 (_setjmp): Likewise.
20104 (__sigsetjmp): Likewise.
20105 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20106 (L(start_addresses)): Don't use BP_SYM.
20107 (_start): Likewise.
20108 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20110 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20111 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20112 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20113 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20114 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20116 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20117 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20118 about bounded pointers.
20119 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20120 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20121 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20123 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20124 about bounded pointers. Remove GKM FIXME comments.
20125 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20126 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20128 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20129 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20130 Remove GKM FIXME comments.
20131 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20132 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20133 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20135 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20136 about bounded pointers. Remove GKM FIXME comment.
20137 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20139 (strncmp): Don't use BP_SYM. Remove comment about bounded
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20142 <bp-sym.h> and <bp-asm.h>.
20143 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20145 <bp-sym.h> and <bp-asm.h>.
20146 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20149 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20151 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20154 2013-03-05 David S. Miller <davem@davemloft.net>
20156 * po/es.po: Update from translation team.
20158 2013-03-05 Andreas Jaeger <aj@suse.de>
20160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20161 <bits/mman-linux.h>.
20162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20165 <bits/mman-linux.h> to end of file.
20166 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20168 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20169 <bits/mman-linux.h> to end of file.
20170 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20173 <bits/mman-linux.h> to end of file.
20175 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20176 (MCL_CURRENT, MCL_FUTURE): Define here.
20178 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20181 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20183 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20185 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20187 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20188 fourth parameter needed for rt_sigprocmask syscall.
20189 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20190 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20191 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20192 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20193 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20194 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20196 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20199 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20200 comment about bounded pointers.
20201 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20202 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20204 2013-03-04 Andreas Jaeger <aj@suse.de>
20206 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20207 common definitions.
20209 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20210 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20211 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20216 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20220 __ieee754_sqrl instead of __sqrl.
20222 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20224 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20225 * sysdeps/powerpc/fpu_control.h: ... here.
20226 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20227 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20228 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20229 * sysdeps/powerpc/bits/mathinline.h: ... here.
20231 2013-03-01 Roland McGrath <roland@hack.frob.com>
20233 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20234 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20235 to just [NEED_DL_SYSINFO_DSO].
20236 * elf/dl-support.c: Likewise.
20237 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20238 * elf/rtld.c (dl_main): Likewise.
20239 * elf/setup-vdso.h (setup_vdso): Likewise.
20240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20241 * sysdeps/unix/sysv/linux/dl-sysdep.c
20242 (_dl_discover_osversion): Likewise.
20244 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20246 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20247 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20249 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20251 * NEWS: Mention libm performance improvements and non-x86 PI
20254 * csu/libc-start.c (__pthread_initialize_minimal): Change
20255 function arguments.
20256 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20258 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20261 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20263 <bp-sym.h> and <bp-asm.h>.
20264 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20265 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20267 (memcpy): Don't use BP_SYM.
20268 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20270 (__mpn_add_n): Don't use BP_SYM.
20271 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20272 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20274 (__mpn_addmul_1): Don't use BP_SYM.
20275 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20276 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20278 (_setjmp): Don't use BP_SYM.
20279 (__novmx_setjmp): Likewise.
20280 (__GI__setjmp): Likewise.
20281 (__vmx_setjmp): Likewise.
20282 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20284 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20285 (__bzero): Don't use BP_SYM.
20286 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20287 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20288 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20289 <bp-sym.h> and <bp-asm.h>.
20290 (memcpy): Don't use BP_SYM.
20291 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20292 <bp-sym.h> and <bp-asm.h>.
20293 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20294 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20295 <bp-sym.h> and <bp-asm.h>.
20296 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20297 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20299 (__mpn_lshift): Don't use BP_SYM.
20300 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20301 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20303 (memset): Don't use BP_SYM.
20304 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20305 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20306 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20308 (__mpn_mul_1): Don't use BP_SYM.
20309 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20311 <bp-sym.h> and <bp-asm.h>.
20312 (memcmp): Don't use BP_SYM.
20313 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20314 <bp-sym.h> and <bp-asm.h>.
20315 (memcpy): Don't use BP_SYM.
20316 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20317 <bp-sym.h> and <bp-asm.h>.
20318 (memset): Don't use BP_SYM.
20319 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20320 <bp-sym.h> and <bp-asm.h>.
20321 (strncmp): Don't use BP_SYM.
20322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20323 <bp-sym.h> and <bp-asm.h>.
20324 (memcpy): Don't use BP_SYM.
20325 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20326 <bp-sym.h> and <bp-asm.h>.
20327 (memset): Don't use BP_SYM.
20328 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20329 <bp-sym.h> and <bp-asm.h>.
20330 (__memchr): Don't use BP_SYM.
20331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20332 <bp-sym.h> and <bp-asm.h>.
20333 (memcmp): Don't use BP_SYM.
20334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20335 <bp-sym.h> and <bp-asm.h>.
20336 (memcpy): Don't use BP_SYM.
20337 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20338 <bp-sym.h> and <bp-asm.h>.
20339 (__mempcpy): Don't use BP_SYM.
20340 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20341 <bp-sym.h> and <bp-asm.h>.
20342 (__memrchr): Don't use BP_SYM.
20343 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20344 <bp-sym.h> and <bp-asm.h>.
20345 (memset): Don't use BP_SYM.
20346 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20347 <bp-sym.h> and <bp-asm.h>.
20348 (__rawmemchr): Don't use BP_SYM.
20349 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20350 <bp-sym.h> and <bp-asm.h>.
20351 (__STRCMP): Don't use BP_SYM.
20352 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20353 <bp-sym.h> and <bp-asm.h>.
20354 (strchr): Don't use BP_SYM.
20355 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20356 <bp-sym.h> and <bp-asm.h>.
20357 (__strchrnul): Don't use BP_SYM.
20358 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20359 <bp-sym.h> and <bp-asm.h>.
20360 (strlen): Don't use BP_SYM.
20361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20362 <bp-sym.h> and <bp-asm.h>.
20363 (strncmp): Don't use BP_SYM.
20364 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20365 <bp-sym.h> and <bp-asm.h>.
20366 (__strnlen): Don't use BP_SYM.
20367 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20369 (__mpn_rshift): Don't use BP_SYM.
20370 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20371 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20372 <bp-sym.h> and <bp-asm.h>.
20373 (__sigsetjmp): Don't use BP_SYM.
20374 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20375 (L(start_addresses)): Don't use BP_SYM.
20376 (_start): Likewise.
20377 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20379 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20380 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20381 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20382 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20384 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20385 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20386 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20387 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20389 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20391 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20394 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20396 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20397 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20398 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20400 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20402 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20404 (strncmp): Don't use BP_SYM,
20405 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20407 (__mpn_sub_n): Don't use BP_SYM.
20408 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20409 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20411 (__mpn_submul_1): Don't use BP_SYM.
20412 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20414 <bp-sym.h> and <bp-asm.h>.
20415 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20417 <bp-sym.h> and <bp-asm.h>.
20418 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20421 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20424 Use ZK to minimize writes to Z.
20425 (sub_magnitudes): Simplify code a bit.
20426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20427 Use ZK to minimize writes to Z.
20428 (sub_magnitudes): Simplify code a bit.
20430 2013-02-27 Roland McGrath <roland@hack.frob.com>
20432 * csu/gmon-start.c: Add special exception to license text.
20434 2013-02-27 Richard Henderson <rth@redhat.com>
20436 * scripts/config.guess: Update from config.git.
20437 * scripts/config.sub: Likewise.
20439 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20443 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20445 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20447 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20449 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20451 2013-02-26 Roland McGrath <roland@hack.frob.com>
20453 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20454 [$(build-shared = yes].
20456 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20458 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20459 (__mul): Reduce iterations for calculating mantissa.
20461 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20463 (__mpranred): Likewise.
20466 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20467 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20469 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20471 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20472 Define __attribute__.
20474 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20476 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20478 * posix/regex_internal.h (__attribute): Remove.
20479 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20480 (re_string_context_at): Likewise.
20481 (bitset_not): Use __attribute__ and mark function as possibly
20483 (bitset_merge): Likewise.
20484 (bitset_mask): Likewise.
20485 (re_string_char_size_at): Likewise.
20486 (re_string_wchar_at): Likewise.
20487 (re_string_elem_size_at): Likewise.
20489 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20491 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20495 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20499 (denorm): Likewise.
20500 (__dbl_mp): Likewise.
20501 (add_magnitudes): Likewise.
20502 (sub_magnitudes): Likewise.
20506 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20509 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20512 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20516 up changes with default code.
20517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20520 2013-02-24 Allan McRae <allan@archlinux.org>
20522 * manual/socket.texi (The Internet Namespace): Order menu items
20523 to match that in the file.
20525 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20526 node listing of the info page menu.
20528 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20531 * sysdeps/i386/bp-asm.h: Remove file.
20532 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20533 (PARMS): Do not use macros from bp-asm.h.
20537 (__mpn_add_n): Do not use BP_SYM
20538 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20540 (PARMS): Do not use macros from bp-asm.h.
20543 (__mpn_addmul_1): Do not use BP_SYM
20544 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20546 (PARMS): Do not use macros from bp-asm.h.
20547 (SIGMSK): Likewise.
20548 (_setjmp): Likewise. Do not use BP_SYM.
20549 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20551 (PARMS): Do not use macros from bp-asm.h.
20552 (SIGMSK): Likewise.
20553 (setjmp): Likewise. Do not use BP_SYM.
20554 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20556 (PARMS): Do not use macros from bp-asm.h.
20557 (__frexp): Do not use BP_SYM.
20559 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20561 (PARMS): Do not use macros from bp-asm.h.
20562 (__frexpf): Do not use BP_SYM.
20563 (frexpf): Likewise.
20564 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20566 (PARMS): Do not use macros from bp-asm.h.
20567 (__frexpl): Do not use BP_SYM.
20568 (frexpl): Likewise.
20569 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20571 (PARMS): Do not use macros from bp-asm.h.
20572 (__remquo): Do not use BP_SYM.
20573 (remquo): Likewise.
20574 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20576 (PARMS): Do not use macros from bp-asm.h.
20577 (__remquof): Do not use BP_SYM.
20578 (remquof): Likewise.
20579 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20581 (PARMS): Do not use macros from bp-asm.h.
20582 (__remquol): Do not use BP_SYM.
20583 (remquol): Likewise.
20584 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20586 (PARMS): Do not use macros from bp-asm.h.
20589 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20590 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20592 (PARMS): Do not use macros from bp-asm.h.
20593 (strlen): Do not use BP_SYM.
20594 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20596 (PARMS): Do not use macros from bp-asm.h.
20600 (__mpn_add_n): Do not use BP_SYM.
20601 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20603 (PARMS): Do not use macros from bp-asm.h.
20606 (__mpn_addmul_1): Do not use BP_SYM.
20607 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20610 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20612 (PARMS): Do not use macros from bp-asm.h.
20615 (__mpn_lshift): Do not use BP_SYM.
20616 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20618 (PARMS): Do not use macros from bp-asm.h.
20622 (memcpy): Likewise. Do not use BP_SYM.
20623 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20624 libc_hidden_def and weak_alias.
20625 (mempcpy): Do not use BP_SYM in weak_alias.
20626 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20628 (PARMS): Do not use macros from bp-asm.h.
20631 [!BZERO_P] (CHR): Likewise.
20632 (memset): Likewise. Do not use BP_SYM.
20633 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20635 (PARMS): Do not use macros from bp-asm.h.
20638 (__mpn_mul_1): Do not use BP_SYM.
20639 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20641 (PARMS): Do not use macros from bp-asm.h.
20644 (__mpn_rshift): Do not use BP_SYM.
20645 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20647 (PARMS): Do not use macros from bp-asm.h.
20650 (strchr): Likewise. Do not use BP_SYM.
20651 (index): Do not use BP_SYM in weak_alias.
20652 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20654 (PARMS): Do not use macros from bp-asm.h.
20657 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20658 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20660 (PARMS): Do not use macros from bp-asm.h.
20661 (strlen): Do not use BP_SYM.
20662 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20664 (PARMS): Do not use macros from bp-asm.h.
20668 (__mpn_sub_n): Do not use BP_SYM.
20669 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20671 (PARMS): Do not use macros from bp-asm.h.
20674 (__mpn_submul_1): Do not use BP_SYM.
20675 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20677 (PARMS): Do not use macros from bp-asm.h.
20681 (__mpn_add_n): Do not use BP_SYM.
20682 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20685 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20687 (PARMS): Do not use macros from bp-asm.h.
20690 (memcmp): Do not use BP_SYM.
20691 (bcmp): Do not use BP_SYM in weak_alias.
20692 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20694 (PARMS): Do not use macros from bp-asm.h.
20698 (memcpy): Likewise. Do not use BP_SYM.
20699 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20701 (PARMS): Do not use macros from bp-asm.h.
20705 (memmove): Likewise. Do not use BP_SYM.
20706 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20708 (PARMS): Do not use macros from bp-asm.h.
20712 (__mempcpy): Likewise. Do not use BP_SYM.
20713 (mempcpy): Do not use BP_SYM in weak_alias.
20714 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20716 (PARMS): Do not use macros from bp-asm.h.
20719 [!BZERO_P] (CHR): Likewise.
20720 (memset): Likewise. Do not use BP_SYM.
20721 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20723 (PARMS): Do not use macros from bp-asm.h.
20725 (strcmp): Do not use BP_SYM.
20726 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20728 (PARMS): Do not use macros from bp-asm.h.
20731 [USE_AS_STRTOK_R] (SAVE): Likewise.
20732 (FUNCTION): Likewise. Do not use BP_SYM.
20733 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20735 (strtok_r): Likewise.
20736 (__GI___strtok_r): Likewise.
20737 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20738 (PARMS): Do not use macros from bp-asm.h.
20741 (__mpn_lshift): Do not use BP_SYM.
20742 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20743 (PARMS): Do not use macros from bp-asm.h.
20746 (__memchr): Do not use BP_SYM.
20747 (memchr): Do not use BP_SYM in weak_alias.
20748 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20749 (PARMS): Do not use macros from bp-asm.h.
20752 (memcmp): Do not use BP_SYM.
20753 (bcmp): Do not use BP_SYM in weak_alias.
20754 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20755 (PARMS): Do not use macros from bp-asm.h.
20758 (__mpn_mul_1): Do not use BP_SYM.
20759 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20761 (PARMS): Do not use macros from bp-asm.h.
20764 (__rawmemchr): Do not use BP_SYM.
20765 (rawmemchr): Do not use BP_SYM in weak_alias.
20766 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20767 (PARMS): Do not use macros from bp-asm.h.
20770 (__mpn_rshift): Do not use BP_SYM.
20771 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20772 (PARMS): Do not use macros from bp-asm.h.
20773 (SIGMSK): Likewise.
20774 (__sigsetjmp): Likewise. Do not use BP_SYM.
20775 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20776 (_start): Do not use BP_SYM.
20777 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20778 (PARMS): Do not use macros from bp-asm.h.
20781 (__stpcpy): Likewise. Do not use BP_SYM.
20782 (stpcpy): Do not use BP_SYM in weak_alias.
20783 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20785 (PARMS): Do not use macros from bp-asm.h.
20789 (__stpncpy): Likewise. Do not use BP_SYM.
20790 (stpncpy): Do not use BP_SYM in weak_alias.
20791 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20792 (PARMS): Do not use macros from bp-asm.h.
20795 (strchr): Likewise. Do not use BP_SYM.
20796 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20798 (PARMS): Do not use macros from bp-asm.h.
20801 (__strchrnul): Likewise. Do not use BP_SYM.
20802 (strchrnul): Do not use BP_SYM in weak_alias.
20803 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20805 (PARMS): Do not use macros from bp-asm.h.
20807 (strcspn): Do not use BP_SYM.
20808 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20810 (PARMS): Do not use macros from bp-asm.h.
20813 (strpbrk): Likewise. Do not use BP_SYM.
20814 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20816 (PARMS): Do not use macros from bp-asm.h.
20819 (strrchr): Likewise. Do not use BP_SYM.
20820 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20821 (PARMS): Do not use macros from bp-asm.h.
20823 (strspn): Do not use BP_SYM.
20824 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20825 (PARMS): Do not use macros from bp-asm.h.
20829 (FUNCTION): Likewise. Do not use BP_SYM.
20830 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20832 (strtok_r): Likewise.
20833 (__GI___strtok_r): Likewise.
20834 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20839 (__mpn_sub_n): Do not use BP_SYM.
20840 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20842 (PARMS): Do not use macros from bp-asm.h.
20845 (__mpn_submul_1): Do not use BP_SYM.
20846 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20848 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20850 (PARMS): Do not use macros from bp-asm.h.
20855 (__clone): Do not use BP_SYM.
20856 (clone): Do not use BP_SYM in weak_alias.
20857 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20859 (PARMS): Do not use macros from bp-asm.h.
20861 (__mmap64): Do not use BP_SYM.
20862 (mmap64): Do not use BP_SYM in weak_alias.
20863 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20864 <bp-sym.h> and <bp-asm.h>.
20865 (PARMS): Do not use macros from bp-asm.h.
20866 (__posix_fadvise64_l64): Do not use BP_SYM.
20867 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20868 (PARMS): Do not use macros from bp-asm.h.
20870 (semtimedop): Do not use BP_SYM.
20871 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20874 2013-02-21 Allan McRae <allan@archlinux.org>
20876 * manual/message.texi (Charset conversion in gettext):
20877 Move @end statement to beginning of line.
20879 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20886 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20887 (denorm): Likewise.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20891 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20893 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20894 tail-call to the resolved function if pltexit isn't needed.
20896 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20899 or Y being zero as being unlikely.
20900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20903 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20905 * manual/nss.texi (System Databases and Name Service Switch):
20906 Remove frobnicate @pxref.
20908 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20910 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20911 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20913 2013-02-20 Petr Machata <pmachata@redhat.com>
20915 * elf/elf.h (R_ARM_TARGET1): New macro.
20916 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20917 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20918 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20919 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20920 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20921 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20922 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20923 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20924 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20925 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20926 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20927 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20928 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20929 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20930 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20931 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20932 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20933 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20934 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20935 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20936 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20937 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20938 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20939 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20940 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20941 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20942 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20943 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20944 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20945 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20946 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20947 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20948 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20949 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20950 (R_ARM_THM_GOT_BREL12): Likewise.
20951 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20952 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20953 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20954 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20955 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20956 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20957 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20958 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20959 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20961 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20963 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20964 __attribute_used__ to __attribute__ ((unused)).
20966 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20968 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20971 comment formatting.
20972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20974 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20977 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20979 (ENTER): Remove both macro definitions.
20981 (CHECK_BOUNDS_LOW): Likewise.
20982 (CHECK_BOUNDS_HIGH): Likewise.
20983 (CHECK_BOUNDS_BOTH): Likewise.
20984 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20985 (RETURN_BOUNDED_POINTER): Likewise.
20986 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20987 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20988 (POP_ERRNO_LOCATION_RETURN): Likewise.
20989 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20990 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20991 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20993 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20994 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20995 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20996 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20997 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20998 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20999 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21000 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21001 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21002 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21003 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21004 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21005 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21006 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21008 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21009 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21011 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21012 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21013 * sysdeps/i386/i586/memset.S (memset): Likewise.
21014 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21015 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21016 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21018 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21019 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21020 Change uses of L(2) to L(out).
21021 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21022 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21023 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21024 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21025 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21028 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21030 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21031 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21032 (RETURN): Do not use macro LEAVE.
21033 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21034 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21035 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21036 * sysdeps/i386/i686/memset.S (memset): Likewise.
21037 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21038 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21039 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21042 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21043 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21044 L(1_2) and L(1_3) into L(1).
21045 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21046 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21047 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21048 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21049 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21050 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21051 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21052 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21053 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21055 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21056 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21057 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21058 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21059 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21060 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21061 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21062 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21063 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21064 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21065 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21066 * sysdeps/i386/strspn.S (strspn): Likewise.
21067 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21069 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21070 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21071 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21072 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21073 L(1_3) into L(1_1).
21074 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21075 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21076 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21078 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21080 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21082 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21085 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21087 * math/atest-exp.c (exp_mpn): Remove ROUND.
21088 * math/atest-exp2.c (exp_mpn): Likewise.
21089 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21091 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21092 * stdlib/tst-tls-atexit-lib.c: Likewise.
21093 * stdlib/tst-tls-atexit.c: Likewise.
21095 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21097 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21098 and __attribute_alloc_size__.
21100 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21102 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21103 __attribute_alloc_size__.
21104 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21105 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21107 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21109 * include/programs/xmalloc.h: New file.
21110 * catgets/gencat.c: Include it.
21111 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21112 * elf/pldd.c: Likewise.
21113 * iconv/iconv_charmap.c: Likewise.
21114 * iconv/iconvconfig.c: Likewise.
21115 * iconv/strtab.c: Likewise.
21116 * locale/programs/locale.c: Likewise.
21117 * locale/programs/localedef.h: Likewise.
21118 * locale/programs/simple-hash.c: Likewise.
21119 * nscd/nscd.h: Likewise.
21120 * nss/makedb.c: Likewise.
21121 * sysdeps/generic/ldconfig.h: Likewise.
21123 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21125 * Versions.def: Add GLIBC_2.18.
21126 * include/link.h (struct link_map): New member l_tls_dtor_count.
21127 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21128 (__call_tls_dtors): Likewise.
21129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21130 __cxa_thread_atexit_impl.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21147 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21148 (tests): Add test case tst-tls-atexit.
21149 (modules-names): Add shared library for tst-tls-atexit.
21150 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21151 (GLIBC_PRIVATE): Add __call_tls_dtors.
21152 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21154 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21155 * stdlib/tst-tls-atexit.c: New test case.
21156 * stdlib/tst-tls-atexit-lib.c: New test case.
21158 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21160 * elf/Versions (ld): Add _dl_find_dso_for_object.
21161 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21162 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21163 (dl_open_worker): Use _dl_find_dso_for_object.
21164 * elf/dl-sym.c (do_sym): Likewise.
21165 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21167 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21169 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21170 Syntactic changes only.
21171 (_dl_runtime_profile): Do a tail-call to the resolved function.
21173 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21176 * sysdeps/x86_64/bp-asm.h: Remove file.
21177 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21178 <bp-sym.h> and <bp-asm.h>.
21179 (__clone): Do not use BP_SYM.
21180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21181 <bp-sym.h> and <bp-asm.h>.
21182 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21183 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21185 (_setjmp): Do not use BP_SYM.
21186 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21188 (setjmp): Do not use BP_SYM.
21189 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21191 (mempcpy): Do not use BP_SYM in weak_alias.
21192 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21194 (strchr): Do not use BP_SYM.
21195 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21197 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21198 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21199 (_start): Do not use BP_SYM.
21200 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21202 (strcat): Do not use BP_SYM.
21203 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21205 (STRCMP): Do not use BP_SYM.
21206 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21208 (STRCPY): Do not use BP_SYM.
21209 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21211 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21213 (FUNCTION): Do not use BP_SYM.
21214 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21216 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21218 2013-02-17 Andreas Jaeger <aj@suse.de>
21220 * time/Versions: Sort entries.
21221 * string/Versions: Likewise.
21222 * resolv/Versions: Likewise.
21223 * posix/Versions: Likewise.
21224 * iconv/Versions: Likewise.
21225 * elf/Versions: Likewise.
21226 * wcsmbs/Versions: Likewise.
21228 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21230 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21231 loop termination condition.
21233 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21234 variable to calculate EZ.
21237 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21238 the lower precision input.
21240 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21243 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21244 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21245 (run-via-rtld-prefix): Do not handle %-bp tests.
21246 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21247 (all-object-suffixes): Remove .ob.
21248 (bppfx): Remove variable.
21249 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21250 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21251 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21252 [$(build-bounded) = yes] (libtype.ob): Likewise.
21253 * Makerules (elide-routines.ob): Remove variable.
21254 (do-tests-clean): Do not handle *-bp.out.
21255 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21256 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21257 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21258 (tests): Do not include $(tests-bp.out).
21259 (xtests): Do not include $(xtests-bp.out).
21260 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21261 [$(build-bounded) = yes] ($(addprefix
21262 $(objpfx),$(binaries-bounded))): Remove rule.
21263 ($(objpfx)%-bp.out): Remove rule.
21264 * config.make.in (build-bounded): Remove variable.
21265 * crypt/Makefile [$(build-bounded) = yes]
21266 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21267 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21268 append to variable.
21269 [$(build-bounded) = yes] (install-lib): Likewise.
21270 [$(build-bounded) = yes] (generated): Likewise.
21271 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21273 * intl/Makefile [$(build-bounded) = yes]
21274 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21275 * math/Makefile [$(build-bounded) = yes]
21276 ($(tests:%=$(objpfx)%-bp): Likewise.
21277 * misc/Makefile [$(build-bounded) = yes]
21278 ($(objpfx)tst-tsearch-bp): Likewise.
21279 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21280 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21282 * string/Makefile (o-objects.ob): Remove variable.
21283 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21284 (CFLAGS-.ob): Remove variable.
21285 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21286 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21287 both definitions of variable.
21288 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21289 (ASFLAGS-.ob): Remove variable.
21291 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21294 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21295 Remove __BOUNDED_POINTERS__ from condition.
21296 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21297 * string/bits/string2.h [!__NO_STRING_INLINES &&
21298 !__BOUNDED_POINTERS__]: Likewise.
21299 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21301 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21302 Remove conditional code.
21303 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21304 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21305 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21309 * csu/libc-start.c: Do not include <bp-sym.h>.
21310 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21311 * elf/dl-open.c: Do not include <bp-sym.h>.
21312 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21313 * math/fegetenv.c: Do not include <bp-sym.h>.
21314 (fegetenv): Do not use BP_SYM in versioned symbols.
21315 * nptl/sysdeps/pthread/bits/libc-lockP.h
21316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21319 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21321 (__pthread_mutex_destroy): Likewise.
21322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21323 (__pthread_mutex_lock): Likewise.
21324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21325 (__pthread_mutex_trylock): Likewise.
21326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21327 (__pthread_mutex_unlock): Likewise.
21328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21329 (__pthread_mutexattr_init): Likewise.
21330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21331 (__pthread_mutexattr_destroy): Likewise.
21332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21333 (__pthread_mutexattr_settype): Likewise.
21334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21335 (__pthread_rwlock_init): Likewise.
21336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21337 (__pthread_rwlock_destroy): Likewise.
21338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21339 (__pthread_rwlock_rdlock): Likewise.
21340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21341 (__pthread_rwlock_tryrdlock): Likewise.
21342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21343 (__pthread_rwlock_wrlock): Likewise.
21344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21345 (__pthread_rwlock_trywrlock): Likewise.
21346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21347 (__pthread_rwlock_unlock): Likewise.
21348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21349 (__pthread_key_create): Likewise.
21350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21351 (__pthread_setspecific): Likewise.
21352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21353 (__pthread_getspecific): Likewise.
21354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21357 (_pthread_cleanup_push_defer): Likewise.
21358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21359 (_pthread_cleanup_pop_restore): Likewise.
21360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21361 (pthread_setcancelstate): Likewise.
21362 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21364 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21365 (memchr): Do not use BP_SYM in weak_alias.
21366 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21367 (fegetenv): Do not use BP_SYM in versioned symbols.
21368 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21369 (fesetenv): Do not use BP_SYM in versioned symbols.
21370 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21371 (feupdateenv): Do not use BP_SYM in versioned symbols.
21372 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21373 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21374 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21375 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21376 (open64): Do not use BP_SYM in weak_alias.
21377 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21378 (fegetenv): Do not use BP_SYM in versioned symbols.
21379 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21380 (fesetenv): Do not use BP_SYM in versioned symbols.
21381 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21382 (feupdateenv): Do not use BP_SYM in versioned symbols.
21383 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21384 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21385 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21386 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21387 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21388 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21389 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21391 (__libc_start_main): Do not use BP_SYM.
21393 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21396 redundant return line.
21398 (denorm): Likewise.
21399 (dbl_mp): Likewise.
21400 (sub_magnitudes): Likewise.
21406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21408 (denorm): Likewise.
21409 (dbl_mp): Likewise.
21410 (sub_magnitudes): Likewise.
21417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21420 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21423 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21424 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21426 of __mul for squares.
21427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21431 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21434 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21437 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21439 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21440 prototype or function definition. Rename ubp_* variables and
21441 parameters. Remove argv definitions conditional on
21442 [__BOUNDED_POINTERS__].
21443 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21444 * elf/dl-runtime.c (_dl_fixup): Likewise.
21445 * include/set-hooks.h (RUN_HOOK): Likewise.
21446 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21448 * string/strcpy.c (strcpy): Do not use __unbounded.
21449 * sysdeps/generic/frame.h (struct layout): Likewise.
21450 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21451 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21452 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21453 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21454 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21455 (__backtrace): Likewise.
21456 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21458 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21459 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21460 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21462 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21463 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21465 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21466 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21467 Do not use __unbounded.
21468 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21469 Rename __unboundedrlimits parameter to rlimits in prototype.
21470 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21471 Do not use __unbounded.
21472 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21473 not use __ptrvalue.
21474 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21475 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21476 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21477 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21478 __ptrvalue or __unbounded.
21479 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21480 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21482 (__new_msgctl): Do not use __ptrvalue.
21483 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21485 (__libc_msgrcv): Do not use __ptrvalue.
21486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21487 startup_info): Do not use __unbounded.
21488 (__libc_start_main): Likewise. Rename ubp_* variables and
21489 parameters. Remove argv definitions conditional on
21490 [__BOUNDED_POINTERS__].
21491 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21493 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21495 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21497 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21499 (__new_shmctl): Do not use __ptrvalue.
21500 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21501 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21503 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21505 (__libc_sigaction): Likewise.
21506 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21507 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21509 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21511 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21513 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21515 * string/mempcpy.c: Implement by calling memcpy.
21517 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21525 values in the mantissa.
21527 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21528 minimize writes to Z.
21529 (sub_magnitudes): Simplify code a bit.
21531 2013-02-12 Roland McGrath <roland@hack.frob.com>
21533 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21534 from the message. The linker prefixes all warnings with that already.
21536 2013-02-12 Andreas Schwab <schwab@suse.de>
21539 * posix/regexec.c (extend_buffers): Add parameter min_len.
21540 (check_matching): Pass minimum needed length.
21541 (clean_state_log_if_needed): Likewise.
21542 (get_subexp): Likewise.
21543 * posix/Makefile (tests): Add bug-regex34.
21544 (bug-regex34-ENV): Define.
21545 * posix/bug-regex34.c: New file.
21548 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21549 elements compare against the byte sequence of it, not its name.
21550 * posix/Makefile (tests): Add bug-regex35.
21551 (bug-regex35-ENV): Define.
21552 * posix/bug-regex35.c: New file.
21554 2013-02-11 Tom de Vries <tom@codesourcery.com>
21556 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21558 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21559 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21560 (CHECK_EOL): Add undef.
21562 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21564 * bits/stdlib-bsearch.h: New file.
21565 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21566 * stdlib/stdlib.h: Likewise.
21568 2013-02-11 Roland McGrath <roland@hack.frob.com>
21570 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21571 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21573 * manual/search.texi (Array Search Function): Add missing const in
21575 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21576 declaration to use rlim_t.
21577 (Basic Scheduling Functions): Remove erroneous const from
21578 sched_getparam prototype. Remove erroneous * from
21579 sched_get_priority_max and sched_get_priority_min prototypes.
21580 (Resource Usage): Fix summary @comment on vtimes to refer to
21581 sys/vtimes.h rather than vtimes.h.
21582 Add missing *s in vtimes prototype.
21583 (Limits on Resources): Fix ulimit prototype to return long int.
21584 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21585 prototypes to use long int rather than double.
21586 (BSD Random): Fix initstate and setstate to use char *, not void *.
21587 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21588 prototype to make second argument 'struct aiocb64 *const[]'.
21589 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21590 (Status of AIO Operations): Remove erroneous const in aio_return and
21591 aio_return64 prototypes.
21592 (Synchronizing I/O): Fix sync prototype to return void.
21593 * manual/startup.texi (Suboptions): Remove an erroneous const in
21594 getsubopt prototype.
21595 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21596 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21597 use size_t rather than int.
21598 (Scanning All Users): Likewise for getpwent_r.
21599 (Setting Groups): Add missing const to setgroups prototype.
21600 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21601 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21602 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21603 'const void *' rather than 'const char *'.
21604 (Host Address Functions): Likewise for inet_ntop.
21605 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21606 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21607 ssize_t for return value.
21608 (Sending Data): Likewise for send, sendto, sendmsg.
21609 (Socket Option Functions): Add a missing const in setsockopt prototype.
21610 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21611 use wchar_t for the argument.
21612 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21613 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21615 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21616 double/float/long double for second argument.
21617 Fix return types of significand, significandf, significandl.
21618 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21619 argument in fchmod prototype.
21620 (File Owner): Use uid_t and gid_t in fchown prototype.
21621 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21622 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21623 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21624 use 'const struct dirent **' as argument types to CMP function pointer
21626 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21627 (File Times): Fix summary magic @comment for struct utimbuf and utime
21628 to refer to utime.h, not time.h.
21629 * manual/string.texi (Argz Functions): Add missing const in
21630 argz_extract and argz_next prototypes.
21631 (Finding Tokens in a String): Likewise for basename.
21632 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21633 (Copying and Concatenation): Fix typo in wmemmove prototype.
21634 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21635 (Signal Stack): Remove erroneous const in sigstack prototype.
21636 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21638 (Simple Calendar Time): Likewise for stime.
21639 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21641 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21642 say sys/sysctl.h instead.
21643 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21644 and vsyslog prototypes.
21646 2013-02-11 Tom de Vries <tom@codesourcery.com>
21648 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21651 2013-02-11 Roland McGrath <roland@hack.frob.com>
21653 * misc/sys/mman.h: Fix typo in mremap comment.
21655 2013-02-08 Roland McGrath <roland@hack.frob.com>
21657 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21658 the '\0' terminator.
21660 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21663 * debug/segfault.c: Don't include <bp-checks.h>.
21664 * sysdeps/generic/bp-checks.h: Remove file.
21665 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21666 (__GETDENTS): Don't use CHECK_N.
21667 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21668 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21669 (__getgroups): Don't use CHECK_N.
21670 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21671 (setgroups): Don't use CHECK_N.
21672 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21673 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21674 (__libc_msgrcv): Don't use CHECK_N.
21675 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21676 (__libc_msgsnd): Don't use CHECK_N.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21679 (__libc_pread): Don't use CHECK_N.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21681 include <bp-checks.h>.
21682 (__libc_pread64): Don't use CHECK_N.
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21684 include <bp-checks.h>.
21685 (__libc_pwrite): Don't use CHECK_N.
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21687 include <bp-checks.h>.
21688 (__libc_pwrite64): Don't use CHECK_N.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21691 (__libc_pread): Don't use CHECK_N.
21692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21693 include <bp-checks.h>.
21694 (__libc_pread64): Don't use CHECK_N.
21695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21696 include <bp-checks.h>.
21697 (__libc_pwrite): Don't use CHECK_N.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21699 include <bp-checks.h>.
21700 (__libc_pwrite64): Don't use CHECK_N.
21701 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21702 (do_pread): Don't use CHECK_N.
21703 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21704 (do_pread64): Don't use CHECK_N.
21705 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21706 (do_pwrite): Don't use CHECK_N.
21707 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21708 (do_pwrite64): Don't use CHECK_N.
21709 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21710 (__libc_readv): Don't use CHECK_N.
21711 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21712 (semop): Don't use CHECK_N.
21713 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21715 (semtimedop): Don't use CHECK_N.
21716 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21717 (__libc_pread): Don't use CHECK_N.
21718 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21720 (__libc_pread64): Don't use CHECK_N.
21721 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21723 (__libc_pwrite): Don't use CHECK_N.
21724 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21726 (__libc_pwrite64): Don't use CHECK_N.
21727 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21729 (__libc_msgrcv): Don't use CHECK_N.
21730 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21731 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21732 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21733 (__libc_writev): Don't use CHECK_N.
21735 2013-02-08 Roland McGrath <roland@hack.frob.com>
21737 * string/strcpy.c: Removed unused variable.
21739 * Makeconfig (+sysdep-includes): Define with := rather than =.
21740 Use an existing include/ subdir of each sysdeps dir before it.
21742 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21744 * nscd/connection.c (register_traced_file): Comment function.
21745 [HAVE_INOTIFY] (union __inev): Define.
21746 [HAVE_INOTIFY] (inotify_check_files): New function.
21747 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21748 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21750 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21752 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21754 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21755 loaded if not already and that a failure is permanent.
21757 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21760 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21761 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21763 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21766 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21767 (CHECK_1_NULL_OK): Likewise.
21768 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21769 (__fxstat): Do not use CHECK_1.
21770 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21772 (___fxstat64): Do not use CHECK_1.
21773 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21775 (__fxstatat): Do not use CHECK_1.
21776 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21778 (__fxstatat64): Do not use CHECK_1.
21779 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21781 (__fxstat): Do not use CHECK_1.
21782 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21784 (__fxstatat): Do not use CHECK_1.
21785 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21787 (__getresgid): Do not use CHECK_1.
21788 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21790 (__getresuid): Do not use CHECK_1.
21791 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21793 (__lxstat): Do not use CHECK_1.
21794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21796 (__old_msgctl): Do not use CHECK_1.
21797 (__new_msgctl): Likewise.
21798 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21800 (__new_setrlimit): Do not use CHECK_1.
21801 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21803 (__old_shmctl): Do not use CHECK_1.
21804 (__new_shmctl): Likewise.
21805 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21807 (__xstat): Do not use CHECK_1.
21808 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21809 (__lxstat): Do not use CHECK_1.
21810 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21812 (___lxstat64): Do not use CHECK_1.
21813 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21814 (__old_msgctl): Do not use CHECK_1.
21815 (__new_msgctl): Likewise.
21816 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21818 (__gettimeofday): Do not use CHECK_1.
21819 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21820 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21821 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21823 (__gettimeofday): Do not use CHECK_1.
21824 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21825 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21826 (__new_shmctl): Do not use CHECK_1.
21827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21829 (do_sigtimedwait): Do not use CHECK_1.
21830 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21832 (do_sigwaitinfo): Do not use CHECK_1.
21833 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21835 (msgctl): Do not use CHECK_1.
21836 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21838 (shmctl): Do not use CHECK_1.
21839 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21840 (ustat): Do not use CHECK_1.
21841 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21843 (__fxstat): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21846 (__fxstatat): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21849 (__lxstat): Do not use CHECK_1.
21850 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21852 (__xstat): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21854 (__xstat): Do not use CHECK_1.
21855 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21856 (___xstat64): Do not use CHECK_1.
21859 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21861 (CHECK_BOUNDS_HIGH): Likewise.
21862 * string/strcpy.c: Do not include <bp-checks.h>.
21863 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21865 2013-02-07 Roland McGrath <roland@hack.frob.com>
21867 * nscd/nscd-client.h (__nscd_drop_map_ref):
21868 Add __attribute__ ((unused)).
21869 * nis/nss-nisplus.h (niserr2nss): Likewise.
21871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21872 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21874 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21875 Remove inline keyword.
21876 * include/rounding-mode.h (round_away): Likewise.
21877 * libio/wfileops.c (adjust_wide_data): Likewise.
21878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21879 (__m128i_strloadu_tolower): Likewise.
21880 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21881 (__m128i_strloadu_tolower): Likewise.
21882 * time/mktime.c (ydhms_diff): Likewise.
21883 * locale/elem-hash.h (elem_hash): Likewise.
21884 * locale/setlocale.c (setdata): Likewise.
21885 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21886 (re_string_wchar_at): Likewise.
21887 (bitset_not, bitset_merge, bitset_mask): Likewise.
21888 [!(__GNUC__ > 3)] (inline): Remove macro.
21889 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21890 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21891 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21892 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21893 * string/memcmp.c (memcmp_bytes): Likewise.
21894 * locale/programs/locarchive.c (compute_hashval): Likewise.
21895 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21896 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21897 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21898 * nss/getent.c (print_rpc, print_protocols): Likewise.
21899 (print_passwd, print_group, print_aliases): Likewise.
21900 * nis/nss-nisplus.h (niserr2nss): Likewise.
21901 * nscd/connections.c (restart_p): Likewise.
21902 Change return type to bool.
21904 2013-02-05 Roland McGrath <roland@hack.frob.com>
21906 * Makeconfig (all-Depend-files): Add existing
21907 $(sorted-subdirs:=/Depend) files.
21908 (all-subdirs): Remove nss.
21909 * sysdeps/unix/inet/Subdirs: Add it here instead.
21910 * hesiod/Depend: New file.
21912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21913 instead of calling alloca.
21915 * io/lseek.c (__lseek): Rename to __libc_lseek.
21916 Define __lseek as an alias.
21918 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21920 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21922 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21923 else clause and remove check for non-standard endianness.
21925 2013-02-04 David S. Miller <davem@davemloft.net>
21927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21929 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21932 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21933 (__ubp_memchr): Remove prototype.
21934 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21935 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21936 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21937 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21938 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21940 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21941 (__ubp_memchr): Likewise.
21942 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21943 (__ubp_memchr): Likewise.
21944 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21945 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21946 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21949 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21950 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21951 (__getcwd): Do not use CHECK_STRING.
21952 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21954 (__real_chown): Do not use CHECK_STRING.
21955 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21957 (fchownat): Do not use CHECK_STRING.
21958 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21960 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21962 (__lchown): Do not use CHECK_STRING.
21963 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21964 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21965 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21966 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21968 include <bp-checks.h>.
21969 (truncate64): Do not use CHECK_STRING.
21970 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21972 (__real_chown): Do not use CHECK_STRING.
21973 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21975 (__lchown): Do not use CHECK_STRING.
21976 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21978 (__chown): Do not use CHECK_STRING.
21979 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21981 (truncate64): Do not use CHECK_STRING.
21982 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21984 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21985 (__xmknod): Do not use CHECK_STRING.
21986 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21988 (__xmknodat): Do not use CHECK_STRING.
21989 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21990 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21992 2013-02-04 Andreas Schwab <schwab@suse.de>
21995 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21996 * include/netdb.h: Likewise for h_errno.
21997 * elf/tst-stackguard1.c: Include <tls.h>.
21999 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22001 * elf/link.h (struct link_map): Extend the l_addr comment.
22002 * include/link.h (struct link_map): Likewise.
22004 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22007 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22008 (BOUNDED_1): Remove macro.
22009 * debug/backtrace.c: Don't include <bp-checks.h>.
22010 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22011 (__backtrace): Likewise.
22012 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22014 (__backtrace): Don't use BOUNDED_1.
22015 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22017 (__backtrace): Don't use BOUNDED_1.
22018 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22019 (__backtrace): Don't use BOUNDED_1.
22020 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22021 (shmat): Don't use BOUNDED_N.
22023 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22026 * sysdeps/generic/bp-start.h: Remove file.
22027 * csu/libc-start.c: Don't include <bp-start.h>.
22028 (LIBC_START_MAIN): Set up __environ directly instead of using
22029 INIT_ARGV_and_ENVIRON.
22030 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22034 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22036 (CHECK_FCNTL): Likewise.
22037 (CHECK_N_PAGES): Likewise.
22040 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22042 (CHECK_SIGSET_NULL_OK): Likewise.
22043 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22045 (sigpending): Don't use CHECK_SIGSET.
22046 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22048 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22049 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22051 (do_sigsuspend): Don't use CHECK_SIGSET.
22052 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22054 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22055 (do_sigwait): Don't use CHECK_SIGSET.
22056 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22058 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22059 include <bp-checks.h>.
22060 (sigpending): Don't use CHECK_SIGSET.
22061 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22062 include <bp-checks.h>.
22063 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22064 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22066 (sigpending): Don't use CHECK_SIGSET.
22067 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22069 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22072 * sysdeps/generic/bp-semctl.h: Remove file.
22073 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22074 <bp-checks.h> and <bp-semctl.h>.
22075 (__old_semctl): Don't use CHECK_SEMCTL.
22076 (__new_semctl): Likewise.
22077 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22079 (__old_semctl): Don't use CHECK_SEMCTL.
22080 (__new_semctl): Likewise.
22081 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22082 <bp-checks.h> and <bp-semctl.h>.
22083 (__old_semctl): Don't use CHECK_SEMCTL.
22084 (__new_semctl): Likewise.
22085 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22086 <bp-checks.h> and <bp-semctl.h>.
22087 (semctl): Don't use CHECK_SEMCTL.
22090 * Makerules (elide-bp-thunks): Remove variable.
22091 (elide-routines.oS): Don't use $(elide-bp-thunks).
22092 (elide-routines.os): Likewise.
22093 (elide-routines.o): Likewise.
22094 (elide-routines.op): Likewise.
22095 (elide-routines.og): Likewise.
22096 (objects): Don't use $(bp-thunks).
22097 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22099 (common-generated): Do not add s-proto-bp.d.
22100 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22103 Do not generate makefile rules for bounded-pointer thunks.
22104 * sysdeps/generic/bp-thunks.h: Remove file.
22105 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22106 * sysdeps/unix/s-proto-bp.S: Likewise.
22109 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22110 parts of result separately when argument is not close to line from
22111 -i to i and one part of argument is small.
22112 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22113 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22114 * math/libm-test.inc (cacos_test): Add more tests.
22115 (casin_test): Likewise.
22116 (casinh_test): Likewise.
22117 * sysdeps/i386/fpu/libm-test-ulps: Update.
22118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22120 2013-01-31 David S. Miller <davem@davemloft.net>
22122 * po/de.po: Update from translation team.
22124 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22126 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22128 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22130 * configure.in (_AC_PROG_CC_C89): New definition.
22131 * configure: Regenerate.
22133 * configure.in (AC_PROG_CPP): New definition.
22134 * configure: Regenerate.
22136 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22138 * debug/tst-backtrace.h: New file.
22139 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22140 (ret): Remove variable.
22142 (FAIL): Remove macro.
22143 (NO_INLINE): Likewise.
22144 (fn1): Use match function instead of strstr.
22145 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22146 (ret): Remove variable.
22148 (FAIL): Remove macro.
22149 (NO_INLINE): Likewise.
22150 (fn): Use match function instead of strstr.
22151 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22152 (ret): Remove variable.
22154 (FAIL): Remove macro.
22155 (NO_INLINE): Likewise.
22156 (handle_signal): Use match function instead of strstr.
22157 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22158 (ret): Remove variable.
22160 (FAIL): Remove macro.
22161 (NO_INLINE): Likewise.
22162 (handle_signal): Use match function instead of strstr.
22164 2013-01-23 Roland McGrath <roland@hack.frob.com>
22166 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22168 2013-01-23 David S. Miller <davem@davemloft.net>
22170 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22171 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22172 argument of CAS if possible.
22173 * sysdeps/sparc/sparc64/bits/atomic.h
22174 (__arch_compare_and_exchange_val_32_acq): Likewise.
22175 (__arch_compare_and_exchange_val_64_acq): Likewise.
22177 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22179 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22180 * sysdeps/posix/ulimit.c: ... this.
22181 Include <limits.h>.
22182 * sysdeps/unix/bsd/ulimit.c: Remove file.
22184 2013-01-23 Adam Conrad <adconrad@0c3.net>
22186 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22187 (LDFLAGS-tst-array5): Likewise.
22189 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22192 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22193 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22194 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22195 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22197 2013-01-21 David S. Miller <davem@davemloft.net>
22199 * sysdeps/sparc/backtrace.c: New file.
22200 * sysdeps/sparc/sparc32/backtrace.h: New file.
22201 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22202 * sysdeps/sparc/sparc64/backtrace.h: New file.
22203 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22204 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22207 2013-01-21 Andreas Schwab <schwab@suse.de>
22210 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22213 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22219 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22220 Mark Mitchell <mark@codesourcery.com>
22221 Tom de Vries <tom@codesourcery.com>
22222 Paul Pluzhnikov <ppluzhnikov@google.com>
22224 * debug/tst-backtrace2.c: New file.
22225 * debug/tst-backtrace3.c: Likewise.
22226 * debug/tst-backtrace4.c: Likewise.
22227 * debug/tst-backtrace5.c: Likewise.
22228 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22229 (CFLAGS-tst-backtrace3.c): Likewise.
22230 (CFLAGS-tst-backtrace4.c): Likewise.
22231 (CFLAGS-tst-backtrace5.c): Likewise.
22232 (LDFLAGS-tst-backtrace2): Likewise.
22233 (LDFLAGS-tst-backtrace3): Likewise.
22234 (LDFLAGS-tst-backtrace4): Likewise.
22235 (LDFLAGS-tst-backtrace5): Likewise.
22236 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22237 tst-backtrace4 and tst-backtrace5.
22239 2013-01-18 Anton Blanchard <anton@samba.org>
22240 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22242 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22243 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22245 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22247 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22248 "+r" and remove output regs list as redundant. Add explicit inline
22249 asm to specify register of return val to work around compiler codegen
22250 bug. Remove (int) cast on return value. Add return type parameter to
22251 use in macro so that this macro does not truncate return value for
22253 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22254 pass to INTERNAL_VSYSCALL_NCS.
22255 (INLINE_VSYSCALL): Add 'long int' as return type to
22256 INTERNAL_VSYSCALL_NCS macro invocation.
22257 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22258 INTERNAL_VSYSCALL_NCS macro invocation.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22261 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22264 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22265 Fix application of SIMD FP exception mask.
22267 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22268 mp_no from a power of two.
22269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22270 __mpexp_twomm1. Use __pow_mp.
22272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22275 2013-01-17 David S. Miller <davem@davemloft.net>
22277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22279 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22282 * include/complex.h: Condition contents on [!_COMPLEX_H].
22283 (__kernel_casinhf): New prototype.
22284 (__kernel_casinh): Likewise.
22285 (__kernel_casinhl): Likewise.
22286 * math/Makefile (libm_calls): Add k_casinh.
22287 * math/k_casinh.c: New file.
22288 * math/k_casinhf.c: Likewise.
22289 * math/k_casinhl.c: Likewise.
22290 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22291 finite nonzero arguments.
22292 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22293 finite nonzero arguments.
22294 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22295 finite nonzero arguments.
22296 * math/s_casinh.c: Do not include <float.h>.
22297 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22298 * math/s_casinhf.c: Do not include <float.h>.
22299 (__casinhf): Move code for finite nonzero arguments to
22301 * math/s_casinhl.c: Do not include <float.h>.
22302 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22304 (__casinhl): Move code for finite nonzero arguments to
22306 * math/libm-test.inc (cacos_test): Add more tests.
22307 * sysdeps/i386/fpu/libm-test-ulps: Update.
22308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22310 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22312 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22313 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22314 [!HAVE_MREMAP]: Remove [defined linux] case.
22315 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22317 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22319 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22321 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22323 * elf/elf.h (R_386_SIZE32): New relocation.
22324 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22326 (elf_machine_rela): Likewise.
22327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22328 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22330 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22332 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22333 (FP_FAST_FMA): Do not define.
22334 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22335 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22336 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22337 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22338 !_SOFT_FLOAT]: Likewise.
22339 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22343 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22345 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22346 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22347 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22350 2013-01-16 Andreas Schwab <schwab@suse.de>
22353 * include/stdlib.h (__mktemp): Add declaration.
22354 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22355 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22357 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22359 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22361 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22362 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22363 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22366 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22370 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22371 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22374 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22375 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22377 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22379 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22381 2013-01-15 David S. Miller <davem@davemloft.net>
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22384 trunc{,f} to libm-sysdep_routes.
22385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22395 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22396 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22397 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22398 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22399 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22400 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22403 nearbyint{,f} to libm-sysdep_routes.
22404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22418 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22421 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22422 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22424 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22425 libc_feholdexcept and libc_fesetenv.
22427 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22429 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22431 2013-01-14 David S. Miller <davem@davemloft.net>
22433 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22434 (SPARC_ASM_VIS2_IFUNC): Likewise.
22435 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22437 use of 'siam' instruction.
22438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22471 routines to libm-sysdep_routines.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22475 fdim/fdimf to libm-sysdep_routines.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22484 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22485 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22489 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22491 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22492 to optimize copies.
22494 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22499 local variable MPTWO.
22500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22503 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22505 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22508 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22510 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22512 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22514 * manual/pattern.texi (glob_t): Document gl_flags.
22515 (glob64_t): Likewise.
22517 2013-01-11 David S. Miller <davem@davemloft.net>
22519 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22520 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22521 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22522 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22523 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22524 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22525 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22526 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22527 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22528 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22529 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22530 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22531 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22533 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22534 sparc V9 rather than using V8 code.
22535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22540 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22543 2013-01-11 Roland McGrath <roland@hack.frob.com>
22545 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22546 not in the main loop.
22547 * configure: Regenerated.
22549 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22551 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22552 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22554 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22555 [!__GLIBC_HAVE_LONG_LONG] case.
22556 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22557 condition to just #else.
22558 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22559 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22560 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22561 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22563 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22564 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22565 #elif condition to just #else.
22566 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22567 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22568 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22569 #elif condition to just #else.
22571 2013-01-11 Steve Ellcey <sellcey@mips.com>
22573 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22574 (EF_MIPS_ARCH_64): Fix value.
22575 (EF_MIPS_ARCH_32R2): New.
22576 (EF_MIPS_ARCH_64R2): New.
22578 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22580 * Makeconfig (+link-pie-before-libc): New.
22581 (+link-pie-after-libc): Likewise.
22582 (+link-pie-tests): Likewise.
22583 (+link-pie): Rewritten.
22584 (link-before-libc): Remove $(config-LDFLAGS).
22585 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22586 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22587 (config-LDFLAGS): Renamed to ...
22588 (rtld-LDFLAGS): This.
22589 (rtld-tests-LDFLAGS): New macro.
22590 (link-libc-rpath-link): Likewise.
22591 (link-libc-tests-rpath-link): Likewise.
22592 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22593 (link-libc): Prepand $(link-libc-rpath-link).
22594 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22595 (test-program-prefix): New macro.
22596 (test-via-rtld-prefix): Likewise.
22597 (test-program-cmd): Likewise.
22598 (host-test-program-cmd): Likewise.
22599 * Makefile ($(common-objpfx)testrun.sh): Replace
22600 $(run-program-prefix) with $(test-program-prefix).
22601 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22603 ($(common-objpfx)shlib.lds): Likewise.
22604 (build-module-helper): Likewise.
22605 ($(common-objpfx)format.lds): Likewise.
22606 * Rules (binaries-pie-tests): New.
22607 (binaries-pie-notests): Likewise.
22608 (binaries-pie): Rewritten.
22609 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22610 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22611 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22612 (make-test-out): Replace $(host-built-program-cmd) with
22613 $(host-test-program-cmd).
22614 * config.make.in (build-hardcoded-path-in-tests): New variable.
22615 * configure.in (--enable-hardcoded-path-in-tests): New configure
22617 (hardcoded_path_in_tests): New AC_SUBST.
22618 * configure: Regenerated.
22619 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22620 $(built-program-cmd) with $(test-program-cmd).
22621 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22622 (test_program_cmd): This.
22623 * elf/Makefile ($(objpfx)order.out): Run test with
22624 $(test-program-prefix).
22625 ($(objpfx)order2.out): Likewise.
22626 ($(objpfx)tst-initorder.out): Likewise.
22627 ($(objpfx)tst-initorder2.out): Likewise.
22628 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22629 $(test-program-cmd).
22630 ($(objpfx)tst-array1-static.out): Likewise.
22631 ($(objpfx)tst-array2.out): Likewise.
22632 ($(objpfx)tst-array3.out): Likewise.
22633 ($(objpfx)tst-array4.out): Likewise.
22634 ($(objpfx)tst-array5.out): Likewise.
22635 ($(objpfx)tst-array5-static.out): Likewise.
22636 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22637 $(test-program-cmd).
22638 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22639 $(run-program-prefix) with $(test-program-prefix).
22640 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22641 (test_program_prefix): This.
22642 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22643 $(run-program-prefix) with $(test-program-prefix).
22644 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22645 (test_program_prefix): This.
22646 * iconvdata/tst-tables.sh: Likewise.
22647 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22648 $(run-program-prefix) with $(test-program-prefix).
22649 ($(objpfx)tst-translit.out): Likewise.
22650 ($(objpfx)tst-gettext2.out): Likewise.
22651 ($(objpfx)tst-gettext4.out): Likewise.
22652 ($(objpfx)tst-gettext6.out): Likewise.
22653 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22654 (test_program_prefix): This.
22655 * intl/tst-gettext2.sh: Likewise.
22656 * intl/tst-gettext4.sh Likewise.
22657 * intl/tst-gettext6.sh: Likewise.
22658 * intl/tst-translit.sh: Likewise.
22659 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22660 with $(test-program-cmd).
22661 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22662 $(run-program-prefix) with $(test-program-prefix).
22663 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22664 (test_program_prefix): This.
22665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22666 $(run-program-prefix) with $(test-program-prefix).
22667 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22668 (test_program_prefix): This.
22669 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22670 * posix/Makefile ($(objpfx)globtest.out): Replace
22671 $(run-via-rtld-prefix) and $(test-wrapper) with
22672 $(test-program-prefix) and $(test-via-rtld-prefix).
22673 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22674 $(test-program-prefix).
22675 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22676 $(host-test-program-cmd).
22677 (tst-spawn-ARGS): Likewise.
22678 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22679 $(test-program-prefix).
22680 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22681 (test_via_rtld_prefix): This.
22682 (test_wrapper): Renamed to ...
22683 (test_program_prefix): This.
22684 (run_program_prefix): Replaced by test_program_prefix.
22685 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22686 (test_program_prefix): This.
22687 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22688 with $(host-test-program-cmd).
22689 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22690 $(run-program-prefix) with $(test-program-prefix).
22691 ($(objpfx)tst-printf.out): Likewise.
22692 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22693 $(test-program-cmd).
22694 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22695 (test_program_prefix): This.
22696 * stdio-common/tst-unbputc.sh: Likewise.
22697 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22698 $(run-program-prefix) with $(test-program-prefix).
22699 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22700 (test_program_prefix): This.
22701 * string/Makefile ($(objpfx)tst-svc.out): Replace
22702 $(built-program-cmd) with $(test-program-cmd).
22704 2013-01-11 Andreas Jaeger <aj@suse.de>
22707 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22708 value. Sync with Linux 3.7.
22710 2013-01-10 David S. Miller <davem@davemloft.net>
22712 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22713 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22714 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22716 2013-01-10 Roland McGrath <roland@hack.frob.com>
22718 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22720 * configure: Regenerated.
22722 2013-01-10 David S. Miller <davem@davemloft.net>
22724 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22725 sparc V9 rather than using V8 code.
22726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22729 2013-01-10 Roland McGrath <roland@hack.frob.com>
22731 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22732 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22733 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22734 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22735 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22736 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22737 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22738 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22739 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22740 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22741 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22742 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22743 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22744 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22745 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22746 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22747 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22748 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22749 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22750 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22751 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22752 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22753 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22754 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22755 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22756 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22757 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22759 2013-01-10 David S. Miller <davem@davemloft.net>
22761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22763 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22765 * posix/Makefile (tests-static): New variable.
22766 (tests): Add $(tests-static).
22767 (tst-exec-static-ARGS): New variable.
22768 (tst-spawn-static-ARGS): Likewise.
22769 * posix/tst-exec-static.c: New file.
22770 * posix/tst-spawn-static.c: Likewise.
22771 * posix/tst-exec.c: Support run directly.
22772 * posix/tst-spawn.c: Likewise.
22774 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22776 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22778 * math/bits/mathcalls.h (llrint): Likewise.
22779 (llround): Likewise.
22780 * stdlib/stdlib.h (struct drand48_data): Likewise.
22781 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22782 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22783 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22785 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22787 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22788 (elf_greg_t): Likewise.
22789 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22790 (__jmp_buf): Likewise.
22791 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22793 (llrint): Likewise, for all definitions.
22794 (llrintl): Likewise.
22796 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22797 Remove [__GNUC__] condition.
22798 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22799 condition to just [__USE_ISOC99].
22800 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22802 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22805 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22806 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22808 (_POSIX_V6_ILP32_OFF32): Likewise.
22809 (_XBS5_ILP32_OFF32): Likewise.
22810 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22811 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22813 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22815 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22818 doubles __mpexp_twomm1. Adjust usage.
22819 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22822 2013-01-10 Andreas Schwab <schwab@suse.de>
22825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22826 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22828 2013-01-09 David S. Miller <davem@davemloft.net>
22831 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22832 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22833 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22834 (TCP_FASTOPEN): Define.
22835 (tcp_repair_opt): New structure.
22836 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22838 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22839 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22840 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22841 (tcp_cookie_transactions): New structure.
22843 2013-01-09 Anton Blanchard <anton@samba.org>
22845 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22846 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22847 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22848 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22850 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22852 * include/features.h (__USE_ANSI): Remove.
22854 2013-01-09 Roland McGrath <roland@hack.frob.com>
22856 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22858 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22860 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22862 * sysdeps/s390/fpu/libm-test-ulps: Update.
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22866 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22870 (denorm): Likewise.
22871 (__mp_dbl): Likewise.
22872 (__dbl_mp): Likewise.
22873 (add_magnitudes): Likewise.
22874 (sub_magnitudes): Likewise.
22880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22884 (denorm): Likewise.
22885 (__mp_dbl): Likewise.
22886 (__dbl_mp): Likewise.
22887 (add_magnitudes): Likewise.
22888 (sub_magnitudes): Likewise.
22894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22898 (denorm): Likewise.
22899 (__mp_dbl): Likewise.
22900 (__dbl_mp): Likewise.
22901 (add_magnitudes): Likewise.
22902 (sub_magnitudes): Likewise.
22909 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22911 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22912 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22913 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22914 2 && __USE_EXTERN_INLINES]: Likewise.
22916 2013-01-08 Andreas Jaeger <aj@suse.de>
22919 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22921 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22922 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22924 2013-01-07 Anton Blanchard <anton@samba.org>
22926 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22927 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22928 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22929 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22930 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22931 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22932 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22933 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22937 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22938 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22940 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22943 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22946 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22947 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22948 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22949 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22951 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22953 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22955 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22956 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22958 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22959 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22960 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22962 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22964 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22965 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22966 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22968 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22970 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22972 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22973 (__MALLOC_PMT): Likewise.
22974 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22975 [__GNUC__], only on [_LIBC].
22976 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22977 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22978 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22979 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22980 forward declaration.
22981 (realloc_hook_ini): Likewise.
22982 (memalign_hook_ini): Likewise.
22983 (__libc_memalign): Do not use __MALLOC_PMT in variable
22985 (__libc_valloc): Likewise.
22986 (__libc_pvalloc): Likewise.
22987 (__libc_calloc): Likewise.
22988 (__posix_memalign): Likewise.
22991 * math/s_casinh.c: Include <float.h>.
22992 (__casinh): Do not do computation with squaring and square root
22993 for large arguments.
22994 * math/s_casinhf.c: Include <float.h>.
22995 (__casinhf): Do not do computation with squaring and square root
22996 for large arguments.
22997 * math/s_casinhl.c: Include <float.h>.
22998 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22999 (__casinhl): Do not do computation with squaring and square root
23000 for large arguments.
23001 * math/libm-test.inc (casin_test): Add more tests.
23002 (casinh_test): Likewise.
23003 * sysdeps/i386/fpu/libm-test-ulps: Update.
23004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23006 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23008 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23009 (__x86_64_raw_data_cache_size): Likewise.
23010 (__x86_64_data_cache_size_half): Likewise.
23011 (__x86_64_raw_data_cache_size_half): Likewise.
23012 (__x86_64_shared_cache_size): Likewise.
23013 (__x86_64_raw_shared_cache_size): Likewise.
23014 (__x86_64_shared_cache_size_half): Likewise.
23015 (__x86_64_raw_shared_cache_size_half): Likewise.
23016 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23018 (__x86_data_cache_size): This.
23019 (__x86_64_raw_data_cache_size): Renamed to ...
23020 (__x86_raw_data_cache_size): This.
23021 (__x86_64_data_cache_size_half): Renamed to ...
23022 (__x86_data_cache_size_half): This.
23023 (__x86_64_raw_data_cache_size_half): Renamed to ...
23024 (__x86_raw_data_cache_size_half): This.
23025 (__x86_64_shared_cache_size): Renamed to ...
23026 (__x86_shared_cache_size): This.
23027 (__x86_64_raw_shared_cache_size): Renamed to ...
23028 (__x86_raw_shared_cache_size): This.
23029 (__x86_64_shared_cache_size_half): Renamed to ...
23030 (__x86_shared_cache_size_half): This.
23031 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23032 (__x86_raw_shared_cache_size_half): This.
23033 * sysdeps/x86_64/memcpy.S: Updated.
23034 * sysdeps/x86_64/memset.S: Likewise.
23035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23037 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23039 2013-01-04 David S. Miller <davem@davemloft.net>
23041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23043 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23045 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23046 1 to avoid redefinition warning.
23047 (__USE_GNU): Don't define.
23048 (init_signaling_nan): Protoize.
23050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23052 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23054 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23056 (__cpymn): Likewise.
23057 (norm): Remove commented code.
23058 (denorm): Likewise.
23059 (__mp_dbl): Likewise.
23061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23062 (__cpymn): Likewise.
23063 (norm): Remove commented code.
23064 (denorm): Likewise.
23065 (__mp_dbl): Likewise.
23068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23069 mp_no value for 1.0 and 2.0.
23070 (norm): Use RADIXI instead of radixi.d.
23071 (denorm): Likewise.
23072 (__mul): Use 0.0 instead of zero.d.
23073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23074 mp_no value for 1.0 and 2.0.
23075 (norm): Use RADIXI instead of radixi.d.
23076 (denorm): Likewise.
23077 (__mul): Use 0.0 instead of zero.d.
23079 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23082 * math/s_casinh.c (__casinh): Reduce finite argument to first
23083 quadrant then set signs of results at the end.
23084 * math/s_casinhf.c (__casinhf): Likewise.
23085 * math/s_casinhl.c (__casinhl): Likewise.
23086 * math/libm-test.inc (casin_test): Add more tests.
23087 (casinh_test): Likewise.
23088 * sysdeps/i386/fpu/libm-test-ulps: Update.
23089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23091 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23093 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23095 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23097 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23099 (denorm): Likewise.
23100 (__mp_dbl): Likewise.
23103 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23104 and adjust the header comment.
23106 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23107 variable name from declaration.
23109 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23112 Initialize COMMON_CPUID_INDEX_7 element.
23113 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23114 (CPUID_RTM): Likewise.
23115 (HAS_RTM): Likewise.
23116 (COMMON_CPUID_INDEX_7): New enum.
23118 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23121 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23122 size is zero, record memory as freed.
23124 2013-01-03 Andreas Jaeger <aj@suse.de>
23126 * po/ia.po: Add new Interlingua translation.
23128 2012-01-03 Allan McRae <allan@archlinux.org>
23130 * locale/programs/localedef.c: Fix description of '--posix' flag.
23132 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23134 * NEWS: Update dates in second copyright notice.
23135 * README: Update copyright dates in example.
23136 * manual/libc.texinfo: Update copyright dates.
23137 * scripts/test-installation.pl: Update copyright date in --version
23140 * hurd/ctty-input.c: Fix copyright notice formatting.
23141 * hurd/ctty-output.c: Likewise.
23142 * hurd/dtable.c: Likewise.
23143 * hurd/hurd-raise.c: Likewise.
23144 * hurd/hurdprio.c: Likewise.
23145 * hurd/msgportdemux.c: Likewise.
23146 * misc/sys/file.h: Likewise.
23147 * misc/sys/ioctl.h: Likewise.
23148 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23149 * sysdeps/mach/hurd/chdir.c: Likewise.
23150 * sysdeps/mach/hurd/fchdir.c: Likewise.
23151 * sysdeps/mach/hurd/rename.c: Likewise.
23152 * sysdeps/mach/hurd/rmdir.c: Likewise.
23153 * sysdeps/mach/hurd/seekdir.c: Likewise.
23154 * sysdeps/mach/hurd/setsid.c: Likewise.
23155 * sysdeps/posix/wait3.c: Likewise.
23157 * All files with FSF copyright notices: Update copyright dates
23158 using scripts/update-copyrights.
23159 * intl/plural.c: Regenerated.
23160 * locale/programs/charmap-kw.h: Likewise.
23161 * locale/programs/locfile-kw.h: Likewise.
23163 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23168 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23169 calculation loop and add branch prediction.
23171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23172 check access beyond bounds of m1np.
23174 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23176 (__inv): Remove local variable MPTWO to use the global
23178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23182 MP3HALFS static const.
23184 2013-01-01 David S. Miller <davem@davemloft.net>
23186 * po/ca.po: Update from translation team.
23188 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23190 * scripts/update-copyrights: New file.
23191 * Makeconfig: Reformat copyright notice.
23192 * ctype/ctype.h: Likewise.
23193 * debug/swprintf_chk.c: Likewise.
23194 * elf/dl-cache.c: Likewise.
23195 * elf/dl-debug.c: Likewise.
23196 * elf/dl-object.c: Likewise.
23197 * grp/initgroups.c: Likewise.
23198 * hurd/Makefile: Likewise.
23199 * hurd/hurd/signal.h: Likewise.
23200 * hurd/hurdfault.c: Likewise.
23201 * hurd/hurdioctl.c: Likewise.
23202 * hurd/hurdlookup.c: Likewise.
23203 * hurd/intr-msg.c: Likewise.
23204 * iconv/gconv_open.c: Likewise.
23205 * libio/swprintf.c: Likewise.
23206 * locale/lc-ctype.c: Likewise.
23207 * locale/nl_langinfo.c: Likewise.
23208 * mach/Machrules: Likewise.
23209 * mach/Makefile: Likewise.
23210 * malloc/obstack.h: Likewise.
23211 * manual/Makefile: Likewise.
23212 * manual/tsort.awk: Likewise.
23213 * misc/bits/stab.def: Likewise.
23214 * nis/nis_print_group_entry.c: Likewise.
23215 * nis/nis_table.c: Likewise.
23216 * nis/nss_compat/compat-pwd.c: Likewise.
23217 * nis/nss_compat/compat-spwd.c: Likewise.
23218 * po/Makefile: Likewise.
23219 * posix/fnmatch.c: Likewise.
23220 * posix/regex.h: Likewise.
23221 * resolv/Makefile: Likewise.
23222 * resolv/nss_dns/dns-network.c: Likewise.
23223 * resolv/res_hconf.c: Likewise.
23224 * scripts/gen-sorted.awk: Likewise.
23225 * soft-fp/soft-fp.h: Likewise.
23226 * stdio-common/printf.h: Likewise.
23227 * stdlib/monetary.h: Likewise.
23228 * stdlib/random.c: Likewise.
23229 * stdlib/random_r.c: Likewise.
23230 * sysdeps/generic/Makefile: Likewise.
23231 * sysdeps/gnu/Makefile: Likewise.
23232 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23250 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23252 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23253 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23254 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23260 * sysdeps/mach/hurd/errnos.awk: Likewise.
23261 * sysdeps/mach/hurd/fork.c: Likewise.
23262 * sysdeps/mach/hurd/getcwd.c: Likewise.
23263 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23264 * sysdeps/mach/hurd/mmap.c: Likewise.
23265 * sysdeps/mach/hurd/utimes.c: Likewise.
23266 * sysdeps/mach/hurd/xmknod.c: Likewise.
23267 * sysdeps/posix/profil.c: Likewise.
23268 * sysdeps/posix/readdir_r.c: Likewise.
23269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23270 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23271 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23272 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23274 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23275 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23276 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23278 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23279 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23280 * sysdeps/pthread/lio_listio.c: Likewise.
23281 * sysdeps/sparc/dl-procinfo.h: Likewise.
23282 * sysdeps/unix/i386/sysdep.S: Likewise.
23283 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23284 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23285 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23286 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23288 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23289 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23290 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23291 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23292 * sysdeps/wordsize-32/divdi3.c: Likewise.
23293 * time/sys/time.h: Likewise.
23294 * wcsmbs/Makefile: Likewise.
23296 2013-01-01 David S. Miller <davem@davemloft.net>
23298 * po/fr.po: Update from translation team.
23300 * catgets/gencat.c: Update copyright year.
23301 * csu/version.c: Likewise.
23302 * debug/catchsegv.sh: Likewise.
23303 * debug/pcprofiledump.c: Likewise.
23304 * debug/xtrace.sh: Likewise.
23305 * elf/ldconfig.c: Likewise.
23306 * elf/ldd.bash.in: Likewise.
23307 * elf/pldd.c: Likewise.
23308 * elf/sotruss.ksh: Likewise.
23309 * elf/sprof.c: Likewise.
23310 * iconv/iconv_prog.c: Likewise.
23311 * iconv/iconvconfig.c: Likewise.
23312 * locale/programs/locale.c: Likewise.
23313 * locale/programs/localedef.c: Likewise.
23314 * login/programs/pt_chown.c: Likewise.
23315 * malloc/memusage.sh: Likewise.
23316 * malloc/memusagestat.c: Likewise.
23317 * malloc/mtrace.pl: Likewise.
23318 * nscd/nscd.c: Likewise.
23319 * nss/getent.c: Likewise.
23320 * nss/makedb.c: Likewise.
23321 * posix/getconf.c: Likewise.
23323 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23325 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23328 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23330 * math/bits/mathcalls.h (modf): Use __nonnull.
23332 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23334 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23335 (split): Use macro CN instead of the bare value.
23336 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23339 instead of the bare value.
23340 (power1): Likewise.
23342 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23344 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23348 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23350 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23352 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23353 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23355 2012-12-28 Andreas Jaeger <aj@suse.de>
23357 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23358 values are from Linux 3.7.
23360 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23361 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23363 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23365 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23368 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23370 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23371 variables with preprocessor constants.
23372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23373 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23376 2012-12-27 Bruno Haible <bruno@clisp.org>
23379 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23382 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23385 and use variable directly.
23386 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23388 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23390 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23393 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23395 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23396 include directive. Remove local variable MPONE.
23397 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23398 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23399 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23401 2012-12-25 David S. Miller <davem@davemloft.net>
23403 * version.h (RELEASE): Set to "development".
23404 (VERSION): Set to "2.17.90".
23405 * NEWS: Add 2.18 section.
23407 2012-12-21 David S. Miller <davem@davemloft.net>
23409 * po/hr.po: Update from translation team.
23411 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23413 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23415 2012-12-19 Steve Ellcey <sellcey@mips.com>
23417 * NEWS: Mention new memcpy for MIPS.
23419 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23421 * manual/contrib.texi (Contributors): Spelling correction.
23423 2012-12-15 David S. Miller <davem@davemloft.net>
23425 * po/ru.po: Update from translation team.
23427 2012-12-13 David S. Miller <davem@davemloft.net>
23429 * NEWS: Mention IFUNC testsuite enhancements.
23431 * po/pl.po: Update from translation team.
23432 * po/bg.po: Likewise.
23434 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23435 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23437 2012-12-11 David S. Miller <davem@davemloft.net>
23439 * po/sv.po: Update from translation team.
23441 * po/vi.po: Update from translation team.
23443 * po/cs.po: Update from translation team.
23445 * po/de.po: Update from translation team.
23446 * po/eo.po: Likewise.
23447 * po/nl.po: Likewise.
23449 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23452 * manual/argp.texi (Argp Helper Functions): Move node to follow
23453 Argp Parsing State.
23456 * manual/conf.texi (Limits on File System Capacity): Mention if
23457 terminating null is included in the max size.
23459 2012-12-10 Andreas Jaeger <aj@suse.de>
23461 * po/cs.po: Update from translation team.
23463 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23465 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23466 void pointer and cast to uintptr_t.
23467 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23469 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23470 * sysdeps/s390/s390-64/memset.S: Likewise.
23472 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23475 * menual/message.texi (Message Translation): Fix typos.
23476 (Helper programs for gettext): Likewise.
23478 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23481 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23484 2012-12-07 David S. Miller <davem@davemloft.net>
23486 * po/libc.pot: Update.
23488 2012-12-07 Richard Henderson <rth@redhat.com>
23491 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23492 normal/normal case to before the switch.
23493 (_FP_DIV): Likewise.
23495 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23496 Mike Frysinger <vapier@gentoo.org>
23498 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23499 check for __NR_fadvise64_64.
23501 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23503 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23504 0, not just to plain "0" as a statement.
23505 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23508 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23510 * NEWS: Use sourceware.org in Bugzilla URL.
23512 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23515 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23517 * stdio-common/tst-put-error.c (do_test): Add newline to the
23518 padded test to ensure flush.
23520 2012-12-05 Jeff Law <law@redhat.com>
23522 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23524 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23526 * README: Don't refer to ports add-on as distributed separately.
23527 Mention AArch64 in list of systems supported in the ports add-on.
23529 * LICENSES: Add more non-FSF copyright and license notices.
23531 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23534 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23536 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23537 10000 as width of padded output.
23539 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23541 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23543 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23544 variable LX with __attribute__ ((unused)).
23545 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23547 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23550 with __attribute__ ((unused)).
23552 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23554 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23556 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23558 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23559 (CFLAGS-nldbl-acos.c): New variable.
23560 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23561 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23562 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23563 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23564 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23565 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23566 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23567 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23568 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23569 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23570 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23571 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23572 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23573 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23574 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23575 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23576 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23577 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23578 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23579 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23580 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23581 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23582 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23583 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23584 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23585 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23586 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23587 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23588 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23589 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23590 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23591 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23592 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23593 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23594 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23595 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23596 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23597 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23598 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23599 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23600 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23601 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23602 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23603 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23604 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23605 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23606 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23607 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23608 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23609 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23610 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23611 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23612 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23613 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23614 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23615 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23616 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23617 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23618 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23619 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23620 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23621 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23622 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23659 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23662 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23663 whole low double instead of just low 47 bits when splitting values
23666 2012-12-03 Allan McRae <allan@archlinux.org>
23668 * manual/stdio.texi (Predefined Printf Handlers): Remove
23669 @hsep and @vsep usage.
23671 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23673 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23674 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23676 2012-12-03 Jeff Law <law@redhat.com>
23678 * time/sys/time.h (settimeofday): Do not mark TV argument
23681 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23683 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23684 when currently writing and seek to current position when not.
23685 * libio/Makefile (tests): Remove bug-fclose1.
23686 * libio/bug-fclose1.c: Delete.
23688 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23690 * manual/arith.texi (feenableexcept): Fix typo.
23691 (fedisableexcept): Likewise.
23693 2012-11-30 Roland McGrath <roland@hack.frob.com>
23695 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23696 second, differently-typed declaration, rather than a cast.
23698 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23700 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23701 * include/rpc/svc.h: ... here.
23703 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23706 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23707 depending n and resplen2 to catch cases where answer
23710 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23712 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23713 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23715 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23719 2012-11-29 Roland McGrath <roland@hack.frob.com>
23721 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23723 2012-11-28 Jeff Law <law@redhat.com>
23726 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23727 dataset_temporary. Track alloca usage into alloca_used.
23728 If dataset is large allocate and release it via malloc/free.
23730 2012-06-04 Florian Weimer <fweimer@redhat.com>
23733 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23735 2012-11-28 David S. Miller <davem@davemloft.net>
23737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23739 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23742 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23743 of pi/2 rounded to nearest to 64 bits.
23744 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23745 nearest to 64 bits.
23746 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23749 2012-11-28 Jeff Law <law@redhat.com>
23750 Martin Osvald <mosvald@redhat.com>
23753 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23754 * sunrpc/svc.c: Include time.h.
23755 (__svc_accept_failed): New function.
23756 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23757 any reason other than EINTR, call __svc_accept_failed.
23758 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23759 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23761 2012-11-28 Andreas Schwab <schwab@suse.de>
23763 * scripts/abilist.awk: Also handle indirect functions in .opd
23766 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23769 * sysdeps/x86/fpu/powl_helper.c: New file.
23770 * sysdeps/x86/fpu/Makefile: Likewise.
23771 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23773 (__ieee754_powl): Use __powl_helper for finite arguments except
23774 integer exponents below 8.
23775 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23777 (__ieee754_powl): Use __powl_helper for finite arguments except
23778 integer exponents below 8.
23779 * math/libm-test.inc (pow_test): Add more tests and enable some
23780 previously disabled tests.
23781 * sysdeps/i386/fpu/libm-test-ulps: Update.
23782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23784 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23785 Carlos O'Donell <carlos_odonell@mentor.com>
23787 * nss/makedb.c (is_prime): Assert that input is odd and greater
23788 than 4. Note that fact in a comment too.
23789 (next_prime): Add 4 to input.
23791 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23794 * libio/Makefile (tests): Add test case tst-fwrite-error.
23795 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23796 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23797 * libio/tst-fwrite-error.c: New test case.
23799 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23801 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23802 before casting to void *.
23803 * include/libc-internal.h (__pointer_type): New macro.
23804 (__integer_if_pointer_type_sub): Likewise.
23805 (__integer_if_pointer_type): Likewise.
23806 (cast_to_integer): Likewise.
23807 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23808 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23809 before casting to atomic64_t.
23810 (atomic_exchange_acq): Likewise.
23811 (__arch_exchange_and_add_body): Likewise.
23812 (__arch_add_body): Likewise.
23813 (atomic_add_negative): Likewise.
23814 (atomic_add_zero): Likewise.
23816 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23818 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23819 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23820 (add_fdes): Likewise.
23821 (linear_search_fdes): Likewise.
23822 (binary_search_unencoded_fdes): Likewise.
23824 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23826 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23828 2012-11-24 Adam Conrad <adconrad@0c3.net>
23830 * configure.in: Autodetect C++ header directories.
23831 * configure: Regenerated.
23833 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23835 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23837 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23841 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23843 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23844 LDBL_MANT_DIG == 106]: Disable some tests.
23845 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23847 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23852 input for small inputs. Return +/- pi/2 for large inputs.
23853 * math/libm-test.inc (atan_test): Add more tests.
23855 * sysdeps/generic/unwind-dw2-fde-glibc.c
23856 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23857 __attribute__ ((unused)).
23860 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23861 x * y if x and y are nonzero and z is zero.
23864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23865 nonzero exponents with absolute value below 0x1p-117 to +/-
23869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23870 up arguments below 2**-450, not just those below 2**-500.
23871 * math/libm-test.inc (hypot_test): Add another test.
23874 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23875 Return a+b for ratio over 2**120, not 2**60.
23876 * math/libm-test.inc (hypot_test): Add another test.
23878 * math/libm-test.inc (clog_test): Use
23879 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23880 (clog10_test): Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23885 2012-11-22 Andreas Schwab <schwab@suse.de>
23887 * sysdeps/i386/fpu/libm-test-ulps: Update.
23889 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23891 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23892 printf output with newline.
23894 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23897 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23898 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23899 -z nodlopen, -z initfirst and -z execstack support.
23900 * configure: Regenerated.
23902 * elf/elf.h (DF_1_NODIRECT): New macro.
23903 (DF_1_IGNMULDEF): Likewise.
23904 (DF_1_NOKSYMS): Likewise.
23905 (DF_1_NOHDR): Likewise.
23906 (DF_1_EDITED): Likewise.
23907 (DF_1_NORELOC): Likewise.
23908 (DF_1_SYMINTPOSE): Likewise.
23909 (DF_1_GLOBAUDIT): Likewise.
23910 (DF_1_SINGLETON): Likewise.
23911 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23912 DT_1_SUPPORTED_MASK bits.
23913 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23915 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23917 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23919 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23921 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23924 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23925 (sendmmsg): Move declarations...
23926 * socket/sys/socket.h: ... here.
23927 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23928 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23930 * socket/recvmmsg.c: ... this new file.
23931 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23932 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23933 definition of __sendmmsg hidden.
23934 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23935 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23936 Move ENOSYS stub into and include it from...
23937 * socket/sendmmsg.c: ... this new file.
23938 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23939 (sysdep_routines): Move recvmmsg and sendmmsg...
23940 * socket/Makefile (routines): ... here.
23941 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23942 (GLIBC_PRIVATE): Add __sendmmsg.
23943 * include/sys/socket.h (__sendmmsg): Add declarations.
23944 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23947 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23950 variable I1 with __attribute__ ((unused)).
23951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23953 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23955 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23956 DUMMY variables with __attribute__ ((unused)).
23958 * bits/byteswap.h: Include <bits/types.h>.
23959 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23961 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23963 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23964 string_t. Do not manually set errno.
23965 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23966 length with __strnlen. Make sure to both set errno and return it on
23969 2012-11-19 David S. Miller <davem@davemloft.net>
23971 With help from Joseph Myers.
23972 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23973 very large arguments properly.
23974 * math/libm-test.inc (atan_test): New tests.
23975 (atan2_test): New tests.
23976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23979 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23982 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23985 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23986 [POSIX] (EADDRNOTAVAIL): Likewise.
23987 [POSIX] (EAFNOSUPPORT): Likewise.
23988 [POSIX] (EALREADY): Likewise.
23989 [POSIX] (ECONNABORTED): Likewise.
23990 [POSIX] (ECONNREFUSED): Likewise.
23991 [POSIX] (ECONNRESET): Likewise.
23992 [POSIX] (EDESTADDRREQ): Likewise.
23993 [POSIX] (EDQUOT): Likewise.
23994 [POSIX] (EHOSTUNREACH): Likewise.
23995 [POSIX] (EIDRM): Likewise.
23996 [POSIX] (EISCONN): Likewise.
23997 [POSIX] (ELOOP): Likewise.
23998 [POSIX] (EMULTIHOP): Likewise.
23999 [POSIX] (ENETDOWN): Likewise.
24000 [POSIX] (ENETUNREACH): Likewise.
24001 [POSIX] (ENOBUFS): Likewise.
24002 [POSIX] (ENODATA): Likewise.
24003 [POSIX] (ENOLINK): Likewise.
24004 [POSIX] (ENOMSG): Likewise.
24005 [POSIX] (ENOPROTOOPT): Likewise.
24006 [POSIX] (ENOSR): Likewise.
24007 [POSIX] (ENOSTR): Likewise.
24008 [POSIX] (ENOTCONN): Likewise.
24009 [POSIX] (ENOTSOCK): Likewise.
24010 [POSIX] (EOPNOTSUPP): Likewise.
24011 [POSIX] (EOVERFLOW): Likewise.
24012 [POSIX] (EPROTO): Likewise.
24013 [POSIX] (EPROTONOSUPPORT): Likewise.
24014 [POSIX] (EPROTOTYPE): Likewise.
24015 [POSIX] (ESTALE): Likewise.
24016 [POSIX] (ETIME): Likewise.
24017 [POSIX] (ETXTBSY): Likewise.
24018 [POSIX] (EWOULDBLOCK): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24020 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24021 [POSIX] (SEEK_CUR): Likewise.
24022 [POSIX] (SEEK_END): Likewise.
24023 [POSIX || UNIX98] (mode_t): Do not require.
24024 [POSIX] (off_t): Likewise.
24025 [POSIX] (pid_t): Likewise.
24026 [POSIX] (sys/stat.h): Do not allow header.
24027 [POSIX] (unistd.h): Likewise.
24028 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24029 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24030 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24031 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24033 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24034 sigevent): Specify elements.
24035 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24037 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24038 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24040 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24041 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24042 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24043 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24044 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24045 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24046 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24047 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24048 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24049 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24050 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24051 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24052 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24053 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24061 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24062 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24063 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24065 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24066 Specify lower bound on value.
24067 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24068 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24069 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24070 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24071 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24072 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24073 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24074 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24076 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24078 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24079 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24080 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24081 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24082 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24083 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24084 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24085 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24086 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24087 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24088 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24089 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24090 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24091 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24092 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24093 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24095 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24097 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24098 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24099 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24101 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24105 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24106 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24107 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24109 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24116 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24117 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24118 specify as optional.
24119 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24122 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24123 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24124 [XPG3] (NL_LANGMAX): Likewise.
24125 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24126 [POSIX || XPG3] (NL_NMAX): Likewise.
24127 [POSIX || XPG3] (NL_SETMAX): Likewise.
24128 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24129 [XPG3] (NZERO): Likewise.
24130 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24131 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24132 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24133 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24134 (REG_ERANGE): Expect.
24135 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24137 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24138 Use (void) in prototype.
24139 [POSIX] (*_t): Allow.
24140 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24141 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24142 (WRDE_BADVAL): Expect.
24144 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24146 [XPG3 || XPG4] (O_RSYNC): Likewise.
24147 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24149 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24150 [XPG3 || XPG4] (sigqueue): Likewise.
24151 [XPG3 || XPG4] (sigtimedwait): Likewise.
24152 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24153 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24154 [XPG3 || XPG4] (vsnprintf): Likewise.
24155 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24157 [XPG3 || XPG4] (blksize_t): Likewise.
24158 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24160 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24161 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24162 [XPG3 || XPG4] (struct itimerspec): Likewise.
24163 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24164 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24165 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24166 [XPG3 || XPG4] (clockid_t): Likewise.
24167 [XPG3 || XPG4] (timer_t): Likewise.
24168 [XPG3 || XPG4] (clock_getres): Likewise.
24169 [XPG3 || XPG4] (clock_gettime): Likewise.
24170 [XPG3 || XPG4] (clock_settime): Likewise.
24171 [XPG3 || XPG4] (nanosleep): Likewise.
24172 [XPG3 || XPG4] (timer_create): Likewise.
24173 [XPG3 || XPG4] (timer_delete): Likewise.
24174 [XPG3 || XPG4] (timer_gettime): Likewise.
24175 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24176 [XPG3 || XPG4] (timer_settime): Likewise.
24177 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24178 [XPG3 || XPG4] (getlogin_r): Likewise.
24179 [XPG3 || XPG4] (pread): Likewise.
24180 [XPG3 || XPG4] (pthread_atfork): Likewise.
24181 [XPG3 || XPG4] (pwrite): Likewise.
24184 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24187 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24189 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24190 finalizing MALLSTREAM.
24192 * sysdeps/mach/hurd/syncfs.c: New file.
24194 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24197 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24198 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24199 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24200 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24201 (_nss_dns_gethostbyname4_r): Likewise.
24202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24203 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24205 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24208 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24210 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24212 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24213 * elf/cache.c (print_entry): Print ",AArch64" for
24216 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24217 * elf/cache.c (print_entry): Print ",hard-float" for
24220 2012-11-18 David S. Miller <davem@davemloft.net>
24222 With help from Joseph Myers.
24223 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24225 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24227 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24228 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24231 * math/libm-test.inc (y0_test): New tests.
24232 (y1_test): New tests.
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24237 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24239 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24241 * configure: Regenerated.
24243 2012-11-17 David S. Miller <davem@davemloft.net>
24246 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24247 nonzero exponents with absolute value below 0x1p-128 to +/-
24250 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24252 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24254 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24256 * posix/getconf-speclist.c: New file.
24257 * posix/posix-envs.def: Likewise.
24258 * posix/confstr.c (START_ENV_GROUP): New macro.
24259 (END_ENV_GROUP): Likewise.
24260 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24261 (KNOWN_PRESENT_ENV_STRING): Likewise.
24262 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24263 (UNKNOWN_ENVIRONMENT): Likewise.
24264 (confstr): Include posix-envs.def instead of handling
24265 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24266 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24267 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24268 (END_ENV_GROUP): Likewise.
24269 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24270 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24271 (UNKNOWN_ENVIRONMENT): Likewise.
24272 (__sysconf): Include posix-envs.def instead of handling associated
24273 cases directly here.
24274 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24275 preprocessing getconf-speclist.c rather than running getconf or
24276 generating empty file.
24278 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24280 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24282 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24285 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24287 2012-11-16 David S. Miller <davem@davemloft.net>
24289 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24290 smaller than LDBL_EPSILON/2.0L, just return xm1.
24292 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24294 * elf/tst-array1.c (init): Set constructor priority to 1000.
24295 (fini): Set destructor priority to 1000.
24296 * elf/tst-array2dep.c: Likewise.
24298 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24301 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24302 (_IO_new_file_xsputn): Also return EOF if none of the input
24303 data was written when overflow failed.
24304 * libio/iopadn.c (_IO_padn): Likewise.
24305 * libio/iowpadn.c (_IO_wpadn): Likewise.
24306 * stdio-common/tst-put-error.c: Add copyright notice.
24307 (do_test): Add case for printing padded string.
24308 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24309 _IO_padn returned error.
24310 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24311 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24314 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24316 * libio/libioP.h: Add comment note that the references to C++
24317 bits are now obsolete.
24319 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24321 * math/libm-test.inc (check_complex): Use asprintf.
24323 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24325 * debug/pcprofiledump.c (print_version): Update copyright year.
24326 * malloc/memusagestat.c (print_version): Likewise.
24328 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24331 * elf/Makefile (tests): Add tst-audit8.
24332 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24333 ($(objpfx)tst-audit8.out): New target.
24334 (tst-audit8-ENV): New variable.
24335 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24336 audit if l_reloc_result is NULL.
24337 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24338 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24339 * elf/tst-audit8.c: New file.
24341 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24343 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24344 * misc/Makefile (CFLAGS-select.c): Define.
24345 * posix/Makefile (CFLAGS-pause.c): Define.
24347 2012-11-13 David S. Miller <davem@davemloft.net>
24349 * crypt/Makefile: Move test targets after toplevel Rules
24350 inclusion. Grab any necessary sysdep routines when linking.
24351 * crypt/md5.c (md5_process_block): Remove define, we will always
24352 name it __md5_process_block.
24353 (md5_finish_ctx): Update md5_process_block call.
24354 (md5_stream): Likewise.
24355 (md5_process_bytes): Likewise.
24356 (md5_process_block): Rename to __md5_process_block and move to ...
24357 * crypt/md5-block.c: ... here.
24358 * crypt/sha256.c (sha256_process_block): Move to ...
24359 * crypt/sha256-block.c: ... here.
24360 * crypt/sha512.c (sha512_process_block): Move to ...
24361 * crypt/sha512-block.c: ... here.
24362 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24364 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24365 * sysdeps/sparc/sparc64/multiarch/Makefile
24366 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24368 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24369 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24371 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24372 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24373 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24374 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24375 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24376 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24377 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24378 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24382 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24386 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24388 * timezone/tzselect.ksh: Update from tzcode git revision
24389 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24390 * timezone/zdump.c: Likewise.
24391 * timezone/zic.c: Likewise.
24392 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24393 in TZVERSION setting, not $(PKGVERSION).
24394 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24395 REPORT_BUGS_TO settings.
24398 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24401 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24403 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24404 detection to immediately after _FP_ROUND().
24405 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24408 2012-11-11 David S. Miller <davem@davemloft.net>
24410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24412 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24413 __close rather than their public counterparts.
24415 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24417 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24419 [UNIX98] (sem_timedwait): Do not expect.
24420 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24421 [XPG4 || UNIX98] (sockatmark): Do not expect.
24422 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24423 (clock_getcpuclockid): Do not expect.
24424 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24425 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24427 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24428 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24429 [UNIX98] (vwscanf): Likewise.
24430 [UNIX98] (vswscanf): Likewise.
24432 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24434 * timezone/version.h: Remove file.
24435 * timezone/README: Do not refer to version.h.
24436 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24437 $(objpfx)version.h.
24438 ($(objpfx)zdump.o): Likewise.
24439 ($(objpfx)version.h): New target.
24441 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24443 * timezone/README: Don't mention modification to tzselect.ksh.
24444 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24445 work on unmodified tzselect.ksh. Substitute version numbers in
24448 * Makefile (format-me): Remove.
24449 (INSTALL): Adjust indentation. Use commands directly instead of
24450 using $(format-me).
24452 * aclocal.m4 (ACX_PKGVERSION): New macro.
24453 (ACX_BUGURL): Likewise.
24454 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24455 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24456 (REPORT_BUGS_TO): Likewise.
24457 * configure: Regenerated.
24458 * config.h.in (PKGVERSION): New macro.
24459 (REPORT_BUGS_TO): Likewise.
24460 * config.make.in (PKGVERSION): New variable.
24461 (PKGVERSION_TEXI): Likewise.
24462 (REPORT_BUGS_TO): Likewise.
24463 (REPORT_BUGS_TEXI): Likewise.
24464 * Makefile (format-me): Use -I$(common-objpfx)manual.
24465 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24466 ($(common-objpfx)manual/%): New target.
24467 (manual/%): Remove target.
24468 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24469 (print_version): Use PKGVERSION.
24470 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24471 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24472 and REPORT_BUGS_TO.
24473 ($(objpfx)xtrace): Likewise.
24474 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24475 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24476 (print_version): Use PKGVERSION.
24477 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24478 (do_version): Use PKGVERSION.
24479 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24481 (common-ldd-rewrite): Likewise.
24482 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24483 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24484 (print_version): Use PKGVERSION.
24485 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24486 * elf/pldd.c (argp_program_bug_address): Remove variable.
24487 (more_help): New function.
24488 (argp): Use more_help.
24489 (print_version): Use PKGVERSION.
24490 * elf/sln.c (main): Use PKGVERSION.
24491 (usage): Use REPORT_BUGS_TO.
24492 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24493 (top level): Use PKGVERSION.
24494 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24495 (print_version): Use PKGVERSION.
24496 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24497 (print_version): Use PKGVERSION.
24498 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24499 (print_version): Use PKGVERSION.
24500 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24501 (print_version): Use PKGVERSION.
24502 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24503 (print_version): Use PKGVERSION.
24504 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24505 (print_version): Use PKGVERSION.
24506 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24508 ($(objpfx)memusage): Likewise.
24509 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24510 (do_version): Use PKGVERSION.
24511 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24512 (print_version): Use PKGVERSION.
24513 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24514 ($PKGVERSION): New variable.
24515 ($REPORT_BUGS_TO): Likewise.
24516 (usage): Use $REPORT_BUGS_TO.
24517 (top level): Use $PKGVERSION.
24518 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24519 ($(objpfx)pkgvers.texi): New rule.
24520 ($(objpfx)stamp-pkgvers): Likewise.
24521 * manual/install.texi: Include pkgvers.texi.
24522 (--with-pkgversion): Document new configure option.
24523 (--with-bugurl): Likewise.
24524 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24525 than necessarily for this particular distribution. Use
24526 REPORT_BUGS_TO for where to report bugs.
24527 * INSTALL: Regenerated.
24528 * manual/libc.texinfo: Include pkgvers.texi.
24529 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24530 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24531 (print_version): Use PKGVERSION.
24532 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24533 (print_version): Use PKGVERSION.
24534 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24535 (print_version): Use PKGVERSION.
24536 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24537 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24539 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24540 (print_version): Use PKGVERSION.
24541 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24542 (print_version): Use PKGVERSION.
24543 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24546 * timezone/checktab.awk: Update from tzcode 2012i.
24547 * timezone/ialloc.c: Likewise.
24548 * timezone/private.h: Likewise.
24549 * timezone/scheck.c: Likewise.
24550 * timezone/tzfile.h: Likewise.
24551 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24552 (TZVERSION): Hardcode tzcode version number.
24553 * timezone/zdump.c: Update from tzcode 2012i.
24554 * timezone/zic.c: Likewise.
24555 * timezone/version.h: New file.
24556 * timezone/README: Describe version.h. Update upstream location.
24559 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24560 (mktemp): Enable declaration.
24561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24578 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24579 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24580 for copies of such integer values.
24581 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24582 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24584 2012-11-09 Andreas Jaeger <aj@suse.de>
24586 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24587 definitions and declarations that are provided by
24588 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24590 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24592 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24593 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24594 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24597 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24599 * elf/elf.h: Update comment before AArch64 relocations.
24601 2012-11-07 David S. Miller <davem@davemloft.net>
24603 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24604 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24605 (__start_context): Declare.
24606 (__makecontext_ret): Delete.
24607 (__makecontext): Hook up __start_context instead of
24609 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24610 (sysdep_routines): Add __start_context when in stdlib.
24612 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24614 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24615 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24616 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24618 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24619 (READELF): New variable. Use it instead of hardcoded "readelf".
24621 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24623 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24624 * sysdeps/x86/Makefile: Here.
24625 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24626 * sysdeps/x86/tst-xmmymm.sh: This.
24628 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24630 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24632 [UNIX98] (pthread_barrier_t): Do not expect.
24633 [UNIX98] (pthread_barrierattr_t): Likewise.
24634 [UNIX98] (pthread_spinlock_t): Likewise.
24635 [UNIX98] (pthread_barrier_destroy): Likewise.
24636 [UNIX98] (pthread_barrier_init): Likewise.
24637 [UNIX98] (pthread_barrier_wait): Likewise.
24638 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24639 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24640 [UNIX98] (pthread_barrierattr_init): Likewise.
24641 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24642 [UNIX98] (pthread_getcpuclockid): Likewise.
24643 [UNIX98] (pthread_mutex_timedlock): Likewise.
24644 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24645 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24646 [UNIX98] (pthread_sigmask): Likewise.
24647 [UNIX98] (pthread_spin_destroy): Likewise.
24648 [UNIX98] (pthread_spin_init): Likewise.
24649 [UNIX98] (pthread_spin_lock): Likewise.
24650 [UNIX98] (pthread_spin_trylock): Likewise.
24651 [UNIX98] (pthread_spin_unlock): Likewise.
24652 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24654 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24655 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24656 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24657 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24658 [XPG3 || XPG4] (pthread_key_t): Likewise.
24659 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24660 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24661 [XPG3 || XPG4] (pthread_once_t): Likewise.
24662 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24663 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24664 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24665 [XPG3 || XPG4] (pthread_t): Likewise.
24667 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24669 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24671 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24672 Change function return type to int.
24674 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24675 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24676 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24677 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24678 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24679 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24680 [!POSIX] (posix_madvise): Likewise.
24681 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24683 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24684 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24685 (mode_t): Likewise.
24686 (posix_mem_offset): Likewise.
24687 (posix_typed_mem_get_info): Likewise.
24688 (posix_typed_mem_open): Likewise.
24690 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24691 Change condition to [XOPEN2K8].
24693 * conform/conformtest.pl: Preprocess allow-header data with -x c
24694 instead of from stdin.
24695 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24696 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24697 [C99-based standards] (cerfc): Likewise.
24698 [C99-based standards] (cexp2): Likewise.
24699 [C99-based standards] (cexpm1): Likewise.
24700 [C99-based standards] (clog10): Likewise.
24701 [C99-based standards] (clog1p): Likewise.
24702 [C99-based standards] (clog2): Likewise.
24703 [C99-based standards] (clgamma): Likewise.
24704 [C99-based standards] (ctgamma): Likewise.
24705 [C99-based standards] (cerff): Likewise.
24706 [C99-based standards] (cerfcf): Likewise.
24707 [C99-based standards] (cexp2f): Likewise.
24708 [C99-based standards] (cexpm1f): Likewise.
24709 [C99-based standards] (clog10f): Likewise.
24710 [C99-based standards] (clog1pf): Likewise.
24711 [C99-based standards] (clog2f): Likewise.
24712 [C99-based standards] (clgammaf): Likewise.
24713 [C99-based standards] (ctgammaf): Likewise.
24714 [C99-based standards] (cerfl): Likewise.
24715 [C99-based standards] (cerfcl): Likewise.
24716 [C99-based standards] (cexp2l): Likewise.
24717 [C99-based standards] (cexpm1l): Likewise.
24718 [C99-based standards] (clog10l): Likewise.
24719 [C99-based standards] (clog1pl): Likewise.
24720 [C99-based standards] (clog2l): Likewise.
24721 [C99-based standards] (clgammal): Likewise.
24722 [C99-based standards] (ctgammal): Likewise.
24723 * conform/data/inttypes.h-data [C99-based standards]: Include
24724 stdint.h-data. Remove all expectations for stdint.h contents.
24725 [C99-based standards] (PRI*): Do not allow.
24726 [C99-based standards] (SCN*): Likewise.
24727 [C99-based standards] (*_t): Likewise.
24728 [C99-based-standards] (PRId8): Expect macro.
24729 [C99-based-standards] (PRIi8): Likewise.
24730 [C99-based-standards] (PRIo8): Likewise.
24731 [C99-based-standards] (PRIu8): Likewise.
24732 [C99-based-standards] (PRIx8): Likewise.
24733 [C99-based-standards] (PRIX8): Likewise.
24734 [C99-based-standards] (SCNd8): Likewise.
24735 [C99-based-standards] (SCNi8): Likewise.
24736 [C99-based-standards] (SCNo8): Likewise.
24737 [C99-based-standards] (SCNu8): Likewise.
24738 [C99-based-standards] (SCNx8): Likewise.
24739 [C99-based-standards] (PRIdLEAST8): Likewise.
24740 [C99-based-standards] (PRIiLEAST8): Likewise.
24741 [C99-based-standards] (PRIoLEAST8): Likewise.
24742 [C99-based-standards] (PRIuLEAST8): Likewise.
24743 [C99-based-standards] (PRIxLEAST8): Likewise.
24744 [C99-based-standards] (PRIXLEAST8): Likewise.
24745 [C99-based-standards] (SCNdLEAST8): Likewise.
24746 [C99-based-standards] (SCNiLEAST8): Likewise.
24747 [C99-based-standards] (SCNoLEAST8): Likewise.
24748 [C99-based-standards] (SCNuLEAST8): Likewise.
24749 [C99-based-standards] (SCNxLEAST8): Likewise.
24750 [C99-based-standards] (PRIdFAST8): Likewise.
24751 [C99-based-standards] (PRIiFAST8): Likewise.
24752 [C99-based-standards] (PRIoFAST8): Likewise.
24753 [C99-based-standards] (PRIuFAST8): Likewise.
24754 [C99-based-standards] (PRIxFAST8): Likewise.
24755 [C99-based-standards] (PRIXFAST8): Likewise.
24756 [C99-based-standards] (SCNdFAST8): Likewise.
24757 [C99-based-standards] (SCNiFAST8): Likewise.
24758 [C99-based-standards] (SCNoFAST8): Likewise.
24759 [C99-based-standards] (SCNuFAST8): Likewise.
24760 [C99-based-standards] (SCNxFAST8): Likewise.
24761 [C99-based-standards] (PRId16): Likewise.
24762 [C99-based-standards] (PRIi16): Likewise.
24763 [C99-based-standards] (PRIo16): Likewise.
24764 [C99-based-standards] (PRIu16): Likewise.
24765 [C99-based-standards] (PRIx16): Likewise.
24766 [C99-based-standards] (PRIX16): Likewise.
24767 [C99-based-standards] (SCNd16): Likewise.
24768 [C99-based-standards] (SCNi16): Likewise.
24769 [C99-based-standards] (SCNo16): Likewise.
24770 [C99-based-standards] (SCNu16): Likewise.
24771 [C99-based-standards] (SCNx16): Likewise.
24772 [C99-based-standards] (PRIdLEAST16): Likewise.
24773 [C99-based-standards] (PRIiLEAST16): Likewise.
24774 [C99-based-standards] (PRIoLEAST16): Likewise.
24775 [C99-based-standards] (PRIuLEAST16): Likewise.
24776 [C99-based-standards] (PRIxLEAST16): Likewise.
24777 [C99-based-standards] (PRIXLEAST16): Likewise.
24778 [C99-based-standards] (SCNdLEAST16): Likewise.
24779 [C99-based-standards] (SCNiLEAST16): Likewise.
24780 [C99-based-standards] (SCNoLEAST16): Likewise.
24781 [C99-based-standards] (SCNuLEAST16): Likewise.
24782 [C99-based-standards] (SCNxLEAST16): Likewise.
24783 [C99-based-standards] (PRIdFAST16): Likewise.
24784 [C99-based-standards] (PRIiFAST16): Likewise.
24785 [C99-based-standards] (PRIoFAST16): Likewise.
24786 [C99-based-standards] (PRIuFAST16): Likewise.
24787 [C99-based-standards] (PRIxFAST16): Likewise.
24788 [C99-based-standards] (PRIXFAST16): Likewise.
24789 [C99-based-standards] (SCNdFAST16): Likewise.
24790 [C99-based-standards] (SCNiFAST16): Likewise.
24791 [C99-based-standards] (SCNoFAST16): Likewise.
24792 [C99-based-standards] (SCNuFAST16): Likewise.
24793 [C99-based-standards] (SCNxFAST16): Likewise.
24794 [C99-based-standards] (PRId32): Likewise.
24795 [C99-based-standards] (PRIi32): Likewise.
24796 [C99-based-standards] (PRIo32): Likewise.
24797 [C99-based-standards] (PRIu32): Likewise.
24798 [C99-based-standards] (PRIx32): Likewise.
24799 [C99-based-standards] (PRIX32): Likewise.
24800 [C99-based-standards] (SCNd32): Likewise.
24801 [C99-based-standards] (SCNi32): Likewise.
24802 [C99-based-standards] (SCNo32): Likewise.
24803 [C99-based-standards] (SCNu32): Likewise.
24804 [C99-based-standards] (SCNx32): Likewise.
24805 [C99-based-standards] (PRIdLEAST32): Likewise.
24806 [C99-based-standards] (PRIiLEAST32): Likewise.
24807 [C99-based-standards] (PRIoLEAST32): Likewise.
24808 [C99-based-standards] (PRIuLEAST32): Likewise.
24809 [C99-based-standards] (PRIxLEAST32): Likewise.
24810 [C99-based-standards] (PRIXLEAST32): Likewise.
24811 [C99-based-standards] (SCNdLEAST32): Likewise.
24812 [C99-based-standards] (SCNiLEAST32): Likewise.
24813 [C99-based-standards] (SCNoLEAST32): Likewise.
24814 [C99-based-standards] (SCNuLEAST32): Likewise.
24815 [C99-based-standards] (SCNxLEAST32): Likewise.
24816 [C99-based-standards] (PRIdFAST32): Likewise.
24817 [C99-based-standards] (PRIiFAST32): Likewise.
24818 [C99-based-standards] (PRIoFAST32): Likewise.
24819 [C99-based-standards] (PRIuFAST32): Likewise.
24820 [C99-based-standards] (PRIxFAST32): Likewise.
24821 [C99-based-standards] (PRIXFAST32): Likewise.
24822 [C99-based-standards] (SCNdFAST32): Likewise.
24823 [C99-based-standards] (SCNiFAST32): Likewise.
24824 [C99-based-standards] (SCNoFAST32): Likewise.
24825 [C99-based-standards] (SCNuFAST32): Likewise.
24826 [C99-based-standards] (SCNxFAST32): Likewise.
24827 [C99-based-standards] (PRId64): Likewise.
24828 [C99-based-standards] (PRIi64): Likewise.
24829 [C99-based-standards] (PRIo64): Likewise.
24830 [C99-based-standards] (PRIu64): Likewise.
24831 [C99-based-standards] (PRIx64): Likewise.
24832 [C99-based-standards] (PRIX64): Likewise.
24833 [C99-based-standards] (SCNd64): Likewise.
24834 [C99-based-standards] (SCNi64): Likewise.
24835 [C99-based-standards] (SCNo64): Likewise.
24836 [C99-based-standards] (SCNu64): Likewise.
24837 [C99-based-standards] (SCNx64): Likewise.
24838 [C99-based-standards] (PRIdLEAST64): Likewise.
24839 [C99-based-standards] (PRIiLEAST64): Likewise.
24840 [C99-based-standards] (PRIoLEAST64): Likewise.
24841 [C99-based-standards] (PRIuLEAST64): Likewise.
24842 [C99-based-standards] (PRIxLEAST64): Likewise.
24843 [C99-based-standards] (PRIXLEAST64): Likewise.
24844 [C99-based-standards] (SCNdLEAST64): Likewise.
24845 [C99-based-standards] (SCNiLEAST64): Likewise.
24846 [C99-based-standards] (SCNoLEAST64): Likewise.
24847 [C99-based-standards] (SCNuLEAST64): Likewise.
24848 [C99-based-standards] (SCNxLEAST64): Likewise.
24849 [C99-based-standards] (PRIdFAST64): Likewise.
24850 [C99-based-standards] (PRIiFAST64): Likewise.
24851 [C99-based-standards] (PRIoFAST64): Likewise.
24852 [C99-based-standards] (PRIuFAST64): Likewise.
24853 [C99-based-standards] (PRIxFAST64): Likewise.
24854 [C99-based-standards] (PRIXFAST64): Likewise.
24855 [C99-based-standards] (SCNdFAST64): Likewise.
24856 [C99-based-standards] (SCNiFAST64): Likewise.
24857 [C99-based-standards] (SCNoFAST64): Likewise.
24858 [C99-based-standards] (SCNuFAST64): Likewise.
24859 [C99-based-standards] (SCNxFAST64): Likewise.
24860 [C99-based-standards] (PRIdMAX): Likewise.
24861 [C99-based-standards] (PRIiMAX): Likewise.
24862 [C99-based-standards] (PRIoMAX): Likewise.
24863 [C99-based-standards] (PRIuMAX): Likewise.
24864 [C99-based-standards] (PRIxMAX): Likewise.
24865 [C99-based-standards] (PRIXMAX): Likewise.
24866 [C99-based-standards] (SCNdMAX): Likewise.
24867 [C99-based-standards] (SCNiMAX): Likewise.
24868 [C99-based-standards] (SCNoMAX): Likewise.
24869 [C99-based-standards] (SCNuMAX): Likewise.
24870 [C99-based-standards] (SCNxMAX): Likewise.
24871 [C99-based-standards] (PRIdPTR): Likewise.
24872 [C99-based-standards] (PRIiPTR): Likewise.
24873 [C99-based-standards] (PRIoPTR): Likewise.
24874 [C99-based-standards] (PRIuPTR): Likewise.
24875 [C99-based-standards] (PRIxPTR): Likewise.
24876 [C99-based-standards] (PRIXPTR): Likewise.
24877 [C99-based-standards] (SCNdPTR): Likewise.
24878 [C99-based-standards] (SCNiPTR): Likewise.
24879 [C99-based-standards] (SCNoPTR): Likewise.
24880 [C99-based-standards] (SCNuPTR): Likewise.
24881 [C99-based-standards] (SCNxPTR): Likewise.
24882 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24884 * conform/data/stdint.h-data: Update comments to clarify
24886 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24888 [C99-based standards] (INT8_MAX): Likewise.
24889 [C99-based standards] (INT16_MIN): Likewise.
24890 [C99-based standards] (INT16_MAX): Likewise.
24891 [C99-based standards] (INT32_MIN): Likewise.
24892 [C99-based standards] (INT32_MAX): Likewise.
24893 [C99-based standards] (INT64_MIN): Likewise.
24894 [C99-based standards] (INT64_MAX): Likewise.
24895 [C99-based standards] (UINT8_MAX): Likewise.
24896 [C99-based standards] (UINT16_MAX): Likewise.
24897 [C99-based standards] (UINT32_MAX): Likewise.
24898 [C99-based standards] (UINT64_MAX): Likewise.
24899 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24900 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24901 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24902 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24903 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24904 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24905 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24906 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24907 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24908 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24909 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24910 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24911 [C99-based standards] (INT_FAST8_MIN): Likewise.
24912 [C99-based standards] (INT_FAST8_MAX): Likewise.
24913 [C99-based standards] (INT_FAST16_MIN): Likewise.
24914 [C99-based standards] (INT_FAST16_MAX): Likewise.
24915 [C99-based standards] (INT_FAST32_MIN): Likewise.
24916 [C99-based standards] (INT_FAST32_MAX): Likewise.
24917 [C99-based standards] (INT_FAST64_MIN): Likewise.
24918 [C99-based standards] (INT_FAST64_MAX): Likewise.
24919 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24920 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24921 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24922 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24923 [C99-based standards] (INTPTR_MIN): Likewise.
24924 [C99-based standards] (INTPTR_MAX): Likewise.
24925 [C99-based standards] (UINTPTR_MAX): Likewise.
24926 [C99-based standards] (INTMAX_MIN): Likewise.
24927 [C99-based standards] (INTMAX_MAX): Likewise.
24928 [C99-based standards] (UINTMAX_MAX): Likewise.
24929 [C99-based standards] (PTRDIFF_MIN): Likewise.
24930 [C99-based standards] (PTRDIFF_MAX): Likewise.
24931 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24932 [C99-based standards] (SIZE_MAX): Likewise.
24933 [C99-based standards] (WCHAR_MAX): Likewise.
24934 [C99-based standards] (WINT_MAX): Likewise.
24935 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24936 constraint on value.
24937 [C99-based standards] (WCHAR_MIN): Likewise.
24938 [C99-based standards] (WINT_MIN): Likewise.
24939 [C99-based standards] (*_t): Allow.
24940 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24941 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24942 Include math.h-data and complex.h-data. Remove all expectations
24943 of math.h and complex.h contents.
24944 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24946 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24947 (struct tm): Expect tag.
24948 [C99-based-standards] (wcstof): Expect function.
24949 [C99-based-standards] (wcstold): Likewise.
24950 [C99-based-standards] (wcstoll): Likewise.
24951 [C99-based-standards] (wcstoull): Likewise.
24952 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24953 macro-int-constant. Specify type.
24954 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24955 constraint on value.
24956 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24958 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24960 [ISO C standards]: Do not allow headers.
24961 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24962 wcs[abcdefghijklmnopqrstuvwxyz]*.
24963 [ISO C standards] (*_t): Do not allow.
24964 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24966 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24967 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24969 [ISO C standards]: Do not allow headers.
24970 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24971 is[abcdefghijklmnopqrstuvwxyz]*.
24972 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24973 to[abcdefghijklmnopqrstuvwxyz]*.
24974 [ISO C standards] (*_t): Do not allow.
24975 * conform/data/stdalign.h-data: New file.
24976 * conform/data/stdbool.h-data: Likewise.
24977 * conform/data/stdnoreturn.h-data: Likewise.
24979 2012-11-07 Roland McGrath <roland@hack.frob.com>
24982 * manual/filesys.texi (Directory Entries): Typo fix.
24983 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24985 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24987 * elf/elf.h (EM_AARCH64): New macro.
24988 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24989 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24990 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24991 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24992 (R_AARCH64_TLSDESC): Likewise.
24993 (NT_ARM_TLS): Likewise.
24994 (NT_ARM_HW_BREAK): Likewise.
24995 (NT_ARM_HW_WATCH): Likewise.
24997 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25000 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25001 (__ieee754_powl): Saturate nonzero exponents with absolute value
25002 below 0x1p-79 to +/- 0x1p-79.
25003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25004 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25005 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25006 nonzero exponents with absolute value below 0x1p-32 to +/-
25008 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25009 (__ieee754_powl): Saturate nonzero exponents with absolute value
25010 below 0x1p-79 to +/- 0x1p-79.
25011 * math/libm-test.inc (pow_test): Add more tests.
25013 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25015 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25016 _dl_s390_cap_flags with kernel. Increase string length.
25017 (_dl_s390_platforms): Add z196 and zEC12.
25019 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25021 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25022 Change XOPEN21K to XOPEN2K.
25024 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25026 * string/memmove.c: Use memcpy when possible.
25028 2012-11-06 Andreas Jaeger <aj@suse.de>
25030 * po/eo.po: Update from translation team.
25032 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25036 exponent and small x and y exponents, scale x or y up. Increase
25037 by 2 the exponent used in scaling up.
25038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25040 * math/libm-test.inc (fma_test): Add more tests.
25041 (fma_test_towardzero): Likewise.
25042 (fma_test_downward): Likewise.
25043 (fma_test_upward): Likewise.
25045 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25048 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25052 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25053 namespace for names of struct fields.
25054 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25056 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25057 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25059 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25062 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25064 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25066 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25070 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25073 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25077 definitely overflow as x * y not x * y + z.
25078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25079 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25080 * math/libm-test.inc (fma_test): Add more tests.
25081 (fma_test_towardzero): Likewise.
25082 (fma_test_downward): Likewise.
25083 (fma_test_upward): Likewise.
25085 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25089 * include/stub-tag.h: Remove file.
25090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25092 * manual/maint.texi (Porting): Don't reference it.
25093 * Makerules ($(objpfx)stubs): Likewise.
25094 * dirent/closedir.c: Don't include <stub-tag.h>.
25095 * dirent/dirfd.c: Likewise.
25096 * dirent/fdopendir.c: Likewise.
25097 * dirent/getdents.c: Likewise.
25098 * dirent/getdents64.c: Likewise.
25099 * dirent/opendir.c: Likewise.
25100 * dirent/readdir.c: Likewise.
25101 * dirent/readdir64.c: Likewise.
25102 * dirent/readdir64_r.c: Likewise.
25103 * dirent/readdir_r.c: Likewise.
25104 * dirent/rewinddir.c: Likewise.
25105 * dirent/seekdir.c: Likewise.
25106 * dirent/telldir.c: Likewise.
25107 * gmon/profil.c: Likewise.
25108 * grp/setgroups.c: Likewise.
25109 * inet/if_index.c: Likewise.
25110 * io/access.c: Likewise.
25111 * io/chdir.c: Likewise.
25112 * io/chmod.c: Likewise.
25113 * io/chown.c: Likewise.
25114 * io/close.c: Likewise.
25115 * io/dup.c: Likewise.
25116 * io/dup2.c: Likewise.
25117 * io/dup3.c: Likewise.
25118 * io/euidaccess.c: Likewise.
25119 * io/faccessat.c: Likewise.
25120 * io/fchdir.c: Likewise.
25121 * io/fchmod.c: Likewise.
25122 * io/fchmodat.c: Likewise.
25123 * io/fchown.c: Likewise.
25124 * io/fchownat.c: Likewise.
25125 * io/fcntl.c: Likewise.
25126 * io/flock.c: Likewise.
25127 * io/fstatfs.c: Likewise.
25128 * io/fstatfs64.c: Likewise.
25129 * io/fstatvfs.c: Likewise.
25130 * io/fstatvfs64.c: Likewise.
25131 * io/futimens.c: Likewise.
25132 * io/fxstat.c: Likewise.
25133 * io/fxstat64.c: Likewise.
25134 * io/fxstatat.c: Likewise.
25135 * io/fxstatat64.c: Likewise.
25136 * io/getcwd.c: Likewise.
25137 * io/isatty.c: Likewise.
25138 * io/lchmod.c: Likewise.
25139 * io/lchown.c: Likewise.
25140 * io/link.c: Likewise.
25141 * io/linkat.c: Likewise.
25142 * io/lseek.c: Likewise.
25143 * io/lseek64.c: Likewise.
25144 * io/lxstat64.c: Likewise.
25145 * io/mkdir.c: Likewise.
25146 * io/mkdirat.c: Likewise.
25147 * io/mkfifo.c: Likewise.
25148 * io/mkfifoat.c: Likewise.
25149 * io/open.c: Likewise.
25150 * io/open64.c: Likewise.
25151 * io/openat.c: Likewise.
25152 * io/openat64.c: Likewise.
25153 * io/pipe.c: Likewise.
25154 * io/pipe2.c: Likewise.
25155 * io/poll.c: Likewise.
25156 * io/posix_fadvise.c: Likewise.
25157 * io/posix_fadvise64.c: Likewise.
25158 * io/posix_fallocate.c: Likewise.
25159 * io/posix_fallocate64.c: Likewise.
25160 * io/read.c: Likewise.
25161 * io/readlink.c: Likewise.
25162 * io/readlinkat.c: Likewise.
25163 * io/rmdir.c: Likewise.
25164 * io/sendfile.c: Likewise.
25165 * io/sendfile64.c: Likewise.
25166 * io/statfs.c: Likewise.
25167 * io/statfs64.c: Likewise.
25168 * io/statvfs.c: Likewise.
25169 * io/statvfs64.c: Likewise.
25170 * io/symlink.c: Likewise.
25171 * io/symlinkat.c: Likewise.
25172 * io/ttyname.c: Likewise.
25173 * io/ttyname_r.c: Likewise.
25174 * io/umask.c: Likewise.
25175 * io/unlink.c: Likewise.
25176 * io/unlinkat.c: Likewise.
25177 * io/utime.c: Likewise.
25178 * io/utimensat.c: Likewise.
25179 * io/write.c: Likewise.
25180 * io/xmknod.c: Likewise.
25181 * io/xmknodat.c: Likewise.
25182 * io/xstat.c: Likewise.
25183 * io/xstat64.c: Likewise.
25184 * login/getpt.c: Likewise.
25185 * login/grantpt.c: Likewise.
25186 * login/unlockpt.c: Likewise.
25187 * math/e_acoshl.c: Likewise.
25188 * math/e_acosl.c: Likewise.
25189 * math/e_asinl.c: Likewise.
25190 * math/e_atan2l.c: Likewise.
25191 * math/e_atanhl.c: Likewise.
25192 * math/e_coshl.c: Likewise.
25193 * math/e_expl.c: Likewise.
25194 * math/e_fmodl.c: Likewise.
25195 * math/e_gammal_r.c: Likewise.
25196 * math/e_hypotl.c: Likewise.
25197 * math/e_j0l.c: Likewise.
25198 * math/e_j1l.c: Likewise.
25199 * math/e_jnl.c: Likewise.
25200 * math/e_lgammal_r.c: Likewise.
25201 * math/e_log10l.c: Likewise.
25202 * math/e_log2l.c: Likewise.
25203 * math/e_logl.c: Likewise.
25204 * math/e_powl.c: Likewise.
25205 * math/e_rem_pio2l.c: Likewise.
25206 * math/e_sinhl.c: Likewise.
25207 * math/e_sqrtl.c: Likewise.
25208 * math/fclrexcpt.c: Likewise.
25209 * math/fedisblxcpt.c: Likewise.
25210 * math/feenablxcpt.c: Likewise.
25211 * math/fegetenv.c: Likewise.
25212 * math/fegetexcept.c: Likewise.
25213 * math/fegetround.c: Likewise.
25214 * math/feholdexcpt.c: Likewise.
25215 * math/fesetenv.c: Likewise.
25216 * math/fesetround.c: Likewise.
25217 * math/feupdateenv.c: Likewise.
25218 * math/fgetexcptflg.c: Likewise.
25219 * math/fraiseexcpt.c: Likewise.
25220 * math/fsetexcptflg.c: Likewise.
25221 * math/ftestexcept.c: Likewise.
25222 * math/k_cosl.c: Likewise.
25223 * math/k_rem_pio2l.c: Likewise.
25224 * math/k_sinl.c: Likewise.
25225 * math/k_tanl.c: Likewise.
25226 * math/s_asinhl.c: Likewise.
25227 * math/s_atanl.c: Likewise.
25228 * math/s_cbrtl.c: Likewise.
25229 * math/s_erfl.c: Likewise.
25230 * math/s_expm1l.c: Likewise.
25231 * math/s_log1pl.c: Likewise.
25232 * math/s_tanhl.c: Likewise.
25233 * misc/acct.c: Likewise.
25234 * misc/brk.c: Likewise.
25235 * misc/chflags.c: Likewise.
25236 * misc/chroot.c: Likewise.
25237 * misc/fchflags.c: Likewise.
25238 * misc/fgetxattr.c: Likewise.
25239 * misc/flistxattr.c: Likewise.
25240 * misc/fremovexattr.c: Likewise.
25241 * misc/fsetxattr.c: Likewise.
25242 * misc/fsync.c: Likewise.
25243 * misc/ftruncate.c: Likewise.
25244 * misc/futimes.c: Likewise.
25245 * misc/futimesat.c: Likewise.
25246 * misc/getdomain.c: Likewise.
25247 * misc/getdtsz.c: Likewise.
25248 * misc/gethostid.c: Likewise.
25249 * misc/gethostname.c: Likewise.
25250 * misc/getloadavg.c: Likewise.
25251 * misc/getpagesize.c: Likewise.
25252 * misc/getsysstats.c: Likewise.
25253 * misc/getxattr.c: Likewise.
25254 * misc/gtty.c: Likewise.
25255 * misc/ioctl.c: Likewise.
25256 * misc/lgetxattr.c: Likewise.
25257 * misc/listxattr.c: Likewise.
25258 * misc/llistxattr.c: Likewise.
25259 * misc/lremovexattr.c: Likewise.
25260 * misc/lsetxattr.c: Likewise.
25261 * misc/lutimes.c: Likewise.
25262 * misc/madvise.c: Likewise.
25263 * misc/mincore.c: Likewise.
25264 * misc/mlock.c: Likewise.
25265 * misc/mlockall.c: Likewise.
25266 * misc/mmap.c: Likewise.
25267 * misc/mprotect.c: Likewise.
25268 * misc/msync.c: Likewise.
25269 * misc/munlock.c: Likewise.
25270 * misc/munlockall.c: Likewise.
25271 * misc/munmap.c: Likewise.
25272 * misc/preadv.c: Likewise.
25273 * misc/preadv64.c: Likewise.
25274 * misc/ptrace.c: Likewise.
25275 * misc/pwritev.c: Likewise.
25276 * misc/pwritev64.c: Likewise.
25277 * misc/readv.c: Likewise.
25278 * misc/reboot.c: Likewise.
25279 * misc/remap_file_pages.c: Likewise.
25280 * misc/removexattr.c: Likewise.
25281 * misc/revoke.c: Likewise.
25282 * misc/select.c: Likewise.
25283 * misc/setdomain.c: Likewise.
25284 * misc/setegid.c: Likewise.
25285 * misc/seteuid.c: Likewise.
25286 * misc/sethostid.c: Likewise.
25287 * misc/sethostname.c: Likewise.
25288 * misc/setregid.c: Likewise.
25289 * misc/setreuid.c: Likewise.
25290 * misc/setxattr.c: Likewise.
25291 * misc/sstk.c: Likewise.
25292 * misc/stty.c: Likewise.
25293 * misc/swapoff.c: Likewise.
25294 * misc/swapon.c: Likewise.
25295 * misc/sync.c: Likewise.
25296 * misc/syncfs.c: Likewise.
25297 * misc/syscall.c: Likewise.
25298 * misc/truncate.c: Likewise.
25299 * misc/ualarm.c: Likewise.
25300 * misc/usleep.c: Likewise.
25301 * misc/ustat.c: Likewise.
25302 * misc/utimes.c: Likewise.
25303 * misc/vhangup.c: Likewise.
25304 * misc/writev.c: Likewise.
25305 * posix/_exit.c: Likewise.
25306 * posix/alarm.c: Likewise.
25307 * posix/execve.c: Likewise.
25308 * posix/fexecve.c: Likewise.
25309 * posix/fork.c: Likewise.
25310 * posix/fpathconf.c: Likewise.
25311 * posix/getaddrinfo.c: Likewise.
25312 * posix/getegid.c: Likewise.
25313 * posix/geteuid.c: Likewise.
25314 * posix/getgid.c: Likewise.
25315 * posix/getgroups.c: Likewise.
25316 * posix/getlogin.c: Likewise.
25317 * posix/getlogin_r.c: Likewise.
25318 * posix/getpgid.c: Likewise.
25319 * posix/getpid.c: Likewise.
25320 * posix/getppid.c: Likewise.
25321 * posix/getresgid.c: Likewise.
25322 * posix/getresuid.c: Likewise.
25323 * posix/getsid.c: Likewise.
25324 * posix/getuid.c: Likewise.
25325 * posix/glob64.c: Likewise.
25326 * posix/nanosleep.c: Likewise.
25327 * posix/pathconf.c: Likewise.
25328 * posix/pause.c: Likewise.
25329 * posix/posix_madvise.c: Likewise.
25330 * posix/pread.c: Likewise.
25331 * posix/pread64.c: Likewise.
25332 * posix/pwrite.c: Likewise.
25333 * posix/pwrite64.c: Likewise.
25334 * posix/sched_getaffinity.c: Likewise.
25335 * posix/sched_getp.c: Likewise.
25336 * posix/sched_gets.c: Likewise.
25337 * posix/sched_primax.c: Likewise.
25338 * posix/sched_primin.c: Likewise.
25339 * posix/sched_rr_gi.c: Likewise.
25340 * posix/sched_setaffinity.c: Likewise.
25341 * posix/sched_setp.c: Likewise.
25342 * posix/sched_sets.c: Likewise.
25343 * posix/sched_yield.c: Likewise.
25344 * posix/setgid.c: Likewise.
25345 * posix/setlogin.c: Likewise.
25346 * posix/setpgid.c: Likewise.
25347 * posix/setresgid.c: Likewise.
25348 * posix/setresuid.c: Likewise.
25349 * posix/setsid.c: Likewise.
25350 * posix/setuid.c: Likewise.
25351 * posix/sleep.c: Likewise.
25352 * posix/spawni.c: Likewise.
25353 * posix/sysconf.c: Likewise.
25354 * posix/times.c: Likewise.
25355 * posix/wait.c: Likewise.
25356 * posix/wait3.c: Likewise.
25357 * posix/wait4.c: Likewise.
25358 * posix/waitpid.c: Likewise.
25359 * resolv/gai_sigqueue.c: Likewise.
25360 * resource/getpriority.c: Likewise.
25361 * resource/getrlimit.c: Likewise.
25362 * resource/getrusage.c: Likewise.
25363 * resource/nice.c: Likewise.
25364 * resource/setpriority.c: Likewise.
25365 * resource/setrlimit.c: Likewise.
25366 * resource/ulimit.c: Likewise.
25367 * rt/aio_cancel.c: Likewise.
25368 * rt/aio_fsync.c: Likewise.
25369 * rt/aio_read.c: Likewise.
25370 * rt/aio_sigqueue.c: Likewise.
25371 * rt/aio_suspend.c: Likewise.
25372 * rt/aio_write.c: Likewise.
25373 * rt/clock_getres.c: Likewise.
25374 * rt/clock_gettime.c: Likewise.
25375 * rt/clock_nanosleep.c: Likewise.
25376 * rt/clock_settime.c: Likewise.
25377 * rt/lio_listio.c: Likewise.
25378 * rt/mq_close.c: Likewise.
25379 * rt/mq_getattr.c: Likewise.
25380 * rt/mq_notify.c: Likewise.
25381 * rt/mq_open.c: Likewise.
25382 * rt/mq_receive.c: Likewise.
25383 * rt/mq_send.c: Likewise.
25384 * rt/mq_setattr.c: Likewise.
25385 * rt/mq_timedreceive.c: Likewise.
25386 * rt/mq_timedsend.c: Likewise.
25387 * rt/mq_unlink.c: Likewise.
25388 * rt/shm_open.c: Likewise.
25389 * rt/shm_unlink.c: Likewise.
25390 * rt/timer_create.c: Likewise.
25391 * rt/timer_delete.c: Likewise.
25392 * rt/timer_getoverr.c: Likewise.
25393 * rt/timer_gettime.c: Likewise.
25394 * rt/timer_settime.c: Likewise.
25395 * setjmp/__longjmp.c: Likewise.
25396 * setjmp/setjmp.c: Likewise.
25397 * signal/kill.c: Likewise.
25398 * signal/killpg.c: Likewise.
25399 * signal/raise.c: Likewise.
25400 * signal/sigaction.c: Likewise.
25401 * signal/sigaltstack.c: Likewise.
25402 * signal/sigblock.c: Likewise.
25403 * signal/sigignore.c: Likewise.
25404 * signal/sigintr.c: Likewise.
25405 * signal/signal.c: Likewise.
25406 * signal/sigpause.c: Likewise.
25407 * signal/sigpending.c: Likewise.
25408 * signal/sigqueue.c: Likewise.
25409 * signal/sigreturn.c: Likewise.
25410 * signal/sigset.c: Likewise.
25411 * signal/sigsetmask.c: Likewise.
25412 * signal/sigstack.c: Likewise.
25413 * signal/sigsuspend.c: Likewise.
25414 * signal/sigtimedwait.c: Likewise.
25415 * signal/sigvec.c: Likewise.
25416 * signal/sigwait.c: Likewise.
25417 * signal/sigwaitinfo.c: Likewise.
25418 * signal/sysv_signal.c: Likewise.
25419 * socket/accept.c: Likewise.
25420 * socket/accept4.c: Likewise.
25421 * socket/bind.c: Likewise.
25422 * socket/connect.c: Likewise.
25423 * socket/getpeername.c: Likewise.
25424 * socket/getsockname.c: Likewise.
25425 * socket/getsockopt.c: Likewise.
25426 * socket/isfdtype.c: Likewise.
25427 * socket/listen.c: Likewise.
25428 * socket/recv.c: Likewise.
25429 * socket/recvfrom.c: Likewise.
25430 * socket/recvmsg.c: Likewise.
25431 * socket/send.c: Likewise.
25432 * socket/sendmsg.c: Likewise.
25433 * socket/sendto.c: Likewise.
25434 * socket/setsockopt.c: Likewise.
25435 * socket/shutdown.c: Likewise.
25436 * socket/sockatmark.c: Likewise.
25437 * socket/socket.c: Likewise.
25438 * socket/socketpair.c: Likewise.
25439 * stdio-common/ctermid.c: Likewise.
25440 * stdio-common/cuserid.c: Likewise.
25441 * stdio-common/remove.c: Likewise.
25442 * stdio-common/rename.c: Likewise.
25443 * stdio-common/renameat.c: Likewise.
25444 * stdio-common/tempname.c: Likewise.
25445 * stdlib/getcontext.c: Likewise.
25446 * stdlib/makecontext.c: Likewise.
25447 * stdlib/setcontext.c: Likewise.
25448 * stdlib/swapcontext.c: Likewise.
25449 * stdlib/system.c: Likewise.
25450 * streams/fattach.c: Likewise.
25451 * streams/fdetach.c: Likewise.
25452 * streams/getmsg.c: Likewise.
25453 * streams/getpmsg.c: Likewise.
25454 * streams/putmsg.c: Likewise.
25455 * streams/putpmsg.c: Likewise.
25456 * sysdeps/unix/bsd/getpt.c: Likewise.
25457 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25458 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25459 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25462 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25463 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25464 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25465 * sysvipc/msgctl.c: Likewise.
25466 * sysvipc/msgget.c: Likewise.
25467 * sysvipc/msgrcv.c: Likewise.
25468 * sysvipc/msgsnd.c: Likewise.
25469 * sysvipc/semctl.c: Likewise.
25470 * sysvipc/semget.c: Likewise.
25471 * sysvipc/semop.c: Likewise.
25472 * sysvipc/semtimedop.c: Likewise.
25473 * sysvipc/shmat.c: Likewise.
25474 * sysvipc/shmctl.c: Likewise.
25475 * sysvipc/shmdt.c: Likewise.
25476 * sysvipc/shmget.c: Likewise.
25477 * termios/tcdrain.c: Likewise.
25478 * termios/tcflow.c: Likewise.
25479 * termios/tcflush.c: Likewise.
25480 * termios/tcgetattr.c: Likewise.
25481 * termios/tcgetpgrp.c: Likewise.
25482 * termios/tcsendbrk.c: Likewise.
25483 * termios/tcsetattr.c: Likewise.
25484 * termios/tcsetpgrp.c: Likewise.
25485 * time/adjtime.c: Likewise.
25486 * time/clock.c: Likewise.
25487 * time/getitimer.c: Likewise.
25488 * time/gettimeofday.c: Likewise.
25489 * time/setitimer.c: Likewise.
25490 * time/settimeofday.c: Likewise.
25491 * time/stime.c: Likewise.
25492 * time/time.c: Likewise.
25494 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25496 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25499 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25501 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25503 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25507 FE_TONEAREST before applying Dekker multiplication and Knuth
25508 addition. Clear inexact exceptions and check for exact zero
25509 results afterwards.
25510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25513 * math/libm-test.inc (fma_test): Add more tests.
25514 (fma_test_towardzero): Likewise.
25515 (fma_test_downward): Likewise.
25516 (fma_test_upward): Likewise.
25517 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25519 (libc_fesetround): New macro.
25520 (libc_fesetroundf): Likewise.
25521 (libc_fesetroundl): Likewise.
25522 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25524 (libc_fesetround_387): Likewise.
25525 (libc_fesetroundf): New macro.
25526 (libc_fesetround): Likewise.
25527 (libc_fesetroundl): Likewise.
25528 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25530 (libc_fesetroundf): New macro.
25531 (libc_fesetround): Likewise.
25532 (libc_fesetroundl): Likewise.
25533 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25534 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25535 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25537 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25538 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25540 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25541 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25543 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25547 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25548 integer constant usable in #if and use that to give value to enum
25550 (FE_DIVBYZERO): Likewise.
25551 (FE_UNDERFLOW): Likewise.
25552 (FE_OVERFLOW): Likewise.
25553 (FE_INVALID): Likewise.
25554 (FE_INVALID_SNAN): Likewise.
25555 (FE_INVALID_ISI): Likewise.
25556 (FE_INVALID_IDI): Likewise.
25557 (FE_INVALID_ZDZ): Likewise.
25558 (FE_INVALID_IMZ): Likewise.
25559 (FE_INVALID_COMPARE): Likewise.
25560 (FE_INVALID_SOFTWARE): Likewise.
25561 (FE_INVALID_SQRT): Likewise.
25562 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25563 (FE_TONEAREST): Likewise.
25564 (FE_TOWARDZERO): Likewise.
25565 (FE_UPWARD): Likewise.
25566 (FE_DOWNWARD): Likewise.
25567 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25568 (FE_DIVBYZERO): Likewise.
25569 (FE_OVERFLOW): Likewise.
25570 (FE_UNDERFLOW): Likewise.
25571 (FE_INEXACT): Likewise.
25572 (FE_TONEAREST): Likewise.
25573 (FE_DOWNWARD): Likewise.
25574 (FE_UPWARD): Likewise.
25575 (FE_TOWARDZERO): Likewise.
25576 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25577 (FE_UNDERFLOW): Likewise.
25578 (FE_OVERFLOW): Likewise.
25579 (FE_DIVBYZERO): Likewise.
25580 (FE_INVALID): Likewise.
25581 (FE_TONEAREST): Likewise.
25582 (FE_TOWARDZERO): Likewise.
25583 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25584 (FE_OVERFLOW): Likewise.
25585 (FE_UNDERFLOW): Likewise.
25586 (FE_DIVBYZERO): Likewise.
25587 (FE_INEXACT): Likewise.
25588 (FE_TONEAREST): Likewise.
25589 (FE_TOWARDZERO): Likewise.
25590 (FE_UPWARD): Likewise.
25591 (FE_DOWNWARD): Likewise.
25592 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25593 (FE_DIVBYZERO): Likewise.
25594 (FE_OVERFLOW): Likewise.
25595 (FE_UNDERFLOW): Likewise.
25596 (FE_INEXACT): Likewise.
25597 (FE_TONEAREST): Likewise.
25598 (FE_DOWNWARD): Likewise.
25599 (FE_UPWARD): Likewise.
25600 (FE_TOWARDZERO): Likewise.
25602 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25604 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25606 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25608 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25609 commands. Quote $PWD.
25610 (blacklist_exports): Don't use remove_newlines. Replace "declare
25612 (remove_newlines): Remove.
25614 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25616 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25617 * stdlib/stdlib.h (atof): Moved to ...
25618 * include/bits/stdlib-float.h: Here. New file.
25619 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25620 * stdlib/bits/stdlib-float.h: New file.
25621 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25626 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25628 * conform/conformtest.pl (@headers): Add fenv.h.
25629 * conform/data/fenv.h-data: New file.
25630 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25631 include of <math/fenv.h>.
25633 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25634 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25635 && !UNIX98]. Enables tests for XOPEN2K8.
25636 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25637 POSIX2008]: Likewise.
25639 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25640 (struct rusage): Do not expect type or its members.
25643 * math/math.h (FP_NAN): Define macro to integer constant usable in
25644 #if and use that to give value to enum constant.
25645 (FP_INFINITE): Likewise.
25646 (FP_ZERO): Likewise.
25647 (FP_SUBNORMAL): Likewise.
25648 (FP_NORMAL): Likewise.
25650 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25652 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25653 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25656 2012-11-02 Roland McGrath <roland@hack.frob.com>
25658 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25659 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25660 autoconf-time if not.
25661 * configure.in: Remove AC_PREREQ.
25663 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25665 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25666 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25667 of the internal implementation.
25669 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25671 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25672 except include of <misc/sys/syslog.h>.
25674 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25677 function returns with a NULL context exit with zero.
25679 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25681 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25683 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25685 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25686 (run_program_cmd): This.
25687 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25688 (tst_langinfo): New variable. Use it.
25690 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25692 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25693 floating point opcodes.
25695 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25697 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25700 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25702 * sysdeps/mach/hurd/powerpc: Remove directory.
25703 * sysdeps/mach/powerpc: Likewise.
25705 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25707 * scripts/check-local-headers.sh: Ignore c++ headers.
25709 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25711 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25712 __libc_cleanup_region_start argument.
25714 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25719 x * y using scaling, not as x * y + z.
25720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25722 * math/libm-test.inc (fma_test): Add more tests.
25723 (fma_test_towardzero): Likewise.
25724 (fma_test_downward): Likewise.
25725 (fma_test_upward): Likewise.
25727 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25729 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25731 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25733 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25736 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25738 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25740 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25747 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25750 Fix the order of the list for glibc 2.17.
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25754 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25758 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25761 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25762 for low part of x being zero before using __atanl (y).
25763 * math/libm-test.inc (atan2_test): Add another test.
25765 * manual/install.texi (Configuring and compiling): Document
25766 general use of test-wrapper and test-wrapper-env.
25767 * INSTALL: Regenerated.
25769 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25770 (__fma): Do not extract and scale down low bits on after-rounding
25771 systems when result rounded to normal precision would have normal
25773 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25774 (__fmal): Do not extract and scale down low bits on after-rounding
25775 systems when result rounded to normal precision would have normal
25777 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25778 (__fmal): Do not extract and scale down low bits on after-rounding
25779 systems when result rounded to normal precision would have normal
25781 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25783 (fma_test): Add more tests.
25784 (fma_test_towardzero): Likewise.
25785 (fma_test_downward): Likewise.
25786 (fma_test_upward): Likewise.
25788 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25790 * sysdeps/i386/tininess.h: Renamed to ...
25791 * sysdeps/x86/tininess.h: This.
25792 * sysdeps/x86_64/tininess.h: Removed.
25794 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25796 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25797 input. Use $(build-program-cmd).
25798 ($(objpfx)tst-array1-static.out): Likewise.
25799 ($(objpfx)tst-array2.out): Likewise.
25800 ($(objpfx)tst-array3.out): Likewise.
25801 ($(objpfx)tst-array4.out): Likewise.
25802 ($(objpfx)tst-array5.out): Likewise.
25803 ($(objpfx)tst-array5-static.out): Likewise.
25805 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25807 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25810 * nss/nsswitch.h (nss_interface_function): Provide new
25811 macro for use with NSS functions.
25812 * grp/initgroups.c: Use new macro.
25813 * nss/getXXbyYY.c: Likewise.
25814 * nss/getXXbyYY_r.c: Likewise.
25815 * nss/getXXent.c: Likewise.
25816 * nss/getXXent_r.c: Likewise.
25817 * sysdeps/posix/getaddrinfo.c: Likewise.
25819 2012-10-30 Andreas Jaeger <aj@suse.de>
25821 * po/ru.po: Update Russion translation from translation project.
25823 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25828 result and shift together with sticky bit instead of replicating
25829 round-to-nearest rounding.
25830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25832 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25833 missing underflow exceptions.
25834 (fma_test_towardzero): Add more tests.
25835 (fma_test_downward): Likewise.
25836 (fma_test_upward): Likewise.
25839 * sysdeps/generic/tininess.h: New file.
25840 * sysdeps/i386/tininess.h: Likewise.
25841 * sysdeps/sh/tininess.h: Likewise.
25842 * sysdeps/x86_64/tininess.h: Likewise.
25843 * stdlib/tst-strtod-underflow.c: Likewise.
25844 * stdlib/tst-tininess.c: Likewise.
25845 * stdlib/strtod_l.c: Include <tininess.h>.
25846 (round_and_return): Do not set errno for exact underflow cases.
25847 Force an underflow exception when setting errno for underflow.
25848 Determine underflow based on rounding to normal precision if
25849 TININESS_AFTER_ROUNDING.
25850 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25851 ERANGE for exact underflow cases.
25852 * stdlib/Makefile (tests): Add tst-tininess and
25853 tst-strtod-underflow.
25854 ($(objpfx)tst-tininess): Use $(link-libm).
25855 ($(objpfx)tst-strtod-underflow): Likewise.
25857 2012-10-30 Andreas Jaeger <aj@suse.de>
25860 * elf/Makefile (tests): Remove conditional for have-initfini-array
25861 since this is now always required and the variable does not exist
25863 (tests-static): Likewise.
25864 (modules-names): Likewise.
25866 * po/eo.po: Add Esperanto translation from translation project.
25868 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25869 merged with constructor/destructor.
25870 (init_array): Likewise.
25871 * elf/tst-array2dep.c (fini_array): Likewise.
25872 (init_array): Likewise.
25874 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25876 * manual/message.texi: Delete @cartouche tags.
25878 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25880 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25882 * sysdeps/mach/hurd/fsync.c: Likewise.
25884 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25885 [_POSIX_REALTIME_SIGNALS]: Change condition to
25886 [_POSIX_REALTIME_SIGNALS > 0].
25888 2012-10-27 Andreas Jaeger <aj@suse.de>
25890 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25891 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25893 [__WORDSIZE != 64]: Likewise.
25895 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25897 * iconvdata/tst-table.sh: Remove ${SHELL}.
25898 * iconvdata/tst-tables.sh: Likewise.
25900 2012-10-25 David S. Miller <davem@davemloft.net>
25902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25903 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25908 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25909 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25910 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25913 2012-10-25 Roland McGrath <roland@hack.frob.com>
25915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25916 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25919 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25920 Jim Blandy <jimb@codesourcery.com>
25922 * scripts/cross-test-ssh.sh: New file.
25923 * manual/install.texi (Configuring and compiling): Document use of
25925 * INSTALL: Regenerated.
25927 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25929 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25932 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25934 * Makeconfig (run-program-prefix): Fix comment.
25936 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25937 Jim Blandy <jimb@codesourcery.com>
25939 * Makeconfig (test-wrapper): New variable,
25940 (test-wrapper-env): Likewise.
25941 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25942 (run-built-tests): Define to yes.
25943 (run-program-prefix): Use $(test-wrapper).
25944 (built-program-cmd): Likewise.
25945 * Rules (make-test-out): Use $(test-wrapper-env) and
25946 $(host-built-program-cmd).
25947 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25948 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25950 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25951 $(test-wrapper-env) to tst-rtld-load-self.sh.
25952 ($(objpfx)order2.out): Use $(test-wrapper).
25953 ($(objpfx)tst-initorder.out): Likewise.
25954 ($(objpfx)tst-initorder2.out): Likewise.
25955 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25956 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25957 (test_wrapper_env): New variable. Use it to run ld.so.
25958 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25959 Use it to run ld.so.
25960 (test_wrapper_env): Likewise.
25961 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25962 $(test-wrapper) to run-iconv-test.sh.
25963 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25964 (ICONV): Use $test_wrapper.
25965 * posix/Makefile ($(objpfx)globtest.out): Pass
25966 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25967 globtest.sh, not $(run-program-prefix).
25968 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25969 (test_wrapper): Likewise.
25970 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25971 set together with run_via_rtld_prefix.
25972 (run_program_prefix): Define in terms of test_wrapper and
25973 run_via_rtld_prefix.
25975 2012-10-24 Roland McGrath <roland@hack.frob.com>
25977 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25978 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25982 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25983 Declare __clock_getres, __clock_gettime, __clock_settime,
25984 __clock_nanosleep, and __clock_getcpuclockid.
25985 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25986 Remove librt_hidden_def (clock_gettime).
25987 * sysdeps/unix/clock_gettime.c: Likewise.
25988 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25990 * rt/clock_getres.c: Define __clock_getres as an alias.
25991 * sysdeps/posix/clock_getres.c: Likewise.
25992 * rt/clock_settime.c: Define __clock_settime as an alias.
25993 * sysdeps/unix/clock_settime.c: Likewise.
25994 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25995 * sysdeps/unix/clock_nanosleep.c: Likewise.
25996 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25997 * rt/clock-compat.c: New file.
25998 * rt/Makefile (librt-routines): Add clock-compat and move
25999 $(clock-routines) to ...
26000 (routines): ... here, new variable.
26001 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26002 Don't add get_clockfreq here.
26003 * rt/Versions (libc: GLIBC_2.17): New version set.
26004 Add clock_* symbols here.
26005 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26007 (GLIBC_2.17): Add clock_* symbols.
26008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26019 * NEWS: Mention the move.
26021 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26022 Use __open, __read, __close rather than their public counterparts.
26023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26024 (__get_clockfreq_via_cpuinfo): Likewise.
26025 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26026 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26028 * config.h.in (HAVE_IFUNC): New #undef.
26029 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26031 * configure: Regenerated.
26033 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26035 * configure.in: Move READELF check to start of file.
26036 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26037 libc_cv_asm_gnu_indirect_function in the process.
26038 * configure: Regenerated.
26040 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26042 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26043 send the output to /dev/null.
26044 (libc_cv_cc_with_libunwind): Likewise.
26045 (libc_cv_as_noexecstack): Likewise.
26046 * configure: Regenerate.
26048 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26050 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26052 * posix/globtest.sh (TMPDIR): Do not set.
26053 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26054 (testout): Likewise.
26056 2012-10-24 Andreas Jaeger <aj@suse.de>
26058 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26059 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26060 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26061 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26062 posix_fadvise64, posix_fallocate64.
26064 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26065 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26066 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26068 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26070 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26073 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26074 <bits/fcntl-linux.h>.
26075 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26078 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26079 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26080 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26081 [__WORDSIZE != 64]: Likewise.
26083 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26085 * Makeconfig (run-built-tests): New variable.
26086 * Rules [$(cross-compiling) = yes]: Change condition to
26087 [$(run-built-tests) = no].
26088 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26089 to [$(run-built-tests) = yes].
26090 * elf/Makefile [$(cross-compiling) = no]: Likewise
26091 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26092 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26093 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26094 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26095 * io/Makefile [$(cross-compiling) = no]: Likewise.
26096 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26097 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26098 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26099 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26100 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26101 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26102 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26103 * string/Makefile [$(cross-compiling) = no]: Likewise.
26105 * posix/Makefile ($(objpfx)globtest.out): Pass
26106 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26107 $(rtld-installed-name).
26108 * posix/globtest.sh (elf_objpfx): Remove variable.
26109 (rtld_installed_name): Likewise.
26110 (library_path): Likewise.
26111 (run_program_prefix): New variable. Use for running globtest
26114 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26115 Joseph Myers <joseph@codesourcery.com>
26117 * Makeconfig (host-built-program-cmd): New variable.
26118 * elf/Makefile (tst-stackguard1-ARGS): Use
26119 $(host-built-program-cmd).
26120 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26121 (tst-spawn-ARGS): Likewise.
26122 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26124 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26125 Jim Blandy <jimb@codesourcery.com>
26127 * Makeconfig (run-via-rtld-prefix): New variable.
26128 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26129 (built-program-cmd): Likewise.
26131 2012-10-22 Andreas Jaeger <aj@suse.de>
26133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26134 __O_RSYNC if it exists, otherwise to O_SYNC.
26136 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26137 Joseph Myers <joseph@codesourcery.com>
26139 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26141 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26143 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26146 2012-10-22 Andreas Jaeger <aj@suse.de>
26148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26153 bits/fcntl-linux.h.
26155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26156 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26163 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26164 Joseph Myers <joseph@codesourcery.com>
26166 * config.make.in (NM): New variable.
26168 2012-10-21 Andreas Jaeger <aj@suse.de>
26170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26171 definitions and declarations that are provided by
26172 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26174 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26177 * elf/Makefile (tests-static): Add tst-leaks1-static.
26178 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26179 ($(objpfx)tst-leaks1-static): New rule.
26180 ($(objpfx)tst-leaks1-static-mem): Likewise.
26181 (tst-leaks1-static-ENV): New macro.
26182 * elf/dl-open.c (dl_open_worker): Check the main application
26183 only if SHARED is defined.
26184 * elf/tst-leaks1-static.c: New file.
26186 2012-10-20 Andreas Jaeger <aj@suse.de>
26188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26189 generic values for Linux.
26190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26191 and declarations that are provided by <bits/fcntl-linux.h> and
26192 include <bits/fcntl-linux.h>.
26193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26196 2012-10-20 Roland McGrath <roland@hack.frob.com>
26198 * io/fcntl.h: Move include of <bits/types.h> to the top and
26199 include it unconditionally.
26201 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26203 * wcsmbs/Makefile (tests-ifunc): New variable.
26204 (tests): Add $(tests-ifunc).
26205 * wcsmbs/test-wcschr-ifunc.c: New file.
26206 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26207 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26208 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26209 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26210 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26212 * string/Makefile (tests-ifunc): New variable.
26213 (tests): Add $(tests-ifunc).
26214 * string/test-memccpy.c (TEST_NAME): New macro.
26215 * string/test-memchr.c (TEST_NAME): Likewise.
26216 * string/test-memcmp.c (TEST_NAME): Likewise.
26217 * string/test-memcpy.c (TEST_NAME): Likewise.
26218 * string/test-memmem.c (TEST_NAME): Likewise.
26219 * string/test-memmove.c (TEST_NAME): Likewise.
26220 * string/test-memset.c (TEST_NAME): Likewise.
26221 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26222 * string/test-stpcpy.c (TEST_NAME): Likewise.
26223 * string/test-stpncpy.c (TEST_NAME): Likewise.
26224 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26225 * string/test-strcasestr.c (TEST_NAME): Likewise.
26226 * string/test-strcat.c (TEST_NAME): Likewise.
26227 * string/test-strchr.c (TEST_NAME): Likewise.
26228 * string/test-strcmp.c(TEST_NAME): Likewise.
26229 * string/test-strcpy.c (TEST_NAME): Likewise.
26230 * string/test-strcspn.c (TEST_NAME): Likewise.
26231 * string/test-strlen.c (TEST_NAME): Likewise.
26232 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26233 * string/test-strncmp.c (TEST_NAME): Likewise.
26234 * string/test-strncpy.c (TEST_NAME): Likewise.
26235 * string/test-strnlen.c (TEST_NAME): Likewise.
26236 * string/test-strpbrk.c (TEST_NAME): Likewise.
26237 * string/test-strrchr.c (TEST_NAME): Likewise.
26238 * string/test-strspn.c (TEST_NAME): Likewise.
26239 * string/test-strstr.c (TEST_NAME): Likewise.
26240 * string/test-bcopy-ifunc.c: New file.
26241 * string/test-bzero-ifunc.c: Likewise.
26242 * string/test-memccpy-ifunc.c: Likewise.
26243 * string/test-memchr-ifunc.c: Likewise.
26244 * string/test-memcmp-ifunc.c: Likewise.
26245 * string/test-memcpy-ifunc.c: Likewise.
26246 * string/test-memmem-ifunc.c: Likewise.
26247 * string/test-memmove-ifunc.c: Likewise.
26248 * string/test-mempcpy-ifunc.c: Likewise.
26249 * string/test-memset-ifunc.c: Likewise.
26250 * string/test-rawmemchr-ifunc.c: Likewise.
26251 * string/test-stpcpy-ifunc.c: Likewise.
26252 * string/test-stpncpy-ifunc.c: Likewise.
26253 * string/test-strcasecmp-ifunc.c: Likewise.
26254 * string/test-strcasestr-ifunc.c: Likewise.
26255 * string/test-strcat-ifunc.c: Likewise.
26256 * string/test-strchr-ifunc.c: Likewise.
26257 * string/test-strchrnul-ifunc.c: Likewise.
26258 * string/test-strcmp-ifunc.c: Likewise.
26259 * string/test-strcpy-ifunc.c: Likewise.
26260 * string/test-strcspn-ifunc.c: Likewise.
26261 * string/test-strlen-ifunc.c: Likewise.
26262 * string/test-strncasecmp-ifunc.c: Likewise.
26263 * string/test-strncat-ifunc.c: Likewise.
26264 * string/test-strncmp-ifunc.c: Likewise.
26265 * string/test-strncpy-ifunc.c: Likewise.
26266 * string/test-strnlen-ifunc.c: Likewise.
26267 * string/test-strpbrk-ifunc.c: Likewise.
26268 * string/test-strrchr-ifunc.c: Likewise.
26269 * string/test-strspn-ifunc.c: Likewise.
26270 * string/test-strstr-ifunc.c: Likewise.
26272 * debug/Makefile (tests-ifunc): New variable.
26273 (tests): Add $(tests-ifunc).
26274 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26275 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26276 * debug/test-stpcpy_chk-ifunc.c: New file.
26277 * debug/test-strcpy_chk-ifunc.c: Likewise.
26279 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26283 header is not read in.
26285 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26287 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26288 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26289 directly. Pass built executable to script as
26290 $(built-program-cmd).
26291 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26292 $testprogram without using LD_LIBRARY_PATH and $ldso.
26294 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26295 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26296 $(rtld-installed-name).
26297 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26298 (rtld_installed_name): Likewise.
26299 (library_path): Likewise.
26300 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26301 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26302 $(run-program-prefix) to tst-tables.sh.
26303 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26304 it to run tst-table-from and tst-table-to.
26305 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26306 Pass it to tst-table.sh.
26307 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26308 $(run-program-prefix) to tst-gettext.sh.
26309 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26311 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26313 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26314 to run tst-gettext.
26315 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26316 to run tst-gettext2.
26317 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26318 to run tst-translit.
26319 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26320 $(run-program-prefix) to tst-mtrace.sh.
26321 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26323 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26324 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26325 $(rtld-installed-name).
26326 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26327 (rtld_installed_name): Likewise.
26328 (run_program_prefix): New variable. Use it to run wordexp-test.
26330 * Makeconfig (ARCH): Remove all definitions.
26331 (machine): Likewise.
26332 [ARCH]: Remove conditional code.
26333 [!objdir]: Give error.
26334 [!objdir] (objpfx): Remove.
26335 [!objdir] (common-objpfx): Likewise.
26336 [!objdir] (common-objdir): Likewise.
26337 * configure.in (config_makefile): Remove. Hardcode Makefile in
26338 AC_CONFIG_FILES call.
26339 * configure: Regenerated.
26342 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26344 (testout): Likewise.
26346 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26347 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26348 $(rtld-installed-name).
26349 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26350 (rtld_installed_name): Likwise.
26351 (runit): Remove function.
26352 (run_getconf): New variable, Use it for running getconf binary.
26354 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26357 * string/test-memmem.c (check_result): New function.
26358 (do_one_test): Use it.
26359 (check1): New function.
26360 (test_main): Use it.
26362 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26364 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26366 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26368 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26369 (_G_LSEEK64): Likewise.
26370 (_G_MMAP64): Likewise.
26371 (_G_FSTAT64): Likewise.
26372 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26373 (_G_LSEEK64): Likewise.
26374 (_G_MMAP64): Likewise.
26375 (_G_FSTAT64): Likewise.
26376 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26377 unconditional. Call __mmap64 directly.
26378 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26379 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26380 __lseek64 directly.
26381 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26382 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26384 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26385 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26386 __lseek64 directly.
26387 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26388 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26389 __lseek64 directly.
26390 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26391 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26392 __lseek64 directly.
26393 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26394 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26395 __fxstat64 directly.
26396 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26397 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26399 (freopen64) [!_G_OPEN64]: Remove conditional code.
26400 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26402 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26403 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26405 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26406 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26408 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26409 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26411 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26412 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26414 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26415 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26417 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26418 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26420 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26422 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26425 * manual/memory.texi (Malloc Tunable Parameters): Add note
26426 about free list pointers overwriting some perturb bytes.
26427 Wording suggested by Roland McGrath.
26429 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26431 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26432 (lgamma_test): Likewise.
26433 (tgamma_test): Likewise.
26435 2012-10-16 Florian Weimer <fweimer@redhat.com>
26438 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26439 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26441 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26443 * NEWS: Mention BZ #14716.
26444 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26445 when removing AVAILABLE1_USES_J macro.
26447 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26449 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26450 (__bswap_64): __uint64_t for unsigned 64-bit int.
26452 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26454 * include/string.h (memmem): Declare libc hidden alias.
26455 * string/memmem.c (memmem): Define libc hidden alias.
26456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26457 __read, __close instead of open, read, close.
26459 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26462 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26464 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26465 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26466 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26468 (__rawmemchr_sse2): Likewise.
26469 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26470 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26471 (__strchr_sse2): Likewise.
26472 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26473 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26474 (__strcasecmp_sse2): Likewise.
26475 (__strncasecmp_sse2): Likewise.
26476 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26477 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26478 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26479 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26480 (__strrchr_sse2): Likewise.
26481 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26483 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26484 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26485 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26487 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26488 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26489 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26490 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26491 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26492 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26493 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26494 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26495 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26496 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26497 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26498 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26499 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26500 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26501 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26502 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26503 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26504 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26505 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26506 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26507 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26508 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26509 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26510 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26511 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26512 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26514 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26516 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26517 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26518 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26519 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26521 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26523 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26524 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26525 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26526 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26528 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26529 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26530 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26531 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26532 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26533 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26534 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26535 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26536 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26537 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26538 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26539 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26540 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26541 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26544 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26545 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26547 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26548 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26549 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26550 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26551 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26552 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26553 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26554 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26555 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26556 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26557 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26558 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26559 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26560 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26561 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26562 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26563 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26564 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26565 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26566 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26567 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26568 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26570 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26571 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26572 * include/ifunc-impl-list.h: New file.
26573 * misc/ifunc-impl-list.c: Likewise.
26574 * misc/Makefile (routines): Add ifunc-impl-list.
26575 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26576 * string/test-string.h: Include <ifunc-impl-list.h>.
26577 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26578 TEST_NAME]: New variables.
26579 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26581 (test_init): Call __libc_ifunc_impl_list to initialize
26582 func_list if TEST_IFUNC and TEST_NAME are defined.
26584 * string/Makefile (strop-tests): Add bcopy and bzero.
26585 * string/test-bcopy.c: New file.
26586 * string/test-bzero.c: Likewise.
26587 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26589 * string/test-memset.c: Support bzero test if TEST_BZERO is
26591 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26593 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26595 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26598 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26600 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26601 * configure: Regenerated.
26603 * Makeconfig (+link-static-before-libc): Don't include
26604 $(link-static-libc).
26606 * libio/libio.h (_IO_pos_t): Remove.
26608 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26610 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26613 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26615 * crypt/crypt-entry.c: Include fips-private.h.
26616 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26617 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26618 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26619 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26621 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26623 * crypt/crypt-private.h: Include stdbool.h.
26624 (_ufc_setup_salt_r): Return bool.
26625 * crypt/crypt-entry.c: Include errno.h.
26626 (__crypt_r): Return NULL with EINVAL for bad salt.
26627 * crypt/crypt_util.c (bad_for_salt): New.
26628 (_ufc_setup_salt_r): Check that salt is long enough and within
26629 the specified alphabet.
26630 * crypt/badsalttest.c: New file.
26631 * crypt/Makefile (tests): Add it.
26632 ($(objpfx)badsalttest): New.
26634 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26636 * NEWS: Add entry for BZ #14602.
26638 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26640 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26642 * math/libm-test.inc: Update comment listing what functions and
26644 (isgreater_test): New function.
26645 (isgreaterequal_test): Likewise.
26646 (isless_test): Likewise.
26647 (islessequal_test): Likewise.
26648 (islessgreater_test): Likewise.
26649 (isunordered_test): Likewise.
26650 (main): Call the new functions.
26652 2012-10-09 Roland McGrath <roland@hack.frob.com>
26654 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26655 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26656 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26657 * sysdeps/i386/configure: Regenerated.
26658 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26659 * sysdeps/mach/configure: Regenerated.
26660 * sysdeps/mach/hurd/configure: Regenerated.
26661 * sysdeps/powerpc/configure: Regenerated.
26662 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26663 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26664 * sysdeps/s390/s390-32/configure: Regenerated.
26665 * sysdeps/s390/s390-64/configure: Regenerated.
26666 * sysdeps/sh/configure: Regenerated.
26667 * sysdeps/sparc/configure: Regenerated.
26668 * sysdeps/unix/sysv/linux/configure: Regenerated.
26669 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26670 * sysdeps/x86_64/configure: Regenerated.
26672 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26673 defined. Don't check if MAP is NULL.
26675 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26677 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26678 (_G_stat64): Likewise.
26679 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26680 (_G_stat64): Likewise.
26681 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26682 instead of struct _G_stat64.
26683 * libio/fileops.c (mmap_remap_check): Likewise.
26684 (decide_maybe_mmap): Likewise.
26685 (_IO_new_file_seekoff): Likewise.
26686 (_IO_file_stat): Likewise.
26687 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26689 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26690 instead of struct _G_stat64.
26691 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26693 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26696 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26698 (CHECK_EOL): New macro.
26699 (two_way_short_needle): Check beginning of haystack for EOL. Use
26701 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26702 Replace with CHECK_EOL.
26703 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26704 Replace with CHECK_EOL.
26706 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26708 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26710 * math/libm-test.inc: Update comment listing what functions and
26712 (finite_test): New function.
26713 (isinf_test): Likewise.
26714 (isnan_test): Likewise.
26715 (fpclassify_test): Test subnormal input.
26716 (isfinite_test): Likewise.
26717 (isnormal_test): Likewise.
26718 (main): Call the new functions.
26720 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26723 * Makerules (%.dynsym): Force C locale when running
26724 $(OBJDUMP) --dynamic-syms.
26726 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26728 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26731 2012-10-06 David S. Miller <davem@davemloft.net>
26733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26734 upper 32-bits of the length value in %o2 since we use branch-on-register
26735 tests which consider the entire 64-bit register.
26737 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26739 * string/test-strstr.c (check2): Add a test for page boundary.
26741 2012-10-05 David S. Miller <davem@davemloft.net>
26743 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26744 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26746 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26748 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26749 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26750 and bzero when HWCAP_SPARC_CRYPTO is present.
26752 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26755 * string/test-strstr.c (check2): New function.
26756 (test_main): Call check2.
26758 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26760 * string/bug-strcasestr1.c (do_test): Moved to ...
26761 * string/test-strcasestr.c (check1): Here. New function.
26762 (do_one_test): Break out result checking code into ...
26763 (check_result): This. New function.
26764 (do_one_test): Call check_result.
26765 (test_main): Call check1.
26766 * string/bug-strchr1.c (do_test): Moved to ...
26767 * string/test-strchr.c (check1): Here. New function.
26768 (do_one_test): Break out result checking code into ...
26769 (check_result): This. New function.
26770 (do_one_test): Call check_result.
26771 (test_main): Call check1.
26772 * string/bug-strstr1.c (main): Moved to ...
26773 * string/test-strstr.c (check1): Here. New function.
26774 (do_one_test): Break out result checking code into ...
26775 (check_result): This. New function.
26776 (do_one_test): Call check_result.
26777 (test_main): Call check1.
26778 * string/bug-strcasestr1.c: Removed.
26779 * string/bug-strchr1.c: Likewise.
26780 * string/bug-strstr1.c: Likewise.
26782 * elf/Makefile (dl-routines): Add hwcaps.
26783 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26784 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26785 (_dl_important_hwcaps): Moved to ...
26786 * elf/dl-hwcaps.c: Here. New file.
26787 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26790 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26791 if IS_IN_rtld isn't defined.
26793 * elf/dl-support.c (_dl_sysinfo_map): New.
26794 Include "get-dynamic-info.h" and "setup-vdso.h".
26795 (_dl_non_dynamic_init): Call setup_vdso.
26796 * elf/dynamic-link.h: Don't include <assert.h>.
26797 (elf_get_dynamic_info): Moved to ...
26798 * elf/get-dynamic-info.h: Here. New file.
26799 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26800 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26801 * elf/setup-vdso.h: Here. New file.
26802 * elf/rtld.c: Include "setup-vdso.h".
26803 (dl_main): Call setup_vdso.
26805 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26807 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26808 creal in comment listing functions tested. List finite, isinf,
26809 isnan, isless, islessequal, isgreater, isgreaterequal,
26810 islessgreater, isunordered, lgamma_r and pow10 as functions and
26811 macros not tested. Mention which functions not tested are aliases
26812 for other functions. Fix typo. Note that signs of NaNs are not
26815 * scripts/config.guess: Update from config.git.
26816 * scripts/config.sub: Likewise.
26818 2012-10-04 Roland McGrath <roland@hack.frob.com>
26820 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26821 * misc/madvise.c (madvise): Renamed to __madvise.
26822 Make madvise a weak alias.
26823 * include/sys/mman.h: Declare __madvise.
26824 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26825 * sysdeps/unix/syscalls.list
26826 (madvise): Make __madvise the strong name, and madvise a weak alias.
26827 * sysdeps/unix/sysv/linux/syscalls.list
26828 (madvise, mmap): Remove redundant entries.
26829 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26830 * malloc/malloc.c (mtrim): Likewise.
26831 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26833 2012-10-03 Roland McGrath <roland@hack.frob.com>
26835 * sysdeps/mach/hurd/dl-cache.c: File removed.
26836 * config.h.in (USE_LDCONFIG): New #undef.
26837 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26838 * configure: Regenerated.
26839 * elf/Makefile (dl-routines): Add dl-cache only under
26840 [$(use-ldconfig) = yes].
26841 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26842 cache on [USE_LDCONFIG].
26843 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26845 * elf/rtld.c (dl_main): Likewise.
26847 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26849 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26850 _SC_LEVEL4_CACHE_LINESIZE.
26852 2012-10-03 Roland McGrath <roland@hack.frob.com>
26854 * sysdeps/unix/bsd/confstr.h: File removed.
26856 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26858 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26861 2012-10-02 Roland McGrath <roland@hack.frob.com>
26863 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26864 Make 'mapoff' field ElfW(Off) rather than off_t.
26866 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26868 * nscd/Makefile: Remove nscd-cflags and all its users.
26869 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26870 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26873 * malloc.c (malloc_printerr): Clarify error message.
26875 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26879 Set bit_FMA_Usable if FMA is supported.
26880 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26882 (bit_FMA4_Usable): Updated.
26883 (index_FMA_Usable): New macro.
26884 (CPUID_FMA): Likewise
26885 (HAS_FMA): Defined with bit_FMA_Usable.
26887 2012-10-01 Roland McGrath <roland@hack.frob.com>
26889 * bits/types.h (__swblk_t): Type removed.
26890 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26891 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26892 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26893 (__SWBLK_T_TYPE): Likewise.
26894 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26895 (__SWBLK_T_TYPE): Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26897 (__SWBLK_T_TYPE): Likewise.
26898 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26899 (__SWBLK_T_TYPE): Likewise.
26901 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26902 Honza Horak <hhorak@redhat.com>
26904 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26905 (xdr_mapname): Use YPMAXMAP as maxsize.
26906 (xdr_peername): Use YPMAXPEER as maxsize.
26907 (xdr_keydat): Use YPAXRECORD as maxsize.
26908 (xdr_valdat): Use YPMAXRECORD as maxsize.
26910 2012-10-01 Roland McGrath <roland@hack.frob.com>
26912 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26914 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26915 * csu/init-first.c: ... here.
26916 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26917 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26918 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26920 * sysdeps/i386/init-first.c: File removed.
26921 * sysdeps/sh/init-first.c: File removed.
26923 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26927 if x * y might underflow to zero and z is zero.
26928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26930 * math/libm-test.inc (min_subnorm_value): New variable.
26931 (fma_test): Add more tests.
26932 (fma_test_towardzero): Likewise.
26933 (fma_test_downward): Likewise
26934 (fma_test_upward): Likewise.
26935 (initialize): Set min_subnorm_value.
26937 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26943 mode for addition resulting in exact zero.
26944 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26947 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26949 * math/libm-test.inc (fma_test): Add more tests.
26950 (fma_test_towardzero): New function.
26951 (fma_test_downward): Likewise.
26952 (fma_test_upward): Likewise.
26953 (main): Call the new functions.
26955 2012-09-28 David S. Miller <davem@davemloft.net>
26957 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26959 2012-09-28 Roland McGrath <roland@hack.frob.com>
26961 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26962 instead of SIGALRM.
26964 * sysdeps/gnu/_G_config.h: Moved to ...
26965 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26966 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26967 * sysdeps/generic/_G_config.h: ... here.
26969 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26971 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26973 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26974 Conditionalize target on [libnss_test1.so-version].
26976 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26978 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26979 (elfobjdir): Move out of conditionals.
26981 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26982 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26983 (__nss_lookup_function): Conditionalize label remove_from_tree on
26984 [!DO_STATIC_NSS || SHARED], matching its only use.
26986 2012-09-28 David S. Miller <davem@davemloft.net>
26988 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26989 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26991 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26993 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26995 when HWCAP_SPARC_CRYPTO is present.
26997 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26999 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27001 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27004 * stdio-common/vfprintf.c (process_string_arg): Revert
27007 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27009 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27011 * stdio-common/tst-sprintf.c: Include <locale.h>
27012 (main): Test sprintf's handling of incomplete multibyte
27015 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27017 * elf/dl-runtime.c (VERSYMIDX): Removed.
27018 * elf/dl-version.c (VERSYMIDX): Likewise.
27019 * elf/do-rel.h (VERSYMIDX): Likewise.
27020 (VALIDX): Likewise.
27021 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27022 * elf/rtld.c (VALIDX): Likewise.
27023 (ADDRIDX): Likewise.
27024 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27025 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27026 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27027 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27028 (VALIDX): Likewise.
27029 (ADDRIDX): Likewise.
27031 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27033 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27035 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27038 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27040 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27041 addresses are in the same scope as 192.0.2/24.
27042 * posix/gai.conf: Document new scope table defaults.
27044 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27047 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27048 for ftell. Compute offsets from write pointers instead.
27049 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27051 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27054 * libio/Makefile (tests): New test case tst-fseek.
27055 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27056 combination works in wide mode.
27057 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27058 state when the external buffer state changes.
27060 2012-09-27 David S. Miller <davem@davemloft.net>
27063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27064 pass reloc->r_addend in as the 'high' argument to
27065 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27069 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27071 * rt/tst-aio2.c: Include <pthread.h>.
27072 * rt/tst-aio3.c: Likewise.
27074 2012-09-27 Steve Ellcey <sellcey@mips.com>
27076 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27078 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27080 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27081 contents on [SHARED].
27083 2012-09-26 Marek Polacek <polacek@redhat.com>
27087 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27088 for C++ and GCC <4.3 as well as for non GCC compilers.
27090 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27094 2012-09-25 Roland McGrath <roland@hack.frob.com>
27096 * Makefile.in (all, install): Declare with .PHONY.
27097 Reported by Michael Hope <michael.hope@linaro.org>.
27099 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27101 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27102 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27104 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27106 (sydep_routines): Add the new and the internal functions.
27107 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27108 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27110 (GLIBC_2.17): Add the new function.
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27112 (GLIBC_2.17): Likewise.
27113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27114 (GLIBC_2.17): Likewise.
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27116 (GLIBC_2.17): Likewise.
27117 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27119 2012-09-25 Alan Modra <amodra@gmail.com>
27121 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27122 Add release barrier before setting once_control to say
27123 initialisation is done. Add hints on lwarx. Use macro in
27125 (clear_once_control): Add release barrier.
27127 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27130 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27132 * math/s_clog10.c (__clog10): Likewise.
27133 * math/s_clog10f.c (__clog10f): Likewise.
27134 * math/s_clog10l.c (__clog10l): Likewise.
27135 * math/s_clogf.c (__clogf): Likewise.
27136 * math/s_clogl.c (__clogl): Likewise.
27137 * math/Makefile (libm-calls): Add x2y2m1.
27138 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27139 (__x2y2m1): Likewise.
27140 (__x2y2m1l): Likewise.
27141 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27142 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27145 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27146 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27147 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27148 * sysdeps/i386/fpu/libm-test-ulps: Update.
27149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27152 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27153 int as type of variable DEPTH.
27154 (glob): Use size_t instead of int as type of variables NEWCOUNT
27157 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27159 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27160 Add s_sincosf-sse2.
27161 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27162 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27163 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27164 macros for using routine as __sincosf_ia32.
27165 Use macro for function declaration and weak_alias.
27166 * sysdeps/i386/fpu/libm-test-ulps: Update.
27168 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27171 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27172 subnormal argument.
27173 * math/s_cexpf.c (__cexpf): Likewise.
27174 * math/s_csinf.c (__csinf): Likewise.
27175 * math/s_csinhf.c (__csinhf): Likewise.
27176 * math/s_ctanf.c (__ctanf): Likewise.
27177 * math/s_ctanhf.c (__ctanhf): Likewise.
27178 * math/s_ccosh.c (__ccoshf): Likewise.
27179 * math/s_cexp.c (__cexpl): Likewise.
27180 * math/s_csin.c (__csin): Likewise.
27181 * math/s_csinh.c (__csinh): Likewise.
27182 * math/s_ctan.c (__ctan): Likewise.
27183 * math/s_ctanh.c (ctanh): Likewise.
27184 * math/s_ccoshl.c (__ccoshl): Likewise.
27185 * math/s_cexpl.c (__cexpl): Likewise.
27186 * math/s_csinl.c (__csinl): Likewise.
27187 * math/s_csinhl.c (__csinhl): Likewise.
27188 * math/s_ctanl.c (__ctanl): Likewise.
27189 * math/s_ctanhl.c (__ctanhl): Likewise.
27191 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27193 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27194 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27195 (_IO_off_t): Define to __off_t, not _G_off_t.
27196 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27197 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27198 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27199 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27200 type of __dummy and __dummy2 fields.
27201 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27202 (_G_ssize_t): Likewise.
27203 (_G_off_t): Likewise.
27204 (_G_pid_t): Likewise.
27205 (_G_uid_t): Likewise.
27206 (_G_wchar_t): Likewise.
27207 (_G_wint_t): Likewise.
27208 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27209 (_G_ssize_t): Likewise.
27210 (_G_off_t): Likewise.
27211 (_G_pid_t): Likewise.
27212 (_G_uid_t): Likewise.
27213 (_G_wchar_t): Likewise.
27214 (_G_wint_t): Likewise.
27215 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27216 (_G_ssize_t): Likewise.
27217 (_G_off_t): Likewise.
27218 (_G_pid_t): Likewise.
27219 (_G_uid_t): Likewise.
27220 (_G_wchar_t): Likewise.
27221 (_G_wint_t): Likewise.
27223 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27225 * malloc/arena.c: Include malloc-sysdep.h.
27226 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27227 is sufficient to shrink the heap or an unmap is needed.
27228 * sysdeps/generic/malloc-sysdep.h: New file. Define
27229 new function check_may_shrink_heap.
27230 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27231 new function check_may_shrink_heap.
27233 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27235 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27238 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27240 * catgets/test-gencat.sh: Add "set -e".
27241 * elf/tst-pathopt.sh: Likewise.
27242 * grp/tst_fgetgrent.sh: Likewise.
27243 * iconvdata/run-iconv-test.sh: Likewise.
27244 * intl/tst-gettext.sh: Likewise.
27245 * intl/tst-gettext2.sh: Likewise.
27246 * intl/tst-gettext4.sh: Likewise.
27247 * intl/tst-gettext6.sh: Likewise.
27248 * intl/tst-translit.sh: Likewise.
27249 * io/ftwtest-sh: Likewise.
27250 * libio/test-freopen.sh: Likewise.
27251 * malloc/tst-mtrace.sh: Likewise.
27252 * posix/globtest.sh: Likewise.
27253 * posix/tst-getconf.sh: Likewise.
27254 * posix/wordexp-tst.sh: Likewise.
27255 * stdio-common/tst-printf.sh: Likewise.
27256 * stdio-common/tst-unbputc.sh: Likewise.
27257 * stdlib/tst-fmtmsg.sh: Likewise.
27258 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27259 * catgets/Makefile: Do not specify -e option when running
27260 testsuite shell scripts.
27261 * elf/Makefile: Likewise.
27262 * grp/Makefile: Likewise.
27263 * iconvdata/Makefile: Likewise.
27264 * intl/Makefile: Likewise.
27265 * io/Makefile: Likewise.
27266 * libio/Makefile: Likewise.
27267 * malloc/Makefile: Likewise.
27268 * posix/Makefile: Likewise.
27269 * stdio-common/Makefile: Likewise.
27270 * stdlib/Makefile: Likewise.
27271 * sysdeps/x86_64/Makefile: Likewise.
27273 * io/ftwtest-sh: Add copyright header.
27274 * posix/globtest.sh: Likewise.
27275 * posix/tst-getconf.sh: Likewise.
27276 * posix/wordexp-tst.sh: Likewise.
27277 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27279 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27282 * Makeconfig (+link): Defined as $(+link-static) if
27283 $(build-shared) isn't yes.
27284 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27286 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27288 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27291 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27292 new chunk size with MALLOC_ALIGN_MASK.
27294 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27297 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27299 (__printf_fphex): Determine rounding using get_rounding_mode and
27301 * stdio-common/tst-printf-round.c (struct hex_test): New
27303 (hex_tests): New variable.
27304 (test_hex_in_one_mode): New function.
27305 (do_test): Also run tests for hex float output.
27307 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27309 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27311 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27312 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27313 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27314 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27315 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27316 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27318 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27320 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27321 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27322 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27323 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27325 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27328 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27330 * elf/tst-rtld-load-self.sh: New test.
27331 * elf/Makefile: Run it.
27333 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27335 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27336 (tst-writev-ENV): Remove.
27337 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27339 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27341 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27343 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27345 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27347 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27349 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27350 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27351 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27354 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27357 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27358 * config.make.in (have-cpp-asm-debuginfo): Removed.
27359 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27360 * configure: Regenerated.
27362 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27365 * stdio-common/printf_fp.c: Include <stdbool.h> and
27367 (___printf_fp): Determine rounding using get_rounding_mode and
27369 * stdio-common/tst-printf-round.c: New file.
27370 * stdio-common/Makefile (tests): Add tst-printf-round.
27371 (link-libm): New variable.
27372 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27374 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27377 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27378 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27380 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27383 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27385 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27386 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27387 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27388 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27390 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27393 * include/rounding-mode.h: New file.
27394 * sysdeps/generic/get-rounding-mode.h: Likewise.
27395 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27396 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27397 (MAX_VALUE): New macro.
27398 (MIN_VALUE): Likewise.
27399 (overflow_value): New function.
27400 (underflow_value): Likewise.
27401 (round_and_return): Use overflow_value and underflow_value to
27402 determine return values in overflow and underflow cases. Use
27403 round_away to determine rounding depending on rounding mode.
27404 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27405 determine return values in overflow and underflow cases.
27406 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27407 (struct test_results): New structure.
27408 (struct test): Use struct test_results to store expected results
27409 for all rounding modes.
27410 (TEST): Include expected results for all rounding modes.
27411 (test_in_one_mode): New function.
27412 (do_test): Use test_in_one_mode to compute and check results.
27413 Check results for all rounding modes.
27414 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27417 2012-12-09 Allan McRae <allan@archlinux.org>
27419 * sysdeps/i386/fpu/libm-test-ulps: Update
27421 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27424 (_G_int32_t): Likewise.
27425 (_G_uint16_t): Likewise.
27426 (_G_uint32_t): Likewise.
27427 (_G_HAVE_BOOL): Likewise.
27428 (_G_HAVE_ATEXIT): Likewise.
27429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27430 (_G_HAVE_IO_FILE_OPEN): Likewise.
27431 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27432 (_G_int32_t): Likewise.
27433 (_G_uint16_t): Likewise.
27434 (_G_uint32_t): Likewise.
27435 (_G_HAVE_BOOL): Likewise.
27436 (_G_HAVE_ATEXIT): Likewise.
27437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27438 (_G_HAVE_IO_FILE_OPEN): Likewise.
27439 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27440 (_G_int32_t): Likewise.
27441 (_G_uint16_t): Likewise.
27442 (_G_uint32_t): Likewise.
27443 (_G_HAVE_BOOL): Likewise.
27444 (_G_HAVE_ATEXIT): Likewise.
27445 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27446 (_G_HAVE_IO_FILE_OPEN): Likewise.
27448 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27450 * csu/libc-tls.c: Update copyright years.
27452 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27454 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27455 [!_G_USING_THUNKS]: Remove conditional code.
27456 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27457 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27459 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27460 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27461 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27462 (_G_VTABLE_LABEL_PREFIX): Likewise.
27463 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27464 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27466 (_G_VTABLE_LABEL_PREFIX): Likewise.
27467 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27468 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27469 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27470 (_G_VTABLE_LABEL_PREFIX): Likewise.
27471 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27473 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27475 * libio/Makefile: Include ../Makeconfig before tests.
27476 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27477 only if $(build-shared) is yes.
27479 * iconv/gconv_db.c: Update copyright years.
27481 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27483 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27484 unwind info if defined PIC. Fix special cases description.
27485 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27487 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27489 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27491 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27493 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27495 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27498 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27499 (LDLIBS-tst-chk4): This.
27500 (LDFLAGS-tst-chk5): Renamed to ...
27501 (LDLIBS-tst-chk5): This.
27502 (LDFLAGS-tst-chk6): Renamed to ...
27503 (LDLIBS-tst-chk6): This.
27504 (LDFLAGS-tst-lfschk4): Renamed to ...
27505 (LDLIBS-tst-lfschk4): This.
27506 (LDFLAGS-tst-lfschk5): Renamed to ...
27507 (LDLIBS-tst-lfschk5): This.
27508 (LDFLAGS-tst-lfschk6): Renamed to ...
27509 (LDLIBS-tst-lfschk6): This.
27511 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27512 on $(common-objpfx)soversions.mk.
27514 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27517 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27520 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27522 * malloc/arena.c (arena_get_retry): New function that gets
27523 another arena for the caller to try its request on.
27524 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27525 current arena cannot fulfill the request.
27526 (__libc_memalign): Likewise.
27527 (__libc_memalign): Likewise.
27528 (__libc_pvalloc): Likewise.
27529 (__libc_calloc): Likewise.
27531 2012-09-05 John Tobey <john.tobey@gmail.com>
27534 * manual/arith.texi (Operations on Complex): Fix description
27535 of carg branch cut.
27537 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27540 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27544 * manual/memory.texi (Memory): Make order of menu items match
27547 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27549 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27550 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27551 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27553 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27555 * csu/libc-tls.c (static_dtv): Renamed to ...
27556 (_dl_static_dtv): This. Make it global.
27557 (_dl_initial_dtv): Removed.
27558 (__libc_setup_tls): Updated.
27559 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27560 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27563 2012-09-06 Petr Machata <pmachata@redhat.com>
27565 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27566 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27567 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27568 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27570 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27573 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27574 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27577 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27580 * Makeconfig (link-static-before-libc): Replace $(+prector)
27582 (link-static-after-libc): Replace $(+postctor) with
27584 (link-bounded): Replace $(+prector)/$(+postctor) with
27585 $(+prectorT)/$(+postctorT).
27586 (+prectorT): New macro.
27587 (+postctorT): Likewise.
27589 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27591 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27592 (round_str): Handle values above the maximum for IBM long double
27594 * stdlib/tst-strtod-round.c (tests): Regenerated.
27596 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27598 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27600 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27601 zarch_nohighgprs around the zarch optimized routines.
27602 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27603 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27604 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27607 2012-09-05 David S. Miller <davem@davemloft.net>
27609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27611 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27612 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27613 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27614 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27617 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27619 * malloc/arena.c: Fold copyright years.
27620 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27622 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27626 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27628 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27632 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27633 change internal state upon failure.
27635 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27637 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27638 * malloc/memusage.c (mmap): Likewise.
27639 (mmap64, mremap): Likewise. Adjust name in comment.
27641 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27643 * libio/fileops.c: Fix typos in comments.
27644 * libio/oldfileops.c: Likewise.
27645 * libio/wfileops.c: Likewise.
27647 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27650 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27651 (tst-malloc-usable-ENV): Set environment for test case.
27652 * malloc/hooks.c (malloc_check_get_size): New function to get
27654 * malloc/malloc.c (musable): Use malloc_check_get_size.
27655 * malloc/tst-malloc-usable.c: New test case.
27657 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27659 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27661 2012-09-05 Allan McRae <allan@archlinux.org>
27664 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27665 determine header location.
27666 * configure: Regenerated.
27668 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27670 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27672 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27673 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27675 (test): Regenerate.
27677 2012-09-04 David S. Miller <davem@davemloft.net>
27679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27683 2012-09-04 Florian Weimer <fweimer@redhat.com>
27685 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27688 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27690 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27693 * libio/iogetdelim.c: Include <limits.h>.
27694 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27695 + len + 1 would overflow.
27697 2012-09-03 Andreas Jaeger <aj@suse.de>
27699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27700 * sysdeps/i386/fpu/libm-test-ulps: Update.
27702 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27704 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27705 Add s_sinf-sse2, s_conf-sse2.
27707 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27709 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27710 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27712 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27713 for using routine as __sinf_ia32.
27714 Use macro for function declaration and weak_alias.
27715 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27716 for using routine as __cosf_ia32.
27717 Use macro for function declaration and weak_alias.
27719 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27720 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27722 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27723 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27726 * math/libm-test.inc (cos_test): Add more test cases.
27727 (sin_test): Likewise.
27728 (sincos_test): Likewise.
27730 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27733 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27735 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27737 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27740 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27741 first element of the GOT.
27742 (elf_machine_load_address): Return the difference between
27743 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27745 2012-09-01 Allan McRae <allan@archlinux.org>
27748 * configure.in (AWK): Require gawk version 3.0 or later.
27749 * configure: Regenerated.
27751 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27753 * sysdeps/unix/sysv/linux/kernel-features.h
27754 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27755 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27756 [__NR_clock_getres]: Make code unconditional.
27757 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27758 (clock_getcpuclockid): Remove code left unreachable by removal of
27760 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27761 code unconditional.
27762 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27763 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27764 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27765 Make code unconditional.
27766 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27768 * sysdeps/unix/sysv/linux/clock_settime.c
27769 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27771 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27772 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27774 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27777 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27778 scripts/test-installation.pl.
27780 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27781 and $ld_so_version if it is set.
27783 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27786 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27787 failure if reading from procfs failed.
27788 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27790 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27792 * sysdeps/unix/sysv/linux/kernel-features.h
27793 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27794 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27795 Remove conditional code.
27796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27797 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27798 Remove conditional code.
27799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27800 * sysdeps/unix/sysv/linux/i386/fxstat.c
27801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27803 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27806 * sysdeps/unix/sysv/linux/i386/lxstat.c
27807 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27809 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27810 Remove conditional code.
27811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27812 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27813 Remove conditional code.
27814 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27816 <kernel-features.h>.
27817 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27819 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27820 Remove conditional code.
27821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27822 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27823 Remove conditional.
27825 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27828 * NEWS: Add fixed bug number.
27830 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27833 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27834 underflowing exponent in case of negative sign.
27835 * stdlib/tst-strtod-round-data: Add more tests.
27836 * stdlib/tst-strtod-round.c (tests): Regenerated.
27839 * stdlib/strtod_l.c (NDIG): Remove.
27840 (HEXNDIG): Likewise.
27841 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27842 smallest representable value.
27843 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27844 lie within an exact representation of 1/2 ulp of the result.
27845 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27847 (TENS_P9_IDX): Define unconditionally.
27848 (TENS_P9_SIZE): Likewise.
27849 (TENS_P10_IDX): Likewise.
27850 (TENS_P10_SIZE): Likewise.
27851 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27852 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27853 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27854 entries for 10^2^13 and 10^2^14.
27855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27856 (TENS_P13_IDX): Define.
27857 (TENS_P13_SIZE): Likewise.
27858 (TENS_P14_IDX): Likewise.
27859 (TENS_P14_SIZE): Likewise.
27860 (_fpioconst_pow10): Change array size to
27861 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27863 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27864 1024]: Add entries for 10^2^13 and 10^2^14.
27865 [LAST_POW10 > _LAST_POW10]: Remove #error.
27866 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27867 (_fpioconst_pow10): Change array size to
27868 FPIOCONST_POW10_ARRAY_SIZE.
27869 * stdlib/gen-fpioconst.c: New file.
27870 * stdlib/gen-tst-strtod-round.c: Likewise.
27871 * stdlib/tst-strtod-round-data: Likewise.
27872 * stdlib/tst-strtod-round.c: Likewise.
27873 * stdlib/Makefile (tests): Add tst-strtod-round.
27876 * stdlib/strtod_l.c: Include <stdint.h>.
27877 (NDEBUG): Do not define.
27878 (round_and_return): Change EXPONENT parameter to type intmax_t.
27879 Rearrange calculations to avoid internal overflow possibilities.
27880 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27881 Rearrange calculations to avoid internal overflow possibilities.
27882 Assert that number fits inside MPNSIZE limbs.
27883 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27884 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27885 calculations and add assertions to avoid internal overflow
27886 possibilities. Add casts to avoid signed/unsigned operations.
27887 * stdlib/tst-strtod-overflow.c: New file.
27888 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27890 2012-08-25 Marek Polacek <polacek@redhat.com>
27892 * time/time.h: Fix some typos in comments.
27894 2012-08-23 Roland McGrath <roland@hack.frob.com>
27896 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27897 * posix/tst-rfc3484-2.c: Likewise.
27898 * posix/tst-rfc3484-3.c: Likewise.
27900 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27902 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27903 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27905 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27907 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27908 #include of fxstatat64.c.
27910 2012-08-22 Roland McGrath <roland@hack.frob.com>
27912 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27913 * shadow/getspent_r.c: Likewise.
27914 * shadow/getspnam.c: Likewise.
27915 * shadow/getspnam_r.c: Likewise.
27916 * gshadow/getsgent.c: Likewise.
27917 * gshadow/getsgent_r.c: Likewise.
27918 * gshadow/getsgnam.c: Likewise.
27919 * gshadow/getsgnam_r.c: Likewise.
27920 * inet/getnetbyad.c: Likewise.
27921 * inet/getnetbyad_r.c: Likewise.
27922 * inet/getnetbynm.c: Likewise.
27923 * inet/getnetbynm_r.c: Likewise.
27924 * inet/getnetent.c: Likewise.
27925 * inet/getnetent_r.c: Likewise.
27926 * inet/getproto.c: Likewise.
27927 * inet/getproto_r.c: Likewise.
27928 * inet/getprtent.c: Likewise.
27929 * inet/getprtent_r.c: Likewise.
27930 * inet/getprtname.c: Likewise.
27931 * inet/getprtname_r.c: Likewise.
27932 * inet/getrpcbyname.c: Likewise.
27933 * inet/getrpcbyname_r.c: Likewise.
27934 * inet/getrpcbynumber.c: Likewise.
27935 * inet/getrpcbynumber_r.c: Likewise.
27936 * inet/getrpcent.c: Likewise.
27937 * inet/getrpcent_r.c: Likewise.
27938 * inet/getaliasent.c: Likewise.
27939 * inet/getaliasent_r.c: Likewise.
27940 * inet/getaliasname.c: Likewise.
27941 * inet/getaliasname_r.c: Likewise.
27942 * nscd/getgrgid_r.c: Likewise.
27943 * nscd/getgrnam_r.c: Likewise.
27944 * nscd/gethstbyad_r.c: Likewise.
27945 * nscd/gethstbynm3_r.c: Likewise.
27946 * nscd/getpwnam_r.c: Likewise.
27947 * nscd/getpwuid_r.c: Likewise.
27948 * nscd/getsrvbynm_r.c: Likewise.
27949 * nscd/getsrvbypt_r.c: Likewise.
27950 * nscd/gai.c: Likewise.
27952 * configure.in (build_nscd): New substituted variable, set
27953 by --disable-build-nscd and defaults to $use_nscd.
27954 * configure: Regenerated.
27955 * config.make.in (build-nscd): New substituted variable.
27956 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27957 Change conditional to require [$(build-nscd) = yes] as well.
27958 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27961 * configure.in (use_nscd): New substituted variable, set by
27962 --disable-nscd. If enabled, define USE_NSCD.
27963 * configure: Regenerated.
27964 * config.h.in: Add USE_NSCD.
27965 * config.make.in (use-nscd): New substituted variable.
27966 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27967 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27968 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27969 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27970 (CFLAGS-getgrnam_r.c): Likewise.
27971 (CFLAGS-initgroups.c): Likewise.
27972 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27973 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27975 * inet/getnetgrent_r.c
27976 (nscd_setnetgrent): New function, broken out of ...
27977 (setnetgrent): ... here. Call it.
27978 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27979 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27980 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27981 * nscd/Makefile (routines, aux): Move definitions after include of
27982 Makeconfig. Conditionalize on [$(use-nscd) != no].
27983 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27984 Conditionalize on [USE_NSCD].
27985 (is_nscd, nscd_init_cb): Likewise.
27986 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27987 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27988 * nss/nss_db/db-init.c: Likewise.
27989 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27991 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27992 (make_request): Use it.
27993 (cache_valid_p): New function.
27994 (__check_pf): Use it.
27995 * NEWS: Add item for --disable-nscd.
27997 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27999 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28000 to support sed >= 4.2.1-20-ga9bf076.
28001 * configure: Regenerated.
28003 2012-08-22 Roland McGrath <roland@hack.frob.com>
28005 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28006 Conditionalize whole body on [IREL].
28008 2012-08-22 Jeff Law <law@redhat.com>
28011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28012 if the family is PF_UNSPEC.
28014 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28016 * Makerules (lib-version): Rename from V.
28017 (install-lib-nosubdir): Change V to lib-version.
28019 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28022 * powerpc32/power6/wcschr.c: New file.
28023 * powerpc32/power6/wcscpy.c: New file.
28024 * powerpc32/power6/wcsrchr.c: New file.
28025 * powerpc64/power6/wcschr.c: New file.
28026 * powerpc64/power6/wcscpy.c: New file.
28027 * powerpc64/power6/wcsrchr.c: New file.
28029 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28031 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28032 (two_way_short_needle): Use it.
28033 * string/strstr.c (AVAILABLE1_USES_J): Define.
28034 * string/strcasestr.c: Likewise.
28036 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28038 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28041 * NEWS: Add an entry.
28042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28043 define their defaults.
28044 (two_way_short_needle): Detect end-of-string on-the-fly.
28045 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28046 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28047 * string/bug-strcasestr1.c: New test.
28048 * string/Makefile: Run it.
28050 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28053 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28054 the first character.
28056 2012-08-21 Roland McGrath <roland@hack.frob.com>
28058 * csu/elf-init.c (__libc_csu_irel): Function removed.
28059 * csu/libc-start.c (apply_irel): New function.
28060 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28062 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28064 * sysdeps/unix/sysv/linux/kernel-features.h
28065 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28066 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28067 <kernel-features.h>.
28068 [__NR_fadvise64_64]: Make code unconditional.
28069 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28070 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28071 !__NR_fadvise64_64)]: Likewise.
28072 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28073 !__NR_fadvise64_64))]: Likewise.
28074 [__NR_fadvise64]: Make code unconditional.
28075 [!__NR_fadvise64]: Remove conditional code.
28076 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28077 <kernel-features.h>.
28078 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28080 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28083 not include <kernel-features.h>.
28084 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28086 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28088 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28089 include <kernel-features.h>.
28090 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28092 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28095 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28097 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28098 slight instruction rearrangements per scrollpipe analysis.
28099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28101 2012-08-20 Roland McGrath <roland@hack.frob.com>
28103 * manual/syslog.texi (syslog; vsyslog, closelog):
28104 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28105 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28107 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28108 DSOCAPS to match condition on defining it.
28110 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28112 * sysdeps/unix/sysv/linux/kernel-features.h
28113 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28121 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28122 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28124 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28125 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28127 * sysdeps/unix/sysv/linux/kernel-features.h
28128 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28129 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28131 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28132 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28133 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28134 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28135 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28136 Make code unconditional.
28137 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28138 (__mmap64) [!__NR_mmap2]: Likewise.
28139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28142 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28143 [__NR_mmap2]: Make code unconditional.
28144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28145 (__mmap64) [!__NR_mmap2]: Likewise.
28147 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28149 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28151 2012-08-18 Andreas Jaeger <aj@suse.de>
28153 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28155 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28157 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28158 * include/unistd.h (__have_sock_cloexec): Likewise.
28159 (__have_pipe2): Likewise.
28160 (__have_dup3): Likewise.
28162 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28165 * include/unistd.h (__have_pipe2): Change define into an extern int.
28166 (__have_dup3): Likewise.
28167 * socket/have_sock_cloexec.c: Include fcntl.h.
28168 (__have_pipe2): New variable.
28169 (__have_dup3): Likewise.
28171 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28173 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28175 2012-08-17 Marek Polacek <polacek@redhat.com>
28177 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28178 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28180 2012-08-17 Roland McGrath <roland@hack.frob.com>
28182 * configure.in: Add AC_SUBST for sysheaders.
28183 * configure: Regenerated.
28184 * config.make.in (sysheaders): New substituted variable.
28186 * sysdeps/unix/mkfifo.c: Moved ...
28187 * sysdeps/posix/mkfifo.c: ... here.
28188 * sysdeps/unix/mkfifoat.c: Moved ...
28189 * sysdeps/posix/mkfifoat.c: ... here.
28191 * sysdeps/unix/utime.c: Moved ...
28192 * sysdeps/posix/utime.c: ... here.
28194 * sysdeps/unix/time.c: Moved ...
28195 * sysdeps/posix/time.c: ... here.
28196 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28197 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28199 * sysdeps/unix/nice.c: Moved ...
28200 * sysdeps/posix/nice.c: ... here.
28202 * sysdeps/unix/alarm.c: Moved ...
28203 * sysdeps/posix/alarm.c: ... here.
28205 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28207 2012-08-17 Jeff Law <law@redhat.com>
28209 * intl/Makefile (codeset_mo): New variable.
28210 ($(codeset_mo)): New target.
28211 (tst-codeset.out): Depend on that. Remove explicit rule.
28212 (tst-gettext3.out, tst-gettext5.out): Likewise.
28213 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28214 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28215 * intl/tst-codeset.sh: Remove.
28216 * intl/tst-gettext3.sh: Likewise.
28217 * intl/tst-gettext5.sh: Likewise.
28219 2012-08-17 Roland McGrath <roland@hack.frob.com>
28221 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28222 * sysdeps/unix/syscalls.list: ... here.
28224 * sysdeps/posix/getaddrinfo.c
28225 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28226 (gaiconf_init, gaiconf_reload): Use them.
28227 [!_STATBUF_ST_NSEC]
28228 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28229 Define using time_t rather than struct timespec.
28231 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28232 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28234 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28236 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28237 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28240 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28241 __libc_cleanup_push argument.
28243 * bits/param.h: New file.
28244 * misc/sys/param.h: New file.
28245 * include/sys/param.h: New file.
28246 * misc/Makefile (headers): Add bits/param.h.
28247 * sysdeps/generic/sys/param.h: File removed.
28248 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28249 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28250 * sysdeps/mach/hurd/bits/param.h: New file.
28251 * sysdeps/mach/hurd/sys/param.h: File removed.
28253 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28256 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28258 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28259 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28262 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28263 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28264 rather than -D_IO_MTSAFE_IO conditionally.
28265 * stdio-common/Makefile (CPPFLAGS): Likewise.
28266 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28267 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28268 Use $(libio-mtsafe).
28269 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28270 of -D_IO_MTSAFE_IO.
28271 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28272 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28273 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28274 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28275 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28276 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28277 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28278 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28279 (CFLAGS-fread_u_chk.c): Likewise.
28280 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28281 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28282 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28283 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28284 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28285 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28286 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28287 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28288 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28290 * libio/Makefile: Test [$(libc-reentrant) = yes]
28291 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28294 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28295 * sysdeps/pthread/configure: File removed.
28296 * sysdeps/pthread/Makeconfig: New file.
28297 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28298 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28300 2012-08-16 Gary Benson <gbenson@redhat.com>
28302 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28303 unmapping the first object in a namespace.
28305 2012-08-16 Roland McGrath <roland@hack.frob.com>
28307 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28308 (__internal_setnetgrent): ... this. Add internal_function to
28309 definition. Add libc_hidden_def.
28310 (setnetgrent): Update caller.
28311 (internal_endnetgrent): Renamed to ...
28312 (__internal_endnetgrent): ... this. Add internal_function to
28313 definition. Add libc_hidden_def.
28314 (endnetgrent): Update caller.
28315 (internal_getnetgrent_r): Renamed to ...
28316 (__internal_getnetgrent_r): ... this. Add internal_function to
28317 definition. Add libc_hidden_def.
28318 (__getnetgrent_r): Update caller.
28319 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28321 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28323 * stdlib/longlong.h: Update from GCC.
28325 2012-08-16 Roland McGrath <roland@hack.frob.com>
28327 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28328 on _QL, which is set by umul_ppmm but never used.
28329 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28330 variables, which are set by GMP macros but never used.
28331 * stdio-common/_itowa.c (_itowa): Likewise.
28332 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28333 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28335 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28337 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28338 struct La_sh_regs is not constant.
28339 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28340 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28341 and struct La_sparc64_regs are not constant.
28343 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28345 * sysdeps/unix/sysv/linux/kernel-features.h
28346 (__ASSUME_POSIX_TIMERS): Remove.
28347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28349 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28350 Make code unconditional.
28351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28352 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28353 Make code unconditional.
28354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28355 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28356 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28358 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28359 Make code unconditional.
28360 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28361 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28362 (__libc_missing_posix_timers): Remove.
28364 2012-08-15 Roland McGrath <roland@hack.frob.com>
28366 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28367 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28369 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28371 * elf/dl-sym.c: Include <stdlib.h>.
28373 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28374 constants, which avoids warnings in 32-bit builds.
28376 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28377 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28379 * misc/lseek.c: File moved to ...
28380 * io/lseek.c: ... here.
28382 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28384 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28385 shifting LEN more than 31 bits at once.
28387 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28390 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28391 segmentation fault for a case of two empty input strings.
28392 * string/test-strncasecmp.c (check1): Renamed to...
28393 (bz12205): ...this.
28394 (bz14195): Add new testcase for two empty input strings and N > 0.
28395 (test_main): Call new testcase, adapt for renamed function.
28397 2012-08-15 Andreas Jaeger <aj@suse.de>
28400 * crypt/md5test2.c: New test, based on test supplied by Serge
28401 Belyshev <belyshev@depni.sinp.msu.ru>.
28402 * crypt/Makefile (xtests): Add md5test-giant..
28403 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28405 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28408 * crypt/md5.c (md5_process_block): Don't assume the buffer
28409 length is less than 2**32.
28410 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28411 length is less than 2**64.
28413 2012-08-15 Roland McGrath <roland@hack.frob.com>
28415 * string/str-two-way.h: Include <sys/param.h>.
28416 (MAX): Macro removed.
28418 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28419 Move #define and #undef of memmove to just before and after
28420 including <string.h>.
28422 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28423 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28424 and after including <string.h>. Move declarations of
28425 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28426 to before #include "string/memmove.c".
28428 * include/dirent.h: Declare __getdirentries.
28430 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28431 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28433 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28435 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28436 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28437 * sysdeps/i386/configure: Regenerated.
28438 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28439 STABS_CURRENT_FILE, and STABS_FUN.
28440 (END): Remove call to STABS_FUN_END.
28441 (STABS_CURRENT_FILE1): Delete.
28442 (STABS_CURRENT_FILE): Likewise.
28443 (STABS_FUN): Likewise.
28444 (STABS_FUN_END): Likewise.
28445 (STABS_FUN2): Likewise.
28446 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28447 * sysdeps/x86_64/configure: Regenerated.
28449 2012-08-14 Roland McGrath <roland@hack.frob.com>
28451 * elf/dl-open.c: Include <atomic.h>.
28452 * elf/dl-lookup.c: Likewise.
28454 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28456 * sysdeps/unix/sysv/linux/kernel-features.h
28457 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28458 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28460 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28462 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28463 condition on __ASSUME_CLONE_THREAD_FLAGS.
28465 2012-08-14 Andreas Jaeger <aj@suse.de>
28467 * sysdeps/i386/fpu/libm-test-ulps: Update.
28469 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28471 * include/atomic.h (atomic_exchange_and_add): Split into ...
28472 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28475 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28479 2012-08-13 Jeff Law <law@redhat.com>
28481 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28482 null byte in the output string.
28484 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28486 * sysdeps/unix/sysv/linux/kernel-features.h
28487 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28488 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28489 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28491 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28492 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28493 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28495 2012-08-09 Jeff Law <law@redhat.com>
28498 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28499 When avoid_arena is set, don't retry in the that arena. Pick the
28500 next one, whatever it might be.
28501 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28502 (arena_lock): Pass in new parameter to arena_get2.
28503 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28505 (__libc_malloc): Unify retrying after main arena failure with
28506 __libc_memalign version.
28507 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28509 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28513 to __redirect_strstr.
28514 (__strstr_sse42): Use typeof __redirect_strstr.
28515 (__strstr_ia32): Likewise.
28516 (__libc_strstr): New prototype.
28517 (strstr): Renamed to ...
28518 (__libc_strstr): This.
28519 (strstr): New strong alias of __libc_strstr.
28520 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28524 (__libc_time): New prototype.
28525 (time_ifunc): Replace time with __libc_time.
28526 (time): New strong alias and hidden definition of __libc_time.
28527 (__GI_time): Remove strong alias.
28528 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28529 Include <stddef.h>.
28530 (memmove): Redefined to __redirect_memmove.
28531 (__memmove_sse2): Use typeof __redirect_memmove.
28532 (__memmove_ssse3): Likewise.
28533 (__memmove_ssse3_back): Likewise.
28534 (__libc_memmove): New prototype.
28535 (memmove): Renamed to ...
28536 (__libc_memmove): This.
28537 (memmove): New strong alias of __libc_memmove.
28539 2012-08-08 Mark Salter <msalter@redhat.com>
28542 (R_MN10300_TLS_GD): Define.
28543 (R_MN10300_TLS_LD): Likewise.
28544 (R_MN10300_TLS_LDO): Likewise.
28545 (R_MN10300_TLS_GOTIE): Likewise.
28546 (R_MN10300_TLS_IE): Likewise.
28547 (R_MN10300_TLS_LE): Likewise.
28548 (R_MN10300_TLS_DTPMOD): Likewise.
28549 (R_MN10300_TLS_DTPOFF): Likewise.
28550 (R_MN10300_TLS_TPOFF): Likewise.
28551 (R_MN10300_SYM_DIFF): Likewise.
28552 (R_MN10300_ALIGN): Likewise.
28553 (R_MN10300_NUM): Update.
28555 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28557 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28560 2012-08-08 Roland McGrath <roland@hack.frob.com>
28562 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28564 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28565 sysdeps/unix -> sysdeps/posix move.
28566 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28568 2012-08-07 Allan McRae <allan@archlinux.org>
28571 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28572 (SUNOS_CPP): Likewise.
28573 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28575 (open_input): Call CPP using execvp.
28577 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28579 * sysdeps/unix/sysv/linux/kernel-features.h
28580 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28581 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28582 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28583 (__ASSUME_WAITID_SYSCALL): Likewise.
28584 * sysdeps/unix/sysv/linux/dl-execstack.c
28585 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28586 code unconditional.
28587 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28590 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28591 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28593 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28595 [__ASSUME_WAITID_SYSCALL]: Likewise.
28596 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28598 2012-08-07 Roland McGrath <roland@hack.frob.com>
28600 * sysdeps/unix/closedir.c: Renamed to ...
28601 * sysdeps/posix/closedir.c: ... here.
28602 * sysdeps/unix/dirfd.c: Renamed to ...
28603 * sysdeps/posix/dirfd.c: ... here.
28604 * sysdeps/unix/dirstream.h: Renamed to ...
28605 * sysdeps/posix/dirstream.h: ... here.
28606 * sysdeps/unix/fdopendir.c: Renamed to ...
28607 * sysdeps/posix/fdopendir.c: ... here.
28608 * sysdeps/unix/opendir.c: Renamed to ...
28609 * sysdeps/posix/opendir.c: ... here.
28610 * sysdeps/unix/readdir.c: Renamed to ...
28611 * sysdeps/posix/readdir.c: ... here.
28612 * sysdeps/unix/readdir_r.c: Renamed to ...
28613 * sysdeps/posix/readdir_r.c: ... here.
28614 * sysdeps/unix/rewinddir.c: Renamed to ...
28615 * sysdeps/posix/rewinddir.c: ... here.
28616 * sysdeps/unix/seekdir.c: Renamed to ...
28617 * sysdeps/posix/seekdir.c: ... here.
28618 * sysdeps/unix/telldir.c: Renamed to ...
28619 * sysdeps/posix/telldir.c: ... here.
28620 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28621 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28622 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28623 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28626 * bits/fcntl.h: ... here.
28628 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28630 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28631 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28632 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28633 (struct flock): Move l_start, l_len to the beginning.
28634 Use __pid_t for l_pid.
28635 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28636 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28637 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28638 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28639 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28640 [__USE_LARGEFILE64] (struct flock64): New type.
28641 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28644 * bits/dirent.h: ... here.
28646 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28647 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28649 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28652 Change from 2.6.0 to 2.6.16.
28653 * sysdeps/unix/sysv/linux/configure: Regenerated.
28654 * sysdeps/unix/sysv/linux/kernel-features.h
28655 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28656 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28658 (__ASSUME_UTIMES): Likewise.
28659 (__ASSUME_CLONE_STOPPED): Remove.
28660 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28661 architectures, not kernel version.
28662 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28663 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28664 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28665 (__ASSUME_WAITID_SYSCALL): Likewise.
28666 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28667 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28668 * README: State 2.6.16 as minimum Linux kernel version. Do not
28669 refer to older versions.
28671 2012-08-06 Roland McGrath <roland@hack.frob.com>
28673 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28674 Define alphasort64 as an alias.
28675 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28676 Define versionsort64 as an alias.
28677 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28678 Define scandir64 as an alias.
28679 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28680 Define scandirat64 as an alias.
28681 * dirent/alphasort64.c (alphasort64):
28682 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28683 * dirent/versionsort64.c: Likewise.
28684 * dirent/scandir64.c: Likewise.
28685 * dirent/scandirat64.c: Likewise.
28686 * sysdeps/wordsize-64/alphasort.c: File removed.
28687 * sysdeps/wordsize-64/alphasort64.c: File removed.
28688 * sysdeps/wordsize-64/scandir.c: File removed.
28689 * sysdeps/wordsize-64/scandir64.c: File removed.
28690 * sysdeps/wordsize-64/scandirat.c: File removed.
28691 * sysdeps/wordsize-64/scandirat64.c: File removed.
28692 * sysdeps/wordsize-64/versionsort.c: File removed.
28693 * sysdeps/wordsize-64/versionsort64.c: File removed.
28694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28695 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28697 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28699 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28701 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28703 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28705 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28707 [defined __arch64__ || defined __sparcv9]
28708 (__INO_T_MATCHES_INO64_T): New macro.
28709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28710 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28711 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28712 * sysdeps/unix/sysv/linux/bits/dirent.h
28713 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28714 (_DIRENT_MATCHES_DIRENT64): New macro.
28716 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28717 Define lockf64 as an alias.
28718 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28719 Define fseeko64 as an alias.
28720 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28721 Define ftello64 as an alias.
28722 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28723 Define _IO_fgetpos64 and fgetpos64 as aliases.
28724 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28725 Define _IO_fsetpos64 and fsetpos64 as aliases.
28726 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28727 Conditionalize body on this.
28728 * libio/fseeko64.c: Likewise.
28729 * libio/ftello64.c: Likewise.
28730 * libio/iofgetpos64.c: Likewise.
28731 * libio/iofsetpos64.c: Likewise.
28732 * sysdeps/wordsize-64/lockf.c: File removed.
28733 * sysdeps/wordsize-64/lockf64.c: File removed.
28734 * sysdeps/wordsize-64/fseeko.c: File removed.
28735 * sysdeps/wordsize-64/fseeko64.c: File removed.
28736 * sysdeps/wordsize-64/ftello.c: File removed.
28737 * sysdeps/wordsize-64/ftello64.c: File removed.
28738 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28739 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28740 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28741 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28753 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28755 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28757 [defined __arch64__ || defined __sparcv9]
28758 (__OFF_T_MATCHES_OFF64_T): New macro.
28759 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28760 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28762 (__OFF_T_MATCHES_OFF64_T): New macro.
28764 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28766 * stdlib/secure-getenv.c (__secure_getenv): Replace
28767 GLIBC_2_16 with GLIBC_2_17.
28769 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28774 2012-08-03 David S. Miller <davem@davemloft.net>
28776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28778 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28782 (__ASSUME_CORRECT_SI_PID): Likewise.
28783 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28784 (__ASSUME_TMPFS_NAME): Likewise.
28785 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28786 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28787 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28788 (HAVE_AUX_SECURE): Make definition unconditional.
28789 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28790 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28792 2012-08-03 Roland McGrath <roland@hack.frob.com>
28794 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28795 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28796 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28797 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28798 __eloop_threshold instead of SYMLOOP_MAX.
28800 * sysdeps/generic/eloop-threshold.h: New file.
28801 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28803 * elf/chroot_canon.c (chroot_canon): Likewise.
28805 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28809 Change to 2.6.0 everywhere.
28810 * sysdeps/unix/sysv/linux/configure: Regenerated.
28811 * sysdeps/unix/sysv/linux/kernel-features.h
28812 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28813 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28815 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28816 (__ASSUME_FUTEX_REQUEUE): Remove.
28817 (__ASSUME_STATFS64): Define unconditionally.
28818 (__ASSUME_AT_SECURE): Likewise.
28819 (__ASSUME_CORRECT_SI_PID): Likewise.
28820 (__ASSUME_TGKILL): Define without depending on kernel version for
28822 (__ASSUME_UTIMES): Likewise.
28823 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28825 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28826 (__ASSUME_TMPFS_NAME): Likewise.
28827 * README: Update reference to Linux kernel versions.
28829 2012-08-02 Marek Polacek <polacek@redhat.com>
28832 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28833 libc_cv_asm_type_prefix with %.
28834 * configure: Regenerated.
28835 * include/libc-symbols.h: Remove comment about
28836 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28837 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28838 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28839 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28840 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28841 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28842 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28843 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28844 * elf/tst-unique2mod1.c: Likewise.
28845 * elf/tst-unique1mod2.c: Likewise.
28846 * elf/tst-unique1mod1.c: Likewise.
28847 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28848 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28849 Replace ASM_TYPE_DIRECTIVE with .type.
28850 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28851 * sysdeps/i386/sysdep.h: Likewise.
28852 * sysdeps/x86_64/sysdep.h: Likewise.
28853 * sysdeps/sh/sysdep.h: Likewise.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28855 Do not define ASM_TYPE_DIRECTIVE.
28856 * sysdeps/powerpc/sysdep.h: Likewise.
28857 * sysdeps/powerpc/powerpc32/sysdep.h:
28858 Replace ASM_TYPE_DIRECTIVE with .type.
28859 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28861 * sysdeps/i386/fpu/e_powf.S: Likewise.
28862 * sysdeps/i386/fpu/e_expl.S: Likewise.
28863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28865 * sysdeps/i386/fpu/e_pow.S: Likewise.
28866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28870 * sysdeps/i386/fpu/e_log2.S: Likewise.
28871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28873 * sysdeps/i386/fpu/e_powl.S: Likewise.
28874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28875 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28876 * sysdeps/i386/fpu/e_logl.S: Likewise.
28877 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28878 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28879 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28880 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28881 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28882 * sysdeps/i386/fpu/e_log.S: Likewise.
28883 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28884 * sysdeps/i386/fpu/e_logf.S: Likewise.
28885 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28886 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28888 * sysdeps/i386/fpu/e_log10.S: Likewise.
28889 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28891 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28892 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28893 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28894 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28896 * sysdeps/i386/i686/strtok.S: Likewise.
28897 * sysdeps/i386/i386-mcount.S: Likewise.
28898 * sysdeps/i386/strtok.S: Likewise.
28899 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28900 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28901 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28903 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28904 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28905 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28906 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28907 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28908 * sysdeps/x86_64/_mcount.S: Likewise.
28909 * sysdeps/x86_64/strtok.S: Likewise.
28910 * sysdeps/sh/_mcount.S: Likewise.
28912 2012-08-01 Roland McGrath <roland@hack.frob.com>
28914 * libio/iofopen.c: Include <fcntl.h>.
28915 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28916 (_IO_fopen64, fopen64): Define as aliases.
28917 * libio/iofopen64.c: Include <fcntl.h>.
28918 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28919 Conditionalize body on this.
28920 * sysdeps/wordsize-64/iofopen.c: File removed.
28921 * sysdeps/wordsize-64/iofopen64.c: File removed.
28923 2012-08-01 Marek Polacek <polacek@redhat.com>
28925 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28926 Use dlfcn directly instead of a variable.
28927 (binfmt-subdir): Do not define.
28930 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28932 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28933 Remove all definitions.
28934 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28935 <kernel-features.h>.
28936 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28937 (miss_F_GETOWN_EX): Remove all definitions.
28938 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28940 [!__ASSUME_FCNTL64]: Remove conditional code.
28941 [__ASSUME_FCNTL64]: Make code unconditional.
28942 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28943 <kernel-features.h>.
28944 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28945 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28946 (lockf64) [__NR_fcntl64]: Make code unconditional.
28947 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28949 * sysdeps/unix/sysv/linux/kernel-features.h
28950 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28951 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28952 Make code unconditional.
28953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28956 [__NR_vfork]: Make code unconditional.
28957 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28958 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28960 [__NR_vfork]: Make code unconditional.
28961 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28962 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28964 2012-08-01 Roland McGrath <roland@hack.frob.com>
28966 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28967 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28969 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28970 Define mkstemp64 as an alias.
28971 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28972 Define mkstemps64 as an alias.
28973 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28974 Define mkostemp64 as an alias.
28975 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28976 Define mkostemps64 as an alias.
28977 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28978 Conditionalize body on this.
28979 * misc/mkostemp64.c: Likewise.
28980 * misc/mkostemps64.c: Likewise.
28981 * misc/mkstemps64.c: Likewise.
28982 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28983 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28984 * sysdeps/wordsize-64/mkostemp.c: File removed.
28985 * sysdeps/wordsize-64/mkstemp.c: File removed.
28986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28988 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28989 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28992 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28993 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28994 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28995 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28997 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28998 compat_symbol macros from <shlib-compat.h> rather than the underlying
28999 default_symbol_version and symbol_version macros, so that DEFAULT
29000 lines in shlib-versions are respected.
29001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29003 2012-08-01 Florian Weimer <fweimer@redhat.com>
29005 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29006 Declare with warn_unused_result.
29007 (setgid, setregid, setegid, setresgid): Likewise.
29008 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29010 * WUR-REPORT: Remove set*id functions.
29012 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29014 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29016 2012-07-31 Roland McGrath <roland@hack.frob.com>
29019 * include/sys/socket.h (__libc_accept, __libc_accept4):
29020 Add attribute_hidden.
29021 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29023 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29025 * inet/getnetgrent_r.c (setup): Likewise.
29027 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29029 2012-07-31 David S. Miller <davem@davemloft.net>
29031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29033 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29036 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29037 value between 1.0 and 2.0 and smaller part has absolute value less
29039 * math/s_clog10.c (__clog10): Likewise.
29040 * math/s_clog10f.c (__clog10f): Likewise.
29041 * math/s_clog10l.c (__clog10l): Likewise.
29042 * math/s_clogf.c (__clogf): Likewise.
29043 * math/s_clogl.c (__clogl): Likewise.
29044 * math/libm-test.inc (clog_test): Add more tests.
29045 (clog10_test): Likewise.
29046 * sysdeps/i386/fpu/libm-test-ulps: Update.
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29049 2012-07-31 Florian Weimer <fweimer@redhat.com>
29051 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29052 Exit with zero in case no suitable GID is found, and write a
29053 message to standard error.
29055 2012-07-30 Roland McGrath <roland@hack.frob.com>
29057 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29059 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29060 (MAXPATHLEN): Removed.
29061 (NOGROUP, NODEV): New macros.
29062 (setbit, clrbit, isset, isclr): New macros.
29063 (howmany, roundup, powerof2): New macros.
29064 (DEV_BSIZE): New macro.
29066 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29067 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29069 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29070 definition on [!__NO_LONG_DOUBLE_MATH].
29072 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29073 PTR_MANGLE and PTR_DEMANGLE.
29075 * socket/accept4.c (accept4): Rename to __libc_accept4.
29076 Define accept4 as a weak alias.
29078 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29079 on [_DIRENT_HAVE_D_TYPE].
29080 * io/ftw.c (ftw_dir): Likewise.
29082 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29084 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29086 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29087 Use the BSD numbers rather than the arbitrary ones we had.
29088 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29089 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29090 (SIGXCPU, SIGXFSZ): New macros.
29093 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29094 initializer on [_LIBC_REENTRANT].
29096 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29097 definitions inside [_POSIX_MAPPED_FILES].
29099 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29101 * dirent/opendir.c: Include <fcntl.h>.
29103 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29104 (__libc_getspecific): Likewise.
29105 (__libc_key_create): Likewise.
29107 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29108 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29109 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29110 (tmpfile64): Define as alias.
29111 * sysdeps/wordsize-64/tmpfile.c: File removed.
29112 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29114 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29116 * stdio-common/vfscanf.c: Include <stdbool.h>.
29117 * nss/makedb.c: Likewise.
29118 * stdio-common/_i18n_number.h: Likewise.
29119 * argp/argp-help.c: Likewise.
29120 * posix/wordexp.c: Likewise.
29121 * sysdeps/posix/spawni.c: Likewise.
29122 * nss/nss_files/files-initgroups.c: Likewise.
29123 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29124 * nss/nss_files/files-initgroups.c: Likewise.
29125 * nss/nss_db/db-netgrp.c: Likewise.
29126 * nss/nss_db/db-initgroups.c: Likewise.
29127 * io/fchmodat.c: Include <sys/stat.h>.
29129 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29130 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29132 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29135 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29136 Add multiple inclusion protection.
29138 2012-07-27 David S. Miller <davem@davemloft.net>
29140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29142 2012-07-27 Gary Benson <gbenson@redhat.com>
29145 * elf/rtld.c: Include <stap-probe.h>.
29146 (dl_main): Added static probes "init_start" and "init_complete".
29147 * elf/dl-load.c: Include <stap-probe.h>.
29148 (lose): Take new parameter "nsid".
29149 Added static probe "map_failed".
29150 (_dl_map_object_from_fd): Pass namespace id to lose.
29151 Added static probe "map_start".
29152 (open_verify): Pass namespace id to lose.
29153 * elf/dl-open.c: Include <stap-probe.h>.
29154 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29155 and "reloc_complete".
29156 * elf/dl-close.c: Include <stap-probe.h>.
29157 (_dl_close_worker): Added static probes "unmap_start" and
29159 * elf/rtld-debugger-interface.txt: New file documenting the above.
29161 2012-07-26 Roland McGrath <roland@hack.frob.com>
29163 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29164 rather than a string variable.
29165 * sunrpc/rpc_main.c (h_output): Likewise.
29166 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29168 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29170 * inet/check_native.c: New file.
29172 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29175 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29176 if larger part has absolute value 1.0.
29177 * math/s_clog10.c (__clog10): Likewise.
29178 * math/s_clog10f.c (__clog10f): Likewise.
29179 * math/s_clog10l.c (__clog10l): Likewise.
29180 * math/s_clogf.c (__clogf): Likewise.
29181 * math/s_clogl.c (__clogl): Likewise.
29182 * math/libm-test.inc (clog_test): Add more tests.
29183 (clog10_test): Likewise.
29184 * sysdeps/i386/fpu/libm-test-ulps: Update.
29185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29187 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29188 (pltexit): Likewise.
29189 (La_regs): Likewise.
29190 (La_retval): Likewise.
29191 (int_retval): Likewise.
29192 Update #error for removed macros to refer only to definitions in
29194 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29196 (pltexit): Likewise.
29197 (La_regs): Likewise.
29198 (La_retval): Likewise.
29199 (int_retval): Likewise.
29200 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29202 (pltexit): Likewise.
29203 (La_regs): Likewise.
29204 (La_retval): Likewise.
29205 (int_retval): Likewise.
29206 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29208 (pltexit): Likewise.
29209 (La_regs): Likewise.
29210 (La_retval): Likewise.
29211 (int_retval): Likewise.
29212 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29214 (pltexit): Likewise.
29215 (La_regs): Likewise.
29216 (La_retval): Likewise.
29217 (int_retval): Likewise.
29218 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29220 (pltexit): Likewise.
29221 (La_regs): Likewise.
29222 (La_retval): Likewise.
29223 (int_retval): Likewise.
29224 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29226 (pltexit): Likewise.
29227 (La_regs): Likewise.
29228 (La_retval): Likewise.
29229 (int_retval): Likewise.
29230 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29231 macro definitions in tst-audit.h.
29232 * sysdeps/i386/tst-audit.h: New file.
29233 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29234 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29235 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29236 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29237 * sysdeps/sh/tst-audit.h: Likewise.
29238 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29239 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29240 * sysdeps/x86_64/tst-audit.h: Likewise.
29242 2012-07-26 Andreas Jaeger <aj@suse.de>
29244 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29247 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29248 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29249 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29251 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29252 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29253 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29255 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29258 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29260 (si_call_addr, si_syscall, si_arch): Define new macro.
29261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29263 (si_call_addr, si_syscall, si_arch): Define new marcro.
29264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29266 (si_call_addr, si_syscall, si_arch): Define new macro.
29267 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29269 (si_call_addr, si_syscall, si_arch): Define new macro.
29271 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29275 Change to 2.4.21 where previously 2.4.1.
29276 * sysdeps/unix/sysv/linux/configure: Regenerated.
29277 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29278 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29279 Linux kernel version.
29280 (__ASSUME_STD_AUXV): Remove.
29281 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29283 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29284 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29285 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29286 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29287 (__ASSUME_NETLINK_SUPPORT): Likewise.
29288 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29289 (__no_netlink_support): Remove conditional definition.
29290 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29292 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29293 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29294 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29295 (if_nameindex_ioctl): Remove.
29296 (if_nameindex_netlink): Do not handle __no_netlink_support.
29297 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29299 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29300 Remove conditional code.
29301 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29303 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29305 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29306 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29307 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29309 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29310 [!__ASSUME_STD_AUXV]: Remove conditional code.
29311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29312 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29313 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29315 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29316 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29318 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29320 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29321 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29323 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29325 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29328 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29331 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29332 code unconditional.
29333 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29335 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29337 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29340 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29342 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29345 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29346 code unconditional.
29347 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29349 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29351 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29354 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29355 code unconditional.
29356 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29358 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29360 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29363 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29365 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29366 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29367 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29368 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29369 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29370 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29371 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29372 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29373 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29374 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29375 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29376 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29377 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29378 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29379 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29380 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29382 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29383 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29385 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29386 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29387 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29389 2012-07-25 Florian Weimer <fweimer@redhat.com>
29391 * Versions.def: Add GLIBC_2.17.
29392 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29393 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29394 Introduce __libc_secure_getenv.
29395 * stdlib/Versions (2.17): Add secure_getenv
29396 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29397 * stdlib/secure-getenv.c: Rename __secure_getenv to
29398 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29399 symbol __secure_getenv for GLIBC_2.0.
29400 * stdlib/tst-secure-getenv.c: New.
29401 * stdlib/Makefile (tests): Add testcase.
29402 * manual/startup.texi (Environment Access): Document
29404 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29405 __libc_secure_getenv.
29406 * inet/ruserpass.c (ruserpass): Likewise.
29407 * malloc/mtrace.c (mtrace): Likewise.
29408 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29409 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29410 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29411 * sysdeps/posix/tempname.c: Likewise. Evaluate
29412 HAVE_SECURE_GETENV.
29413 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29414 __secure_getenv to __libc_secure_getenv.
29415 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29422 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29428 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29430 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29431 (struct La_i86_retval): Likewise.
29432 (struct La_x86_64_regs): Likewise.
29433 (struct La_x86_64_retval): Likewise.
29434 (struct La_x32_regs): Likewise.
29435 (struct La_x32_retval): Likewise.
29436 (struct La_ppc32_regs): Likewise.
29437 (struct La_ppc32_retval): Likewise.
29438 (struct La_ppc64_regs): Likewise.
29439 (struct La_ppc64_retval): Likewise.
29440 (struct La_sh_regs): Likewise.
29441 (struct La_sh_retval): Likewise.
29442 (struct La_s390_32_regs): Likewise.
29443 (struct La_s390_32_retval): Likewise.
29444 (struct La_s390_64_regs): Likewise.
29445 (struct La_s390_64_retval): Likewise.
29446 (struct La_sparc32_regs): Likewise.
29447 (struct La_sparc32_retval): Likewise.
29448 (struct La_sparc64_regs): Likewise.
29449 (struct La_sparc64_retval): Likewise.
29450 (struct audit_ifaces): Remove architecture-specific pltenter and
29452 * sysdeps/i386/ldsodefs.h: New file.
29453 * sysdeps/powerpc/ldsodefs.h: Likewise.
29454 * sysdeps/s390/ldsodefs.h: Likewise.
29455 * sysdeps/sh/ldsodefs.h: Likewise.
29456 * sysdeps/sparc/ldsodefs.h: Likewise.
29457 * sysdeps/x86_64/ldsodefs.h: Likewise.
29459 2012-07-25 Marek Polacek <polacek@redhat.com>
29462 * math/libm-test.inc (yn_test): Add another test.
29463 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29464 to ERANGE when the result is +-Inf.
29465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29466 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29467 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29468 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29470 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29472 * conform/data/time.h-data (NULL): Use macro-constant. Require
29474 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29476 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29478 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29480 * configure.in <sysdeps resolving>: Correct printing
29482 * configure: Regenerate.
29484 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29486 * math/w_ilogb.c: Include <limits.h>.
29487 * math/w_ilogbl.c: Likewise.
29489 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29491 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29492 va_copy. Document allowing for unavailable va_copy only as
29493 pre-C99 compatibility.
29494 * manual/string.texi (Copying and Concatenation): Use va_copy
29495 instead of __va_copy in concat example.
29497 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29499 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29500 (__sendto): Use create_address_port. Initialize APORT and deallocate
29503 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29504 with O_NOLINK passed to __file_name_lookup.
29506 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29507 with O_NOLINK passed to __file_name_lookup.
29509 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29510 negative N or less than NGIDS.
29512 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29513 type to string_t. Set ERANGE as errno and return it if NAME is not big
29514 enough. Use memcpy instead of strncpy.
29516 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29518 * elf/Makefile (check-data): Remove.
29519 (localplt.data): New vpath directive.
29520 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29521 instead of $(check-data).
29522 * scripts/data/localplt-generic.data: Move to ...
29523 * sysdeps/generic/localplt.data: ... here.
29524 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29525 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29526 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29529 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29532 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29535 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29538 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29541 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29545 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29547 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29548 PPC32 and PPC64 files.
29549 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29550 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29552 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29554 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29555 __makecontext_ret to ...
29556 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29557 ... here and call exit if uc_link is NULL. New file.
29558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29559 __makecontext_ret.S.
29560 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29561 __makecontext_ret to ...
29562 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29563 ... here and call exit if uc_link is NULL. New file.
29564 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29565 __makecontext_ret.S.
29567 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29569 * elf/elf.h (R_390_IRELATIVE): New definition.
29570 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29571 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29572 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29574 (elf_machine_lazy_rel): Likewise.
29575 * sysdeps/s390/dl-irel.h: New file.
29576 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29577 * sysdeps/s390/s390-64/memset.S: New asm code.
29578 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29579 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29580 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29581 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29582 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29583 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29584 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29585 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29586 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29587 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29588 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29589 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29590 * sysdeps/s390/s390-32/memset.S: New asm code.
29591 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29593 2012-07-17 Marek Polacek <polacek@redhat.com>
29596 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29597 * sysdeps/s390/s390-64/configure.in: Likewise.
29598 * sysdeps/sparc/configure.in: Likewise.
29599 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29600 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29601 * sysdeps/i386/configure.in: Likewise.
29602 * sysdeps/x86_64/configure.in: Likewise.
29603 * sysdeps/sh/configure.in: Likewise.
29604 * sysdeps/s390/s390-32/configure: Regenerated.
29605 * sysdeps/s390/s390-64/configure: Likewise.
29606 * sysdeps/x86_64/configure: Likewise.
29607 * sysdeps/sh/configure: Likewise.
29608 * sysdeps/powerpc/powerpc64/configure: Likewise.
29609 * sysdeps/powerpc/powerpc32/configure: Likewise.
29610 * sysdeps/sparc/configure: Likwise.
29611 * sysdeps/i386/configure: Likewise.
29613 * elf/dl-open.c: Comment fixes.
29615 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29617 * Makefile [CXX] (check-data): Remove.
29618 [CXX] (c++-types.data): New vpath directive.
29619 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29620 vpath. Do not allow for C++ type data being missing.
29621 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29622 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29623 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29624 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29625 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29626 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29627 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29630 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29633 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29636 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29639 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29642 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29645 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29648 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29651 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29652 definitions to architecture-specific files.
29653 (TLS_IE): Likewise.
29654 (TLS_LD): Likewise.
29655 (TLS_GD): Likewise.
29656 * sysdeps/i386/tls-macros.h: New file.
29657 * sysdeps/powerpc/tls-macros.h: Likewise.
29658 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29659 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29660 * sysdeps/sh/tls-macros.h: Likewise.
29661 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29662 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29663 * sysdeps/x86_64/tls-macros.h: Likewise.
29665 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29667 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29668 zero value for regular exit case.
29670 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29671 (__start_context): Preserve zero value for regular exit case.
29673 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29674 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29676 * manual/setjmp.texi (setcontext): Clarify normal process
29677 termination when uc_link is the null pointer.
29678 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29681 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29683 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29684 preprocessor. Test for each exception mask separately.
29686 2012-07-16 Andreas Jaeger <aj@suse.de>
29688 * po/ru.po: Update from translation team.
29690 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29692 * conform/data/string.h-data (NULL): Use macro-constant. Require
29694 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29695 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29696 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29697 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29700 2012-07-13 Andreas Jaeger <aj@suse.de>
29702 * po/fr.po: Update from translation team.
29704 2012-07-12 Marek Polacek <polacek@redhat.com>
29707 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29708 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29711 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29715 Change to 2.4.1 where previously 2.4.0.
29716 * sysdeps/unix/sysv/linux/configure: Regenerated.
29717 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29718 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29720 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29721 (__ASSUME_AT_CLKTCK): Remove.
29722 (__ASSUME_AT_PAGESIZE): Likewise.
29723 (__ASSUME_AT_XID): Likewise.
29724 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29725 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29726 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29728 (HAVE_AUX_PAGESIZE): Likewise.
29729 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29730 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29731 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29733 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29737 the temporary buffer used to invoke __gethostbyname2_r,
29738 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29739 host_data / struct gaih_addrtuple.
29740 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29741 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29742 header file nss/nsswitch.h.
29743 * nss/nsswitch.h (global scope): Add definition of implementation
29744 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29745 resolv/nss_dns/dns-host.c).
29747 2012-07-11 Andreas Jaeger <aj@suse.de>
29749 * po/fr.po: Update from translation team.
29751 * po/sv.po: Update from translation team
29752 * po/fr.po: Another update from translation team.
29754 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29756 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29757 for subnormals or multiply small sinh result by itself.
29758 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29761 2012-07-11 David S. Miller <davem@davemloft.net>
29763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29765 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29768 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29769 (INTERNAL_MARK): Shift it here.
29771 2012-07-10 Marek Polacek <polacek@redhat.com>
29774 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29775 libc_cv_asm_global_directive with .globl.
29776 * configure: Regenerated.
29777 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29779 * sysdeps/i386/configure: Regenerated.
29780 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29782 * sysdeps/x86_64/configure: Regenerated.
29783 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29784 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29785 * elf/tst-unique2mod2.c: Likewise.
29786 * elf/tst-unique2mod1.c: Likewise.
29787 * elf/tst-unique1mod2.c: Likewise.
29788 * elf/tst-unique1mod1.c: Likewise.
29789 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29790 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29792 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29793 * sysdeps/mach/sysdep.h: Likewise.
29794 * sysdeps/i386/sysdep.h: Likewise.
29795 * sysdeps/i386/i386-mcount.S: Likewise.
29796 * sysdeps/x86_64/_mcount.S: Likewise.
29797 * sysdeps/x86_64/sysdep.h: Likewise.
29798 * sysdeps/sh/_mcount.S: Likewise.
29799 * sysdeps/sh/sysdep.h: Likewise.
29800 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29801 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29802 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29804 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29805 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29806 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29807 * locale/localeinfo.h: Likewise.
29808 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29809 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29811 2012-07-09 Roland McGrath <roland@hack.frob.com>
29814 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29816 * manual/message.texi (The Uniforum approach): Likewise.
29817 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29818 (glibc iconv Implementation): Likewise.
29820 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29823 * math/s_clog.c (__clog): Avoid scaling a value down where that
29824 could result in underflow.
29825 * math/s_clog10.c (__clog10): Likewise.
29826 * math/s_clog10f.c (__clog10f): Likewise.
29827 * math/s_clog10l.c (__clog10l): Likewise.
29828 * math/s_clogf.c (__clogf): Likewise.
29829 * math/s_clogl.c (__clogl): Likewise.
29830 * math/libm-test.inc (clog_test): Add more tests.
29831 (clog10_test): Likewise.
29832 * sysdeps/i386/fpu/libm-test-ulps: Update.
29833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29835 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29838 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29839 by 7 not 8 to examine high bit of fractional part.
29842 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29843 for call to __mcount_internal.
29844 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29845 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29846 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29848 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29851 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29852 approximation for values within 0x1p-13f of an odd multiple of
29854 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29855 exception. Add more tests.
29856 * sysdeps/i386/fpu/libm-test-ulps: Update.
29859 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29860 inputs and return -1 for them. Do not check for +Inf in case not
29861 reachable for +Inf.
29862 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29863 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29865 and return -1 for them. Do not check for +Inf in case not
29866 reachable for +Inf.
29867 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29869 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29870 and return -1 for them. Do not check for +Inf in case not
29871 reachable for +Inf.
29872 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29873 spurious underflow.
29874 * sysdeps/i386/fpu/libm-test-ulps: Update.
29875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29877 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29879 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29881 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29885 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29886 could result in spurious underflow. Scale down values above
29887 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29888 * math/s_csqrtf.c (__csqrtf): Likewise.
29889 * math/s_csqrtl.c (__csqrtl): Likewise.
29890 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29891 spurious underflow.
29892 * sysdeps/i386/fpu/libm-test-ulps: Update.
29893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29895 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29897 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29899 * catgets/xopen-msg.awk: New file.
29900 * catgets/xopen-msg.sed: Removed.
29902 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29904 * intl/po2test.awk: New file.
29905 * intl/po2test.sed: Removed.
29907 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29910 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29911 or multiply small sinh result by itself.
29912 * math/s_ctanf.c (__ctanf): Likewise.
29913 * math/s_ctanh.c (__ctanh): Likewise.
29914 * math/s_ctanhf.c (__ctanhf): Likewise.
29915 * math/s_ctanhl.c (__ctanhl): Likewise.
29916 * math/s_ctanl.c (__ctanl): Likewise.
29917 * math/libm-test.inc (ctan_test_tonearest): New function.
29918 (ctan_test_towardzero): Likewise.
29919 (ctan_test_downward): Likewise.
29920 (ctan_test_upward): Likewise.
29921 (ctanh_test_tonearest): Likewise.
29922 (ctanh_test_towardzero): Likewise.
29923 (ctanh_test_downward): Likewise.
29924 (ctanh_test_upward): Likewise.
29925 (main): Call these new functions.
29926 * sysdeps/i386/fpu/libm-test-ulps: Update.
29927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29929 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29931 * .gitignore: Delete /ports entry.
29933 2012-07-03 Andreas Jaeger <aj@suse.de>
29935 * po/bg.po: Update from translation team.
29936 * po/cs.po: Likewise.
29937 * po/de.po: Likewise.
29938 * po/hr.po: Likewise.
29939 * po/nl.pl: Likewise.
29940 * po/pl.po: Likewise.
29941 * po/vi.po: Likewise.
29943 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29945 * Makeconfig [!+link] (+link-before-libc): New variable.
29946 [!+link] (+link-after-libc): Likewise.
29947 [!+link] (+link-tests): Likewise.
29948 [!+link] (+link): Define in terms of $(+link-before-libc) and
29949 $(+link-after-libc).
29950 [!+link-static] (+link-static-before-libc): New variable.
29951 [!+link-static] (+link-static-after-libc): Likewise.
29952 [!+link-static] (+link-static-tests): Likewise.
29953 [!+link-static] (+link-static): Define in terms of
29954 $(+link-static-before-libc) and $(+link-static-after-libc).
29955 [build-shared] (link-libc-before-gnulib): New variable.
29956 [build-shared] (link-libc-tests): Likewise.
29957 [build-shared] (link-libc): Define in terms of
29958 $(link-libc-before-gnulib).
29959 [!build-shared] (link-libc-tests): New variable.
29960 (link-libc-static-tests): New variable.
29961 [!gnulib] (gnulib-arch): New variable.
29962 [!gnulib] (gnulib-tests): Likewise.
29963 [!gnulib] (static-gnulib-arch): Likewise.
29964 [!gnulib] (static-gnulib-tests): Likewise.
29965 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29966 Define with "=" instead of ":=".
29967 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29968 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29969 * Rules (binaries-all-notests): New variable.
29970 (binaries-all-tests): Likewise.
29971 (binaries-static-notests): Likewise.
29972 (binaries-static-tests): Likewise.
29973 (binaries-all): Define using $(binaries-all-notests) and
29974 $(binaries-all-tests).
29975 (binaries-static): Define using $(binaries-static-notests) and
29976 $(binaries-static-tests).
29977 (binaries-shared-tests): New variable.
29978 (binaries-shared-notests): Likewise.
29979 (binaries-shared): Remove variable.
29980 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29981 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29982 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29983 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29984 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29985 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29986 * elf/Makefile (sln-modules): New variable.
29987 (extra-objs): Add $(sln-modules:=.o).
29988 (ldconfig-modules): Add static-stubs.
29989 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29990 * elf/static-stubs.c: New file.
29993 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29994 by 7 not 8 to examine high bit of fractional part. Use volatile
29995 variables when splitting into final array of floats if
29996 __FLT_EVAL_METHOD__ != 0.
29997 * math/libm-test.inc (cos_test): Add another test.
29998 (sin_test): Likewise.
29999 * sysdeps/i386/fpu/libm-test-ulps: Update.
30002 * math/libm-test.inc (cosh_test): Add more tests.
30004 * version.h (RELEASE): Set to "development".
30005 (VERSION): Set to "2.16.90".
30007 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30009 * NEWS: Update copyright. Remove last-updated date.
30010 Mention math library bug fixes and timezone data changes.
30011 * README: Mention GNU/Hurd, x32, and HPPA support status.
30013 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30015 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30017 2012-06-27 Andreas Jaeger <aj@suse.de>
30019 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30021 2012-06-25 Andreas Jaeger <aj@suse.de>
30023 * sysdeps/s390/fpu/libm-test-ulps: Update.
30025 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30026 Thomas Schwinge <thomas@codesourcery.com>
30028 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30029 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30030 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30033 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30035 * sysdeps/mach/start.c: Remove file.
30036 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30037 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30038 * sysdeps/sh/init-first.c: Likewise.
30040 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30041 registers for frame unwinding purposes, add CFI directives.
30042 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30043 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30044 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30047 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30048 __fortify_fail returning.
30049 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30051 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30052 sysdeps/sh/____longjmp_chk.S.
30053 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30054 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30055 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30056 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30058 * sysdeps/sh/abort-instr.h: New file.
30059 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30060 process in case exit returns.
30062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30063 initialize the GOT register before use.
30065 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30066 calculation of ARGC > 4.
30068 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30069 meaningful names to some local labels.
30071 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30072 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30074 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30075 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30076 (__arch_compare_and_exchange_val_16_acq): Likewise.
30077 (__arch_compare_and_exchange_val_32_acq): Likewise.
30078 (atomic_exchange_and_add): Fix gUSA sequence.
30079 (atomic_add): Likewise.
30080 (atomic_add_negative): Likewise.
30081 (atomic_add_zero): Likewise.
30082 (atomic_bit_test_set): Likewise.
30084 2012-06-22 Andreas Schwab <schwab@redhat.com>
30087 * include/link.h (struct link_map): Add l_free_initfini.
30088 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30090 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30091 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30092 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30095 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30097 * configure.in: Use AC_LANG_SOURCE.
30098 * configure: Regenerate.
30100 2012-06-22 Roland McGrath <roland@hack.frob.com>
30102 * configure.in (libc_cv_localstatedir): New substituted variable.
30103 * configure: Regenerated.
30104 * config.make.in (localstatedir): New variable, substituted from
30105 libc_cv_localstatedir.
30106 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30107 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30108 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30109 * sysdeps/gnu/configure: Regenerated.
30111 2012-06-21 Jeff Law <law@redhat.com>
30114 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30115 free. Simplify list management for _LIBC case.
30117 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30120 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30121 Clear sign bit of 64-bit integer value before comparing against
30124 * sysdeps/mach/configure: Regenerated.
30126 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30129 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30131 2012-06-21 Jeff Law <law@redhat.com>
30134 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30135 uint16_t for elements in the "seen" array to avoid char overflows.
30136 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30137 * elf/dl-open.c (dl_open_worker): Likewise.
30139 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30141 * scripts/list-sources.sh: Scan PORTS for translations.
30142 * po/libc.pot: Regenerated.
30144 2012-06-21 Andreas Jaeger <aj@suse.de>
30147 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30149 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30150 * bits/byteswap-16.h (__bswap_16): Likewise.
30151 * bits/byteswap.h (__bswap_constant_16): Likewise.
30153 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30156 * sysdeps/i386/fpu_control.h: Removed.
30157 * sysdeps/x86_64/fpu_control.h: Moved to ...
30158 * sysdeps/x86/fpu_control.h: Here.
30160 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30161 (_FPU_SETCW): Likewise.
30163 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30166 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30167 * sysdeps/x86/fpu/bits/mathinline.h: This.
30168 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30172 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30173 functions if __x86_64__ is defined.
30175 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30177 * string/endian.h: Add !__ASSEMBLER__ condition for including
30178 conversion interfaces.
30180 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30184 of ABS(x) in calculating zero to negative powers other than odd
30186 * math/libm-test.inc (pow_test): Add more tests.
30188 2012-06-15 Andreas Jaeger <aj@suse.de>
30190 * manual/contrib.texi (Contributors): Update entry of Liubov
30191 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30194 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30196 * string/string.h: Add __wur to GNU version of strerror_r.
30198 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30201 * string/Makefile (tests): Add tst-strtok_r.
30202 * string/tst-strtok_r.c: New file.
30203 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30204 RAX_LP/RDX_LP on SAVE_PTR.
30206 2012-06-14 Roland McGrath <roland@hack.frob.com>
30208 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30210 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30212 * libm_test.inc (csqrt_test): Allow more spurious underflow
30214 (j0_test): Likewise.
30215 (j1_test): Likewise.
30216 (y0_test): Likewise.
30217 (y1_test): Likewise.
30219 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30221 * po/Makefile (libc.pot): Use UTF-8 charset.
30223 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30226 Suppress sign-conversion warning from FD_SET.
30227 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30228 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30229 not unsigned long int.
30230 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30232 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30236 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30237 __extern_always_inline instead of __extern_inline.
30238 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30239 (__signbit): Likewise.
30240 (__signbitl): Support C++ namespace.
30241 (lrintf): New inline function.
30243 (llrintf): Likewise.
30244 (llrint): Likewise.
30254 (floorf): Likewise.
30255 (nearbyint): Likewise.
30256 (nearbyintf): Likewise.
30258 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30260 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30261 non-default versions.
30263 2012-06-11 Roland McGrath <roland@hack.frob.com>
30266 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30268 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30270 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30271 (FE_UPWARD, FE_DOWNWARD): Don't define.
30272 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30273 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30275 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30277 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30278 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30280 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30282 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30283 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30284 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30285 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30287 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30290 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30291 * sysdeps/i386/fpu/Implies: New file.
30292 * sysdeps/x86_64/fpu/Implies: Likewise.
30293 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30294 * sysdeps/x86/fpu/bits/fenv.h: This.
30296 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30299 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30302 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30303 character 0xffff that matches the last element of the
30306 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30308 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30311 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30313 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30314 values higher than 25.6283.
30316 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30318 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30319 subnormal exponent extraction and add some __builtin_expect.
30320 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30321 Fix for subnormal mantissa calculation.
30323 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30325 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30326 cpu2 is -1 and errno is not ENOSYS.
30328 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30331 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30332 * sysdeps/x86/bits/string.h: This.
30333 * sysdeps/x86_64/bits/string.h: Removed.
30335 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30336 if not compiling for x86-64, but compiling for >= i486.
30338 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30339 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30341 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30342 New macro from Linux kernel 3.4.0.
30343 (FP_XSTATE_MAGIC2): Likewise.
30344 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30345 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30346 (struct _fpx_sw_bytes): New struct.
30347 (struct _xsave_hdr): Likewise.
30348 (struct _ymmh_state): Likewise.
30349 (struct _xstate): Likewise.
30351 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30352 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30354 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30355 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30356 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30358 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30359 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30360 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30361 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30362 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30363 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30365 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30368 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30369 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30370 (sysdep_headers): Include sys/platform/ppc.h.
30371 * sysdeps/powerpc/test-gettimebase.c: Test for
30372 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30373 * manual/Makefile (appendices): Include platform.texi.
30374 * manual/contrib.texi (Contributors): Update @node pointers.
30375 * manual/maint.texi (Maintenance): Likewise.
30376 (Platform): New node.
30377 * manual/platform.texi: New file. Document the new features.
30379 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30380 Jakub Jelinek <jakub@redhat.com>
30383 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30384 where __builtin_expect is unavailable.
30386 2012-06-03 David S. Miller <davem@davemloft.net>
30388 * stdlib/longlong.h: Updated from GCC.
30390 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30393 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30394 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30397 (GLIBC_2.16): Likewise.
30399 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30401 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30403 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30406 (default-abi): New variable.
30407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30410 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30412 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30414 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30417 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30418 definition. Document in comment.
30420 2012-06-01 David S. Miller <davem@davemloft.net>
30422 * stdlib/longlong.h: Updated from GCC.
30424 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30427 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30428 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30429 sys/debugreg.h sys/io.h here.
30430 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30431 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30433 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30434 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30435 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30436 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30437 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30438 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30440 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30441 Define only if __x86_64__ is defined.
30443 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30447 Use int64_t for variable i.
30448 * math/libm-test.inc (fmod_test): Add more tests.
30450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30451 z computation is not scheduled after fetestexcept.
30452 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30453 Use math_force_eval instead of asm to ensure calculation scheduled
30454 before exception test.
30455 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30456 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30458 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30461 computation is not scheduled after fetestexcept.
30463 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30466 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30467 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30469 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30471 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30472 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30474 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30479 (__WCHAR_MIN): Support __WORDSIZE == 64.
30480 (__WCHAR_MAX): Likewise.
30482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30483 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30487 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30490 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30491 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30494 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30496 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30497 Defined to 1 if __x86_64__ isn't defined.
30498 (_STAT_VER_LINUX_OLD): New.
30499 (st_atime): Remove duplicate.
30500 (st_mtime): Likewise.
30501 (st_ctime): Likewise.
30503 2012-05-31 David S. Miller <davem@davemloft.net>
30505 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30508 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30510 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30514 * elf/dl-reloc.c: Include <_itoa.h>.
30515 (_dl_reloc_bad_type): Remove use of INTUSE.
30516 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30517 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30518 * stdio-common/psiginfo.c (psiginfo): Likewise.
30519 * stdio-common/psignal.c (psignal): Likewise.
30520 * string/strsignal.c (strsignal): Likewise.
30521 * include/signal.h (_sys_siglist): Declare hidden proto.
30522 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30523 INTVARDEF with libc_hidden_data_def.
30524 * stdio-common/itoa-udigits.c: Likewise.
30525 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30526 (_itoa_lower_digits_internal): Remove declaration.
30527 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30528 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30529 (_sys_sigabbrev_internal): Remove aliases.
30530 (_sys_siglist): Define hidden alias.
30532 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30537 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30540 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30541 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30543 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30544 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30545 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30546 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30547 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30548 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30550 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30551 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30554 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30564 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30566 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30567 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30570 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30571 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30573 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30574 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30577 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30581 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30583 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30584 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30586 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30588 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30589 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30590 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30592 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30594 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30596 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30598 * math/math.h (M_El): Use two more decimal places.
30599 (M_LOG2El): Likewise.
30600 (M_LOG10El): Likewise.
30601 (M_LN2l): Likewise.
30602 (M_LN10l): Likewise.
30604 (M_PI_2l): Likewise.
30605 (M_PI_4l): Likewise.
30606 (M_1_PIl): Likewise.
30607 (M_2_PIl): Likewise.
30608 (M_2_SQRTPIl): Likewise.
30609 (M_SQRT2l): Likewise.
30610 (M_SQRT1_2l): Likewise.
30612 2012-05-31 David S. Miller <davem@davemloft.net>
30614 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30615 values between float registers.
30616 * sysdeps/sparc/sparc64/memset.S: Likewise.
30617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30619 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30621 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30622 -D_FORTIFY_SOURCE=1.
30623 (CPPFLAGS-tst-longjmp_chk.c): Define.
30624 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30625 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30626 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30627 CFLAGS-tst-wchar-h.c.
30629 2012-05-31 Marek Polacek <polacek@redhat.com>
30632 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30633 __endmntent_internal): Remove declaration.
30634 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30635 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30636 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30638 2012-05-30 David S. Miller <davem@davemloft.net>
30640 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30641 (___Q_simulate_exceptions): Use real FP ops rather than writing
30643 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30646 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30649 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30650 * sysdeps/x86/bits/xtitypes.h: This.
30652 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30653 * sysdeps/x86/bits/wordsize.h: This.
30655 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30656 * sysdeps/x86/bits/huge_vall.h: This.
30658 * sysdeps/i386/bits/select.h: Removed.
30659 * sysdeps/x86_64/bits/select.h: Renamed to ...
30660 * sysdeps/x86/bits/select.h: This.
30662 * sysdeps/i386/bits/setjmp.h: Removed.
30663 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30664 * sysdeps/x86/bits/setjmp.h: This.
30666 * sysdeps/i386/bits/mathdef.h: Removed.
30667 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30668 * sysdeps/x86/bits/mathdef.h: This.
30670 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30673 * include/sys/socket.h (__connect_internal)
30674 (__libc_sa_len_internal): Remove declaration.
30675 (__connect, __libc_sa_len): Declare hidden_proto.
30676 (SA_LEN): Remove use of INTUSE.
30677 * socket/connect.c: Add libc_hidden_def.
30678 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30679 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30680 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30682 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30683 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30684 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30685 of adding _internal alias.
30687 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30690 * sysdeps/i386/bits/link.h: Removed.
30691 * sysdeps/i386/bits/linkmap.h: Likewise.
30692 * sysdeps/x86_64/bits/link.h: Renamed to ...
30693 * sysdeps/x86/bits/link.h: This.
30694 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30695 * sysdeps/x86/bits/linkmap.h: This.
30697 * sysdeps/i386/bits/endian.h: Removed.
30698 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30699 * sysdeps/x86/bits/endian.h: This.
30701 * sysdeps/i386/bits/byteswap.h: Removed.
30702 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30703 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30704 * sysdeps/x86/bits/byteswap.h: This.
30705 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30706 * sysdeps/x86/bits/byteswap-16.h: This.
30707 * sysdeps/i386/Implies: Add x86.
30708 * sysdeps/x86_64/Implies: Likewise.
30710 2012-05-30 David S. Miller <davem@davemloft.net>
30712 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30713 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30714 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30715 (FP_TRAPPING_EXCEPTIONS): Define.
30716 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30717 (FP_TRAPPING_EXCEPTIONS): Define.
30718 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30719 subnormals only when inexact has been signalled or underflow
30720 exceptions are enabled.
30721 (_FP_PACK_CANONICAL): Likewise.
30723 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30726 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30727 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30729 2012-05-30 Richard Henderson <rth@twiddle.net>
30731 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30732 with #ifndef NOT_IN_libc.
30734 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30735 marked to avoid plt entry.
30737 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30740 * Makeconfig (default-abi): New macro.
30741 (abi-includes): Likewise.
30742 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30743 $(abi-$(default-abi)-lib-soname) for soname if defined.
30744 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30746 * Makefile (installed-stubs): Likewise.
30747 * include/stubs-biarch.h: Removed.
30748 * scripts/lib-names.awk: Only handle one library at a time.
30749 * scripts/soversions.awk: Remove WORDSIZE support.
30750 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30752 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30754 (syscall-list-default-condition): Likewise.
30755 (syscall-list-default-condition): Likewise.
30756 (syscall-list-includes): Likewise.
30757 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30758 syscall-list-* with abi-*. Handle undefined abi-variants.
30759 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30760 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30761 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30763 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30764 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30766 (syscall-list-32-options): Likewise.
30767 (syscall-list-32-condition): Likewise.
30768 (syscall-list-64-options): Likewise.
30769 (syscall-list-64-condition): Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30772 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30775 (abi-64-ld-soname): New macro.
30776 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30777 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30780 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30781 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30783 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30785 * sysdeps/unix/sysv/linux/kernel-features.h
30786 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30787 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30788 include <kernel-features.h>.
30789 [!__NR_ftruncate64]: Remove conditional code.
30790 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30791 [__NR_ftruncate64]: Make code unconditional.
30792 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30793 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30794 include <kernel-features.h>.
30795 [!__NR_ftruncate64]: Remove conditional code.
30796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30797 [__NR_ftruncate64]: Make code unconditional.
30798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30800 include <kernel-features.h>.
30801 [!__NR_ftruncate64]: Remove conditional code.
30802 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30803 [__NR_ftruncate64]: Make code unconditional.
30804 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30806 include <kernel-features.h>.
30807 [!__NR_ftruncate64]: Remove conditional code.
30808 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30809 [__NR_ftruncate64]: Make code unconditional.
30810 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30812 * configure.in (libc_cv_fpie): Weaken to a compile test using
30813 LIBC_TRY_CC_OPTION.
30814 * configure: Regenerated.
30816 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30831 2012-05-27 David S. Miller <davem@davemloft.net>
30833 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30835 (__Q_simulate_exceptions): Return void. Change to simulate
30836 exceptions by writing into the %fsr.
30837 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30838 (__Qp_handle_exceptions): Likewise.
30840 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30841 __Qp_handle_exceptions.
30842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30843 __Qp_handle_exceptions.
30844 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30845 as unused and give dummy FP_RND_NEAREST initializer.
30846 (FP_INHIBIT_RESULTS): Define.
30847 (___Q_simulate_exceptions): Update declaration.
30848 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30850 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30851 as unused and give dummy FP_RND_NEAREST initializer.
30852 (__Qp_handle_exceptions): Update declaration.
30853 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30856 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30858 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30859 the temporary FPU control word.
30860 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30861 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30862 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30863 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30864 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30865 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30866 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30867 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30868 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30869 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30870 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30872 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30874 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30877 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30879 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30880 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30881 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30882 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30884 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30885 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30888 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30890 * po/h.po: Update from translation team.
30892 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30894 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30896 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30897 handling of denormals.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30899 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30900 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30901 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30907 2012-05-26 Marek Polacek <polacek@redhat.com>
30910 * math/libm-test.inc (fma_test): Don't always expect underflow
30913 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30916 * elf/tst-execstack.c: Include stackinfo.h.
30917 (do_test): Adjust test case to ensure that pthread_getattr_np
30918 behaviour remains the same after marking stack executable.
30920 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30922 * sysdeps/unix/sysv/linux/kernel-features.h
30923 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30924 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30926 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30927 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30930 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30931 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30933 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30935 * configure.in: Define the default includes to being none.
30936 * configure: Regenerated.
30938 2012-05-25 Roland McGrath <roland@hack.frob.com>
30940 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30941 * sysdeps/x86_64/setjmp.S: Likewise.
30942 * sysdeps/i386/bsd-setjmp.S: Likewise.
30943 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30944 * sysdeps/i386/setjmp.S: Likewise.
30945 * sysdeps/i386/__longjmp.S: Likewise.
30946 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30947 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30949 * include/stap-probe.h: New file.
30950 * configure.in: Handle --enable-systemtap.
30951 * configure: Regenerated.
30952 * config.h.in (USE_STAP_PROBE): New #undef.
30953 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30954 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30955 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30957 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30960 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30961 to 2.4.0 where earlier.
30962 * sysdeps/unix/sysv/linux/configure: Regenerated.
30963 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30964 <kernel-features.h>.
30965 [__ASSUME_32BITUIDS]: Make code unconditional.
30966 [!__ASSUME_32BITUIDS]: Remove conditional code.
30967 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30968 <kernel-features.h>.
30969 [__ASSUME_32BITUIDS]: Make code unconditional.
30970 [!__ASSUME_32BITUIDS]: Remove conditional code.
30971 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30972 [__ASSUME_32BITUIDS]: Make code unconditional.
30973 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30974 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30975 <kernel-features.h>.
30976 [__ASSUME_32BITUIDS]: Make code unconditional.
30977 [!__ASSUME_32BITUIDS]: Remove conditional code.
30978 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30979 <kernel-features.h>.
30980 [__ASSUME_32BITUIDS]: Make code unconditional.
30981 [!__ASSUME_32BITUIDS]: Remove conditional code.
30982 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30983 <kernel-features.h>.
30984 [__ASSUME_32BITUIDS]: Make code unconditional.
30985 [!__ASSUME_32BITUIDS]: Remove conditional code.
30986 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30987 <kernel-features.h>.
30988 [__ASSUME_32BITUIDS]: Make code unconditional.
30989 [!__ASSUME_32BITUIDS]: Remove conditional code.
30990 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30991 <kernel-features.h>.
30992 [__ASSUME_32BITUIDS]: Make code unconditional.
30993 [!__ASSUME_32BITUIDS]: Remove conditional code.
30994 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30995 <kernel-features.h>.
30996 [__ASSUME_32BITUIDS]: Make code unconditional.
30997 [!__ASSUME_32BITUIDS]: Remove conditional code.
30998 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30999 <kernel-features.h>.
31000 [__ASSUME_32BITUIDS]: Make code unconditional.
31001 [!__ASSUME_32BITUIDS]: Remove conditional code.
31002 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31003 <kernel-features.h>.
31004 [__ASSUME_32BITUIDS]: Make code unconditional.
31005 [!__ASSUME_32BITUIDS]: Remove conditional code.
31006 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31007 <kernel-features.h>.
31008 [__ASSUME_32BITUIDS]: Make code unconditional.
31009 [!__ASSUME_32BITUIDS]: Remove conditional code.
31010 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31011 <kernel-features.h>.
31012 [__ASSUME_32BITUIDS]: Make code unconditional.
31013 [!__ASSUME_32BITUIDS]: Remove conditional code.
31014 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31015 <kernel-features.h>.
31016 [__NR_setresgid] (__setresgid): Do not declare.
31017 [__ASSUME_32BITUIDS]: Make code unconditional.
31018 [!__ASSUME_32BITUIDS]: Remove conditional code.
31019 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31020 <kernel-features.h>.
31021 [__NR_setresuid] (__setresuid): Do not declare.
31022 [__ASSUME_32BITUIDS]: Make code unconditional.
31023 [!__ASSUME_32BITUIDS]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31025 <kernel-features.h>.
31026 [__ASSUME_32BITUIDS]: Make code unconditional.
31027 [!__ASSUME_32BITUIDS]: Remove conditional code.
31028 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31029 <kernel-features.h>.
31030 [__ASSUME_32BITUIDS]: Make code unconditional.
31031 [!__ASSUME_32BITUIDS]: Remove conditional code.
31032 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31033 <kernel-features.h>.
31034 [__ASSUME_32BITUIDS]: Make code unconditional.
31035 [!__ASSUME_32BITUIDS]: Remove conditional code.
31036 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31037 <kernel-features.h>.
31038 [__ASSUME_32BITUIDS]: Make code unconditional.
31039 [!__ASSUME_32BITUIDS]: Remove conditional code.
31040 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31041 <kernel-features.h>.
31042 [__ASSUME_32BITUIDS]: Make code unconditional.
31043 [!__ASSUME_32BITUIDS]: Remove conditional code.
31044 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31045 <kernel-features.h>.
31046 [__ASSUME_32BITUIDS]: Make code unconditional.
31047 [!__ASSUME_32BITUIDS]: Remove conditional code.
31048 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31049 <kernel-features.h>.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31053 <kernel-features.h>.
31054 [__ASSUME_32BITUIDS]: Make code unconditional.
31055 [!__ASSUME_32BITUIDS]: Remove conditional code.
31056 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31057 <kernel-features.h>.
31058 [__ASSUME_32BITUIDS]: Make code unconditional.
31059 [!__ASSUME_32BITUIDS]: Remove conditional code.
31060 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31061 <kernel-features.h>.
31062 [__ASSUME_32BITUIDS]: Make code unconditional.
31063 [!__ASSUME_32BITUIDS]: Remove conditional code.
31064 * sysdeps/unix/sysv/linux/kernel-features.h
31065 (__ASSUME_SETRESUID_SYSCALL): Remove.
31066 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31067 (__ASSUME_32BITUIDS): Likewise.
31068 (__ASSUME_LDT_WORKS): Likewise.
31069 (__ASSUME_O_DIRECTORY): Likewise.
31070 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31071 architecture but not kernel version.
31072 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31073 (__ASSUME_MMAP2_SYSCALL): Likewise.
31074 (__ASSUME_STAT64_SYSCALL): Likewise.
31075 (__ASSUME_IPC64): Likewise.
31076 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31077 <kernel-features.h>.
31078 [__ASSUME_32BITUIDS]: Make code unconditional.
31079 [!__ASSUME_32BITUIDS]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31081 <kernel-features.h>.
31082 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31083 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31084 132096]: Remove conditional code.
31085 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31086 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31087 <kernel-features.h>.
31088 [__ASSUME_32BITUIDS]: Make code unconditional.
31089 [!__ASSUME_32BITUIDS]: Remove conditional code.
31090 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31091 <kernel-features.h>.
31092 [__ASSUME_32BITUIDS]: Make code unconditional.
31093 [!__ASSUME_32BITUIDS]: Remove conditional code.
31094 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31095 <kernel-features.h>.
31096 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31098 (__setresgid): Do not declare.
31099 [__ASSUME_32BITUIDS]: Make code unconditional.
31100 [!__ASSUME_32BITUIDS]: Remove conditional code.
31101 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31102 <kernel-features.h>.
31103 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31105 (__setresuid): Do not declare.
31106 [__ASSUME_32BITUIDS]: Make code unconditional.
31107 [!__ASSUME_32BITUIDS]: Remove conditional code.
31108 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31109 <kernel-features.h>.
31110 [__ASSUME_32BITUIDS]: Make code unconditional.
31111 [!__ASSUME_32BITUIDS]: Remove conditional code.
31112 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31113 <kernel-features.h>.
31114 [__ASSUME_32BITUIDS]: Make code unconditional.
31115 [!__ASSUME_32BITUIDS]: Remove conditional code.
31117 2012-05-25 Richard Henderson <rth@twiddle.net>
31119 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31120 dl_hwcap to ifunc resolver.
31121 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31123 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31124 dl_hwcap to ifunc resolver.
31125 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31127 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31130 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31131 for |x| <= 2**-26, not 2**-57.
31132 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31135 2012-05-24 Jeff Law <law@redhat.com>
31137 * stdio-common/Makefile (tests): Add bug25.
31138 * stdio-common/bug25.c: New test.
31140 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31143 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31144 multiple of MALLOC_ALIGNMENT in size.
31145 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31147 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31149 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31151 (FILENAME_MAX): Use macro-int-constant.
31152 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31153 (_IOFBF): Use macro-int-constant.
31154 (_IOLBF): Likewise.
31155 (_IONBF): Likewise.
31156 (SEEK_CUR): Likewise.
31157 (SEEK_END): Likewise.
31158 (SEEK_SET): Likewise.
31159 (TMP_MAX): Likewise.
31160 (EOF): Use macro-int-constant. Require < 0.
31161 (NULL): Use macro-constant. Require == 0.
31162 (stdin): Require type to be FILE *.
31163 (stdout): Likewise.
31164 (stderr): Likewise.
31165 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31166 macro-int-constant.
31167 (EXIT_SUCCESS): Likewise.
31168 (NULL): Use macro-constant. Require == 0.
31169 (RAND_MAX): Use macro-int-constant.
31170 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31171 [C99-based standards] (strtof): Require function.
31172 [C99-based standards] (strtold): Likewise.
31173 [C99-based standards] (strtoll): Likewise.
31174 [C99-based standards] (strtoull): Likewise.
31175 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31176 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31177 [ISO || ISO99 || ISO11] (math.h): Likewise.
31178 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31179 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31182 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31185 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31186 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31187 * intl/dgettext.c (DCGETTEXT): Likewise.
31188 * intl/gettext.c (DCGETTEXT): Likewise.
31189 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31190 * posix/regex_internal.h (gettext): Likewise.
31191 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31192 Remove declaration.
31193 * include/argz.h (__argz_count_internal)
31194 (__argz_stringify_internal): Remove declaration.
31195 (__argz_count, __argz_stringify): Declare hidden proto.
31196 * intl/dcgettext.c: Remove use of INTDEF.
31197 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31198 * string/argz-stringify.c: Likewise.
31199 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31200 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31201 Declare hidden proto.
31202 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31203 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31204 Declare hidden proto.
31205 * include/stdio.h (__asprintf_internal): Don't declare.
31206 (__asprintf): Don't define as macro. Declare hidden proto.
31207 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31208 (__fsetlocking): Declare hidden proto.
31209 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31210 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31212 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31213 (_IO_setlinebuf): Remove use of INTUSE.
31214 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31215 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31216 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31217 Remove declaration.
31218 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31219 (_IO_do_flush): Remove use of INTUSE.
31220 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31221 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31222 (_IO_adjust_column, _IO_least_wmarker)
31223 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31224 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31225 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31226 (_IO_default_doallocate, _IO_wdefault_doallocate)
31227 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31228 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31229 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31230 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31231 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31232 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31233 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31234 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31235 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31236 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31237 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31238 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31239 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31241 (_IO_flush_all_internal, _IO_adjust_column_internal)
31242 (_IO_default_uflow_internal, _IO_default_finish_internal)
31243 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31244 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31245 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31246 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31247 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31248 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31249 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31250 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31251 (_IO_file_close_internal, _IO_file_close_it_internal)
31252 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31253 (_IO_file_init_internal, _IO_file_attach_internal)
31254 (_IO_file_fopen_internal, _IO_file_read_internal)
31255 (_IO_file_sync_internal, _IO_file_seek_internal)
31256 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31257 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31258 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31259 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31260 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31261 (_IO_list_all_internal, _IO_link_in_internal)
31262 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31263 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31264 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31265 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31266 (_IO_do_write_internal, _IO_padn_internal)
31267 (_IO_getline_info_internal, _IO_getline_internal)
31268 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31269 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31270 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31271 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31272 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31273 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31274 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31275 with libc_hidden_ver, remove use of INTUSE.
31276 * libio/genops.c: Likewise.
31277 * libio/freopen.c: Likewise.
31278 * libio/freopen64.c: Likewise.
31279 * libio/iofclose.c: Likewise.
31280 * libio/iofdopen.c: Likewise.
31281 * libio/iofflush.c: Likewise.
31282 * libio/iofflush_u.c: Likewise.
31283 * libio/iofgets.c: Likewise.
31284 * libio/iofgets_u.c: Likewise.
31285 * libio/iofopen.c: Likewise.
31286 * libio/iofopncook.c: Likewise.
31287 * libio/iofread.c: Likewise.
31288 * libio/iofread_u.c: Likewise.
31289 * libio/ioftell.c: Likewise.
31290 * libio/iofwrite.c: Likewise.
31291 * libio/iogetline.c: Likewise.
31292 * libio/iogets.c: Likewise.
31293 * libio/iogetwline.c: Likewise.
31294 * libio/iopadn.c: Likewise.
31295 * libio/iopopen.c: Likewise.
31296 * libio/ioseekoff.c: Likewise.
31297 * libio/ioseekpos.c: Likewise.
31298 * libio/iosetbuffer.c: Likewise.
31299 * libio/iosetvbuf.c: Likewise.
31300 * libio/ioungetc.c: Likewise.
31301 * libio/ioungetwc.c: Likewise.
31302 * libio/iovdprintf.c: Likewise.
31303 * libio/iovsprintf.c: Likewise.
31304 * libio/iovsscanf.c: Likewise.
31305 * libio/memstream.c: Likewise.
31306 * libio/obprintf.c: Likewise.
31307 * libio/oldfileops.c: Likewise.
31308 * libio/oldiofclose.c: Likewise.
31309 * libio/oldiofdopen.c: Likewise.
31310 * libio/oldiofopen.c: Likewise.
31311 * libio/oldiopopen.c: Likewise.
31312 * libio/oldstdfiles.c: Likewise.
31313 * libio/putc.c: Likewise.
31314 * libio/setbuf.c: Likewise.
31315 * libio/setlinebuf.c: Likewise.
31316 * libio/stdfiles.c: Likewise.
31317 * libio/strops.c: Likewise.
31318 * libio/vasprintf.c: Likewise.
31319 * libio/vscanf.c: Likewise.
31320 * libio/vsnprintf.c: Likewise.
31321 * libio/vswprintf.c: Likewise.
31322 * libio/wfiledoalloc.c: Likewise.
31323 * libio/wfileops.c: Likewise.
31324 * libio/wgenops.c: Likewise.
31325 * libio/wmemstream.c: Likewise.
31326 * libio/wstrops.c: Likewise.
31327 * libio/__fpurge.c: Likewise.
31328 * libio/__fsetlocking.c: Likewise.
31329 * assert/assert.c: Likewise.
31330 * debug/fgets_chk.c: Likewise.
31331 * debug/fgets_u_chk.c: Likewise.
31332 * debug/fread_chk.c: Likewise.
31333 * debug/fread_u_chk.c: Likewise.
31334 * debug/gets_chk.c: Likewise.
31335 * debug/obprintf_chk.c: Likewise.
31336 * debug/vasprintf_chk.c: Likewise.
31337 * debug/vdprintf_chk.c: Likewise.
31338 * debug/vsnprintf_chk.c: Likewise.
31339 * debug/vsprintf_chk.c: Likewise.
31340 * malloc/mtrace.c: Likewise.
31341 * misc/error.c: Likewise.
31342 * misc/syslog.c: Likewise.
31343 * stdio-common/asprintf.c: Likewise.
31344 * stdio-common/fxprintf.c: Likewise.
31345 * stdio-common/getw.c: Likewise.
31346 * stdio-common/isoc99_fscanf.c: Likewise.
31347 * stdio-common/isoc99_scanf.c: Likewise.
31348 * stdio-common/isoc99_vfscanf.c: Likewise.
31349 * stdio-common/isoc99_vscanf.c: Likewise.
31350 * stdio-common/isoc99_vsscanf.c: Likewise.
31351 * stdio-common/printf-prs.c: Likewise.
31352 * stdio-common/printf_fp.c: Likewise.
31353 * stdio-common/printf_fphex.c: Likewise.
31354 * stdio-common/printf_size.c: Likewise.
31355 * stdio-common/putw.c: Likewise.
31356 * stdio-common/scanf.c: Likewise.
31357 * stdio-common/sprintf.c: Likewise.
31358 * stdio-common/tmpfile.c: Likewise.
31359 * stdio-common/vfprintf.c: Likewise.
31360 * stdio-common/vfscanf.c: Likewise.
31361 * stdlib/strfmon_l.c: Likewise.
31362 * sunrpc/openchild.c: Likewise.
31363 * sunrpc/xdr_stdio.c: Likewise.
31364 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31365 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31367 2012-05-24 Roland McGrath <roland@hack.frob.com>
31369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31371 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31372 in the third column, to generate for the shared library an IFUNC
31373 that uses _dl_vdso_vsym.
31374 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31375 * Makeconfig (object-suffixes-noshared): New variable.
31377 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31378 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31379 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31380 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31383 * include/sys/time.h (__gettimeofday): Remove macro.
31384 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31385 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31387 (__gettimeofday): Add libc_hidden_def.
31388 (gettimeofday): Add libc_hidden_weak.
31389 * sysdeps/mach/gettimeofday.c: Likewise.
31390 * sysdeps/posix/gettimeofday.c: Likewise.
31391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31392 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31394 (__gettimeofday_internal): Remove strong_alias.
31395 (__gettimeofday): Add libc_hidden_def.
31396 (gettimeofday): Add libc_hidden_weak.
31397 * sysdeps/unix/syscalls.list (gettimeofday):
31398 Remove __gettimeofday_internal alias.
31400 2012-05-24 Daniel Jacobowitz <drow@false.org>
31401 H.J. Lu <hongjiu.lu@intel.com>
31404 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31405 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31406 (largebin_index_32_big): New.
31407 (largebin_index): Use it for 16-byte alignment.
31408 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31409 correction with front_misalign.
31411 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31439 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31440 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31442 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31446 * math/libm-test.inc (exp_test): Add test from bug 14036.
31447 (pow_test): Add test from bug 10846.
31449 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31451 (special_function): Do not include flags in test name.
31452 (parse_args): Likewise.
31453 * sysdeps/i386/fpu/libm-test-ulps: Update.
31454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31455 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31456 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31459 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31461 * math/libm-test.inc ("Philosophy"): Update comment about
31463 (UNDERFLOW_EXCEPTION): New macro.
31464 (UNDERFLOW_EXCEPTION_OK): Likewise.
31465 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31466 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31467 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31468 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31469 (INVALID_EXCEPTION_OK): Update value.
31470 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31471 (OVERFLOW_EXCEPTION_OK): Likewise.
31472 (IGNORE_ZERO_INF_SIGN): Likewise.
31473 (test_exceptions): Handle underflow exceptions.
31474 (acos_test): Update for underflow exception expectations.
31475 (cexp_test): Likewise.
31476 (clog_test): Likewise.
31477 (clog10_test): Likewise.
31478 (csqrt_test): Likewise.
31479 (ctan_test): Likewise.
31480 (ctanh_test): Likewise.
31481 (exp_test): Likewise.
31482 (exp10_test): Likewise.
31483 (exp2_test): Likewise.
31484 (expm1_test): Likewise.
31485 (fma_test): Likewise.
31486 (j0_test): Likewise.
31487 (jn_test): Likewise.
31488 (nexttoward_test): Likewise.
31489 (pow_test): Likewise.
31490 (scalbn_test): Likewise.
31491 (scalbln_test): Likewise.
31492 (tan_test): Likewise.
31493 (y1_test): Likewise.
31494 * sysdeps/i386/fpu/libm-test-ulps: Update.
31495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31497 2012-05-23 David S. Miller <davem@davemloft.net>
31499 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31500 (__libc_sigaction): Remove unused local variables.
31502 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31504 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31506 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31508 mktime: avoid signed integer overflow
31509 * time/mktime.c (__mktime_internal): Do not mishandle the case
31510 where diff == INT_MIN.
31512 mktime: simplify computation of average
31513 * time/mktime.c (ranged_convert): Use new time_t_avg function
31514 instead of rolling our own (probably-slower) code.
31516 mktime: do not assume signed right shift propagates sign bit
31517 * time/mktime.c (isdst_differ): New static function.
31518 (__mktime_internal): No need to normalize tm_isdst now.
31519 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31522 mktime: merge another wrapv change from gnulib
31523 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31524 from some compilers.
31526 mktime: remove incorrect attempt at unusual arithmetics
31527 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31528 The code didn't really work on such machines anyway.
31529 (TYPE_MINIMUM): Assume two's complement.
31530 (twos_complement_arithmetic): Verify that long_int and time_t
31531 are two's complement (or unsigned, in the latter case).
31533 mktime: check signed shifts on long_int and time_t, too
31534 * time/mktime.c (SHR): Check that shifts work as desired
31535 on the types long_int and time_t too, as SHR is used on
31538 mktime: do not assume 'long' is wide enough
31539 * time/mktime.c (verify): Move decl up.
31540 (long_int): New type.
31541 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31542 to remove assumption in the code that 'long' is wide enough to
31543 store year values. This assumption is not true on x32 and on
31544 some non-glibc platforms.
31546 mktime: merge wrapv change from gnulib
31547 * time/mktime.c (WRAPV): New macro.
31548 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31549 (guess_time_tm, __mktime_internal): Do not assume that signed
31550 integer overflow wraps around; modern compilers generate code
31551 where this assumption is no longer valid.
31553 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31555 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31556 Replace "jmp L(pseudo_end)" with "ret".
31557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31560 2012-05-23 Andreas Jaeger <aj@suse.de>
31562 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31563 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31565 2012-05-23 Andreas Jaeger <aj@suse.de>
31566 Maximilian Attems <max@stro.at>
31568 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31571 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31573 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31574 code so that pseudo_end is just ret and the stack pointer is
31575 correct also for static library in error case.
31577 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31579 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31580 move to syscalls.list.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31586 * manual/install.texi (Running make install): Do not mention Linux
31587 kernel version for which pt_chown is not needed.
31588 (Linux): Do not mention problems with nscd with 2.0 kernels.
31589 * INSTALL: Regenerated.
31591 2012-05-23 Andreas Jaeger <aj@suse.de>
31593 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31594 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31596 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31598 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31600 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31606 * sysdeps/unix/sysv/linux/bits/in.h
31607 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31609 2012-05-22 Roland McGrath <roland@hack.frob.com>
31611 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31612 (PREPARE_VERSION): Just use assert instead, it will be elided
31613 under [NDEBUG] anyway.
31615 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31617 * sysdeps/unix/sysv/linux/Makefile: Include
31618 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31619 (sysdep_routines): Remove sysctl.
31620 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31621 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31622 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31623 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31624 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31626 2012-05-22 Andreas Jaeger <aj@suse.de>
31628 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31629 that pseudo_end is just ret and the stack pointer is correct also
31630 for static library in error case.
31632 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31635 * nss/nsswitch.c (defconfig_entries): New variable.
31636 (__nss_database_lookup): Don't leak defconfig entries.
31637 (nss_parse_service_list): Don't leak on error paths.
31638 (free_database_entries): New function.
31639 (free_defconfig): New function.
31640 (free_mem): Move common code to free_database_entries.
31642 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31644 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31646 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31648 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31649 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31652 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31653 (INTERNAL_SYSCALL_TYPES): Likewise.
31654 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31655 (LOAD_REGS_TYPES_[1-6]): Likewise.
31656 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31657 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31659 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31662 copysignl for GLIBC_2_0.
31663 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31664 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31666 logbl for GLIBC_2_0.
31667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31668 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31670 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31672 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31673 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31675 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31678 * time/mktime.c: Update copyright years.
31680 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31682 mktime: merge comment-quoting-style change from gnulib
31683 * time/mktime.c: Quote 'like this' in comments.
31684 The GNU coding standards suggest that we no longer quote `like this',
31685 as "`" and "'" are typically rendered asymmetrically nowadays.
31686 The typical gnulib style is to quote 'like this' when quoting
31687 code, and "like this" when quoting English.
31689 * time/mktime.c (compile-command): Add "-I.".
31691 mktime: merge mktime-internal.h change from gnulib
31692 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31694 mktime: merge time_r change from gnulib
31695 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31697 mktime: merge DEBUG change from gnulib
31698 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31699 case system <time.h> has a #define.
31701 mktime: merge <sys/types.h> change from gnulib
31702 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31703 since <time.t> is now guaranteed to define time_t.
31705 mktime: merge HAVE_CONFIG_H change from gnulib
31706 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31708 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31713 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31715 (struct rusage): Use anonymous union to pad each field to
31718 2012-05-21 David S. Miller <davem@davemloft.net>
31720 * Makefules (o-iterator): Remove .s cases.
31721 (compile-command.s): Delete.
31722 (COMPILE.s): Delete.
31723 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31725 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31727 * configure.in (libc_cv_predef_stack_protector): Only consider
31728 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31729 * configure: Regenerated.
31731 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31734 New macro. Use R*LP on int and pointer.
31735 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31736 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31737 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31738 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31740 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31741 [__WORDSIZE_TIME64_COMPAT32] instead of
31742 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31743 (struct utmp): Likewise.
31744 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31745 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31747 (__WORDSIZE_TIME64_COMPAT32): This.
31748 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31749 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31750 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31751 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31752 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31753 (__WORDSIZE_TIME64_COMPAT32): New macro.
31755 2012-05-21 Andreas Jaeger <aj@suse.de>
31757 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31758 only if [SHARED]. Add prototype for __wcschr_ia32.
31760 2012-05-21 Roland McGrath <roland@hack.frob.com>
31762 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31763 of %rbp unmolested in the jmp_buf while mangling the low bits.
31764 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31765 unmolested high bits of %rbp while demangling the low bits.
31766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31768 2012-05-21 Andreas Jaeger <aj@suse.de>
31770 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31771 * sunrpc/svc_simple.c: Use it for registerrpc.
31772 * sunrpc/xcrypt.c: Use it for passwd2des.
31774 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31776 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31778 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31779 Don't define if [__SYSCALL_WORDSIZE != 32].
31780 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31783 2012-05-21 Bruno Haible <bruno@clisp.org>
31784 Andreas Jaeger <aj@suse.de>
31786 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31787 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31788 inptr and inend for must_buffer_ch.
31789 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31790 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31791 * stdio-common/Makefile (tests): Remove bug15.
31792 (bug15-ENV): Remove macro.
31793 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31796 2012-05-19 Andreas Jaeger <aj@suse.de>
31797 Roland McGrath <roland@hack.frob.com>
31799 * manual/contrib.texi: Completely rewritten. It contains now an
31800 alphabetical list of contributors and their contributions.
31802 2012-05-21 Richard Henderson <rth@twiddle.net>
31804 * misc/getauxval.c (__getauxval): Use unsigned long int.
31805 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31806 (getauxval): Use unsigned long int.
31808 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31810 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31812 2012-05-21 Roland McGrath <roland@hack.frob.com>
31814 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31815 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31816 __alignof__ (long double).
31818 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31822 2012-05-20 Richard Henderson <rth@twiddle.net>
31824 * misc/getauxval.c: New file.
31825 * misc/sys/auxv.h: New file.
31826 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31827 (routines): Add getauxval.
31828 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31829 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31830 * elf/dl-sysdep.c (_dl_auxv): Remove.
31831 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31832 * elf/dl-support.c (_dl_auxv): New variable.
31833 (_dl_aux_init): Initialize it.
31834 * manual/startup.texi (Auxiliary Vector): New node.
31835 * sysdeps/generic/bits/hwcap.h: New file.
31836 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31837 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31838 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31839 * sysdeps/sparc/sysdep.h: ... here. Include it.
31840 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31853 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31857 2012-05-19 David S. Miller <davem@davemloft.net>
31859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31861 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31864 * math/s_ccosh.c: Include <float.h>
31865 (__ccosh): Avoid internal overflow calculating sinh and cosh
31866 values before multiplying by sin and cos values.
31867 * math/s_ccoshf.c: Likewise.
31868 * math/s_ccoshl.c: Likewise.
31869 * math/s_csin.c: Likewise.
31870 * math/s_csinf.c: Likewise.
31871 * math/s_csinl.c: Likewise.
31872 * math/s_csinh.c: Likewise.
31873 * math/s_csinhf.c: Likewise.
31874 * math/s_csinhl.c: Likewise.
31875 * math/libm-test.inc (ccos_test): Add more tests.
31876 (ccosh_test): Likewise.
31877 (csin_test): Likewise.
31878 (csinh_test): Likewise.
31879 * sysdeps/i386/fpu/libm-test-ulps: Update.
31880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31882 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31884 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31885 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31887 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31889 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31891 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31892 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31893 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31894 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31895 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31896 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31897 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31898 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31899 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31900 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31901 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31902 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31903 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31904 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31905 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31906 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31907 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31908 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31909 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31910 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31911 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31912 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31913 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31914 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31915 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31916 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31917 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31918 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31919 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31920 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31921 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31923 2012-05-18 Andreas Jaeger <aj@suse.de>
31925 * csu/.gitignore: Delete.
31927 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31929 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31930 (timex): Use __syscall_slong_t.
31932 2012-05-18 Andreas Jaeger <aj@suse.de>
31933 Carlos O'Donell <carlos_odonell@mentor.com>
31935 * manual/install.texi (Configuring and compiling): Update
31936 description about files modified in the source directory.
31937 * INSTALL: Regenerated.
31939 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31941 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31942 value. Use "or" to set return value to -1.
31943 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31944 negate return value.
31946 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31948 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31949 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31950 failure if the compiler has Graphite support disabled.
31951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31953 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31954 (CFLAGS-memmove.c): Likewise.
31955 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31958 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31960 * sysdeps/x86_64/x32/_itoa.h: New file.
31962 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31963 getdents system call only if kernel and user dirents have the
31964 same d_ino and d_off.
31966 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31967 LLONG_MAX != LONG_MAX.
31968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31969 (_fitoa_word): Likewise.
31971 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31973 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31975 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31977 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31978 include <bits/wordsize.h>. Check __x86_64__ instead of
31980 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31981 if __x86_64__ is defined. Use anonymous union on fpstate.
31983 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31986 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31988 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31989 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31990 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31991 Refer to _rtld_local_ro instead of _rtld_global_ro.
31992 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31994 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31996 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31998 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31999 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32000 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32002 * sysdeps/powerpc/powerpc32/dl-machine.c
32003 (__elf_machine_runtime_setup) [PROF]: Don't reference
32006 2012-05-18 Andreas Jaeger <aj@suse.de>
32008 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32009 function only available for GCCs before 3.4 since GCC 3.4
32010 introduced a builtin.
32012 (llrintf): Likewise.
32013 (llrint): Likewise.
32020 (nearbyint): Likewise.
32021 (nearbyintf): Likewise.
32025 (floorf): Likewise.
32027 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32029 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32030 on both fields and cast pointer to __syscall_ulong_t.
32032 * bits/types.h (__fsword_t): New type.
32033 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32034 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32036 (__FSWORD_T_TYPE): Likewise.
32037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32038 (__FSWORD_T_TYPE): Likewise.
32039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32040 (__FSWORD_T_TYPE): Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32042 (__FSWORD_T_TYPE): Likewise.
32043 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32044 __SWORD_TYPE with __fsword_t.
32045 (statfs64): Likewise.
32047 2012-05-17 David S. Miller <davem@davemloft.net>
32049 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32051 2012-05-17 Andreas Jaeger <aj@suse.de>
32053 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32056 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32058 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32060 2012-05-17 Andreas Jaeger <aj@suse.de>
32062 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32065 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32067 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32069 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32071 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32072 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32074 2012-05-17 Andreas Jaeger <aj@suse.de>
32075 Carlos O'Donell <carlos_odonell@mentor.com>
32078 * sysdeps/x86_64/multiarch/init-arch.h
32079 (bit_YMM_Usable): Rename to...
32080 (bit_AVX_Usable): ... this.
32081 (bit_FMA4_Usable): New macro.
32082 (bit_XMM_state): New macro.
32083 (bit_YMM_state): New macro.
32084 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32085 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32086 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32087 (CPUID_OSXSAVE): New macro.
32088 (CPUID_AVX): New macro.
32089 (CPUID_FMA4): New macro.
32090 (index_YMM_Usable): Rename to...
32091 (index_AVX_Usable): ... this.
32092 (HAS_AVX): Use HAS_ARCH_FEATURE.
32093 (HAS_FMA4): Likewise.
32094 (HAS_YMM_USABLE): Remove.
32095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32096 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32098 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32099 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32100 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32101 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32102 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32104 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32106 * math/libm-test.c: Support platforms without multiple rounding modes.
32107 * math/bug-nextafter.c: Support platforms without FP exceptions.
32108 * math/bug-nexttoward.c: Likewise.
32109 * math/test-fenv.c: Likewise.
32110 * math/test-misc.c: Likewise.
32111 * stdlib/bug-getcontext.c: Likewise.
32113 2012-05-17 Andreas Jaeger <aj@suse.de>
32115 * manual/examples/search.c (critter_cmp): Change signature to
32117 * manual/string.texi (Collation Functions): Likewise.
32119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32121 * bits/types.h: Fold copyright years.
32122 * bits/typesizes.h: Likewise.
32123 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32127 * time/time.h: Likewise.
32129 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32132 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32133 in instead of returning them. Return void.
32134 (__libc_mallinfo): Accumulate over all arenas.
32135 (__malloc_stats): Adjust for change in int_mallinfo interface.
32137 2012-05-16 Roland McGrath <roland@hack.frob.com>
32140 * configure.in (NM): Add AC_CHECK_TOOL for it.
32141 (libc_extra_cflags): New substituted variable.
32142 Check for -fstack-protector being used implicitly.
32143 * configure: Regenerated.
32144 * config.make.in (config-extra-cflags): New variable,
32145 gets @libc_extra_cflags@.
32146 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32149 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32150 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32151 * configure: Regenerated.
32152 * config.make.in (CPPUNDEFS): New substituted variable.
32153 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32154 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32155 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32157 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32159 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32160 (mq_attr): Use __syscall_slong_t.
32162 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32164 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32165 Check __x86_64__ instead of __WORDSIZE.
32166 (_STAT_VER_LINUX): Likewise.
32167 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32168 __syscall_ulong_t and __syscall_slong_t.
32169 (stat64): Likewise.
32171 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32173 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32175 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32177 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32179 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32181 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32184 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32185 include <bits/wordsize.h>. Check __x86_64__ instead of
32187 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32189 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32191 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32192 include <bits/wordsize.h>. Check __x86_64__ instead of
32194 (user_regs_struct): Use "__extension__ unsigned long long"
32195 instead of "unsigned long" if __x86_64__ is defined.
32196 (user): Likewise. Pad after pointer field if __ILP32__ is
32199 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32201 * configure.in (makeinfo): Require version 4.5 or later. Allow
32203 * configure: Regenerated.
32204 * manual/install.texi (texinfo): Increase version requirement to
32206 * INSTALL: Regenerated.
32208 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32210 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32212 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32214 * sysdeps/x86_64/x32/ffs.c: New file.
32216 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32218 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32219 defined. Use __syscall_ulong_t.
32220 (shminfo): Use __syscall_ulong_t.
32221 (shm_info): Likewise.
32223 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32226 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32228 (msgqnum_t): Use __syscall_ulong_t.
32229 (msglen_t): Likewise.
32230 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32233 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32234 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32236 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32238 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32239 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32241 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32244 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32245 include <bits/wordsize.h>. Check __x86_64__ instead of
32248 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32249 "unsigned long long int" if __x86_64__ is defined.
32250 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32252 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32253 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32254 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32256 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32258 (GET_PC): Cast to uintptr_t first.
32259 (GET_FRAME): Likewise.
32260 (GET_STACK): Likewise.
32262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32263 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32265 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32268 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32269 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32270 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32271 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32272 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32273 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32274 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32275 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32280 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32281 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32283 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32284 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32285 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32286 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32287 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32288 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32292 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32294 * Makerules (+depfiles): Also collect depfiles from .oS in
32296 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32297 .oS, $(libnldbl-routines)).
32299 * Makerules (native-compile-mkdep-flags): Define.
32300 * sunrpc/Makefile (extra-objs): Add $(addprefix
32301 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32302 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32303 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32304 calling $(make-target-directory).
32306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32308 * bits/types.h (__snseconds_t): Removed.
32309 * time/time.h (struct timespec): Replace __snseconds_t with
32311 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32312 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32315 (__SNSECONDS_T_TYPE): Likewise.
32316 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32317 (__SNSECONDS_T_TYPE): Likewise.
32318 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32319 (__SNSECONDS_T_TYPE): Likewise.
32321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/mach/hurd/bits/typesizes.h
32324 (__SYSCALL_SLONG_TYPE): New macro.
32325 (__SYSCALL_ULONG_TYPE): Likewise.
32327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32329 * bits/types.h (__syscall_slong_t): New type.
32330 (__syscall_ulong_t): Likewise.
32332 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32333 (__SYSCALL_ULONG_TYPE): Likewise.
32334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32335 (__SYSCALL_SLONG_TYPE): Likewise.
32336 (__SYSCALL_ULONG_TYPE): Likewise.
32337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32338 (__SYSCALL_SLONG_TYPE): Likewise.
32339 (__SYSCALL_ULONG_TYPE): Likewise.
32340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32341 (__SYSCALL_SLONG_TYPE): Likewise.
32342 (__SYSCALL_ULONG_TYPE): Likewise.
32344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32346 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32347 Add sigaltstack-offsets.sym.
32348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32349 <sigaltstack-offsets.h>.
32350 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32351 longjmp_msg pointer.
32352 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32353 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32355 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32357 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32359 * elf/stackguard-macros.h: Remove file.
32360 * sysdeps/generic/stackguard-macros.h: New file.
32361 * sysdeps/i386/stackguard-macros.h: Likewise.
32362 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32363 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32364 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32365 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32366 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32367 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32368 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32369 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32370 <elf/stackguard-macros.h>.
32373 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32374 __aligned__ in attribute.
32375 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32376 (gregset_t): Likewise.
32378 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32380 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32381 * sysdeps/x86_64/64/Implies-after: Here. New file.
32382 * sysdeps/x86_64/x32/Implies-after: New file.
32384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32386 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32387 and access return value for _dl_profile_fixup. Use R10_LP to
32390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32392 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32396 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32397 * sysdeps/x86_64/x32/sysdep.h: New file.
32399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32401 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32402 * sysdeps/x86_64/setjmp.S: Likewise.
32404 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32407 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32408 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32409 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32410 remove unused global constant.
32412 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32414 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32415 include of <not-cancel.h>.
32417 2012-05-15 Roland McGrath <roland@hack.frob.com>
32419 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32421 2012-05-15 Jeff Law <law@redhat.com>
32422 Andreas Jaeger <aj@suse.de>
32425 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32427 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32428 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32429 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32430 code changing __hst_map_handle.map.
32432 2012-05-15 Roland McGrath <roland@hack.frob.com>
32434 * configure.in (sysnames): Look for Implies-before and Implies-after
32436 * configure: Regenerated.
32438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32440 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32441 8-byte data alignment with LP_SIZE alignment.
32443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32445 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32450 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32455 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32456 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32462 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32463 (stackinfo_sub_sp): Likewise.
32465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32486 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32487 into R11_LP and load __x86_64_shared_cache_size_half into
32490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32495 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32504 powerpc32/power7/fpu/s_logb.c via #include.
32505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32506 powerpc32/power7/fpu/s_logbf.c via #include.
32507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32508 powerpc32/power7/fpu/s_logbl.c via #include.
32510 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32512 * README.libm: Remove file.
32514 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32516 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32517 count for x32. Use R*_LP and omit operand-size suffix.
32519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32521 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32522 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32523 * sysdeps/x86_64/x32/shlib-versions: New file.
32525 2012-05-14 Roland McGrath <roland@hack.frob.com>
32527 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32528 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32529 Use _dl_fatal_printf instead.
32531 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32533 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32534 set if not set by the user. Do not allow for being unset.
32535 * sysdeps/unix/sysv/linux/configure: Regenerated.
32537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32539 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32540 the `q' suffix from lea and replace .quad with ASM_ADDR.
32542 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32545 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32547 (PTR_DEMANGLE): Likewise.
32549 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32551 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32553 (ASM_ADDR): Likewise.
32554 (RAX_LP): Likewise.
32555 (RBP_LP): Likewise.
32556 (RBX_LP): Likewise.
32557 (RCX_LP): Likewise.
32558 (RDI_LP): Likewise.
32559 (RSI_LP): Likewise.
32560 (RSP_LP): Likewise.
32563 (R10_LP): Likewise.
32564 (R10_LP): Likewise.
32565 (R11_LP): Likewise.
32566 (R12_LP): Likewise.
32567 (R13_LP): Likewise.
32568 (R14_LP): Likewise.
32569 (R15_LP): Likewise.
32571 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32573 * sysdeps/x86_64/x32/dl-machine.h: New file.
32575 2012-05-14 Andreas Jaeger <aj@suse.de>
32577 * manual/Makefile (subdir): Remove export of subdir.
32578 (all): Remove target.
32579 (.PHONY): Remove all from list.
32580 (mkinstalldirs): Remove.
32581 (.PHONY): Remove installdirs from list.
32582 ($(inst_infodir)/libc.info): Use make-target-directory.
32583 (installdirs): Remove.
32584 (subdir_%): Remove.
32585 (glibc-targets): Remove.
32588 ($(objpfx)stubs ../po/manual.pot): Remove.
32589 ($(objpfx)stamp%): Remove.
32590 (make-target-directory): Remove.
32591 (subdir_install): Remove.
32592 (routines): Remove.
32599 * manual/.gitignore: Remove, it's not needed anymore.
32600 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32602 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32604 (texis): Renamed to $(objpfx)texis.
32605 (texis-path): New, contains path to generated files.
32606 (chapters.%): Use texis-path for complete path, add extra argument
32608 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32609 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32610 (summary,texi, stamp-summary): Use complete path of
32611 files. Generate files in build dir.
32612 (dir-add.texi): Build in build dir.
32613 (libm-err.texi,stamp-libm-err): Likewise.
32614 (version.texi, stamp-version): Likewise.
32615 (.%c.texi): Likewise.
32616 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32617 (mostlyclean): Remove target.
32618 (realclean): Remove target.
32619 (generated): Add new variable with contents from mostlyclean and
32620 realclean, remove entries duplicated in common-mostlyclean, add
32621 stamp-libm-err and stamp-version.
32622 (generated-dirs): Add libc directory.
32623 ($(inst_infodir)/libc.info): Install files from build dir.
32625 * manual/install.texi (Configuring and compiling): Adjust since
32626 the info files are not part of the tar ball anymore.
32628 2012-05-14 Andreas Jaeger <aj@suse.de>
32630 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32633 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32637 to 2.2.0 where earlier.
32638 * sysdeps/unix/sysv/linux/configure: Regenerated.
32639 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32640 Remove conditional code.
32641 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32642 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32643 Remove conditional code.
32644 [!__NR_lchown]: Likewise.
32645 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32646 [__NR_lchown]: Likewise.
32647 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32648 comment referencing __ASSUME_LCHOWN_SYSCALL.
32649 * sysdeps/unix/sysv/linux/i386/sigaction.c
32650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32652 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32653 Remove conditional code.
32654 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32655 (__protocol_available): Remove #if 0 code.
32656 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32658 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32659 * sysdeps/unix/sysv/linux/kernel-features.h
32660 (__ASSUME_GETCWD_SYSCALL): Don't define.
32661 (__ASSUME_REALTIME_SIGNALS): Likewise.
32662 (__ASSUME_PREAD_SYSCALL): Likewise.
32663 (__ASSUME_PWRITE_SYSCALL): Likewise.
32664 (__ASSUME_POLL_SYSCALL): Likewise.
32665 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32666 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32668 (__ASSUME_SIOCGIFNAME): Don't define.
32669 (__ASSUME_MSG_NOSIGNAL): Likewise.
32670 (__ASSUME_SENDFILE): Define unconditionally.
32671 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32672 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32674 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32675 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32676 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32677 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32678 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32679 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32680 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32682 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32685 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32688 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32694 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32697 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32700 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32705 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32706 Remove conditional code.
32707 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32708 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32709 Remove conditional code.
32710 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32711 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32712 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32713 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32714 Remove conditional code.
32715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32716 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32717 Remove conditional code.
32718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32719 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32720 Remove conditional code.
32721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32722 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32723 Remove conditional code.
32724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32725 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32726 Remove conditional code.
32727 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32728 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32731 * sysdeps/unix/sysv/linux/sigaction.c
32732 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32733 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32734 * sysdeps/unix/sysv/linux/sigpending.c
32735 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32736 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32737 * sysdeps/unix/sysv/linux/sigprocmask.c
32738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32740 * sysdeps/unix/sysv/linux/sigsuspend.c
32741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32744 (__libc_missing_rt_sigs): Remove.
32745 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32746 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32747 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32748 Remove conditional code.
32749 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32752 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32753 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32755 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32757 2012-05-14 Andreas Jaeger <aj@suse.de>
32759 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32760 it's not used in glibc.
32761 (__coshm1): Likewise.
32762 (__acosh1p): Likewise.
32765 * manual/string.texi (Copying and Concatenation): Add missing
32766 variable in concat example.
32767 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32769 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32773 __builtin_clzl with __builtin_clzll.
32775 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32781 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32783 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32784 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32785 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32786 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32788 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32790 * NEWS: Update ia64 info.
32792 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32794 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32797 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32799 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32800 * sysdeps/unix/syscalls.list (dup3): Likewise.
32801 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32802 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32804 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32806 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32807 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32809 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32811 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32813 (TLS_IE): Use mov/add instead of movq/addq to load thread
32815 (TLS_GD_PREFIX): New.
32818 2012-05-11 David S. Miller <davem@davemloft.net>
32820 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32821 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32822 (_FPU_SETCW): Likewise.
32824 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32826 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32827 is 32-byte aligned.
32829 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32832 * iconvdata/gb18030.c: Update tables.
32833 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32834 characters specially.
32835 (BODY for TO_LOOP): Add encoding of missing ranges.
32837 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32840 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32841 * sysdeps/mach/hurd/dup3.c: Likewise.
32842 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32843 * sysdeps/powerpc/memmove.c:: Likewise.
32845 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32848 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32850 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32852 * elf/elf.h (R_X86_64_RELATIVE64): New.
32853 (R_X86_64_NUM): Updated.
32854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32855 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32856 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32857 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32858 tst-quad1pie tst-quad2pie
32859 (modules-names): Add tst-quadmod1 tst-quadmod2.
32860 ($(objpfx)tst-quad1): New dependency.
32861 ($(objpfx)tst-quad2): Likewise.
32862 ($(objpfx)tst-quad1pie): Likewise.
32863 ($(objpfx)tst-quad2pie): Likewise.
32864 * sysdeps/x86_64/tst-quad1.c: New file.
32865 * sysdeps/x86_64/tst-quad1pie.c: New file.
32866 * sysdeps/x86_64/tst-quad2.c: Likewise.
32867 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32868 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32869 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32870 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32871 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32873 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32875 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32876 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32877 * streams/stropts.h (t_scalar_t): Define type.
32879 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32880 (_PATH_PRESERVE): Set to "/var/lib".
32881 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32883 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32886 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32887 if __dir_mkfile succeeded.
32889 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32890 checking for _hurd_dtablesize. Unlock it right after having
32891 finished _hurd_dtable allocation.
32893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32895 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32896 * sysdeps/mach/hurd/configure: Regenerated.
32897 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32898 special-casing to...
32899 * sysdeps/gnu/configure.in: ... this new file.
32900 * sysdeps/unix/sysv/linux/configure: Regenerated.
32901 * sysdeps/gnu/configure: New generated file.
32903 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32904 for Linux: use nsec instead of usec, as well as:
32905 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32906 members of type struct timespec.
32907 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32909 (struct stat64): Likewise.
32910 (_STATBUF_ST_NSEC): New macro.
32911 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32914 __strtoul_internal rather than strtoul.
32916 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32918 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32923 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32924 which preserves existing values.
32925 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32927 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32929 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32930 TIMEOUT values. Return EINVAL for NFDS values either negative or
32931 greater than FD_SETSIZE.
32933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32935 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32936 allocated, call __vm_protect to finish enabling the existing space, and
32937 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32938 allocate the remainder.
32940 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32942 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32943 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32947 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32948 sysdeps/mach/hurd/readlink.c.
32950 * posix/tst-sysconf.c (posix_options): Only use
32951 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32952 _POSIX_SYNCHRONIZED_IO when they are defined
32953 * sysdeps/mach/hurd/bits/posix_opt.h:
32954 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32955 (_XOPEN_REALTIME): Undefine macro.
32956 (_XOPEN_REALTIME_THREADS): Undefine macro.
32957 (_XOPEN_SHM): Undefine macro.
32958 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32960 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32962 (_POSIX_ASYNC_IO): Undefine macro.
32963 (_POSIX_PRIORITIZED_IO): Undefine macro.
32964 (_POSIX_SPIN_LOCKS): Define macro to -1.
32966 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32967 SA_NODEFER, SA_RESETHAND.
32968 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32969 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32974 * elf/Makefile (pldd-modules): Define unconditionally.
32976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32978 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32982 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32983 Return ENOENT when name is empty.
32984 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32986 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32988 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32990 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32994 Fix mlock in all cases except non-readable pages.
32995 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32996 instead of VM_PROT_ALL as parameter to __vm_wire function.
32998 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32999 (__mkdir): When path is `/', just fail with EEXIST.
33000 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33002 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33004 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33005 <sys/uio.h> (for writev).
33006 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33007 and <sys/param.h> (for MIN).
33009 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33011 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33012 REQUESTED_TIME. Properly set the remaining time and return EINTR
33015 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33017 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33018 Depend on against $(link-rpcuserlibs).
33020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33022 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33023 (__libc_stack_end): Do not use attribute_relro.
33024 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33025 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33026 to libthread-provided value.
33027 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33033 * bits/libc-lock.h (__libc_once_get): New macro.
33034 * sysdeps/mach/bits/libc-lock.h: Likewise.
33035 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33036 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33037 instead of using implementation details.
33039 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33040 * libio/freopen.c: Likewise.
33041 * libio/freopen64.c: Likewise.
33042 * misc/syslog.c: Likewise.
33043 * nscd/connections.c: Likewise.
33044 * nscd/netgroupcache.c: Likewise.
33045 * sysdeps/posix/getcwd.c: Likewise.
33047 2012-05-10 Roland McGrath <roland@hack.frob.com>
33049 * math/w_ilogbf.c: Add #include <limits.h>.
33051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33053 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33054 path instead of returning without unlocking.
33056 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33057 immediate-write ioctls.
33058 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33060 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33062 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33063 __builtin_frame_address instead of making assumptions about the
33064 location of the return address relative to DATA. Force early load of
33065 the return address.
33066 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33067 __builtin_frame_address.
33070 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33071 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33072 implement dup3 and do some further code clean-ups.
33073 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33074 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33076 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33078 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33080 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33081 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33082 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33083 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33084 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33087 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33088 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33089 when handler == SIG_ERR, not when handler != SIG_ERR.
33091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33093 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33094 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33097 accept4 for GNU Hurd.
33098 * include/sys/socket.h (__libc_accept4): New prototype.
33099 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33100 to implement __libc_accept4.
33101 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33105 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33106 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33107 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33108 signal-defines.sym.
33110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33112 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33114 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33116 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33117 assertion on O_CLOEXEC flag.
33118 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33119 * hurd/intern-fd.c: Likewise.
33120 * hurd/port2fd.c: Likewise.
33122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33125 * bits/in.h (IPV6_PKTINFO): Define new macro.
33126 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33128 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33133 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33135 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33136 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33137 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33138 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33139 * math/libm-test.inc (logb_test) : Additional logb tests.
33141 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33142 Andreas Jaeger <aj@suse.de>
33144 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33145 * configure: Regenerated.
33146 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33147 * config.make.in (link-obsolete-rpc): New substituted variable.
33148 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33149 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33150 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33151 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33152 so that libc.a contains the symbols.
33153 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33154 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33155 * sunrpc/auth_none.c: Likewise.
33156 * sunrpc/auth_unix.c: Likewise.
33157 * sunrpc/authdes_prot.c: Likewise.
33158 * sunrpc/authuxprot.c: Likewise.
33159 * sunrpc/clnt_gen.c: Likewise.
33160 * sunrpc/clnt_perr.c: Likewise.
33161 * sunrpc/clnt_raw.c: Likewise.
33162 * sunrpc/clnt_simp.c: Likewise.
33163 * sunrpc/clnt_tcp.c: Likewise.
33164 * sunrpc/clnt_udp.c: Likewise.
33165 * sunrpc/clnt_unix.c: Likewise.
33166 * sunrpc/des_crypt.c: Likewise.
33167 * sunrpc/des_soft.c: Likewise.
33168 * sunrpc/get_myaddr.c: Likewise.
33169 * sunrpc/key_call.c: Likewise.
33170 * sunrpc/key_prot.c: Likewise.
33171 * sunrpc/netname.c: Likewise.
33172 * sunrpc/pm_getmaps.c: Likewise.
33173 * sunrpc/pm_getport.c: Likewise.
33174 * sunrpc/pmap_clnt.c: Likewise.
33175 * sunrpc/pmap_prot.c: Likewise.
33176 * sunrpc/pmap_prot2.c: Likewise.
33177 * sunrpc/pmap_rmt.c: Likewise.
33178 * sunrpc/publickey.c: Likewise.
33179 * sunrpc/rpc_cmsg.c: Likewise.
33180 * sunrpc/rpc_common.c: Likewise.
33181 * sunrpc/rpc_dtable.c: Likewise.
33182 * sunrpc/rpc_prot.c: Likewise.
33183 * sunrpc/rpc_thread.c: Likewise.
33184 * sunrpc/rtime.c: Likewise.
33185 * sunrpc/svc.c: Likewise.
33186 * sunrpc/svc_auth.c: Likewise.
33187 * sunrpc/svc_raw.c: Likewise.
33188 * sunrpc/svc_run.c: Likewise.
33189 * sunrpc/svc_tcp.c: Likewise.
33190 * sunrpc/svc_udp.c: Likewise.
33191 * sunrpc/svc_unix.c: Likewise.
33192 * sunrpc/svcauth_des.c: Likewise.
33193 * sunrpc/xcrypt.c: Likewise.
33194 * sunrpc/xdr.c: Likewise.
33195 * sunrpc/xdr_array.c: Likewise.
33196 * sunrpc/xdr_float.c: Likewise.
33197 * sunrpc/xdr_intXX_t.c: Likewise.
33198 * sunrpc/xdr_mem.c: Likewise.
33199 * sunrpc/xdr_rec.c: Likewise.
33200 * sunrpc/xdr_ref.c: Likewise.
33201 * sunrpc/xdr_sizeof.c: Likewise.
33202 * sunrpc/xdr_stdio.c: Likewise.
33204 2012-05-10 Roland McGrath <roland@hack.frob.com>
33206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33207 change. Update copyright years.
33209 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33211 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33213 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33214 Joseph Myers <joseph@codesourcery.com>
33215 Paul Pluzhnikov <ppluzhnikov@google.com>
33218 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33220 [cross-compiling] (extra-libs): Likewise.
33221 [cross-compiling] (extra-libs-others): Likewise.
33222 [cross-compiling] (librpcsvc-routines): Likewise.
33223 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33224 [cross-compiling] (omit-deps): Likewise.
33225 (sunrpc-CPPFLAGS): New variable.
33226 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33227 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33228 (cross-rpcgen-objs): New variable.
33229 (extra-objs): Append $(cross-rpcgen-objs).
33230 ($(cross-rpcgen-objs)): New rule.
33231 ($(objpfx)cross-rpcgen): Likewise.
33232 (rpcgen-cmd): Define to use $(built-program-file). Expand
33234 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33235 ($(objpfx)x%.stmp): Likewise.
33236 * sunrpc/proto.h [IS_IN_build] (_): Define.
33237 [IS_IN_build] (_libc_intl_domainname): Likewise.
33239 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33241 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33242 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33243 and R_X86_64_TPOFF64.
33245 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33247 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33248 sysdeps/unix/sysv/syscalls.list.
33251 * sysdeps/unix/sysv/syscalls.list: Remove file.
33253 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33256 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33257 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33258 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33259 (__LC_IDENTIFICATION): Make these macros useful in #if
33260 expressions, as required by C99.
33262 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33264 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33265 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33268 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33270 * stdlib/longlong.h: Updated from GCC.
33272 2012-05-09 Andreas Jaeger <aj@suse.de>
33274 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33275 default is first entry.
33276 (run_mode): Set type.
33277 (main): Remove informal message about syslog.
33278 (options): Fix typo.
33281 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33284 (llrintf): Likewise.
33285 (llrint): Likewise.
33288 (nearbyint): Likewise.
33289 (nearbyintf): Likewise.
33291 2012-05-09 Andreas Jaeger <aj@suse.de>
33292 Pedro Alves <palves@redhat.com>
33294 * nscd/nscd.c (run_mode): Use enum.
33295 (main): Cleanup coding style issue.
33297 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33298 Andreas Jaeger <aj@suse.de>
33300 * nscd/nscd.c (go_background): Replaced with...
33301 (run_mode): ... this.
33302 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33303 (options): Add -F --foreground.
33304 (main): Implement it.
33305 (parse_opt): Parse it.
33307 2012-05-09 Andreas Jaeger <aj@suse.de>
33310 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33311 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33312 -Wconversion warning.
33313 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33316 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33318 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33320 (LC_ALL): Use macro-int-constant.
33321 (LC_COLLATE): Likewise.
33322 (LC_CTYPE): Likewise.
33323 (LC_MESSAGES): Likewise.
33324 (LC_MONETARY): Likewise.
33325 (LC_NUMERIC): Likewise.
33326 (LC_TIME): Likewise.
33327 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33328 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33330 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33332 [C99-based standards] (float_t): Expect type.
33333 [C99-based standards] (double_t): Expect type.
33334 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33336 [C99-based standards] (HUGE_VALL): Likewise.
33337 [C99-based standards] (INFINITY): Likewise.
33338 [C99-based standards] (NAN): Likewise.
33339 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33340 [C99-based standards] (FP_NAN): Likewise.
33341 [C99-based standards] (FP_NORMAL): Likewise.
33342 [C99-based standards] (FP_SUBNORMAL): Likewise.
33343 [C99-based standards] (FP_ZERO): Likewise.
33344 [C99-based standards] (FP_FAST_FMA): Use
33345 optional-macro-int-constant. Specify type. Require == 1.
33346 [C99-based standards] (FP_FAST_FMAF): Likewise.
33347 [C99-based standards] (FP_FAST_FMAL): Likewise.
33348 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33349 [C99-based standards] (FP_ILOGBNAN): Likewise.
33350 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33352 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33353 [C99-based standards] (math_errhandling): Specify type.
33354 [ISO99 || ISO11] (signgam): Do not allow.
33355 [non-C99-based standards] (copysignf): Do not allow.
33356 [non-C99-based standards] (exp2f): Likewise.
33357 [non-C99-based standards] (log2f): Likewise.
33358 [non-C99-based standards] (modff): Allow.
33359 [non-C99-based standards] (erff): Do not allow.
33360 [non-C99-based standards] (erfcf): Likewise.
33361 [non-C99-based standards] (gammaf): Likewise.
33362 [non-C99-based standards] (hypotf): Likewise.
33363 [non-C99-based standards] (j0f): Likewise.
33364 [non-C99-based standards] (j1f): Likewise.
33365 [non-C99-based standards] (jnf): Likewise.
33366 [non-C99-based standards] (lgammaf): Likewise.
33367 [non-C99-based standards] (tgammaf): Likewise.
33368 [non-C99-based standards] (y0f): Likewise.
33369 [non-C99-based standards] (y1f): Likewise.
33370 [non-C99-based standards] (ynf): Likewise.
33371 [non-C99-based standards] (isnanf): Likewise.
33372 [non-C99-based standards] (acoshf): Likewise.
33373 [non-C99-based standards] (asinhf): Likewise.
33374 [non-C99-based standards] (atanhf): Likewise.
33375 [non-C99-based standards] (cbrtf): Likewise.
33376 [non-C99-based standards] (expm1f): Likewise.
33377 [non-C99-based standards] (ilogbf): Likewise.
33378 [non-C99-based standards] (log1pf): Likewise.
33379 [non-C99-based standards] (logbf): Likewise.
33380 [non-C99-based standards] (nextafterf): Likewise.
33381 [non-C99-based standards] (remainderf): Likewise.
33382 [non-C99-based standards] (rintf): Likewise.
33383 [non-C99-based standards] (scalbf): Likewise.
33384 [non-C99-based standards] (copysignl): Likewise.
33385 [non-C99-based standards] (exp2l): Likewise.
33386 [non-C99-based standards] (log2l): Likewise.
33387 [non-C99-based standards] (modfl): Allow.
33388 [non-C99-based standards] (erfl): Do not allow.
33389 [non-C99-based standards] (erfcl): Likewise.
33390 [non-C99-based standards] (gammal): Likewise.
33391 [non-C99-based standards] (hypotl): Likewise.
33392 [non-C99-based standards] (j0l): Likewise.
33393 [non-C99-based standards] (j1l): Likewise.
33394 [non-C99-based standards] (jnl): Likewise.
33395 [non-C99-based standards] (lgammal): Likewise.
33396 [non-C99-based standards] (tgammal): Likewise.
33397 [non-C99-based standards] (y0l): Likewise.
33398 [non-C99-based standards] (y1l): Likewise.
33399 [non-C99-based standards] (ynl): Likewise.
33400 [non-C99-based standards] (isnanl): Likewise.
33401 [non-C99-based standards] (acoshl): Likewise.
33402 [non-C99-based standards] (asinhl): Likewise.
33403 [non-C99-based standards] (atanhl): Likewise.
33404 [non-C99-based standards] (cbrtl): Likewise.
33405 [non-C99-based standards] (expm1l): Likewise.
33406 [non-C99-based standards] (ilogbl): Likewise.
33407 [non-C99-based standards] (log1pl): Likewise.
33408 [non-C99-based standards] (logbl): Likewise.
33409 [non-C99-based standards] (nextafterl): Likewise.
33410 [non-C99-based standards] (remainderl): Likewise.
33411 [non-C99-based standards] (rintl): Likewise.
33412 [non-C99-based standards] (scalbl): Likewise.
33413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33414 [non-C99-based standards] (FP_*): Do not allow.
33415 [C99-based standards] (FP_*): Change to
33416 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33417 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33419 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33420 (SIG_ERR): Likewise.
33421 [X/Open-based standards] (SIG_HOLD): Likewise.
33422 (SIG_IGN): Likewise.
33423 (SIGABRT): Use macro-int-constant. Specify type. Require
33425 (SIGFPE): Likewise.
33426 (SIGILL): Likewise.
33427 (SIGINT): Likewise.
33428 (SIGSEGV): Likewise.
33429 (SIGTER): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33448 [X/Open-based standards] (SIGTRAP): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33453 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33456 2012-05-08 Ian Wienand <ianw@vmware.com>
33459 * time/tzset.c (__tzset_parse_tz): Update default rules for
33460 daylight time changes in the Energy Policy Act of 2005.
33462 2012-05-09 Andreas Jaeger <aj@suse.de>
33465 * elf/ldconfig.c (parse_conf): Change string to make clear that
33466 ldconfig only issued a warning if ld.so.conf does not exist.
33468 2012-05-08 David S. Miller <davem@davemloft.net>
33470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33471 movxtod instead of popping the value on the stack.
33473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33475 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33477 * config.h.in: Add HAVE_ARM_PCS_VFP.
33479 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33482 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33483 checking but the checks are disabled for any reason.
33485 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33487 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33488 and ELF64_R_TYPE with ELFW(R_TYPE).
33490 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33492 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33493 (ulimit): Likewise.
33495 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33496 (settimeofday): Likewise.
33498 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33500 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33501 a struct th_u2 inside the union, and move tu_block/tu_code into
33502 a new th_u3 union of tu_block/tu_code inside of that. Move
33503 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33504 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33505 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33506 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33507 (th_stuff): Change to th_u1.tu_stuff.
33509 (th_msg): Change to th_u1.th_u2.tu_data.
33511 2012-05-07 David S. Miller <davem@davemloft.net>
33513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33516 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33517 (SETUP_PIC_REG): Use it.
33518 (SETUP_PIC_REG_LEAF): Use it.
33520 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33524 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33526 (EXPL_FINITE): Likewise.
33527 (FLDLOG): Likewise.
33528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33529 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33533 (EXPL_FINITE): Likewise.
33534 (FLDLOG): Likewise.
33535 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33536 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33538 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33539 test of -max_value argument for long double.
33540 * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33543 2012-05-06 David S. Miller <davem@davemloft.net>
33545 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33546 quad soft-float symbols whose references which are compiler
33548 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33550 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33554 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33556 (EXPL_FINITE): Likewise.
33557 (FLDLOG): Likewise.
33560 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33561 Adjust comments for base varying.
33562 (__expl_finite): Change alias to EXPL_FINITE.
33563 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33565 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33566 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33568 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33569 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33571 (EXPL_FINITE): Likewise.
33572 (FLDLOG): Likewise.
33575 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33576 Adjust comments for base varying.
33577 (__expl_finite): Change alias to EXPL_FINITE.
33578 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33583 * math/libm-test.inc (check_float_internal): Correct ulp
33584 calculation for subnormal expected results.
33586 2012-05-06 Andreas Jaeger <aj@suse.de>
33588 * Makeconfig (+math-flags): New, set to -frounding-math.
33589 (+cflags): Add +math-flags so that all of glibc gets compiled with
33592 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33594 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33596 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33602 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33603 (__ieee754_expl): Allow for and saturate large arguments.
33604 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33605 (u_threshold): Likewise.
33606 (__exp): Call __ieee754_exp before checking for overflow and
33608 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33609 (u_threshold): Likewise.
33610 (__expf): Call __ieee754_expf before checking for overflow and
33612 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33613 (u_threshold): Likewise.
33614 (__expl): Call __ieee754_expl before checking for overflow and
33616 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33617 (__ieee754_expl): Allow for and saturate large arguments.
33618 * math/libm-test.inc (exp_test): Add another test. Do not allow
33619 missing overflow exception on overflow.
33620 (expm1_test): Do not allow missing overflow exception on overflow.
33622 * sysdeps/i386/fpu/e_expl.c: Move to ...
33623 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33624 rather than using inline asm.
33625 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33626 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33627 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33629 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33632 (signal): Likewise.
33636 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33638 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33639 sysdeps/unix/common/syscalls.list.
33640 (fchmod): Likewise.
33641 (fchown): Likewise.
33642 (ftruncate): Likewise.
33643 (getrusage): Likewise.
33644 (gettimeofday): Likewise.
33645 (setpgid): Likewise.
33646 (setregid): Likewise.
33647 (setreuid): Likewise.
33648 (sigaction): Likewise.
33649 (truncate): Likewise.
33650 (vhangup): Likewise.
33651 * sysdeps/unix/common/syscalls.list: Remove file.
33652 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33653 * sysdeps/unix/sysv/linux/Implies: Likewise.
33655 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33657 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33659 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33663 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33666 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33669 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33672 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33675 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33678 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33681 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33685 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33689 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33692 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33696 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33700 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33702 * sysdeps/unix/common/bits/dirent.h: Remove file.
33703 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33705 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33706 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33707 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33708 * sysdeps/unix/bsd/isatty.c: Likewise.
33709 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33710 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33711 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33713 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33717 long double comparison inaccuracies.
33718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33721 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33723 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33726 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33730 nonzero digits before rounding a hex value.
33731 * stdlib/tst-strtod.c (tests): Add another test.
33733 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33735 * sysdeps/s390/fpu/libm-test-ulps: Update.
33737 2012-05-03 Andreas Jaeger <aj@suse.de>
33739 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33740 does not get optimized out.
33741 (malloc_opt_barrier): New.
33743 2012-05-03 Andreas Jaeger <aj@suse.de>
33744 Roland McGrath <roland@hack.frob.com>
33746 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33747 intermediate file deletion.
33748 (generated): Add .symlist files.
33750 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33753 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33754 Redirect under this condition.
33755 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33756 [__USE_GNU] (__dprintf_chk): Not under this condition.
33757 [__USE_GNU] (__vdprintf_chk): Likewise.
33758 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33759 under this condition.
33760 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33761 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33762 [__USE_XOPEN2K8] (vdprintf): Likewise.
33763 [__USE_GNU] (__dprintf_chk): Not under this condition.
33764 [__USE_GNU] (__vdprintf_chk): Likewise.
33765 [__USE_GNU] (dprintf): Likewise.
33766 [__USE_GNU] (vdprintf): Likewise.
33768 2012-05-03 Roland McGrath <roland@hack.frob.com>
33770 * elf/Makefile (common-generated): Set this instead of generated for
33771 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33772 $(all-built-dso)-derived lists.
33774 2012-05-03 Andreas Jaeger <aj@suse.de>
33776 * sysdeps/i386/fpu/libm-test-ulps: Update.
33779 * FAQ.in: Likewise.
33780 * scripts/gen-FAQ.pl: Likewise.
33781 * manual/install.texi (Installation): Point to online location of
33783 * Makefile (files-for-dist): Remove FAQ.
33786 2012-05-02 Allan McRae <allan@archlinux.org>
33788 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33789 (LDFLAGS-reldepmod5.so): Likewise.
33790 (LDFLAGS-reldep6mod1.so): Likewise.
33791 (LDFLAGS-reldep6mod4.so): Likewise.
33792 (LDFLAGS-reldep8mod3.so): Likewise.
33793 (LDFLAGS-unload4mod1.so): Likewise.
33794 (LDFLAGS-unload4mod2.so): Likewise.
33795 (LDFLAGS-tst-initorder): Likewise.
33796 (LDFLAGS-tst-initordera2.so): Likewise.
33797 (LDFLAGS-tst-initordera3.so): Likewise.
33798 (LDFLAGS-tst-initordera4.so): Likewise.
33799 (LDFLAGS-tst-initorderb2.so): Likewise.
33800 (LDFLAGS-noload): Likewise.
33801 (LDFLAGS-next): Likewise.
33802 (LDFLAGS-order2mod1.so): Likewise.
33803 (LDFLAGS-order2mod2.so): Likewise.
33804 (LDFLAGS-tst-initorder2): Likewise.
33805 (LDFLAGS-tst-initorder2a.so): Likewise.
33806 (LDFLAGS-tst-initorder2b.so): Likewise.
33807 (LDFLAGS-tst-initorder2c.so): Likewise.
33808 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33810 2012-05-02 David S. Miller <davem@davemloft.net>
33812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33814 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33817 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33819 2012-05-02 Andreas Jaeger <aj@suse.de>
33821 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33822 since we manipulate rounding mode.
33823 (CPPFLAGS-test-idouble.c): Likewise.
33824 (CPPFLAGS-test-ifloat.c): Likewise.
33825 (CFLAGS-test-ldouble.c): Likewise.
33826 (CFLAGS-test-double.c): Likewise.
33827 (CFLAGS-test-float.c): Likewise.
33828 (CFLAGS-test-misc.c): Likewise.
33829 (CFLAGS-test-test-fenv.c): Likewise.
33831 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33836 comparisons to determine direction to adjust input.
33838 2012-05-01 Roland McGrath <roland@hack.frob.com>
33840 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33841 output to the target.
33843 * scripts/localplt.awk: New file.
33844 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33845 (check-localplt-CFLAGS): Variable removed.
33846 ($(all-built-dso:=.jmprel)): New static pattern rule.
33847 (generated): Add those targets.
33848 (localplt-built-dso): New variable.
33849 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33851 * elf/check-localplt.c: File removed.
33853 * scripts/check-execstack.awk: New file.
33854 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33855 (check-execstack-CFLAGS): Variable removed.
33856 ($(objpfx)check-execstack.h): Target removed.
33857 ($(objpfx)execstack-default): New target.
33858 (generated): Add that instead of check-execstack.h.
33859 ($(all-built-dso:=.phdr)): New static pattern rule.
33860 (generated): Add those targets.
33861 * elf/check-execstack.c: File removed.
33863 * scripts/check-textrel.awk: New file.
33864 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33865 (check-textrel-CFLAGS): Variable removed.
33866 (all-built-dso): Use := to define.o
33867 ($(all-built-dso:=.dyn)): New static pattern rule.
33868 (generated): Add those targets.
33869 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33870 * config.make.in (READELF): New substituted variable.
33871 * elf/check-textrel.c: File removed.
33873 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33875 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33877 * conform/data/ctype.h-data [C99-based standards] (isblank):
33879 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33880 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33881 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33882 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33883 Specify type. Require positive value.
33884 (EILSEQ): Likewise.
33885 (ERANGE): Likewise.
33886 [ISO || POSIX] (EILSEQ): Do not expect.
33887 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33888 Specify type. Require positive value.
33889 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33890 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33891 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33892 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33893 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33894 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33895 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33896 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33897 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33898 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33899 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33900 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33901 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33902 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33903 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33904 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33905 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33906 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33907 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33908 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33909 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33910 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33911 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33912 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33913 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33914 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33915 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33916 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33917 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33918 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33919 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33920 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33921 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33922 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33923 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33924 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33925 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33926 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33928 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33929 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33930 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33932 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33963 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33964 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33965 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33967 (FLT_ROUNDS): Expect as macro, not constant.
33968 (FLT_MANT_DIG): Use macro-int-constant.
33969 (DBL_MANT_DIG): Likewise.
33970 (LDBL_MANT_DIG): Likewise.
33971 (FLT_DIG): Likewise.
33972 (DBL_DIG): Likewise.
33973 (LDBL_DIG): Likewise.
33974 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33975 (DBL_MIN_EXP): Likewise.
33976 (LDBL_MIN_EXP): Likewise.
33977 (FLT_MAX_EXP): Use macro-int-constant.
33978 (DBL_MAX_EXP): Likewise.
33979 (LDBL_MAX_EXP): Likewise.
33980 (FLT_MAX_10_EXP): Likewise.
33981 (DBL_MAX_10_EXP): Likewise.
33982 (LDBL_MAX_10_EXP): Likewise.
33983 (FLT_MAX): Use macro-constant.
33984 (DBL_MAX): Likewise.
33985 (LDBL_MAX): Likewise.
33986 (FLT_EPSILON): Use macro-constant. Give upper bound.
33987 (DBL_EPSILON): Likewise.
33988 (LDBL_EPSILON): Likewise.
33989 (FLT_MIN): Likewise.
33990 (DBL_MIN): Likewise.
33991 (LDBL_MIN): Likewise.
33992 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33993 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33994 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33995 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33996 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33997 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33998 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33999 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34000 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34001 [ISO11] (FLT_TRUE_MIN): Likewise.
34002 [ISO11] (LDBL_TRUE_MIN): Likewise.
34003 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34004 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34005 (SCHAR_MIN): Use macro-int-constant. Specify type.
34006 (SCHAR_MAX): Likewise.
34007 (UCHAR_MAX): Likewise.
34008 (CHAR_MIN): Likewise.
34009 (CHAR_MAX): Likewise.
34010 (MB_LEN_MAX): Use macro-int-constant.
34011 (SHRT_MIN): Use macro-int-constant. Specify type.
34012 (SHRT_MAX): Likewise.
34013 (USHRT_MAX): Likewise.
34014 (INT_MAX): Likewise.
34015 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34017 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34019 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34021 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34022 bound negative. Suffix upper bound with "L".
34023 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34025 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34027 [C99-based standards] (LLONG_MAX): Likewise.
34028 [C99-based standards] (ULLONG_MAX): Likewise.
34029 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34031 [ISO11] (max_align_t): Require type.
34032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34034 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34035 from $CFLAGS, without defining away __attribute__ calls.
34036 (checknamespace): Use $CFLAGS_namespace.
34038 * conform/conformtest.pl (@keywords): Only include C99 keywords
34039 for standards based on C99 or C11.
34041 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34043 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34046 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34047 usability of symbols in #if.
34049 * conform/conformtest.pl: If macro or constant types start
34050 "promoted:", expect the symbol to be of the following type
34051 promoted by the integer promotions.
34053 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34054 in one place. Also handle "macro-constant".
34056 * conform/conformtest.pl: Only accept expected macro values with
34057 "==". Parse all "macro" lines in one place.
34058 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34060 * conform/conformtest.pl: Handle braced types on "constant" lines
34061 instead of handling "typed-constant".
34062 * conform/data/signal.h-data: Use "constant" instead of
34065 * conform/conformtest.pl: Handle "optional-" at start of lines in
34066 one place rather than duplicating several cases. Handle each
34067 format of "macro" line with initial "optional-".
34069 * conform/conformtest.pl: Only accept expected constant or
34070 optional-constant values with "==". Parse all "constant" lines in
34071 one place. Parse all "optional-constant" lines in one place.
34072 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34073 * conform/data/fmtmsg.h-data: Likewise.
34074 * conform/data/netinet/in.h-data: Likewise.
34075 * conform/data/tar.h-data: Likewise.
34076 * conform/data/limits.h-data: Use "==" form on "constant" and
34077 "optional-constant" lines.
34079 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34080 Use -std=c99 for XOPEN2K.
34081 (@knownproblems): Remove.
34082 (newtoken): Don't check %isknown.
34084 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34085 Do not expect macro.
34086 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34087 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34088 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34089 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34090 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34091 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34092 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34093 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34094 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34095 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34096 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34097 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34098 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34099 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34100 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34101 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34102 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34103 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34104 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34105 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34106 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34107 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34110 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34111 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34112 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34113 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34114 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34115 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34116 [XPG3] (acosh): Likewise.
34117 [XPG3] (asinh): Likewise.
34118 [XPG3] (atanh): Likewise.
34119 [XPG3] (cbrt): Likewise.
34120 [XPG3] (expm1): Likewise.
34121 [XPG3] (ilogb): Likewise.
34122 [XPG3] (log1p): Likewise.
34123 [XPG3] (logb): Likewise.
34124 [XPG3] (nextafter): Likewise.
34125 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34126 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34127 [XPG3] (remainder): Likewise.
34128 [XPG3] (rint): Likewise.
34129 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34130 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34131 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34132 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34136 [UNIX98 || XOPEN2K] (scalb): Expect.
34137 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34138 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34141 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34142 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34144 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34145 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34146 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34147 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34148 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34275 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34276 _XOPEN_SOURCE_EXTENDED for XPG4.
34278 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34280 * Makeconfig (localtime): Remove variable.
34281 (inst_localtime-file): Likewise.
34283 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34304 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34308 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34309 comparisons to determine direction to adjust input.
34310 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34311 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34312 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34314 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34316 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34321 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34323 * math/libm-test.inc (nexttoward_test): Add more tests.
34325 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34328 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34329 in version GLIBC_2.1, not GLIBC_2.0.
34330 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34333 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34336 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34338 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34339 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34340 * math/libm-test.inc (acos_test): Add more tests.
34341 (asin_test): Likewise.
34342 * sysdeps/i386/fpu/libm-test-ulps: Update.
34343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34346 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34348 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34350 * math/libm-test.inc (acos_test_tonearest): New function.
34351 (acos_test_towardzero): Likewise.
34352 (acos_test_downward): Likewise.
34353 (acos_test_upward): Likewise.
34354 (asin_test_tonearest): Likewise.
34355 (asin_test_towardzero): Likewise.
34356 (asin_test_downward): Likewise.
34357 (asin_test_upward): Likewise.
34358 (main): Call the new functions.
34359 * sysdeps/i386/fpu/libm-test-ulps: Update.
34360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34364 * math/e_exp10.c: Include <float.h>.
34365 (__ieee754_exp10): Handle underflow here rather than multiplying
34366 large negative argument by M_LN10.
34367 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34369 * math/e_exp10l.c: Include <float.h>.
34370 (__ieee754_exp10l): Handle underflow here rather than multiplying
34371 large negative argument by M_LN10l.
34372 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34373 spurious overflow exception on underflow.
34375 2012-04-29 Marek Polacek <polacek@redhat.com>
34377 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34378 (__fortify_function): New macro.
34379 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34380 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34381 __extern_always_inline.
34382 * libio/bits/stdio2.h: Likewise.
34383 * libio/bits/stdio.h: Likewise.
34384 * string/string.h: Likewise.
34385 * string/bits/string3.h: Likewise.
34386 * include/stdio.h: Likewise.
34387 * stdlib/bits/stdlib.h: Likewise.
34388 * stdlib/stdlib.h: Likewise.
34389 * rt/bits/mqueue2.h: Likewise.
34390 * rt/mqueue.h: Likewise.
34391 * posix/bits/unistd.h: Likewise.
34392 * posix/unistd.h: Likewise.
34393 * io/bits/poll2.h: Likewise.
34394 * io/bits/fcntl2.h: Likewise.
34395 * io/fcntl.h: Likewise.
34396 * io/sys/poll.h: Likewise.
34397 * misc/bits/syslog.h: Likewise.
34398 * misc/bits/syslog-ldbl.h: Likewise.
34399 * misc/sys/syslog.h: Likewise.
34400 * socket/bits/socket2.h: Likewise.
34401 * socket/sys/socket.h: Likewise.
34402 * debug/tst-chk1.c: Likewise.
34403 * wcsmbs/bits/wchar2.h: Likewise.
34404 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34405 * wcsmbs/wchar.h: Likewise.
34407 2012-04-29 Andreas Jaeger <aj@suse.de>
34409 * Makerules (tests): Remove enable-check-abi protection.
34410 (check-abi-warn): Remove.
34411 (check-abi-%): Remove check-abi-warn usage.
34413 * configure.in: Remove check-abi configure option.
34414 * configure: Regenerated.
34415 * config.make.in (enable-check-abi): Remove.
34417 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34420 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34421 double functions to double *_finite functions.
34424 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34425 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34427 * stdio-common/Makefile (tests): Add tst-sprintf3.
34428 * stdio-common/tst-sprintf3.c: New file.
34430 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34431 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34433 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34435 * conform/conformtest.pl: Remove duplicate typed-constant
34438 2012-04-28 David S. Miller <davem@davemloft.net>
34440 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34441 (check-abi-%): Remove AWK script prerequisite and explicit
34443 (check-abi): Rewrite to just diff the symlist with the abilist.
34444 (config-tls, config-abi-config): Delete, no longer used.
34445 (update-abi-%): Remove AWK script and explicit abilist directory.
34446 (update-abi): Rewrite to simply compare and conditionally copy the
34447 symlist and the sysdep abilist file. Remove update-abi-config
34449 * abilist/ld.abilist: Remove.
34450 * abilist/libBrokenLocale.abilist: Remove.
34451 * abilist/libanl.abilist: Remove.
34452 * abilist/libcrypt.abilist: Remove.
34453 * abilist/libdl.abilist: Remove.
34454 * abilist/librt.abilist: Remove.
34455 * abilist/libthread_db.abilist: Remove.
34456 * abilist/libutil.abilist: Remove.
34457 * scripts/extract-abilist.awk: Remove.
34458 * scripts/merge-abilist.awk: Remove.
34459 * sysdeps/generic/libcidn.abilist: New file.
34460 * sysdeps/generic/libnss_compat.abilist: New file.
34461 * sysdeps/generic/libnss_db.abilist: New file.
34462 * sysdeps/generic/libnss_dns.abilist: New file.
34463 * sysdeps/generic/libnss_files.abilist: New file.
34464 * sysdeps/generic/libnss_hesiod.abilist: New file.
34465 * sysdeps/generic/libnss_nis.abilist: New file.
34466 * sysdeps/generic/libnss_nisplus.abilist: New file.
34467 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34468 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34469 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34472 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34473 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34474 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34475 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34476 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34477 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34478 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34479 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34481 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34482 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34483 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34484 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34486 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34487 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34489 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34490 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34491 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34493 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34494 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34495 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34497 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34600 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34601 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34602 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34604 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34605 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34606 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34607 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34608 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34609 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34610 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34611 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34612 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34613 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34665 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34667 * conform/conformtest.pl: Fix typo in handling typed-constant from
34670 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34672 * README: Cut down references to pre-2.6 Linux kernels and
34673 Linuxthreads. Update lists of configurations in libc and ports
34674 and sort alphabetically. Say "or newer" with Linux kernel version
34677 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34679 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34682 * math/libm-test.inc (logb_test_downward): New test to expose
34683 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34686 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34689 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34691 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34692 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34694 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34696 * sysdeps/unix/i386/brk.S: Remove file.
34697 * sysdeps/unix/i386/dl-brk.S: Likewise.
34698 * sysdeps/unix/i386/pipe.S: Likewise.
34699 * sysdeps/unix/i386/sigreturn.S: Likewise.
34700 * sysdeps/unix/i386/syscall.S: Likewise.
34701 * sysdeps/unix/i386/vfork.S: Likewise.
34702 * sysdeps/unix/i386/wait.S: Likewise.
34704 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34705 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34707 * configure.in (arm*-none*): Do not allow without
34708 --enable-hacker-mode.
34709 (netbsd*): Remove case setting base_os.
34710 (386bsd*): Likewise.
34711 (freebsd*): Likewise.
34714 (sunos*): Likewise.
34715 (ultrix*): Likewise.
34716 (newsos*): Likewise.
34717 (dynix*): Likewise.
34723 (minix*): Likewise.
34724 (irix4*): Likewise.
34725 (irix6*): Likewise.
34726 (solaris[2-9]*): Likewise.
34728 * configure: Regenerated.
34730 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34733 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34734 overflow or cancellation in calculating denominator.
34735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34737 down expression to avoid unexpected rounding in newer GCCs.
34738 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34740 2012-04-26 David S. Miller <davem@davemloft.net>
34742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34743 long-double compat symbols.
34744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34758 2012-04-25 David S. Miller <davem@davemloft.net>
34760 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34761 HWCAP_* values only after the memory barriers have been defined.
34762 (atomic_full_barrier): Define.
34763 (atomic_read_barrier): Define.
34764 (atomic_write_barrier): Define.
34766 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34768 * shlib-versions: Add libgcc_s version information.
34769 * sysdeps/generic/libgcc_s.h: Remove.
34770 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34772 * sysdeps/gnu/unwind-resume.c: Likewise.
34773 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34775 2012-04-25 David S. Miller <davem@davemloft.net>
34777 * sysdeps/unix/sparc/brk.S: Delete.
34778 * sysdeps/unix/sparc/dl-brk.S: Delete.
34779 * sysdeps/unix/sparc/pipe.S: Delete.
34780 * sysdeps/unix/sparc/sysdep.S: Delete.
34781 * sysdeps/unix/sparc/sysdep.h: Delete.
34782 * sysdeps/unix/sparc/vfork.S: Delete.
34783 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34784 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34786 (ret_ERRVAL, r0, r1, MOVE): Define.
34787 (JUMPTARGET): Remove.
34788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34789 sysdeps/unix/sparc/sysdep.h
34790 (ENTRY, END): Remove.
34791 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34793 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34795 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34796 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34799 * timezone/README: Update upstream location and email address for
34801 * timezone/zdump.c: Update from tzcode 2012b.
34802 * timezone/zic.c: Likewise.
34804 * configure.in (libc_cv_as_needed): Remove test.
34805 * configure: Regenerated.
34806 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34807 conditional definition.
34808 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34809 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34810 * config.make.in (have-as-needed): Remove variable.
34812 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34813 Paul Pluzhnikov <ppluzhnikov@google.com>
34815 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34818 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34820 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34821 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34822 * sysdeps/sh/strlen.S: Likewise.
34824 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34826 * sysdeps/unix/fork.S: Remove file.
34827 * sysdeps/unix/i386/fork.S: Likewise.
34828 * sysdeps/unix/sparc/fork.S: Likewise.
34830 * sysdeps/unix/system.c: Remove file.
34831 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34833 * sysdeps/unix/getegid.S: Remove file.
34834 * sysdeps/unix/geteuid.S: Likewise.
34836 2012-04-24 Roland McGrath <roland@hack.frob.com>
34838 * scripts/check-localplt.awk: New file.
34839 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34841 * scripts/data/localplt-generic.data: Add a comment.
34843 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34844 NODE when __dir_mkfile failed.
34845 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34846 Reported by Ludovic Courtès <ludo@gnu.org>.
34848 2012-04-24 Andreas Jaeger <aj@suse.de>
34850 * Makerules (common-clean): Also remove gen-as-const-headers
34853 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34855 * Makerules (native-compile): Do not change working directory for
34856 build. Use $(OUTPUT_OPTION) in command.
34857 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34859 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34862 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34863 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34864 * math/libm-test.inc (floor_test): Add more tests.
34865 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34867 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34869 * sysdeps/unix/getdents.c: Remove file.
34870 * sysdeps/unix/sysv/getdents.c: Likewise.
34871 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34873 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34874 sysdeps/unix/mman/syscalls.list.
34876 (mprotect): Likewise.
34878 (munmap): Likewise.
34879 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34880 * sysdeps/unix/mman/syscalls.list: Remove.
34881 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34883 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34884 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34885 * configure: Regenerated.
34886 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34887 $(libgcc_s_suffix).
34888 * config.make.in (libgcc_s_suffix): Remove variable.
34890 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34892 * sysdeps/unix/sysv/gethostname.c: Move to ...
34893 * sysdeps/posix/gethostname.c: ... here.
34895 * sysdeps/unix/execve.S: Remove file.
34897 * sysdeps/unix/_exit.S: Remove file.
34899 2012-04-23 Andreas Jaeger <aj@suse.de>
34902 * manual/Makefile: Remove make dist support, there's no
34903 need for a stand-alone documentation tar ball.
34904 (TEXI2DVI): Define always, it's not in Makeconfig.
34907 (edition): Removed.
34908 (glibc-doc-$(edition).tar): Removed
34912 (ETAGS): Remove, it's in Makeconfig.
34913 (move-if-change): Remove, it's in Makeconfig.
34915 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34918 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34919 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34920 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34921 (strtod_l, strtof_l, strtold_l): Remove __wur.
34922 It is not necessarily an error to ignore strtol's return value.
34923 One can reliably look at the stored endptr to decide whether
34924 the number had valid syntax.
34926 2012-04-21 Andreas Jaeger <aj@suse.de>
34929 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34931 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34933 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34934 * sysdeps/unix/sysv/Versions: Remove file.
34936 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34941 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34945 version from __vm86.
34947 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34949 * sysdeps/unix/common/lxstat.c: Remove file.
34950 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34952 * sysdeps/unix/sysv/Makefile: Remove file.
34954 * sysdeps/unix/sysv/direct.h: Remove file.
34956 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34957 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34958 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34959 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34960 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34961 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34962 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34964 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34966 * sysdeps/unix/xmknod.c: Remove file.
34967 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34969 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34971 * sysdeps/unix/sysv/i386/time.S: Remove file.
34973 * sysdeps/unix/fxstat.c: Remove file.
34974 * sysdeps/unix/xstat.c: Likewise.
34975 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34977 * sysdeps/unix/sysv/sigaction.c: Remove file.
34979 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34980 (sysdep_headers): Remove variable.
34981 [termio.h not in sysdep_headers] (generated): Likewise.
34982 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34983 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34984 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34985 * sysdeps/unix/sysv/tcflow.c: Likewise.
34986 * sysdeps/unix/sysv/tcflush.c: Likewise.
34987 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34988 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34989 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34990 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34991 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34993 * sysdeps/unix/siglist.c: Remove file.
34995 * sysdeps/unix/getppid.S: Remove file.
34997 * sysdeps/unix/mkdir.c: Remove file.
34998 * sysdeps/unix/rmdir.c: Likewise.
35000 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35002 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35004 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35005 errlist-compat value.
35007 2012-04-18 David S. Miller <davem@davemloft.net>
35009 * sysdeps/generic/memcopy.h (reg_char): Delete.
35010 * debug/strcat_chk.c: Use char, not reg_char.
35011 * debug/strcpy_chk.c: Likewise.
35012 * debug/strncat_chk.c: Likewise.
35013 * debug/strncpy_chk.c: Likewise.
35014 * string/memchr.c: Likewise.
35015 * string/memrchr.c: Likewise.
35016 * string/rawmemchr.c: Likewise.
35017 * string/strcat.c: Likewise.
35018 * string/strchr.c: Likewise.
35019 * string/strchrnul.c: Likewise.
35020 * string/strcmp.c: Likewise.
35021 * string/strcpy.c: Likewise.
35022 * string/strncat.c: Likewise.
35023 * string/strncmp.c: Likewise.
35024 * string/strncpy.c: Likewise.
35026 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35028 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35029 __builtin_memcopy is called when src and dest ranges are known to not
35032 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35034 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35035 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35036 fwd_align_merge macro call.
35037 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35038 bwd_align_merge macro call.
35039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35041 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35043 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35044 bwd_align_merge macros.
35045 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35046 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35047 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35049 2012-04-18 David S. Miller <davem@davemloft.net>
35051 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35053 2012-04-18 Andreas Jaeger <aj@suse.de>
35056 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35057 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35061 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35064 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35065 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35066 Adjust for changed ldbl-128 files.
35068 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35069 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35070 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35072 2012-04-17 David S. Miller <davem@davemloft.net>
35074 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35076 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35078 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35079 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35080 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35081 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35082 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35083 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35085 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35088 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35089 * math/libm-test.inc: Add ilogb errno and exception tests.
35090 * math/w_ilogb.c: New file: ilogb wrapper.
35091 * math/w_ilogbf.c: New file: ilogbf wrapper.
35092 * math/w_ilogbl.c: New file: ilogbl wrapper.
35093 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35094 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35095 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35096 exception being thrown with 0.0 as argument.
35097 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35098 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35099 exception being thrown with 0.0 as argument.
35100 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35101 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35102 exception being thrown with 0.0 as argument.
35103 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35104 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35105 exception being thrown with 0.0 as argument.
35106 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35107 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35108 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35109 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35110 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35111 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35112 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35113 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35114 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35116 2012-04-17 Petr Baudis <pasky@ucw.cz>
35118 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35121 2012-04-16 Marek Polacek <polacek@redhat.com>
35123 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35125 2012-04-16 Marek Polacek <polacek@redhat.com>
35127 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35128 operands of fdivp instruction.
35130 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35132 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35133 * elf/tst-auditmod3b.c: Likewise.
35134 * elf/tst-auditmod4b.c: Likewise.
35135 * elf/tst-auditmod5b.c: Likewise.
35136 * elf/tst-auditmod6b.c: Likewise.
35137 * elf/tst-auditmod6c.c: Likewise.
35138 * elf/tst-auditmod7b.c: Likewise.
35139 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35140 * sysdeps/x86_64/preconfigure.in: Likewise.
35141 * sysdeps/x86_64/preconfigure: Regenerated.
35143 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35145 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35148 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35151 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35153 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35156 * locale/iso-639.def: Fix gl language name. Spotted by
35159 2012-04-12 Roland McGrath <roland@hack.frob.com>
35162 * libio/libio.h (__io_write_fn): Update comment.
35164 2012-04-12 Petr Baudis <pasky@ucw.cz>
35167 * stdio.texi (Hook Functions): The user provided writer function
35168 is not allowed to return -1.
35170 2012-04-11 David S. Miller <davem@davemloft.net>
35172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35174 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35176 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35177 Add a leading slash to rtkaio.
35179 2012-04-11 Jim Meyering <meyering@redhat.com>
35182 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35183 It is not necessarily an error to ignore fwrite's return
35184 value. One can reliably use ferror to test for errors after
35187 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35189 * bits/types.h (__snseconds_t): New type.
35190 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35192 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35194 (__SNSECONDS_T_TYPE): Likewise.
35195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35196 (__SNSECONDS_T_TYPE): Likewise.
35197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35198 (__SNSECONDS_T_TYPE): Likewise.
35200 2012-04-10 Andreas Jaeger <aj@suse.de>
35203 * manual/time.texi (Processor Time): Return type of times is
35204 elapsed real time since an arbitrary point in the past.
35205 (CPU Time): Move CLK_TCK from here...
35206 (Processor Time): ...to here. Correct description.
35207 * manual/conf.texi (Constants for Sysconf): Correct description of
35210 2012-04-10 David S. Miller <davem@davemloft.net>
35213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35214 where the is a gap between DT_REL(A) and DT_JMPREL.
35216 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35218 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35219 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35220 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35222 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35224 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35225 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35226 (dl_main): Handle --inhibit-cache.
35227 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35229 * elf/dl-load.c (_dl_map_object): Use it.
35230 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35232 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35235 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35236 (__ieee754_powl): Saturate large exponents rather than testing for
35237 overflow of y*log2(x).
35238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35239 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35243 * math/s_ctan.c: Include <float.h>.
35244 (__ctan): Avoid internal overflow or cancellation in calculating
35246 * math/s_ctanf.c: Likewise.
35247 * math/s_ctanl.c: Likewise.
35248 * math/s_ctanh.c: Likewise.
35249 * math/s_ctanhf.c: Likewise.
35250 * math/s_ctanhl.c: Likewise.
35251 * math/libm-test.inc (ctan_test): Add more tests.
35252 (ctanh_test): Likewise.
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35256 2012-04-09 Andreas Jaeger <aj@suse.de>
35259 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35260 is an optional BSD extension.
35263 * manual/stdio.texi (Opening Streams): Document additional fopen
35266 2012-04-09 Roland McGrath <roland@hack.frob.com>
35268 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35269 %eax without telling the compiler.
35271 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35274 * manual/install.texi: Use sourceware.org.
35276 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35279 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35280 (__ieee754_pow): Generate overflow and underflow using huge*huge
35281 and tiny*tiny rather than just returning constant infinity or zero
35282 for large exponents.
35283 * math/libm-test.inc (pow_test): Require overflow exceptions for
35284 applicable cases of large exponents.
35287 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35288 (__ieee754_pow): Use iterative multiplication algorithm only for
35289 integer exponents with absolute value below 1024. Check for odd
35290 integer exponents when using algorithm for real exponents.
35291 * math/libm-test.inc (pow_test): Add more tests.
35292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35294 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35297 * math/libm-test.inc (exp_test): Do not allow overflow exception
35300 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35303 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35304 instead of __kernel_standard_f.
35306 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35308 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35309 * sysdeps/x86_64/memset_chk.S: Likewise.
35311 2012-04-08 Andreas Jaeger <aj@suse.de>
35314 * manual/startup.texi (Environment Access): Describe return value
35315 for putenv and setenv.
35318 * manual/filesys.texi (Directory Entries): Add description for
35322 * manual/filesys.texi (Directory Entries): Clarify that it's file
35323 system not operating system in the description of DT_UNKNOWN.
35326 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35328 2012-04-08 Stephen Compall <s11@member.fsf.org>
35331 * manual/llio.texi (Opening and Closing Files): Add cross
35332 reference to explain mode argument.
35334 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35336 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35337 * sysdeps/x86_64/memset_chk.S: Likewise.
35339 2012-04-07 David S. Miller <davem@davemloft.net>
35341 * elf/elf.h (R_SPARC_WDISP10): Define.
35342 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35345 R_SPARC_SIZE64 and R_SPARC_H34.
35347 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35349 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35350 conditions and remove no longer applicable assertion.
35352 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35354 * bits/byteswap.h: Include <features.h>.
35355 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35356 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35358 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35360 * bits/byteswap.h (__bswap_16): Removed.
35361 Include <bits/byteswap-16.h> to get __bswap_16.
35362 * sysdeps/i386/bits/byteswap.h: Likewise.
35363 * sysdeps/s390/bits/byteswap.h: Likewise.
35364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35365 * bits/byteswap-16.h: New file.
35366 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35367 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35368 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35369 * string/Makefile (headers): Add bits/byteswap-16.h.
35371 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35374 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35376 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35377 * nss/tst-nss-static.c: New.
35379 2012-04-06 Robert Millan <rmh@gnu.org>
35382 * manual/llio.texi (File Position Primitive): lseek
35383 refers to WHENCE when it really means OFFSET.
35385 2012-04-06 Andreas Jaeger <aj@suse.de>
35387 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35388 strncmp declarations.
35390 * abilist/libc.abilist: Add __poll and __ppoll.
35392 2012-04-05 David S. Miller <davem@davemloft.net>
35394 * scripts/check-local-headers.sh: Accept a host triplet in the
35395 path matched by the exclude regexp.
35397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35399 * sysdeps/powerpc/powerpc32/dl-machine.h
35400 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35401 * sysdeps/s390/s390-32/dl-machine.h
35402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35403 * sysdeps/sparc/sparc32/dl-machine.h
35404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35405 * sysdeps/sparc/sparc64/dl-machine.h
35406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35408 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35410 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35411 undefined symbol errors.
35413 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35416 2012-04-05 Michael Matz <matz@suse.de>
35419 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35421 2012-04-05 Andreas Jaeger <aj@suse.de>
35424 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35427 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35429 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35430 which ROUND is no valid rounding mode.
35432 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35434 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35436 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35438 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35440 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35441 an exception using FPU order intentionally.
35443 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35445 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35446 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35447 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35448 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35450 2012-04-05 Simon Josefsson <simon@josefsson.org>
35453 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35454 EINVAL when BUFLEN is too smal.
35456 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35459 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35460 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35462 2012-04-03 Andreas Jaeger <aj@suse.de>
35465 * manual/setjmp.texi (System V contexts): Fix sentence.
35468 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35469 New macro for this case.
35470 [!__GNUC__] (__bswap_64): New inline function for this case.
35471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35472 * bits/byteswap.h: Likewise.
35473 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35474 ull, guard with __GLIBC_HAVE_LONG_LONG.
35476 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35477 __GLIBC_HAVE_LONG_LONG.
35479 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35480 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35482 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35485 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35486 inptr and inend, rather than using last_ch.
35488 2012-04-02 David S. Miller <davem@davemloft.net>
35490 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35491 * stdio-common/printf-parse.h (read_int): Change return type to
35492 'int', return -1 on INT_MAX overflow.
35493 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35494 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35495 overflows INT_MAX. Check for overflow of in-format-string precision
35496 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35497 SIZE_MAX not INT_MAX for integer overflow test.
35498 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35499 skip the construct in the format string but do not record anything.
35500 * stdio-common/bug22.c: Adjust to test both width/prevision
35501 INT_MAX overflow as well as total length INT_MAX overflow. Check
35502 explicitly for proper errno values.
35504 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35506 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35508 * string/test-strcmp.c [! WIDE]: Likewise.
35509 * time/tst-mktime2.c: Likewise for INT_MAX.
35510 * string/test-string.h: #include <sys/param.h> for MIN.
35512 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35513 * sysdeps/i386/init-first.c (init): Likewise.
35514 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35515 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35516 * sysdeps/sh/init-first.c (init): Likewise.
35518 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35520 * po/ru.po: Update from translation team.
35521 * po/vi.po: Likewise.
35523 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35525 * resolv/nss_dns/dns-host.c: Merge copyright years.
35527 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35530 Optimize memcpy with prefetch if
35531 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35532 src, dst pointers have unequal 16 byte alignments.
35534 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35537 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35538 from a CNAME entry and return the minimum ttl for the query.
35539 (gaih_getanswer_slice): Likewise.
35541 2012-03-30 Jeff Law <law@redhat.com>
35543 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35545 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35546 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35548 * resolv/nss_dns/dns-host.c: Update copyright year.
35550 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35552 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35553 requests to save a system call. Fix check that all bytes are sent.
35555 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35556 comments for sendmmsg.
35558 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35561 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35562 with only 1 character between 0x0041 and 0x01b0.
35563 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35564 * wcsmbs/tst-mbsnrtowcs.c: New file.
35566 2012-03-29 David S. Miller <davem@davemloft.net>
35568 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35569 small copies by hand.
35571 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35574 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35575 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35578 2012-03-28 David S. Miller <davem@davemloft.net>
35580 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35581 that branches into memcpy.
35582 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35585 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35588 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35589 implementation too.
35590 * sysdeps/sparc/mempcpy.S: New file.
35592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35593 the IFUNC routine in the libc case.
35594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35596 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35597 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35598 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35599 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35600 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35601 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35602 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35603 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35605 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35606 loop to 256 bytes instead of 64 bytes and fix test signedness.
35608 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35609 * sysdeps/sparc/sparc32/Makefile: rather than here...
35610 * sysdeps/sparc/sparc64/Makefile: and here.
35612 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35614 * malloc/mallocbug.c: Avoid warnings about unused variables.
35616 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35619 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35620 in the right place. Discard and retry query if response is
35621 larger than input buffer size.
35623 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35628 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35629 x for large integer exponent.
35630 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35631 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35632 sign of result as needed afterwards.
35633 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35634 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35635 result for underflowing pow the same as for overflow.
35636 (__kernel_standard_l): Handle powl overflow and underflow here
35637 rather than calling __kernel_standard.
35638 * math/libm-test.inc (pow_test): Add more tests.
35653 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35654 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35655 (__kernel_standard_l): New function.
35656 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35658 * math/w_acosl.c (__acosl): Likewise.
35659 * math/w_asinl.c (__asinl): Likewise.
35660 * math/w_atan2l.c (__atan2l): Likewise.
35661 * math/w_atanhl.c (__atanhl): Likewise.
35662 * math/w_coshl.c (__coshl): Likewise.
35663 * math/w_exp10l.c (__exp10l): Likewise.
35664 * math/w_exp2l.c (__exp2l): Likewise.
35665 * math/w_fmodl.c (__fmodl): Likewise.
35666 * math/w_hypotl.c (__hypotl): Likewise.
35667 * math/w_j0l.c (__j0l, __y0l): Likewise.
35668 * math/w_j1l.c (__j1l, __y1l): Likewise.
35669 * math/w_jnl.c (__jnl, __ynl): Likewise.
35670 * math/w_lgammal.c (__lgammal): Likewise.
35671 * math/w_log10l.c (__log10l): Likewise.
35672 * math/w_log2l.c (__log2l): Likewise.
35673 * math/w_logl.c (__logl): Likewise.
35674 * math/w_powl.c (__powl): Likewise.
35675 * math/w_remainderl.c (__remainderl): Likewise.
35676 * math/w_scalbl.c (sysv_scalbl): Likewise.
35677 * math/w_sinhl.c (__sinhl): Likewise.
35678 * math/w_sqrtl.c (__sqrtl): Likewise.
35679 * math/w_tgammal.c (__tgammal): Likewise.
35680 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35681 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35682 * math/libm-test.inc (acos_test): Add more tests.
35683 (acosh_test): Likewise.
35684 (asin_test): Likewise.
35685 (atanh_test): Likewise.
35686 (exp_test): Likewise.
35687 (exp10_test): Likewise.
35688 (exp2_test): Likewise.
35689 (expm1_test): Likewise.
35690 (lgamma_test): Likewise.
35691 (log_test): Likewise.
35692 (log10_test): Likewise.
35693 (log1p_test): Likewise.
35694 (log2_test): Likewise.
35695 (pow_test): Do not allow some spurious overflow exceptions.
35696 (sqrt_test): Add more tests.
35697 (tgamma_test): Likewise.
35698 (y0_test): Likewise.
35699 (y1_test): Likewise.
35700 (yn_test): Likewise.
35702 2012-03-27 Anton Blanchard <anton@samba.org>
35704 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35706 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35710 2012-03-27 David S. Miller <davem@davemloft.net>
35712 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35714 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35715 have-as-vis3 check.
35717 2012-03-27 Andreas Jaeger <aj@suse.de>
35719 * sysdeps/x86_64/elf/configure.in: Moved to ...
35720 * sysdeps/x86_64/configure.in: ... here.
35721 * sysdeps/x86_64/elf/start.S: Moved to ...
35722 * sysdeps/x86_64/start.S: ... here.
35723 * sysdeps/x86_64/elf/configure: Delete.
35725 * sysdeps/x86_64/configure.in: Merge contents from
35726 sysdeps/i386/configure.in (without i686 check).
35728 * sysdeps/i386/elf/Versions: Merge into ...
35729 * sysdeps/i386/Versions: ... this.
35730 * sysdeps/i386/elf/Versions: Delete file.
35731 * sysdeps/i386/elf/start.S: Moved to ...
35732 * sysdeps/i386/start.S: ...here.
35733 * sysdeps/i386/elf/configure.in: Merge into...
35734 * sysdeps/i386/configure.in: ...here.
35735 * sysdeps/i386/elf/configure.in: Delete file.
35736 * sysdeps/i386/elf/configure: Delete file.
35738 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35739 * debug/backtracesyms.c: ... here.
35740 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35741 * debug/backtracesymsfd.c: ... here.
35742 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35743 * sysdeps/generic/ifunc-sel.h: ... here.
35745 * sysdeps/unix/i386/start.c: Delete file.
35746 * sysdeps/unix/sparc/start.c: Delete file.
35747 * sysdeps/unix/start.c: Delete file.
35749 * sysdeps/sh/elf/configure.in: Moved to ...
35750 * sysdeps/sh/configure.in: ... here.
35751 * sysdeps/sh/elf/start.S: Moved to ...
35752 * sysdeps/sh/start.S: ... here.
35753 * sysdeps/sh/elf/configure: Delete file.
35755 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35756 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35757 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35758 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35759 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35760 * sysdeps/powerpc/powerpc64/start.S: here.
35761 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35762 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35763 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35764 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35765 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35767 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35768 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35769 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35770 * sysdeps/powerpc/powerpc32/start.S: ... here.
35771 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35772 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35773 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35775 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35776 * sysdeps/powerpc/ifunc-sel.h: ... here.
35777 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35778 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35780 * sysdeps/sparc/elf/configure.in: Moved to ...
35781 * sysdeps/sparc/configure.in: ... here.
35782 * sysdeps/sparc/elf/configure: Delete file.
35783 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35784 * sysdeps/sparc/sparc32/start.S: ... here.
35785 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35786 * sysdeps/sparc/sparc64/start.S: ... here.
35787 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35788 * sysdeps/sparc/sparc32/Makefile: ... this.
35789 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35790 * sysdeps/sparc/sparc64/Makefile: ... this.
35792 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35793 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35794 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35795 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35796 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35797 * sysdeps/s390/s390-32/setjmp.S: ... here.
35798 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35799 * sysdeps/s390/s390-32/configure.in: ... here.
35800 * sysdeps/s390/s390-32/elf/configure: Delete file.
35801 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35802 * sysdeps/s390/s390-32/start.S: ... here.
35804 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35805 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35806 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35807 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35808 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35809 * sysdeps/s390/s390-64/setjmp.S: ... here.
35810 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35811 * sysdeps/s390/s390-64/configure.in: ... here
35812 * sysdeps/s390/s390-64/elf/configure: Delete file.
35813 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35814 * sysdeps/s390/s390-64/start.S: ... here.
35815 * sysdeps/s390/s390-64/elf/configure: Delete.
35817 * configure.in: Remove support for elf directories in sysdeps.
35819 * configure: Regenerated.
35820 * sysdeps/i386/configure: Regenerated.
35821 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35822 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35823 * sysdeps/s390/s390-32/configure: Regenerated.
35824 * sysdeps/s390/s390-64/configure: Regenerated.
35825 * sysdeps/sh/configure: Regenerated.
35826 * sysdeps/sparc/configure: Regenerated.
35827 * sysdeps/x86_64/configure: Regenerated.
35829 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35834 denormal result into account.
35836 2012-03-25 Roland McGrath <roland@hack.frob.com>
35838 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35839 Reported by Allan McRae <allan@archlinux.org>.
35841 2012-03-23 Jeff Law <law@redhat.com>
35843 * nss/getnssent.c (__nss_getent): Fix typo.
35845 2012-03-23 David S. Miller <davem@davemloft.net>
35847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35849 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35851 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35852 to pad to uint64_t for each field.
35853 (dl_tls_index): Replace unsigned long with uint64_t.
35855 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35856 Paul Pluzhnikov <ppluzhnikov@google.com>
35859 * grp/Makefile (otherlibs): Don't set it.
35860 * inet/Makefile (otherlibs): Likewise.
35861 * login/Makefile (otherlibs): Likewise.
35862 * nscd/Makefile (otherlibs): Likewise.
35863 * posix/Makefile (otherlibs): Likewise.
35864 * pwd/Makefile (otherlibs): Likewise.
35865 * rt/Makefile (otherlibs): Likewise.
35866 * sunrpc/Makefile (otherlibs): Likewise.
35867 * nss/Makefile (otherlibs): Likewise.
35868 Add libnss_files to routines and static-only-routines.
35869 ($(objpfx)getent): Remove rule.
35870 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35871 static-only-routines.
35873 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35876 * math/s_cexp.c: Include <float.h>.
35877 (__cexp): Handle exp result overflowing not necessarily
35878 overflowing both real and imaginary parts of result.
35879 * math/s_cexpf.c: Likewise.
35880 * math/s_cexpl.c: Likewise.
35881 * math/libm-test.inc (cexp_test): Add more tests.
35882 * sysdeps/i386/fpu/libm-test-ulps: Update.
35883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35885 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35887 * include/link.h (ELFW): New macro.
35888 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35889 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35891 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35893 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35896 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35900 (struct La_x32_retval): Likewise.
35902 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35904 * sysdeps/x86_64/preconfigure.in: New file.
35905 * sysdeps/x86_64/preconfigure: New generated file.
35907 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35910 * math/e_exp2l.c: Include <float.h>.
35911 (__ieee754_exp2l): Handle overflow and underflow cases
35912 separately. Only pass fractional part of argument to
35914 * math/libm-test.inc (exp2_test): Add more tests.
35916 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35917 negating x to take absolute value.
35918 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35923 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35924 computing low part if x was negated.
35925 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35927 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35929 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35930 la_x32_gnu_pltexit.
35931 (pltexit): Cast int_retval to ptrdiff_t.
35932 * elf/tst-auditmod3b.c: Likewise.
35933 * elf/tst-auditmod4b.c: Likewise.
35934 * elf/tst-auditmod5b.c: Likewise.
35935 * elf/tst-auditmod6b.c: Likewise.
35936 * elf/tst-auditmod6c.c: Likewise.
35937 * elf/tst-auditmod7b.c: Likewise.
35939 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35940 and x32_gnu_pltexit.
35942 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35943 __ELF_NATIVE_CLASS.
35944 (La_x32_regs): New macro.
35945 (La_x32_retval): Likewise.
35946 (la_x32_gnu_pltenter): New function prototype.
35947 (la_x32_gnu_pltexit): Likewise.
35949 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35951 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35956 * configure.in (libc_cv_cc_nofma): Check for option to disable
35957 generation of FMA instructions.
35958 * configure: Regenerate.
35959 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35960 * sysdeps/ieee754/dbl-64/Makefile: New file.
35961 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35962 Remove brandred-fma4.
35963 (CFLAGS-brandred-fma4.c): Remove.
35964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35965 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35967 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35970 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35972 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35973 LLONG_MAX != LONG_MAX.
35974 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35975 (_fitoa_word): Likewise.
35976 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35977 LLONG_MAX != LONG_MAX.
35978 * stdio-common/_itowa.h: Include <_itoa.h>.
35979 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35980 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35981 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35982 only if not defined.
35983 (_ITOA_WORD_TYPE): Likewise.
35984 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35985 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35987 2012-03-21 David S. Miller <davem@davemloft.net>
35989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35991 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35993 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35994 of x86_64 when setting libc_cv_slibdir, libdir and
35996 * sysdeps/unix/sysv/linux/configure: Regenerated.
35998 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36000 * manual/lang.texi (Old Varargs): Remove section.
36001 (How Variadic): Update menu.
36002 (va_start): Do not mention varargs.h.
36004 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36005 Joseph Myers <joseph@codesourcery.com>
36007 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36009 * configure: Regenerated.
36011 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36013 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36014 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36017 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36020 * Makefile (files-for-dist): Remove NOTES.
36021 (NOTES): Remove rule.
36022 * README: Don't refer to NOTES.
36023 * manual/creature.texi: Don't include macros.texi.
36024 * manual/intro.texi (creature.texi): Remove comment referring to
36027 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36028 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36029 * configure: Regenerated.
36030 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36031 LIBC_TRY_CC_OPTION.
36032 (libc_cv_as_i686): Likewise.
36033 (libc_cv_cc_avx): Likewise.
36034 (libc_cv_cc_sse2avx): Likewise.
36035 (libc_cv_cc_fma4): Likewise.
36036 (libc_cv_cc_novzeroupper): Likewise.
36037 * sysdeps/i386/configure: Regenerated.
36040 * sysdeps/i386/fpu/s_cexp.S: Remove.
36041 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36042 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36043 * math/libm-test.inc (cexp_test): Add more tests.
36044 * sysdeps/i386/fpu/libm-test-ulps: Update.
36045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047 2012-03-21 Allan McRae <allan@archlinux.org>
36049 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36051 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36054 * math/w_exp2.c: Do not include <float.h>.
36055 (o_threshold, u_threshold): Remove.
36056 (__exp2): Calculate result before checking finiteness and calling
36058 * math/w_exp2f.c: Likewise.
36059 * math/w_exp2l.c: Likewise.
36060 * math/libm-test.inc (exp2_test): Require overflow exception for
36064 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36065 range of signed 64-bit integers before using fistpll. Remove
36066 checks for whether integers fit in mantissa bits.
36067 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36068 the range of signed 32-bit integers before using fistpl. Remove
36069 checks for whether integers fit in mantissa bits.
36070 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36071 (__ieee754_powl): Test for y outside the range of signed 64-bit
36072 integers before using fistpll. Reduce 64-bit values to 63-bit
36074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36075 divide-by-zero is raised for zero to large negative powers.
36076 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36077 (__ieee754_powl): Test for y outside the range of signed 64-bit
36078 integers before using fistpll. Reduce 64-bit values to 63-bit
36080 * math/libm-test.inc (pow_test): Add more tests.
36082 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36084 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36085 <stdio-common/_itoa.h>.
36086 * debug/segfault.c: Likewise.
36087 * elf/dl-cache.c: Likewise.
36088 * elf/dl-minimal.c: Likewise.
36089 * elf/dl-misc.c: Likewise.
36090 * elf/dl-sysdep.c: Likewise.
36091 * elf/dl-version.c: Likewise.
36092 * elf/rtld.c: Likewise.
36093 * hurd/hurdsock.c: Likewise.
36094 * hurd/lookup-retry.c: Likewise.
36095 * malloc/malloc.c: Likewise.
36096 * malloc/mtrace.c: Likewise.
36097 * nscd/nscd_getgr_r.c: Likewise.
36098 * nscd/nscd_getpw_r.c: Likewise.
36099 * nscd/nscd_getserv_r.c: Likewise.
36100 * posix/getopt_init.c: Likewise.
36101 * posix/wordexp.c: Likewise.
36102 * stdio-common/_itoa.c: Likewise.
36103 * stdio-common/printf_fphex.c: Likewise.
36104 * stdio-common/vfprintf.c: Likewise.
36105 * string/_strerror.c: Likewise.
36106 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36107 * sysdeps/i386/i686/hp-timing.h: Likewise.
36108 * sysdeps/mach/_strerror.c: Likewise.
36109 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36110 * sysdeps/mach/hurd/sethostid.c: Likewise.
36111 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36112 * sysdeps/mach/xpg-strerror.c: Likewise.
36113 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36115 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36116 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36117 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36118 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36119 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36120 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36121 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36122 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36123 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36124 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36125 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36126 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36127 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36128 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36129 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36130 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36131 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36132 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36133 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36135 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36137 * stdio-common/_itoa.h: Moved to ...
36138 * sysdeps/generic/_itoa.h: Here.
36140 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36142 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36143 instead of "_itoa.h" and "_itowa.h".
36144 * stdio-common/vfprintf.: Likewise.
36146 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36148 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36150 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36151 (__signbit): Likwise.
36152 (llrintf): Likwise.
36155 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36157 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36160 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36162 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36163 OVERFLOW_EXCEPTION_OK.
36164 * math/libm-test.inc ("Philosophy"): Update comment about
36166 (OVERFLOW_EXCEPTION): Define.
36167 (OVERFLOW_EXCEPTION_OK): Likewise.
36168 (INVALID_EXCEPTION_OK): Renumber.
36169 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36170 (IGNORE_ZERO_INF_SIGN): Likewise.
36171 (test_exceptions): Handle FE_OVERFLOW.
36172 (exp10_test): Expect overflow exceptions.
36173 (exp2_test): Likewise.
36174 (expm1_test): Likewise.
36175 (nextafter_test): Likewise.
36176 (pow_test): Likewise.
36177 (scalbn_test): Likewise.
36178 (scalbln_test): Likewise.
36180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36182 * sysdeps/x86_64/bits/atomic.h
36183 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36185 (atomic_exchange_acq): Likewise.
36186 (__arch_exchange_and_add_body): Likewise.
36187 (__arch_add_body): Likewise.
36188 (atomic_add_negative): Likewise.
36189 (atomic_add_zero): Likewise.
36191 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36193 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36194 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36198 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36199 Check __x86_64__ instead of __WORDSIZE.
36201 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36205 2012-03-19 David S. Miller <davem@davemloft.net>
36207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36209 * sysdeps/sparc/fpu/fenv_private.h: New file.
36210 * sysdeps/sparc/fpu/math_private.h: Use it.
36211 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36213 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36214 (libc_feholdexcept_setroundl): Remove.
36215 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36217 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36218 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36222 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36223 int64_t instead of long int.
36224 (INSERT_WORDS64): Likwise.
36226 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36228 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36229 _Unwind_GetCFA return to _Unwind_Ptr first.
36231 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36234 * math/s_clog.c: Include <float.h>.
36235 (__clog): Scale large or subnormal inputs.
36236 * math/s_clogf.c: Likewise.
36237 * math/s_clogl.c: Likewise.
36238 * math/s_clog10.c: Include <float.h>.
36239 (M_LOG10_2): Define.
36240 (__clog10): Scale large or subnormal inputs.
36241 * math/s_clog10f.c: Likewise.
36242 * math/s_clog10l.c: Likewise.
36243 * math/libm-test.inc (clog_test): Add more tests.
36244 (clog10_test): Likewise.
36245 * sysdeps/i386/fpu/libm-test-ulps: Update.
36246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36249 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36251 * math/libm-test.inc (atan2_test): Add another test.
36253 * Makerules (common-objdir-compile): Remove.
36254 * sysdeps/unix/Makefile (config-generated): Do not add
36255 $(unix-generated) to variable.
36256 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36257 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36259 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36261 [generic bits/local_lim.h] (before-compile): Do not append to
36263 [generic bits/local_lim.h] (common-generated): Likewise.
36264 [generic sys/param.h] (before-compile): Do not append to variable.
36265 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36266 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36267 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36268 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36270 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36271 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36272 [generic sys/param.h] ($(addprefix
36273 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36274 [generic sys/param.h] (common-generated): Do not append to
36276 [generic sys/param.h] (sysdep_headers): Likewise.
36277 [generic bits/errno.h] (before-compile): Do not append to
36279 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36281 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36282 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36283 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36284 [generic bits/errno.h] (common-generated): Do not append to
36286 [generic bits/ioctls.h] (before-compile): Do not append to
36288 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36290 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36291 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36292 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36294 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36295 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36296 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36297 [generic bits/ioctls.h] (common-generated): Do not append to
36299 [generic sys/syscall.h] (syscall.h): Remove variable.
36300 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36302 [generic sys/syscall.h] (before-compile): Do not append to
36304 [generic sys/syscall.h] (common-generated): Likewise.
36305 * sysdeps/unix/errnos-tmpl.c: Remove file.
36306 * sysdeps/unix/errnos.awk: Likewise.
36307 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36308 * sysdeps/unix/ioctls.awk: Likewise.
36309 * sysdeps/unix/mk-local_lim.c: Likewise.
36310 * sysdeps/unix/snarf-ioctls: Likewise.
36312 2012-03-19 Richard Henderson <rth@twiddle.net>
36314 * sysdeps/i386/fpu/fenv_private.h: New file.
36315 * sysdeps/i386/fpu/math_private.h: Use it.
36316 (math_opt_barrier, math_force_eval): Remove.
36317 (libc_feholdexcept_setround_53bit): Remove.
36318 (libc_feupdateenv_53bit): Remove.
36319 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36320 (math_opt_barrier, math_force_eval): Remove.
36321 (libc_feholdexcept): Remove.
36322 (libc_feholdexcept_setround): Remove.
36323 (libc_fetestexcept, libc_fesetenv): Remove.
36324 (libc_feupdateenv_test): Remove.
36325 (libc_feupdateenv, libc_feholdsetround): Remove.
36326 (libc_feresetround): Remove.
36328 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36329 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36331 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36332 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36333 (libc_feupdateenv_testl): New.
36334 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36335 (libc_feupdateenv_testf): New.
36336 (libc_feupdateenv): Use libc_feupdateenv_test.
36337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36338 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36340 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36341 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36342 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36343 (libc_feresetround_noex): New.
36344 (libc_feresetround_noexf): New.
36345 (libc_feresetround_noexl): New.
36346 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36347 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36348 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36349 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36354 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36356 SET_RESTORE_ROUND_NOEX.
36357 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36358 SET_RESTORE_ROUND_NOEXF.
36359 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36360 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36361 (libc_feholdsetroundf): New.
36362 (libc_feresetround, libc_feresetroundf): New.
36364 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36365 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36366 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36368 * sysdeps/generic/math_private.h: Include <fenv.h>.
36369 (default_libc_feholdexcept): New.
36370 (default_libc_feholdexcept_setround): New.
36371 (default_libc_fesetenv, default_libc_feupdateenv): New.
36372 (libc_feholdexcept): Only define if undefined.
36373 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36374 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36375 (libc_feholdexcept_setroundl): Likewise.
36376 (libc_feholdexcept_setround_53bit): Likewise.
36377 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36378 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36379 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36380 (libc_feupdateenv_53bit): Likewise.
36381 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36382 (libc_feholdexcept): Convert from macro to inline function.
36383 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36384 (libc_fesetenv, libc_feupdateenv): Likewise.
36386 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36387 not previously defined.
36388 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36389 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36390 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36391 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36392 * sysdeps/ieee754/flt-32/math_private.h: New file.
36393 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36394 math_private.h below SET_FLOAT_WORD.
36395 (__isnan, __isinf_ns, __finite): Remove.
36396 (__isnanf, __isinf_nsf, __finitef): Remove.
36398 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36402 2012-03-17 David S. Miller <davem@davemloft.net>
36405 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36408 2012-03-16 David S. Miller <davem@davemloft.net>
36410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36414 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36416 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36417 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36418 sysdep_routines when subdir is sysvipc.
36419 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36420 __getshmlba helper.
36422 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36424 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36426 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36429 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36432 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36433 (__lround): Renamed to ...
36434 (__llround): This. Replace long int with long long int.
36435 Define lround functions as aliases of llround functions.
36436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36438 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36440 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36441 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36442 adresses to uintptr_t. Replace "long int" and "unsigned long
36443 int" with "greg_t" on va_arg.
36445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36447 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36448 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36450 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36451 Move e_machine check before EI_CLASS check. Handle x32
36452 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36453 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36454 SKIP_EM_IA_64 and include
36455 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36457 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36458 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36459 (add_system_dir): New macro.
36461 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36462 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36464 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36475 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36477 * math/w_j0f.c (j0f): Likewise.
36479 * math/w_j0l.c (__j0l): Likewise.
36481 * math/w_j1.c (j1): Likewise.
36483 * math/w_j1f.c (j1f): Likewise.
36485 * math/w_j1l.c (__j1l): Likewise.
36487 * math/w_jn.c (jn): Likewise.
36489 * math/w_jnf.c (jnf): Likewise.
36491 * math/w_jnl.c (__jnl): Likewise.
36493 * math/libm-test.inc (j0_test): Add more tests.
36494 (j1_test): Likewise.
36495 (jn_test): Likewise. Add trailing semicolon to existing test.
36496 (y0_test): Likewise.
36497 (y1_test): Likewise.
36498 * sysdeps/i386/fpu/libm-test-ulps: Update.
36499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36503 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36504 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36505 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36506 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36507 (__tanl): Set errno for infinite argument.
36508 * sysdeps/i386/fpu/mptan.c: Remove.
36509 * sysdeps/i386/fpu/s_tan.S: Likewise.
36510 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36511 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36512 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36513 * math/libm-test.inc (tan_test): Add more tests and enable more
36514 tests for double and long double.
36515 * sysdeps/i386/fpu/libm-test-ulps: Update.
36516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36518 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36520 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36521 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36523 2012-03-16 Roland McGrath <roland@hack.frob.com>
36525 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36526 * configure.in: Use it for both main tree and add-ons.
36527 * configure: Regenerated.
36529 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36531 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36533 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36535 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36539 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36540 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36545 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36547 != 0 for prec == 2.
36548 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36549 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36550 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36551 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36552 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36553 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36554 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36555 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36556 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36557 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36558 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36559 * math/libm-test.inc (cos_test): Add more tests and enable more
36560 tests for long double.
36561 (sin_test): Likewise.
36562 (sincos_test): Likewise.
36563 * sysdeps/i386/fpu/libm-test-ulps: Update.
36564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36566 2012-03-16 David S. Miller <davem@davemloft.net>
36568 * sysdeps/sparc/fpu/math_private.h: New file.
36570 2012-03-15 David S. Miller <davem@davemloft.net>
36572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36586 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36587 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36589 * sysdeps/sparc/sparc-ifunc.h: New file.
36590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36635 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36637 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36641 2012-03-15 Andreas Jaeger <aj@suse.de>
36644 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36645 ieee754/flt-32 implementation for sin, cos and sincos.
36646 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36647 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36648 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36649 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36650 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36651 ieee754/flt-32 implementation for tan.
36653 * math/libm-test.inc (cos_test): Enable some large input tests for
36655 (sin_test): Likewise.
36656 (sincos_test): Likewise.
36657 (tan_test): Add tests for large input.
36659 * sysdeps/i386/fpu/libm-test-ulps: Update.
36661 2012-03-15 Andreas Jaeger <aj@suse.de>
36664 * math/libm-test.inc (cos_test): Add more test cases.
36665 (sin_test): Likewise.
36666 (sincos_test): Likewise.
36668 2012-03-15 Andreas Jaeger <aj@suse.de>
36671 * math/libm-test.inc (cos_test): Add a test case for large input
36673 (sin_test): Likewise.
36674 (sincos_test): Likewise.
36676 2012-03-15 Andreas Jaeger <aj@suse.de>
36677 Joseph Myers <joseph@codesourcery.com>
36680 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36681 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36682 * sysdeps/i386/fpu/branred.c: Likewise.
36683 * sysdeps/i386/fpu/dosincos.c: Likewise.
36684 * sysdeps/i386/fpu/mpa.c: Likewise.
36685 * sysdeps/i386/fpu/s_cos.S: Likewise.
36686 * sysdeps/i386/fpu/s_sin.S: Likewise.
36687 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36688 * sysdeps/i386/fpu/sincos32.c: Likewise.
36690 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36692 (libc_feupdateenv_53bit): Define.
36693 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36695 (libc_feupdateenv_53bit): Define.
36697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36698 53 bit (without extend i386 double precision).
36700 * math/libm-test.inc (sincos_test): Add tests for large input.
36704 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36706 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36710 2012-03-15 David S. Miller <davem@davemloft.net>
36712 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36713 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36714 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36715 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36740 fmin/fmax sysdep routines.
36741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36743 2012-03-14 David S. Miller <davem@davemloft.net>
36745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36773 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36817 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36822 * sysdeps/sparc/configure.in: New file.
36823 * sysdeps/sparc/configure: Generate.
36824 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36825 * configure: Regenerate.
36826 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36827 * config.make.in (have-as-vis3): New.
36828 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36829 available use -Av9d instead of -Av9a.
36830 * sysdeps/sparc/sparc64/Makefile: Likewise.
36831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36840 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36847 fzeros/fnegs to load 0x80000000 into a float register instead of
36849 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36851 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36855 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36856 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36857 ($(inst_includedir)/bits/syscall.h): Remove rule.
36858 ($(objpfx)bits/syscall.d): Include instead of
36859 $(objpfx)syscall-list.d.
36860 (generated): Change syscall-list.h and syscall-list.d to
36861 bits/syscall.h and bits/syscall.d.
36863 2012-03-14 Roland McGrath <roland@hack.frob.com>
36866 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36868 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36871 * math/s_csqrt.c: Include <float.h>.
36872 (__csqrt): Scale large or subnormal inputs.
36873 * math/s_csqrtf.c: Likewise.
36874 * math/s_csqrtl.c: Likewise.
36875 * math/libm-test.inc (csqrt_test): Add more tests.
36876 * sysdeps/i386/fpu/libm-test-ulps: Update.
36877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36880 * math/libm-test.inc (hypot_test): Add more tests.
36882 2012-03-13 David S. Miller <davem@davemloft.net>
36885 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36886 double-precision for the calculation instead of scaling.
36888 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36890 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36891 manipulate bits before adding and subtracting TWO52[sx].
36892 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36893 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36895 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36897 2012-03-13 David S. Miller <davem@davemloft.net>
36899 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36900 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36902 rtld-global-offsets.h
36903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36905 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36908 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36910 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36911 'err' in the ifdef scope in which it is actually used.
36913 * nss/nss_db/db-init.c: Include string.h
36915 2012-03-12 David S. Miller <davem@davemloft.net>
36917 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36918 masking out of the most significant byte of random value used.
36919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36920 Fix coding style in previous change.
36922 * sysdeps/unix/sysv/linux/kernel-features.h
36923 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36924 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36926 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36929 2012-03-11 David S. Miller <davem@davemloft.net>
36931 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36932 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36934 for 'resultvar' otherwise things get truncated on 64-bit.
36936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36937 Fix masking out of the most significant byte of random value used.
36939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36941 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36945 2012-03-09 David S. Miller <davem@davemloft.net>
36947 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36948 variables with appropriate CPP guards.
36949 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36950 from the frame pointer, not the stack pointer. Correct layout
36951 comments. Fix test on resulting framesize and the management of
36952 the outregs buffer for pltexit. Preserve floating point return
36953 values across _dl_call_pltexit call.
36954 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36955 framesize and the management of the outregs buffer for pltexit.
36956 Preserve floating point return values across _dl_call_pltexit
36958 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36959 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36960 (la_sparc64_gnu_pltexit): New functions.
36961 (print_exit): Fix format string for return register value.
36963 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36965 * sunrpc/Makefile (others): Add rpcgen.
36966 ($(objpfx)rpcgen): Remove special build rule and dependency on
36968 * sunrpc/rpcgen.c: New file.
36970 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36973 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36974 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36975 * sysdeps/i386/crti.S: Likewise.
36976 * sysdeps/i386/crtn.S: Likewise.
36977 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36978 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36979 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36980 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36981 * sysdeps/sh/crti.S: Likewise.
36982 * sysdeps/sh/crtn.S: Likewise.
36983 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36986 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36988 * locale/programs/locfile-kw.gperf: Likewise.
36989 * locale/programs/charmap-kw.h: Regenerated.
36990 * locale/programs/locfile-kw.h: Likewise.
36993 * intl/plural.y: Replace FSF snail mail address with URL.
36994 * intl/plural.c: Regenerated.
36996 2012-03-09 Richard Henderson <rth@twiddle.net>
36998 * include/math_private.h: Remove file.
36999 * math/math_private.h: Move file ...
37000 * sysdeps/generic/math_private.h: ... here.
37002 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37003 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37006 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37007 and <math_private.h>.
37008 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37009 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37010 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37011 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37012 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37013 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37014 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37016 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37019 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37020 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37022 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37023 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37024 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37026 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37027 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37028 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37029 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37030 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37032 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37033 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37034 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37035 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37096 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37097 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37098 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37099 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37101 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37102 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37103 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37105 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37106 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37107 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37108 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37109 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37110 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37111 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37113 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37114 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37115 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37116 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37117 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37118 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37119 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37120 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37121 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37122 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37123 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37125 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37128 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37129 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37131 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37132 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37134 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37135 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37136 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37137 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37138 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37140 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37141 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37144 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37146 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37147 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37151 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37156 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37157 * sysdeps/ieee754/k_standard.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37277 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37280 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37285 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37290 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37306 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37307 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37308 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37318 * sysdeps/ieee754/s_lib_version.c: Likewise.
37319 * sysdeps/ieee754/s_matherr.c: Likewise.
37320 * sysdeps/ieee754/s_signgam.c: Likewise.
37321 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37322 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37323 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37324 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37325 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37326 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37327 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37328 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37329 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37330 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37331 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37332 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37333 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37334 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37335 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37336 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37338 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37339 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37343 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37345 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37346 * sunrpc/rpc_main.c: Likewise.
37347 * sunrpc/rpc_svcout.c: Likewise.
37349 2012-03-09 David S. Miller <davem@davemloft.net>
37351 * include/math_private.h: New file.
37353 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37355 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37356 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37357 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37358 from <bits/socket_type.h>.
37359 (enum __socket_type): Don't define here.
37360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37362 bits/socket_type.h.
37365 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37366 checking __USE_GNU.
37368 * Makerules ($(inst_includedir)/%.h): New rule.
37369 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37370 (install-others): Remove variable setting.
37371 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37373 2012-03-08 Richard Henderson <rth@twiddle.net>
37375 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37376 from macro to inline function; merge with the
37377 !__LIBC_INTERNAL_MATH_INLINES version.
37378 (__ieee754_sqrtf): Likewise.
37380 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37381 to inline function.
37382 (__rintf, __floor, __floorf): Likewise.
37384 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37385 macro to inline function.
37386 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37389 not <math/math_private.h>.
37391 2012-03-08 David S. Miller <davem@davemloft.net>
37393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37395 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37397 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37399 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37401 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37402 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37404 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37406 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37407 be defined individually, they must be defined as a block. Define
37408 S for printing a string instead of hidint the different by using a
37409 macro for adding the 'l'.
37410 * stdio-common/tst-fphex-wide.c: Adjust.
37412 2012-03-07 Marek Polacek <polacek@redhat.com>
37414 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37416 2012-03-08 Marek Polacek <polacek@redhat.com>
37419 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37420 * stdio-common/tst-fphex.c: Define a few macros to make the
37421 test reusable. Use them.
37422 * stdio-common/tst-fphex-wide.c: New file.
37424 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37427 * manual/macros.texi (gnusystems): New macro.
37428 (nongnusystems): Likewise.
37429 (gnulinuxhurdsystems): Likewise.
37430 (gnuhurdsystems): Likewise..
37431 (gnulinuxsystems): Likewise.
37432 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37433 variants of the GNU system, not "GNU system".
37434 * manual/conf.texi: Likewise.
37435 * manual/errno.texi: Likewise. Update example of errno macro
37437 * manual/filesys.texi: Likewise.
37438 (getumask): Document as specific to GNU/Hurd.
37439 * manual/install.texi: Likewise. Reword some references to
37441 * manual/intro.texi: Likewise.
37442 * manual/io.texi: Likewise.
37443 (File Name Portability): Detail which constraints are inapplicable
37444 to all GNU systems and which are only inapplicable to GNU/Hurd.
37445 * manual/job.texi: Likewise.
37446 * manual/llio.texi: Likewise.
37447 (O_NOCTTY): Document as present on GNU/Linux.
37448 * manual/maint.texi: Likewise.
37449 * manual/memory.texi: Likewise.
37450 * manual/pattern.texi: Likewise.
37451 * manual/pipe.texi: Likewise.
37452 * manual/process.texi: Likewise.
37453 * manual/resource.texi: Likewise.
37454 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37456 * manual/setjmp.texi: Likewise.
37457 * manual/signal.texi: Likewise.
37458 * manual/startup.texi: Likewise.
37459 * manual/stdio.texi: Likewise.
37460 * manual/terminal.texi: Likewise.
37461 (ONLCR): Document as POSIX.
37462 (OXTABS): Document availability on GNU/Linux as XTABS.
37463 (ONOEOT): Document availability separately from other bits.
37464 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37465 * manual/time.texi: Likewise.
37466 * manual/users.texi: Likewise.
37467 * INSTALL: Regenerated.
37468 * sysdeps/gnu/errlist.c: Regenerated.
37470 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37471 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37472 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37474 * configure: Regenerated.
37476 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37478 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37479 default includes instead of AC_HEADER_CHECK.
37480 * sysdeps/i386/configure: Regenerated.
37483 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37484 * math/s_cacoshf.c (__cacoshf): Likewise.
37485 * math/s_cacoshl.c (__cacoshl): Likewise.
37486 * math/s_casinh.c (__casinh): Set signs of result from argument.
37487 * math/s_casinhf.c (__casinhf): Likewise.
37488 * math/s_casinhl.c (__casinhl): Likewise.
37489 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37490 (casinh_test): Add more tests.
37491 * sysdeps/i386/fpu/libm-test-ulps: Update.
37492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37494 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37496 * po/zh_TW.po: Update from translation team.
37498 * login/Makefile (distribute): Remove variable.
37499 * catgets/Makefile: Likewise.
37500 * mach/Makefile: Likewise.
37501 * malloc/Makefile: Likewise.
37502 * misc/Makefile: Likewise.
37503 * iconv/Makefile: Likewise.
37504 * nscd/Makefile: Likewise.
37505 * hurd/Makefile: Likewise.
37506 * manual/Makefile: Likewise.
37507 * locale/Makefile: Likewise.
37508 * intl/Makefile: Likewise.
37509 * conform/Makefile: Likewise.
37510 * nss/Makefile: Likewise.
37511 * time/Makefile: Likewise.
37512 * soft-fp/Makefile: Likewise.
37513 * dirent/Makefile: Likewise.
37514 * gmon/Makefile: Likewise.
37515 * po/Makefile: Likewise.
37516 * rt/Makefile: Likewise.
37517 * socket/Makefile: Likewise.
37518 * math/Makefile: Likewise.
37519 * signal/Makefile: Likewise.
37520 * debug/Makefile: Likewise.
37521 * elf/Makefile: Likewise.
37522 * timezone/Makefile: Likewise.
37523 * stdlib/Makefile: Likewise.
37524 * iconvdata/Makefile: Likewise.
37525 * sunrpc/Makefile: Likewise.
37526 * io/Makefile: Likewise.
37527 * argp/Makefile: Likewise.
37528 * inet/Makefile: Likewise.
37529 * hesiod/Makefile: Likewise.
37530 * grp/Makefile: Likewise.
37531 * csu/Makefile: Likewise.
37532 * wctype/Makefile: Likewise.
37533 * crypt/Makefile: Likewise.
37534 * libio/Makefile: Likewise.
37535 * string/Makefile: Likewise.
37536 * nis/Makefile: Likewise.
37537 * resolv/Makefile: Likewise.
37538 * stdio-common/Makefile: Likewise.
37539 * wcsmbs/Makefile: Likewise.
37540 * dlfcn/Makefile: Likewise.
37541 * posix/Makefile: Likewise.
37544 * timezone/Makefile: Don't install timezone files, just the programs
37547 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37549 * nss/databases.def: Add missing gshadow entry.
37551 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37553 2012-03-06 Marek Polacek <polacek@redhat.com>
37556 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37557 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37558 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37559 * stdio-common/tst-long-dbl-fphex.c: New file.
37561 2012-03-06 David S. Miller <davem@davemloft.net>
37563 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37564 (set_obp_int): New function.
37565 (get_obp_int): New function.
37566 (__get_clockfreq_via_dev_openprom): Likewise.
37567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37568 Avoid unused variable warnings on 'val' and use builtin_expect.
37569 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37571 (INLINE_CLONE_SYSCALL): Likewise.
37573 2012-03-05 David S. Miller <davem@davemloft.net>
37575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37577 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37582 only for |x| >= 40.
37583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37585 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37588 Replace gettimeofday with __vdso_gettimeofday.
37590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37591 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37592 __vdso_clock_gettime and __vdso_getcpu.
37594 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37595 time with __vdso_time.
37597 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37599 * manual/lang.texi (size_t): Note types to which size_t may be
37600 equivalent with the GNU C Library, but do not describe when
37601 differences between them are significant.
37603 2012-03-05 Andreas Jaeger <aj@suse.de>
37605 * sysdeps/i386/fpu/libm-test-ulps: Update.
37607 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37610 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37611 (__ieee754_pow): Save and restore rounding mode and use
37612 round-to-nearest for main computations.
37613 * math/libm-test.inc (pow_test_tonearest): New function.
37614 (pow_test_towardzero): Likewise.
37615 (pow_test_downward): Likewise.
37616 (pow_test_upward): Likewise.
37617 (main): Call the new functions.
37618 * sysdeps/i386/fpu/libm-test-ulps: Update.
37619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37622 * math/libm-test.inc (cosh_test_tonearest): New function.
37623 (cosh_test_towardzero): Likewise.
37624 (cosh_test_downward): Likewise.
37625 (cosh_test_upward): Likewise.
37626 (sinh_test_tonearest): Likewise.
37627 (sinh_test_towardzero): Likewise.
37628 (sinh_test_downward): Likewise.
37629 (sinh_test_upward): Likewise.
37630 (main): Call the new functions.
37631 * sysdeps/i386/fpu/libm-test-ulps: Update.
37632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37634 2012-03-05 Tom de Vries <tom@codesourcery.com>
37636 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37637 default stack guard is set in last bytes.
37638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37640 2012-03-05 Kees Cook <keescook@chromium.org>
37642 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37645 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37646 possibly allocate from heap instead of stack.
37647 * stdio-common/bug-vfprintf-nargs.c: New file.
37648 * stdio-common/Makefile (tests): Add nargs overflow test.
37650 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37654 2012-03-03 Marek Polacek <polacek@redhat.com>
37656 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37657 * math/math_private.h: Likewise.
37658 * stdlib/tst-strtod.c: Likewise.
37659 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37660 * sysdeps/x86_64/bits/atomic.h: Likewise.
37662 2012-03-02 David S. Miller <davem@davemloft.net>
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37668 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37670 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37671 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37673 2012-03-02 Roland McGrath <roland@hack.frob.com>
37676 * manual/examples/README: New file, says the example source files
37677 can be used under GPL>=2.
37678 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37679 line containing just "*/".
37680 * manual/examples/add.c: Add copyright header (GPL>=2).
37681 * manual/examples/argp-ex1.c: Likewise.
37682 * manual/examples/argp-ex2.c: Likewise.
37683 * manual/examples/argp-ex3.c: Likewise.
37684 * manual/examples/argp-ex4.c: Likewise.
37685 * manual/examples/atexit.c: Likewise.
37686 * manual/examples/db.c: Likewise.
37687 * manual/examples/dir.c: Likewise.
37688 * manual/examples/dir2.c: Likewise.
37689 * manual/examples/execinfo.c: Likewise.
37690 * manual/examples/filecli.c: Likewise.
37691 * manual/examples/filesrv.c: Likewise.
37692 * manual/examples/fmtmsgexpl.c: Likewise.
37693 * manual/examples/genpass.c: Likewise.
37694 * manual/examples/inetcli.c: Likewise.
37695 * manual/examples/inetsrv.c: Likewise.
37696 * manual/examples/isockad.c: Likewise.
37697 * manual/examples/longopt.c: Likewise.
37698 * manual/examples/memopen.c: Likewise.
37699 * manual/examples/memstrm.c: Likewise.
37700 * manual/examples/mkfsock.c: Likewise.
37701 * manual/examples/mkisock.c: Likewise.
37702 * manual/examples/mygetpass.c: Likewise.
37703 * manual/examples/pipe.c: Likewise.
37704 * manual/examples/popen.c: Likewise.
37705 * manual/examples/rprintf.c: Likewise.
37706 * manual/examples/search.c: Likewise.
37707 * manual/examples/select.c: Likewise.
37708 * manual/examples/setjmp.c: Likewise.
37709 * manual/examples/sigh1.c: Likewise.
37710 * manual/examples/sigusr.c: Likewise.
37711 * manual/examples/stpcpy.c: Likewise.
37712 * manual/examples/strdupa.c: Likewise.
37713 * manual/examples/strftim.c: Likewise.
37714 * manual/examples/strncat.c: Likewise.
37715 * manual/examples/subopt.c: Likewise.
37716 * manual/examples/swapcontext.c: Likewise.
37717 * manual/examples/termios.c: Likewise.
37718 * manual/examples/testopt.c: Likewise.
37719 * manual/examples/testpass.c: Likewise.
37720 * manual/examples/timeval_subtract.c: Likewise.
37723 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37725 * manual/timeval_subtract.c.texi: ... here, new file.
37727 2012-03-02 David S. Miller <davem@davemloft.net>
37729 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37731 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37734 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37735 (__sin): Save and restore rounding mode and use round-to-nearest
37736 for all computations.
37737 (__cos): Save and restore rounding mode and use round-to-nearest
37738 for all computations.
37739 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37741 (tan): Save and restore rounding mode and use round-to-nearest for
37743 * math/libm-test.inc (cos_test_tonearest): New function.
37744 (cos_test_towardzero): Likewise.
37745 (cos_test_downward): Likewise.
37746 (cos_test_upward): Likewise.
37747 (sin_test_tonearest): Likewise.
37748 (sin_test_towardzero): Likewise.
37749 (sin_test_downward): Likewise.
37750 (sin_test_upward): Likewise.
37751 (tan_test_tonearest): Likewise.
37752 (tan_test_towardzero): Likewise.
37753 (tan_test_downward): Likewise.
37754 (tan_test_upward): Likewise.
37755 (main): Call the new functions.
37756 * sysdeps/i386/fpu/libm-test-ulps: Update.
37757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37761 small n, then large n, before computing and testing k+n.
37762 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37767 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37768 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37773 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37775 * math/libm-test.inc (scalbn_test): Add more tests.
37776 (scalbln_test): Likewise.
37778 * manual/filesys.texi (mode_t): Describe constraints on size and
37779 signedness, not exact equivalence to a particular type.
37781 (ino64_t): Likewise.
37783 (nlink_t): Likewise.
37784 (blkcnt_t): Likewise.
37785 (blkcnt64_t): Likewise.
37786 * manual/llio.texi (off_t): Likewise.
37789 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37790 (__ieee754_exp): Save and restore rounding mode and use
37791 round-to-nearest for all computations.
37792 * math/libm-test.inc (exp_test_tonearest): New function.
37793 (exp_test_towardzero): Likewise.
37794 (exp_test_downward): Likewise.
37795 (exp_test_upward): Likewise.
37796 (main): Call the new functions.
37797 * sysdeps/i386/fpu/libm-test-ulps: Update.
37798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37800 2012-03-01 Chris Demetriou <cgd@google.com>
37802 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37803 have predictable order.
37805 2012-03-01 David S. Miller <davem@davemloft.net>
37807 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37809 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37810 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37811 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37812 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37814 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37815 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37816 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37818 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37819 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37820 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37821 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37822 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37827 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37828 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37830 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37831 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37832 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37833 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37834 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37835 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37836 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37838 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37839 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37840 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37841 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37843 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37846 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37847 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37848 * sysdeps/sparc/elf/configure: Regenerated.
37850 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37852 * configure.in (AS, LD): Require binutils 2.20 or later.
37853 * configure: Regenerated.
37854 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37855 as required minimum version.
37856 * INSTALL: Regenerated.
37860 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37861 before squaring exponent.
37862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37863 bottom long double and 27 bits of top long double before squaring
37865 * math/libm-test.inc (erfc_test): Add more tests.
37866 * sysdeps/i386/fpu/libm-test-ulps: Update.
37867 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37870 2012-03-01 Kai Tietz <ktietz@redhat.com>
37872 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37873 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37874 containing bit-fields.
37875 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37876 * soft-fp/single.h (_FP_UNION_S): Likewise.
37877 * soft-fp/double.h (_FP_UNION_D): Likewise.
37879 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37882 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37883 not include ../strcmp.S.
37884 [USE_AS_STRNCASECMP_L]: Likewise.
37885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37886 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37887 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37888 (__strncasecmp_l_ia32): Define as alias to
37889 __strncasecmp_l_nonascii.
37892 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37893 * sysdeps/i386/fpu/libm-test-ulps: Update.
37894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37896 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37899 2012-02-29 Jeff Law <law@redhat.com>
37901 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37902 out of bounds read.
37904 2012-02-29 Marek Polacek <polacek@redhat.com>
37907 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37908 * elf/Makefile: Add rules to run tst-unused-dep.out.
37910 2012-02-28 David S. Miller <davem@davemloft.net>
37912 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37913 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37915 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37916 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37917 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37919 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37921 * math/libm-test.inc (llround_test): Move one test from
37922 lround_test. Use TEST_f_L in moved test.
37923 (lround_test): Move misplaced test to llround_test. Add testcase
37926 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37928 * sysdeps/x86_64/fpu/e_expf.S: New file.
37929 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37931 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37934 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37935 of remain_len that may cause incomplete multi-byte character and
37937 * posix/bug-regex33.c: New file.
37938 * posix/Makefile (tests): Add bug-regex33.
37940 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37942 * manual/macros.texi: New file.
37943 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37944 * manual/libc.texinfo: Include macros.texi.
37945 * manual/creatute.texi: Likewise.
37946 * manual/install.texi: Likewise.
37947 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37948 @glibcadj{} in references to the GNU C Library.
37949 * manual/charset.texi: Likewise.
37950 * manual/conf.texi: Likewise.
37951 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37952 when not using those macros.
37953 * manual/creature.texi: Likewise.
37954 * manual/crypt.texi: Likewise.
37955 * manual/errno.texi: Likewise.
37956 * manual/filesys.texi: Likewise.
37957 * manual/header.texi: Likewise.
37958 * manual/install.texi: Likewise.
37959 * manual/intro.texi: Likewise.
37960 * manual/io.texi: Likewise.
37961 * manual/job.texi: Likewise.
37962 * manual/lang.texi: Likewise.
37963 * manual/libc.texiinfo: Likewise.
37964 * manual/llio.texi: Likewise.
37965 * manual/locale.texi: Likewise.
37966 * manual/maint.texi: Likewise.
37967 * manual/math.texi: Likewise.
37968 * manual/memory.texi: Likewise.
37969 * manual/message.texi: Likewise.
37970 * manual/nss.texi: Likewise.
37971 * manual/pattern.texi: Likewise.
37972 * manual/process.texi: Likewise.
37973 * manual/resource.texi: Likewise.
37974 * manual/search.texi: Likewise.
37975 * manual/setjmp.texi: Likewise.
37976 * manual/signal.texi: Likewise.
37977 * manual/socket.texi: Likewise.
37978 * manual/startup.texi: Likewise.
37979 * manual/stdio.texi: Likewise.
37980 * manual/string.texi: Likewise.
37981 * manual/sysinfo.texi: Likewise.
37982 * manual/syslog.texi: Likewise.
37983 * manual/terminal.texi: Likewise.
37984 * manual/time.texi: Likewise.
37985 * manual/users.texi: Likewise.
37986 * INSTALL: Regenerated.
37987 * NOTES: Regenerated.
37988 * sysdeps/gnu/errlist.c: Regenerated.
37990 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37992 * include/dirent.h: Include <dirstream.h> before
37995 2012-02-28 David S. Miller <davem@davemloft.net>
37997 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37998 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37999 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38000 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38002 2012-02-27 David S. Miller <davem@davemloft.net>
38004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38006 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38007 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38010 frame pointer instead of stack pointer relative arg slot.
38011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38012 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38013 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38015 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38018 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38020 2012-02-27 David S. Miller <davem@davemloft.net>
38022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38026 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38027 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38028 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38029 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38031 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38033 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38034 later. Allow versions 5-9.
38035 * configure: Regenerated.
38036 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38037 required minimum version and 4.6 as recommended version. Do not
38038 mention bugs in GCC 2.7 and 2.8.
38039 * INSTALL: Regenerated.
38041 2012-02-27 David S. Miller <davem@davemloft.net>
38043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38047 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38048 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38049 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38050 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38053 manipulate bits before adding and subtracting TWO112[sx].
38054 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38056 2012-02-27 Roland McGrath <roland@hack.frob.com>
38059 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38060 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38061 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38062 being in POSIX, because they are in 1003.1-2008.
38064 * rt/tst-aio.c: Include <fcntl.h>.
38065 * rt/tst-aio7.c: Likewise.
38066 * rt/tst-aio64.c: Likewise.
38068 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38070 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38072 * manual/install.texi (--with-headers): Describe headers as
38073 interface headers, not private headers.
38074 (Specific advice for GNU/Linux systems): Describe use of headers
38075 from "make headers_install", not private headers from older
38077 * INSTALL: Regenerated.
38078 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38080 * sysdeps/unix/sysv/linux/configure: Regenerated.
38082 * manual/llio.texi (fclean): Remove documentation.
38084 * manual/Makefile (libc-texi-generated): New variable. Include
38086 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38087 $(libc-texi-generated), not duplicated list of files.
38088 (version.texi, stamp-version): New rules.
38089 (realclean): Remove $(libc-texi-generated), not individual files
38090 from that list. Do not remove dir-add.texinfo.
38091 * manual/libc.texinfo: Comment out uses of edition numbers and
38092 references to printed manual. Remove last-updated dates.
38093 (EDITION): Comment out.
38095 (VERSION, UPDATED): Remove.
38096 (version.texi): Include.
38098 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38100 * sysdeps/posix/spawni.c: Include <signal.h>.
38101 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38102 * sysdeps/pthread/aio_fsync.c: Likewise.
38104 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38106 * conform/Makefile (tests): Run only when not cross-compiling and
38107 when fast-check is not defined.
38109 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38110 * conform/data/limits.h-data: Fixes for POSIX2008.
38111 * conform/run-conformtest.sh: Run all tests.
38112 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38114 * include/bits/dlfcn.h: Likewise.
38115 * include/langinfo.h: Likewise.
38116 * include/monetary.h: Likewise.
38117 * include/sys/poll.h: Likewise.
38119 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38121 * posix/spawn.h: Define __need_sigset_t.
38122 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38123 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38124 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38125 to get sigevent_t only.
38126 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38127 only for __USE_GNU.
38128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38129 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38130 process_vm_writev only for __USE_GNU.
38131 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38133 * conform/Makefile: For now ignore errors from run-conformtest.
38134 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38135 POSIX to avoid namespace pollution. Don't prepend headers.
38136 * conform/data/aio.h-data: Fixes for POSIX testing.
38137 * conform/data/fcntl.h-data: Likewise.
38138 * conform/data/glob.h-data: Likewise.
38139 * conform/data/grp.h-data: Likewise.
38140 * conform/data/pthread.h-data: Likewise.
38141 * conform/data/pwd.h-data: Likewise.
38142 * conform/data/signal.h-data: Likewise.
38143 * conform/data/spawn.h-data: Likewise.
38144 * conform/data/stdio.h-data: Likewise.
38145 * conform/data/stdlib.h-data: Likewise.
38146 * conform/data/stropts.h-data: Likewise.
38147 * conform/data/sys/mman.h-data: Likewise.
38148 * conform/data/sys/stat.h-data: Likewise.
38149 * conform/data/sys/types.h-data: Likewise.
38150 * conform/data/sys/wait.h-data: Likewise.
38151 * conform/data/time.h-data: Likewise.
38152 * conform/data/unistd.h-data: Likewise.
38153 * conform/data/utime.h-data: Likewise.
38155 * io/sys/stat.h: fchmod was always in POSIX.
38156 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38157 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38158 * rt/aio.h: Define __need_timespec before including <time.h>.
38159 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38160 struct. Add forward declaration of pthread_attr_t and use it in
38162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38164 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38165 always remove CLK_TCK definition.
38167 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38169 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38171 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38173 * conform/run-conformtest.sh: New file.
38174 * conform/Makefile: Run run-conformtest for tests.
38175 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38178 * conform/data/uchar.h-data: New file.
38179 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38180 * conform/data/arpa/inet.h-data: Likewise.
38181 * conform/data/assert.h-data: Likewise.
38182 * conform/data/complex.h-data: Likewise.
38183 * conform/data/cpio.h-data: Likewise.
38184 * conform/data/ctype.h-data: Likewise.
38185 * conform/data/dirent.h-data: Likewise.
38186 * conform/data/dlfcn.h-data: Likewise.
38187 * conform/data/errno.h-data: Likewise.
38188 * conform/data/fcntl.h-data: Likewise.
38189 * conform/data/float.h-data: Likewise.
38190 * conform/data/fmtmsg.h-data: Likewise.
38191 * conform/data/fnmatch.h-data: Likewise.
38192 * conform/data/ftw.h-data: Likewise.
38193 * conform/data/glob.h-data: Likewise.
38194 * conform/data/grp.h-data: Likewise.
38195 * conform/data/iconv.h-data: Likewise.
38196 * conform/data/inttypes.h-data: Likewise.
38197 * conform/data/langinfo.h-data: Likewise.
38198 * conform/data/libgen.h-data: Likewise.
38199 * conform/data/limits.h-data: Likewise.
38200 * conform/data/locale.h-data: Likewise.
38201 * conform/data/math.h-data: Likewise.
38202 * conform/data/monetary.h-data: Likewise.
38203 * conform/data/mqueue.h-data: Likewise.
38204 * conform/data/ndbm.h-data: Likewise.
38205 * conform/data/net/if.h-data: Likewise.
38206 * conform/data/netdb.h-data: Likewise.
38207 * conform/data/netinet/in.h-data: Likewise.
38208 * conform/data/nl_types.h-data: Likewise.
38209 * conform/data/poll.h-data: Likewise.
38210 * conform/data/pthread.h-data: Likewise.
38211 * conform/data/pwd.h-data: Likewise.
38212 * conform/data/regex.h-data: Likewise.
38213 * conform/data/sched.h-data: Likewise.
38214 * conform/data/search.h-data: Likewise.
38215 * conform/data/semaphore.h-data: Likewise.
38216 * conform/data/setjmp.h-data: Likewise.
38217 * conform/data/signal.h-data: Likewise.
38218 * conform/data/spawn.h-data: Likewise.
38219 * conform/data/stdarg.h-data: Likewise.
38220 * conform/data/stdio.h-data: Likewise.
38221 * conform/data/stdlib.h-data: Likewise.
38222 * conform/data/string.h-data: Likewise.
38223 * conform/data/strings.h-data: Likewise.
38224 * conform/data/stropts.h-data: Likewise.
38225 * conform/data/sys/ipc.h-data: Likewise.
38226 * conform/data/sys/mman.h-data: Likewise.
38227 * conform/data/sys/msg.h-data: Likewise.
38228 * conform/data/sys/resource.h-data: Likewise.
38229 * conform/data/sys/select.h-data: Likewise.
38230 * conform/data/sys/sem.h-data: Likewise.
38231 * conform/data/sys/shm.h-data: Likewise.
38232 * conform/data/sys/socket.h-data: Likewise.
38233 * conform/data/sys/stat.h-data: Likewise.
38234 * conform/data/sys/statvfs.h-data: Likewise.
38235 * conform/data/sys/time.h-data: Likewise.
38236 * conform/data/sys/timeb.h-data: Likewise.
38237 * conform/data/sys/times.h-data: Likewise.
38238 * conform/data/sys/types.h-data: Likewise.
38239 * conform/data/sys/uio.h-data: Likewise.
38240 * conform/data/sys/un.h-data: Likewise.
38241 * conform/data/sys/utsname.h-data: Likewise.
38242 * conform/data/sys/wait.h-data: Likewise.
38243 * conform/data/syslog.h-data: Likewise.
38244 * conform/data/tar.h-data: Likewise.
38245 * conform/data/termios.h-data: Likewise.
38246 * conform/data/utime.h-data: Likewise.
38247 * conform/data/utmpx.h-data: Likewise.
38248 * conform/data/varargs.h-data: Likewise.
38249 * conform/data/wchar.h-data: Likewise.
38250 * conform/data/wctype.h-data: Likewise.
38251 * conform/data/wordexp.h-data: Likewise.
38253 * include/stropts.h: New file.
38254 * include/uchar.h: New file.
38255 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38256 * include/assert.h: Likewise.
38257 * include/ctype.h: Likewise.
38258 * include/dirent.h: Likewise.
38259 * include/dlfcn.h: Likewise.
38260 * include/fcntl.h: Likewise.
38261 * include/fnmatch.h: Likewise.
38262 * include/glob.h: Likewise.
38263 * include/grp.h: Likewise.
38264 * include/libio.h: Likewise.
38265 * include/locale.h: Likewise.
38266 * include/math.h: Likewise.
38267 * include/net/if.h: Likewise.
38268 * include/netdb.h: Likewise.
38269 * include/netinet/in.h: Likewise.
38270 * include/pthread.h: Likewise.
38271 * include/pwd.h: Likewise.
38272 * include/regex.h: Likewise.
38273 * include/sched.h: Likewise.
38274 * include/search.h: Likewise.
38275 * include/setjmp.h: Likewise.
38276 * include/signal.h: Likewise.
38277 * include/stdio.h: Likewise.
38278 * include/stdlib.h: Likewise.
38279 * include/string.h: Likewise.
38280 * include/sys/cdefs.h: Likewise.
38281 * include/sys/mman.h: Likewise.
38282 * include/sys/msg.h: Likewise.
38283 * include/sys/resource.h: Likewise.
38284 * include/sys/select.h: Likewise.
38285 * include/sys/socket.h: Likewise.
38286 * include/sys/stat.h: Likewise.
38287 * include/sys/statvfs.h: Likewise.
38288 * include/sys/time.h: Likewise.
38289 * include/sys/times.h: Likewise.
38290 * include/sys/uio.h: Likewise.
38291 * include/sys/utsname.h: Likewise.
38292 * include/sys/wait.h: Likewise.
38293 * include/termios.h: Likewise.
38294 * include/time.h: Likewise.
38295 * include/ulimit.h: Likewise.
38296 * include/unistd.h: Likewise.
38297 * include/utime.h: Likewise.
38298 * include/wchar.h: Likewise.
38299 * include/wctype.h: Likewise.
38300 * include/wordexp.h: Likewise.
38302 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38304 * time/time.h: TIME_UTC must be a macro.
38305 Make timespec_get available for ISO C11 only as well.
38307 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38309 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38310 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38312 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38314 * configure.in: Use -o not -a in test for unsupported multi-arch.
38316 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38318 * manual/texinfo.tex: Update to version 2012-01-19.16.
38320 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38322 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38324 2012-02-24 Roland McGrath <roland@hack.frob.com>
38327 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38328 * manual/fdl-1.3.texi: New file.
38329 * manual/fdl-1.1.texi: File removed.
38332 * manual/libc.texinfo (FDL_VERSION): New @set.
38333 Use it for mention of FDL in cover text.
38334 (Documentation License): Use it in @include file name.
38336 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38337 Roland McGrath <roland@hack.frob.com>
38340 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38341 (not LONG_LONG_MAX and LONG_LONG_MIN.
38342 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38343 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38345 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38347 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38351 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38352 manipulate bits before adding and subtracting TWO23[sx].
38353 * math/libm-test.inc (nearbyint_test): Add more tests.
38355 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38358 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38359 bits before adding and subtracting TWO23[sx].
38360 * math/libm-test.inc (rint_test): Add more tests.
38361 (rint_test_tonearest): Likewise.
38362 (rint_test_towardzero): Likewise.
38363 (rint_test_downward): Likewise.
38364 (rint_test_upward: Likewise.
38366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38369 * include/stdc-predef.h: New file. Extracted from features.h.
38370 * include/features.h: Include stdc-predef.h.
38371 * Makefile (headers): Add stdc-predef.h.
38372 * CONFORMANCE (Compiler limitations): Update.
38374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38376 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38378 2012-02-21 David S. Miller <davem@davemloft.net>
38380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38383 2012-02-20 David S. Miller <davem@davemloft.net>
38385 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38386 using a normal save/restore sequence, rather than allocating a
38387 dummy stack frame just to store a frame pointer and restore.
38388 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38390 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38392 * manual/install.texi: Fix stray word in line-wrapped comment.
38394 2012-02-20 David S. Miller <davem@davemloft.net>
38396 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38397 both binutils and gcc support GOTDATA.
38399 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38400 "rd %pc" in the PIC register setup sequences.
38402 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38403 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38405 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38406 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38409 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38411 (SYSCALL_ERROR_HANDLER): Likewise.
38412 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38415 (SYSCALL_ERROR_HANDLER): Likewise.
38417 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38418 (HAVE_GCC_GOTDATA): New.
38419 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38420 relocation support in both binutils and gcc.
38421 * sysdeps/sparc/elf/configure: Regenerate.
38423 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38424 * sysdeps/sparc/sparc32/elf/configure: Delete.
38425 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38426 * sysdeps/sparc/sparc64/elf/configure: Delete.
38427 * sysdeps/sparc/elf/configure.in: New file.
38428 * sysdeps/sparc/elf/configure: Generate.
38430 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38431 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38432 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38433 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38434 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38436 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38438 * manual/install.texi: Do not mention specific glibc version
38440 * manual/libc.texinfo (VERSION, UPDATED): Update.
38441 (@copying): Use @copyright{} and range of years.
38443 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38446 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38447 [crti.S not in sysdirs] (generated): Do not append.
38448 [crti.S not in sysdirs] (omit-deps): Likewise.
38449 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38450 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38451 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38452 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38453 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38455 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38456 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38457 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38458 * csu/defs.awk: Remove file.
38459 * sysdeps/generic/initfini.c: Likewise.
38460 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38462 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38465 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38467 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38468 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38472 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38474 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38475 (__EPOLL_PACKED): Define to empty if not defined by
38477 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38481 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38483 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38484 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38485 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38486 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38488 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38492 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38494 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38496 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38497 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38501 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38506 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38508 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38509 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38511 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38513 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38516 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38518 * math/w_acos.c: Use non-signaling floating-point comparisons.
38519 * math/w_acosf.c: Likewise.
38520 * math/w_acosh.c: Likewise.
38521 * math/w_acoshf.c: Likewise.
38522 * math/w_acoshl.c: Likewise.
38523 * math/w_acosl.c: Likewise.
38524 * math/w_asin.c: Likewise.
38525 * math/w_asinf.c: Likewise.
38526 * math/w_asinl.c: Likewise.
38527 * math/w_atanh.c: Likewise.
38528 * math/w_atanhf.c: Likewise.
38529 * math/w_atanhl.c: Likewise.
38530 * math/w_exp2.c: Likewise.
38531 * math/w_exp2f.c: Likewise.
38532 * math/w_exp2l.c: Likewise.
38533 * math/w_j0.c: Likewise.
38534 * math/w_j0f.c: Likewise.
38535 * math/w_j0l.c: Likewise.
38536 * math/w_j1.c: Likewise.
38537 * math/w_j1f.c: Likewise.
38538 * math/w_j1l.c: Likewise.
38539 * math/w_jn.c: Likewise.
38540 * math/w_jnf.c: Likewise.
38541 * math/w_log.c: Likewise.
38542 * math/w_log10.c: Likewise.
38543 * math/w_log10f.c: Likewise.
38544 * math/w_log10l.c: Likewise.
38545 * math/w_log2.c: Likewise.
38546 * math/w_log2f.c: Likewise.
38547 * math/w_log2l.c: Likewise.
38548 * math/w_logf.c: Likewise.
38549 * math/w_logl.c: Likewise.
38550 * math/w_sqrt.c: Likewise.
38551 * math/w_sqrtf.c: Likewise.
38552 * math/w_sqrtl.c: Likewise.
38553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38555 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38557 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38559 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38562 * manual/string.texi (strnlen): Use correct parameter name in
38563 equivalent expression.
38565 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38568 * manual/users.texi (seteuid): Consistently use neweuid for
38571 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38574 * manual/nss.texi (Services in the NSS configuration): Correct
38575 list of services in example configuration file.
38577 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38580 * manual/arith.texi: Remove statements about negative zero
38581 behaving identically to zero.
38583 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38586 * manual/install.texi: Do not document upgrading from libc5.
38588 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38591 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38593 2012-02-18 David S. Miller <davem@davemloft.net>
38595 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38596 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38597 %o7 across the call.
38598 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38601 SETUP_PIC_REG_LEAF.
38602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38603 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38604 * sysdeps/sparc/crtn.S: Likewise.
38606 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38608 * aout/Makefile: Remove.
38610 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38613 * manual/examples/argp-ex1.c (main): Format definition in GNU
38615 * manual/examples/argp-ex2.c (main): Likewise.
38616 * manual/examples/argp-ex3.c (main): Likewise.
38617 * manual/examples/argp-ex4.c (main): Likewise.
38618 * manual/examples/longopt.c (main): Use new-style prototype
38620 * manual/examples/strncat.c (main): Specify return type and use
38621 (void) for arguments.
38622 * manual/examples/subopt.c (main): Use char **argv argument.
38624 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38627 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38630 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38633 * manual/string.texi (strchr): Change when strchrnul is
38636 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38639 * manual/locale.texi (setlocale): Document LOCPATH.
38641 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38644 * manual/process.texi (execle): Move @dots{} before last argument.
38646 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38649 * manual/charset.texi (Generic Charset Conversion): Fix typo
38650 (LC_TYPE -> LC_CTYPE).
38652 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38655 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38656 (scalbnf): Likewise.
38657 (scalbnl): Likewise.
38658 (scalbln): Likewise.
38659 (scalblnf): Likewise.
38660 (scalblnl): Likewise.
38661 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38662 (vwarnx): Likewise.
38665 * manual/filesys.texi (telldir): Use braces around return type.
38666 * manual/llio.texi (mmap): Add space after comma.
38667 (mmap64): Likewise.
38668 * manual/math.texi (jn): Use @var{} on parameter names.
38674 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38676 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38678 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38679 (sched_get_priority_max): Likewise.
38680 * manual/signal.texi (sigvec): Add space after comma.
38681 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38683 (if_indextoname): Likewise.
38684 (if_freenameindex): Likewise.
38685 (sendto): Use ',' instead of '.' in prototype.
38686 * manual/startup.texi (syscall): Use @dots{} instead of literal
38688 * manual/stdio.texi (__fpending): Separate initial words of
38689 paragraph from @deftypefun line.
38690 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38692 (vsyslog): Use @var{} on parameter names.
38693 * manual/terminal.texi (stty): Use @var{} on parameter names.
38694 * manual/users.texi (getutmp): Use @var{} on parameter names.
38695 (getutmpx): Likewise.
38697 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38700 * manual/stdio.texi (fopen): Fix typos in description of
38703 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38706 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38707 get clock_id definition.
38709 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38712 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38713 (madvise): Cast every argument to void on its own.
38715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38718 * manual/startup.texi (Exit Status): Fix typo.
38720 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38723 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38724 * manual/examples/argp-ex2.c: Likewise.
38725 * manual/examples/argp-ex3.c: Likewise.
38727 2012-02-16 Richard Henderson <rth@redhat.com>
38729 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38730 * sysdeps/s390/s390-32/initfini.c: Remove.
38731 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38732 * sysdeps/s390/s390-64/initfini.c: Remove.
38734 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38736 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38737 compiler output for sysdeps/generic/initfini.c.
38738 * sysdeps/sh/elf/initfini.c: Remove file.
38740 2012-02-16 David S. Miller <davem@davemloft.net>
38743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38745 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38746 * sysdeps/sparc/crti.S: New file.
38747 * sysdeps/sparc/crtn.S: New file.
38748 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38749 * sysdeps/sparc/sparc64/Makefile: Likewise.
38751 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38754 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38756 2012-02-15 Roland McGrath <roland@hack.frob.com>
38759 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38761 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38762 (write, read, close): Likewise.
38763 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38765 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38767 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38768 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38769 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38770 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38772 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38776 2012-02-14 Marek Polacek <polacek@redhat.com>
38778 * sysdeps/x86_64/crti.S: New file.
38779 * sysdeps/x86_64/crtn.S: New file.
38780 * sysdeps/x86_64/elf/initfini.c: Remove file.
38782 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38784 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38785 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38786 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38787 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38789 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38793 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38795 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38796 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38797 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38798 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38800 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38804 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38806 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38807 __feraiseexcept instead of feraiseexcept.
38809 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38810 nanosleep invocations.
38811 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38812 strings, and add error checking for a nanosleep invocations.
38814 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38816 Replace FSF snail mail address with URLs, as per GNU coding standards.
38817 Most of the snail mail addresses were wrong anyway, and omitting
38818 them makes the source code easier to maintain. Almost all of the
38819 changes are to license notices and to locale LC_IDENTIFICATION
38820 addresses, except for this one:
38821 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38822 not its snail mail address.
38824 2012-02-09 Richard Henderson <rth@twiddle.net>
38826 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38827 of kernel-features.h.
38829 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38831 2012-02-08 Marek Polacek <polacek@redhat.com>
38833 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38834 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38835 * sysdeps/gnu/_G_config.h: Likewise.
38836 * sysdeps/generic/_G_config.h: Likewise.
38838 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38840 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38844 * sysdeps/powerpc/powerpc32/crti.S: New file.
38845 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38846 * sysdeps/powerpc/powerpc64/crti.S: New file.
38847 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38849 * Makeconfig (have-initfini): Don't set.
38850 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38851 * configure.in (nopic_initfini): Don't substitute.
38852 * config.h.in (HAVE_INITFINI): Don't #undef.
38853 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38854 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38856 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38858 Support crti.S and crtn.S provided directly by architectures.
38859 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38860 [crti.S in sysdirs] (omit-deps): Likewise.
38861 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38862 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38863 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38864 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38865 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38866 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38867 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38868 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38869 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38870 compiler output for sysdeps/generic/initfini.c.
38871 * sysdeps/i386/elf/Makefile: Remove file.
38872 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38874 2012-02-07 Marek Polacek <polacek@redhat.com>
38876 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38877 * sysdeps/gnu/_G_config.h: Likewise.
38878 * sysdeps/mach/hurd/_G_config.h: Likewise.
38880 2012-02-07 Marek Polacek <polacek@redhat.com>
38882 * math/Makefile (tests): Add tst-CMPLX2.
38883 * math/tst-CMPLX2.c: New file.
38885 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38887 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38889 * math/libm-test.inc (jn_test): Add missing L suffix.
38891 2012-02-06 Marek Polacek <polacek@redhat.com>
38893 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38894 * sysdeps/i386/fpu/e_powf.S: Likewise.
38895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38896 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38898 * sysdeps/i386/fpu/e_pow.S: Likewise.
38899 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38901 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38902 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38903 * sysdeps/i386/fpu/e_log2.S: Likewise.
38904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38906 * sysdeps/i386/fpu/e_powl.S: Likewise.
38907 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38908 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38909 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38910 * sysdeps/i386/fpu/e_logl.S: Likewise.
38911 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38912 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38913 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38914 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38915 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38917 * sysdeps/i386/fpu/e_log.S: Likewise.
38918 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38919 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38920 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38921 * sysdeps/i386/fpu/e_logf.S: Likewise.
38922 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38923 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38924 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38925 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38926 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38927 * sysdeps/i386/fpu/e_log10.S: Likewise.
38928 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38929 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38930 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38931 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38932 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38933 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38934 * sysdeps/i386/asm-syntax.h: Likewise.
38935 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38937 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38938 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38939 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38940 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38941 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38942 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38943 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38944 * sysdeps/powerpc/sysdep.h: Likewise.
38945 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38946 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38948 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38951 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38953 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38955 * sysdeps/i386/sysdep.h: Include <features.h>.
38956 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38959 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38961 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38963 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38966 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38968 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38969 (SETUP_PIC_REG): Use GET_PC_THUNK.
38970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38973 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38975 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38976 for non-PIC compilation.
38977 (SETUP_PIC_REG): Add .p2align directive.
38978 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38979 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38980 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38981 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38982 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38983 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38984 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38985 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38986 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38987 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38988 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38989 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38990 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38991 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38994 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38998 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38999 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39000 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39001 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39003 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39004 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39005 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39010 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39020 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39022 * math/tst-CMPLX.c: Include <stdio.h>.
39024 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39026 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39028 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39029 * sysdeps/sparc/bits/mathdef.h: Likewise.
39031 2012-01-31 Marek Polacek <polacek@redhat.com>
39033 * libio/libio.h: Don't define _PARAMS.
39034 * locale/programs/config.h: Don't define PARAMS.
39035 * stdlib/strtol_l.c: Likewise.
39036 (__strtol_l): Remove PARAMS from the prototype.
39038 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39040 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39041 names. Just use the correct names. Remove unnecessary wrapper
39043 * malloc/arena.c: Likewise.
39044 * malloc/hooks.c: Likewise.
39046 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39047 ARENA_TEST says not to. Simplify test for creation of a new arena.
39048 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39050 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39052 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39054 (update_get_addr): New function.
39055 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39056 GET_ADDR_MODULE parameter.
39058 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39060 * crypt/cert.c: Remove __STDC__ conditionals.
39061 * crypt/crypt-entry.c: Likewise.
39062 * crypt/crypt_util.c: Likewise.
39063 * libio/filedoalloc.c: Likewise.
39064 * libio/fileops.c: Likewise.
39065 * libio/genops.c: Likewise.
39066 * libio/iofclose.c: Likewise.
39067 * libio/iofdopen.c: Likewise.
39068 * libio/iofopen.c: Likewise.
39069 * libio/iofopen64.c: Likewise.
39070 * libio/iogetdelim.c: Likewise.
39071 * libio/iopopen.c: Likewise.
39072 * libio/obprintf.c: Likewise.
39073 * libio/oldfileops.c: Likewise.
39074 * libio/oldiofclose.c: Likewise.
39075 * libio/oldiofdopen.c: Likewise.
39076 * libio/oldiofopen.c: Likewise.
39077 * libio/oldiopopen.c: Likewise.
39078 * libio/wfiledoalloc.c: Likewise.
39079 * libio/wgenops.c: Likewise.
39080 * locale/programs/xmalloc.c: Likewise.
39081 * misc/syslog.c: Likewise.
39082 * stdio-common/xbug.c: Likewise.
39083 * string/memchr.c: Likewise.
39084 * string/memcmp.c: Likewise.
39085 * string/memrchr.c: Likewise.
39086 * string/rawmemchr.c: Likewise.
39087 * sysdeps/posix/getcwd.c: Likewise.
39088 * time/strftime_l.c: Likewise.
39090 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39092 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39093 * config.make.in (config-cflags-sse2avx): Define.
39094 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39097 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39099 * scripts/config.guess: Update from upstream config git repository.
39100 * scripts/config.sub: Likewise.
39102 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39104 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39106 (R_TILEPRO_*, R_TILEGX_*): New macros.
39108 * scripts/firstversions.awk: Fix bug in version range handling.
39110 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39112 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39114 * include/sys/epoll.h: New file.
39115 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39118 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39120 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39121 Avoid unnecessary __WORDSIZE == 64 test.
39122 (fmaxf): Use VEX format if possible.
39127 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39128 * math/math_private.h: Remove libc_fegetround* and
39130 * sysdeps/i386/configure.in: Check for -msse2avx.
39131 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39132 also if SSE2AVX is defined.
39133 Remove libc_fegetround* and libc_fesetround*.
39134 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39135 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39136 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39138 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39139 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39140 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39144 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39146 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39150 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39152 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39155 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39157 * Makeconfig (libm): Define.
39158 * elf/Makefile: Add rules to build and run tst-relsort1.
39159 * elf/tst-relsort1.c: New file.
39160 * elf/tst-relsort1mod1.c: New file.
39161 * elf/tst-relsort1mod2.c: New file.
39163 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39165 * math/s_ldexp.c: Remove __STDC__ conditionals.
39166 * math/s_ldexpf.c: Likewise.
39167 * math/s_ldexpl.c: Likewise.
39168 * math/s_nextafter.c: Likewise.
39169 * math/s_nexttowardf.c: Likewise.
39170 * math/s_significand.c: Likewise.
39171 * math/s_significandf.c: Likewise.
39172 * math/s_significandl.c: Likewise.
39173 * math/w_jnl.c: Likewise.
39174 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39175 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39176 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39177 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39178 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39180 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39181 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39182 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39183 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39184 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39187 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39188 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39189 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39195 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39199 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39202 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39204 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39205 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39208 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39209 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39210 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39211 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39212 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39213 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39214 * sysdeps/ieee754/k_standard.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39217 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39218 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39219 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39220 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39221 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39222 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39223 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39224 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39225 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39227 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39228 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39229 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39234 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39237 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39238 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39252 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39276 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39281 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39289 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39290 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39294 * sysdeps/ieee754/s_matherr.c: Likewise.
39295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39300 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39302 * crypt/md5.h: Remove __STDC__ conditionals.
39303 * libio/libioP.h: Likewise.
39304 * locale/programs/config.h: Likewise.
39305 * sysdeps/generic/sysdep.h: Likewise.
39306 * sysdeps/i386/asm-syntax.h: Likewise.
39307 * sysdeps/s390/asm-syntax.h: Likewise.
39308 * sysdeps/unix/sysdep.h: Likewise.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39312 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39314 * libio/libio.h: Remove __STDC__ conditionals.
39315 * malloc/obstack.h: Likewise.
39316 * math/complex.h: Likewise.
39317 * math/math.h: Likewise.
39318 * sysdeps/generic/_G_config.h: Likewise.
39319 * sysdeps/gnu/_G_config.h: Likewise.
39320 * sysdeps/mach/hurd/_G_config.h: Likewise.
39321 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39322 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39323 * sysdeps/sparc/bits/mathdef.h: Likewise.
39325 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39328 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39329 Clean up HAS_* macros.
39330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39331 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39333 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39341 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39343 * elf/tst-unique3.cc (gets): Remove declaration.
39344 * elf/tst-unique3lib.cc (gets): Likewise.
39345 * elf/tst-unique3lib2.cc (gets): Likewise.
39346 * elf/tst-unique4.cc (gets): Likewise.
39348 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39350 * include/stdio.h: Add C++ protection. Add gets declarations and
39352 * debug/tst-chk1.c: Don't declare gets here.
39353 * stdio-common/tst-gets.c: Likewise.
39355 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39357 * posix/glob: Remove directory.
39359 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39361 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39363 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39365 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39366 of the non-standard EPFNOSUPPORT.
39368 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39370 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39371 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39372 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39374 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39376 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39378 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39380 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39382 * nscd/grpcache.c (cache_addgr): Likewise.
39383 * nscd/hstcache.c (cache_addhst): Likewise.
39384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39385 * nscd/pwdcache.c (cache_addpw): Likewise.
39386 * nscd/servicescache.c (cache_addserv): Likewise.
39388 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39390 * malloc/malloc.c: Various cleanups.
39391 * malloc/hooks.c: Likewise.
39393 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39394 * stdlib/bug-fmtmsg1.c: New file.
39396 * stdlib/fmtmsg.c (init): Add missing unlock.
39397 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39399 2012-01-12 Marek Polacek <polacek@redhat.com>
39401 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39404 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39406 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39407 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39408 macro to ensure uniqueness of label name.
39409 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39410 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39412 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39414 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39416 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39417 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39418 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39421 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39425 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39426 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39427 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39429 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39431 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39432 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39433 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39436 * math/bits/math-finite.h: Add ldexp support.
39438 2012-01-10 Marek Polacek <polacek@redhat.com>
39440 * locale/programs/localedef.h (show_archive_content): Add noreturn
39443 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39445 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39447 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39449 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39451 * io/Makefile (headers): Add bits/poll2.h.
39453 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39456 typo #include statement.
39458 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39460 * include/sys/cdefs.h: Define __attribute_alloc_size.
39461 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39462 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39463 * elf/pldd.c: Likewise.
39464 * iconv/iconv_charmap.c: Likewise.
39465 * iconv/iconvconfig.c: Likewise.
39466 * iconv/strtab.c: Likewise.
39467 * locale/programs/locale.c: Likewise.
39468 * locale/programs/localedef.h: Likewise.
39469 * locale/programs/simple-hash.c: Likewise.
39470 * nscd/nscd.h: Likewise.
39471 * nss/makedb.c: Likewise.
39472 * sysdeps/generic/ldconfig.h: Likewise.
39473 * locale/programs/localedef.c: Remove xmalloc prototype.
39474 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39476 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39481 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39483 * math/Makefile (tests): Add tst-CMPLX.
39484 * math/tst-CMPLX.c: New file.
39486 * math/complex.h (CMPLXL): Fix typo.
39488 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39489 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39491 * debug/tst-chk1.c: Add poll and ppoll tests.
39492 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39493 * include/sys/poll.h: Add hidden proto for ppoll.
39494 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39495 * sysdeps/mach/hurd/ppoll.c: Likewise.
39496 * io/ppoll.c: Likewise.
39497 * debug/poll_chk.c: New file.
39498 * debug/ppoll_chk.c: New file.
39499 * include/bits/poll2.h: New file.
39500 * io/bits/poll2.h: New file.
39503 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39505 * configure.in: static is always set to yes. Remove.
39506 * config.make.in: Don't set build-static.
39507 * Makeconfig: Remove use of build-static.
39508 * dlfcn/Makefile: Likewise.
39509 * elf/Makefile: Likewise.
39510 * math/Makefile: Likewise.
39511 * misc/Makefile: Likewise.
39512 * nptl/Makefile: Likewise.
39513 * sysdeps/mach/hurd/Makefile: Likewise.
39515 * configure.in: PWD_P is not used anymore.
39516 * config.make.in: Remove PWD_P entry.
39518 * configure.in: Remove last remnants of RANLIB.
39519 No need to check for signed size_t anymore.
39520 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39522 Remove __builtin_expect test because we require at least gcc 3.4.
39523 * aclocal.m4: Likewise.
39525 * wcsmbs/mbrtoc16.c: Implement using towc function.
39526 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39527 * wcsmbs/wcsmbsload.c: Likewise.
39528 * iconv/gconv_simple.c: Likewise.
39529 * iconv/gconv_int.h: Likewise.
39530 * iconv/gconv_builtin.h: Likewise.
39531 * iconv/iconv_prog.c: Remove CHAR16 handling.
39533 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39535 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39537 * configure.in: Remove --with-elf and --enable-bounded options.
39538 Dont set base_machine for ia64. More non-ELF conditions removed.
39539 Remove testing and setting of leading underscore information.
39540 * config.make.in (build-bounded): Set to no.
39541 * config.h.in: Remove NO_UNDERSCORES entry.
39542 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39544 * csu/start.c: Remove !NO_UNDERSCORE code.
39545 * locale/localeinfo.h: Likewise.
39546 * sysdeps/generic/machine-gmon.h: Likewise.
39547 * sysdeps/generic/sysdep.h: Likewise.
39548 * sysdeps/i386/sysdep.h: Likewise.
39549 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39550 * sysdeps/mach/sysdep.h: Likewise.
39551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39553 * sysdeps/sh/sysdep.h: Likewise.
39554 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39555 * sysdeps/unix/i386/sysdep.S: Likewise.
39556 * sysdeps/unix/sparc/start.c: Likewise.
39557 * sysdeps/unix/sparc/sysdep.S: Likewise.
39558 * sysdeps/unix/sparc/sysdep.h: Likewise.
39559 * sysdeps/unix/start.c: Likewise.
39560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39561 * sysdeps/x86_64/sysdep.h: Likewise.
39563 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39566 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39568 * argp/argp-fmtstream.h: Use const instead __const.
39569 * argp/argp.h: Likewise.
39570 * assert/assert.h: Likewise.
39571 * bits/fenv.h: Likewise.
39572 * bits/sched.h: Likewise.
39573 * bits/sigset.h: Likewise.
39574 * bits/sigthread.h: Likewise.
39575 * catgets/nl_types.h: Likewise.
39576 * conform/data/pthread.h-data: Likewise.
39577 * crypt/crypt-private.h: Likewise.
39578 * crypt/crypt.h: Likewise.
39579 * crypt/crypt_util.c: Likewise.
39580 * ctype/ctype.h: Likewise.
39581 * debug/execinfo.h: Likewise.
39582 * debug/mbsnrtowcs_chk.c: Likewise.
39583 * debug/mbsrtowcs_chk.c: Likewise.
39584 * debug/wcsnrtombs_chk.c: Likewise.
39585 * debug/wcsrtombs_chk.c: Likewise.
39586 * debug/wcstombs_chk.c: Likewise.
39587 * dirent/dirent.h: Likewise.
39588 * dlfcn/dlfcn.h: Likewise.
39589 * elf/neededtest4.c: Likewise.
39590 * grp/grp.h: Likewise.
39591 * gshadow/gshadow.h: Likewise.
39592 * iconv/gconv.h: Likewise.
39593 * iconv/gconv_int.h: Likewise.
39594 * iconv/gconv_simple.c: Likewise.
39595 * iconv/iconv.h: Likewise.
39596 * iconv/loop.c: Likewise.
39597 * iconv/skeleton.c: Likewise.
39598 * include/aio.h: Likewise.
39599 * include/aliases.h: Likewise.
39600 * include/argz.h: Likewise.
39601 * include/arpa/inet.h: Likewise.
39602 * include/assert.h: Likewise.
39603 * include/dirent.h: Likewise.
39604 * include/dlfcn.h: Likewise.
39605 * include/execinfo.h: Likewise.
39606 * include/fcntl.h: Likewise.
39607 * include/fenv.h: Likewise.
39608 * include/glob.h: Likewise.
39609 * include/grp.h: Likewise.
39610 * include/libintl.h: Likewise.
39611 * include/mntent.h: Likewise.
39612 * include/netdb.h: Likewise.
39613 * include/pwd.h: Likewise.
39614 * include/rpc/netdb.h: Likewise.
39615 * include/sched.h: Likewise.
39616 * include/search.h: Likewise.
39617 * include/shadow.h: Likewise.
39618 * include/signal.h: Likewise.
39619 * include/stdio.h: Likewise.
39620 * include/stdlib.h: Likewise.
39621 * include/string.h: Likewise.
39622 * include/sys/socket.h: Likewise.
39623 * include/sys/stat.h: Likewise.
39624 * include/sys/statfs.h: Likewise.
39625 * include/sys/statvfs.h: Likewise.
39626 * include/sys/syslog.h: Likewise.
39627 * include/sys/time.h: Likewise.
39628 * include/sys/uio.h: Likewise.
39629 * include/time.h: Likewise.
39630 * include/unistd.h: Likewise.
39631 * include/utmp.h: Likewise.
39632 * include/wchar.h: Likewise.
39633 * include/wctype.h: Likewise.
39634 * inet/aliases.h: Likewise.
39635 * inet/arpa/inet.h: Likewise.
39636 * inet/netinet/ether.h: Likewise.
39637 * inet/netinet/in.h: Likewise.
39638 * intl/libintl.h: Likewise.
39639 * io/bits/fcntl2.h: Likewise.
39640 * io/fcntl.h: Likewise.
39641 * io/ftw.h: Likewise.
39642 * io/sys/poll.h: Likewise.
39643 * io/sys/stat.h: Likewise.
39644 * io/sys/statfs.h: Likewise.
39645 * io/sys/statvfs.h: Likewise.
39646 * io/utime.h: Likewise.
39647 * libio/bits/stdio.h: Likewise.
39648 * libio/bits/stdio2.h: Likewise.
39649 * libio/libio.h: Likewise.
39650 * libio/libioP.h: Likewise.
39651 * libio/stdio.h: Likewise.
39652 * locale/lc-ctype.c: Likewise.
39653 * locale/locale.h: Likewise.
39654 * login/utmp.h: Likewise.
39655 * malloc/arena.c: Likewise.
39656 * malloc/malloc.c: Likewise.
39657 * malloc/malloc.h: Likewise.
39658 * malloc/mcheck.c: Likewise.
39659 * malloc/mtrace.c: Likewise.
39660 * math/bits/mathcalls.h: Likewise.
39661 * math/fenv.h: Likewise.
39662 * math/math_private.h: Likewise.
39663 * misc/bits/error.h: Likewise.
39664 * misc/bits/syslog.h: Likewise.
39665 * misc/err.h: Likewise.
39666 * misc/error.h: Likewise.
39667 * misc/fstab.h: Likewise.
39668 * misc/mntent.h: Likewise.
39669 * misc/regexp.h: Likewise.
39670 * misc/search.h: Likewise.
39671 * misc/sgtty.h: Likewise.
39672 * misc/sys/mman.h: Likewise.
39673 * misc/sys/syslog.h: Likewise.
39674 * misc/sys/uio.h: Likewise.
39675 * misc/sys/xattr.h: Likewise.
39676 * misc/ttyent.h: Likewise.
39677 * nis/rpcsvc/ypclnt.h: Likewise.
39678 * nss/nss.h: Likewise.
39679 * posix/bits/unistd.h: Likewise.
39680 * posix/fnmatch.h: Likewise.
39681 * posix/glob.h: Likewise.
39682 * posix/sched.h: Likewise.
39683 * posix/spawn.h: Likewise.
39684 * posix/sys/wait.h: Likewise.
39685 * posix/unistd.h: Likewise.
39686 * posix/wordexp.h: Likewise.
39687 * pwd/pwd.h: Likewise.
39688 * resolv/netdb.h: Likewise.
39689 * resource/sys/resource.h: Likewise.
39690 * rt/aio.h: Likewise.
39691 * rt/bits/mqueue2.h: Likewise.
39692 * rt/mqueue.h: Likewise.
39693 * shadow/shadow.h: Likewise.
39694 * signal/signal.h: Likewise.
39695 * socket/send.c: Likewise.
39696 * socket/sendto.c: Likewise.
39697 * socket/sys/socket.h: Likewise.
39698 * stdio-common/printf.h: Likewise.
39699 * stdlib/bits/stdlib.h: Likewise.
39700 * stdlib/fmtmsg.h: Likewise.
39701 * stdlib/monetary.h: Likewise.
39702 * stdlib/stdlib.h: Likewise.
39703 * stdlib/ucontext.h: Likewise.
39704 * streams/stropts.h: Likewise.
39705 * string/argz.h: Likewise.
39706 * string/bits/string2.h: Likewise.
39707 * string/string.h: Likewise.
39708 * string/strings.h: Likewise.
39709 * sunrpc/rpc/auth.h: Likewise.
39710 * sunrpc/rpc/auth_des.h: Likewise.
39711 * sunrpc/rpc/clnt.h: Likewise.
39712 * sunrpc/rpc/netdb.h: Likewise.
39713 * sunrpc/rpc/pmap_clnt.h: Likewise.
39714 * sunrpc/rpc/xdr.h: Likewise.
39715 * sysdeps/generic/inttypes.h: Likewise.
39716 * sysdeps/generic/net/if.h: Likewise.
39717 * sysdeps/generic/sys/swap.h: Likewise.
39718 * sysdeps/gnu/net/if.h: Likewise.
39719 * sysdeps/gnu/utmpx.h: Likewise.
39720 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39721 * sysdeps/i386/i486/bits/string.h: Likewise.
39722 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39723 * sysdeps/s390/bits/string.h: Likewise.
39724 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39725 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39726 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39727 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39728 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39729 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39730 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39731 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39732 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39733 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39734 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39735 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39736 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39737 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39738 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39739 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39740 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39743 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39744 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39745 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39746 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39747 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39748 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39749 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39750 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39752 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39753 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39754 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39755 * sysvipc/sys/ipc.h: Likewise.
39756 * sysvipc/sys/msg.h: Likewise.
39757 * sysvipc/sys/sem.h: Likewise.
39758 * sysvipc/sys/shm.h: Likewise.
39759 * termios/termios.h: Likewise.
39760 * time/sys/time.h: Likewise.
39761 * time/time.h: Likewise.
39762 * wcsmbs/bits/wchar2.h: Likewise.
39763 * wcsmbs/uchar.h: Likewise.
39764 * wcsmbs/wchar.h: Likewise.
39765 * wctype/wctype.h: Likewise.
39768 * Makeconfig: Remove all but ELF support including AIX support.
39769 * Makerules: Likewise.
39770 * config.h.in: Likewise.
39771 * config.make.in: Likewise.
39772 * configure: Likewise.
39773 * configure.in: Likewise.
39774 * csu/Makefile: Likewise.
39775 * csu/version.c: Likewise.
39776 * debug/Makefile: Likewise.
39777 * dlfcn/Makefile: Likewise.
39778 * elf/Makefile: Likewise.
39779 * extra-lib.mk: Likewise.
39780 * iconv/Makefile: Likewise.
39781 * include/libc-symbols.h: Likewise.
39782 * include/shlib-compat.h: Likewise.
39783 * resolv/Makefile: Likewise.
39784 * resolv/res_libc.c: Likewise.
39785 * rt/Makefile: Likewise.
39786 * sysdeps/i386/asm-syntax.h: Likewise.
39787 * sysdeps/i386/sysdep.h: Likewise.
39788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39789 * sysdeps/mach/sysdep.h: Likewise.
39790 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39791 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39792 * sysdeps/s390/asm-syntax.h: Likewise.
39793 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39794 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39795 * sysdeps/sh/sysdep.h: Likewise.
39796 * sysdeps/unix/sparc/sysdep.h: Likewise.
39797 * sysdeps/wordsize-32/divdi3.c: Likewise.
39798 * sysdeps/x86_64/sysdep.h: Likewise.
39800 * argp/Versions: Remove _argp_unlock_xxx.
39803 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39804 * abilist/libBrokenLocale.abilist: Likewise.
39805 * abilist/libanl.abilist: Likewise.
39806 * abilist/libc.abilist: Likewise.
39807 * abilist/libcrypt.abilist: Likewise.
39808 * abilist/libdl.abilist: Likewise.
39809 * abilist/libm.abilist: Likewise.
39810 * abilist/libnsl.abilist: Likewise.
39811 * abilist/libpthread.abilist: Likewise.
39812 * abilist/libresolv.abilist: Likewise.
39813 * abilist/librt.abilist: Likewise.
39814 * abilist/libthread_db.abilist: Likewise.
39815 * abilist/libutil.abilist: Likewise.
39816 * abilist/libnss_db.abilist: New file.
39818 * scripts/abilist.awk: Add support for indirect functions.
39820 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39822 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39824 * shlib-versions: Remove entries for ports architectures.
39826 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39828 * elf/stackguard-macros.h: Remove support for IA-64.
39829 * elf/tst-auditmod1.c: Likewise.
39830 * sysdeps/generic/ldsodefs.h: Likewise.
39832 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39833 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39837 * configure.in: Remove --enable-omitfp support.
39839 * config.make.in: Likewise.
39840 * Makeconfig: Likewise.
39841 * manual/install.texi: Likewise.
39843 In case anyone cares, the IA-64 architecture could move to ports.
39844 * sysdeps/ia64/*: Removed.
39845 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39846 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39849 * configure.in: Remove entries for unsupported architectures.
39852 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39853 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39855 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39856 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39857 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39858 fall back to using wcrtomb.
39859 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39860 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39862 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39863 * wcsmbs/tst-c16c32-1.c: New file.
39865 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39868 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39870 * elf/tst-unique3.cc: Add explicit declaration of gets.
39871 * elf/tst-unique3lib.cc: Likewise.
39872 * elf/tst-unique3lib2.cc: Likewise.
39873 * elf/tst-unique4.cc: Likewise.
39875 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39877 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39880 * assert/assert.h (static_assert): Don't define for C++.
39881 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39882 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39884 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39886 * iconv/loop.c (single loop): Fix assertion in storing of
39889 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39891 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39893 * posix/getconf.c: Update copyright year.
39894 * nss/getent.c: Likewise.
39895 * nss/makedb.c: Likewise.
39896 * iconv/iconvconfig.c: Likewise.
39897 * iconv/iconv_prog.c: Likewise.
39898 * elf/ldconfig.c: Likewise.
39899 * elf/pldd.c: Likewise.
39900 * elf/sotruss.ksh: Likewise.
39901 * catgets/gencat.c: Likewise.
39902 * csu/version.c: Likewise.
39903 * elf/ldd.bash.in: Likewise.
39904 * elf/sprof.c (print_version): Likewise.
39905 * locale/programs/locale.c: Likewise.
39906 * locale/programs/localedef.c: Likewise.
39907 * login/programs/pt_chown.c: Likewise.
39908 * nscd/nscd.c (print_version): Likewise.
39909 * debug/xtrace.sh: Likewise.
39910 * malloc/memusage.sh: Likewise.
39911 * malloc/mtrace.pl: Likewise.
39912 * debug/catchsegv.sh: Likewise.
39914 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39916 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39919 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39922 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39923 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39925 * iconv/gconv_int.h: Likewise.
39926 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39927 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39928 from libc for GLIBC_2.16.
39929 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39930 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39931 * wcsmbs/uchar.h: Really define mbstate_t.
39932 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39933 * wcsmbs/c16rtomb.c: New file.
39934 * wcsmbs/mbrtoc16.c: New file.
39935 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39936 for C/POSIX locale.
39937 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39938 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39940 * wcsmbs/wchar.h: Add missing __restrict.
39942 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39945 * time/Makefile (routines): Add timespec_get.
39946 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39947 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39948 timespec for ISO C11.
39949 * time/timespec_get.c: New file.
39950 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39951 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39954 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39955 * stdlib/stdlib.h: Declare aligned_alloc.
39956 * Versions.def: Add GLIBC_2.16 for libc.
39957 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39960 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39963 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39967 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39970 * assert/assert.h (static_assert): Define.
39972 * version.h: Update for 2.16 development version.
39975 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39978 * version.h (RELEASE): Bump for 2.15 release.
39979 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39981 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39982 Patch by Marek Polacek <mpolacek@redhat.com>.
39984 * bits/byteswap.h: Protect long long constants with __extension__.
39985 * sysdeps/i386/bits/byteswap.h: Likewise.
39986 * sysdeps/ia64/bits/byteswap.h: Likewise.
39987 * sysdeps/s390/bits/byteswap.h: Likewise.
39988 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39990 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39993 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39994 destination buffer.
39995 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39997 2011-12-23 Marek Polacek <polacek@redhat.com>
39999 * elf/dl-addr.c (determine_info): Add inline keyword.
40000 * elf/tst-auditmod4b.c (check_avx): Likewise.
40001 * elf/tst-auditmod6b.c (check_avx): Likewise.
40002 * elf/tst-auditmod6c.c (check_avx): Likewise.
40003 * elf/tst-auditmod7b.c (check_avx): Likewise.
40005 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40007 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40010 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40013 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40014 processing for last bytes.
40016 2011-08-06 Bruno Haible <bruno@clisp.org>
40019 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40020 U+0385, not to U+1FEE.
40023 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40024 entry for U+00A5 U+0301.
40026 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40029 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40030 buffer for the output is too small.
40032 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40036 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40037 SSE flags if possible.
40039 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40043 processing for last bytes.
40045 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40047 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40048 (syscall-list-default-options, syscall-list-default-condition)
40049 (syscall-list-includes): Define.
40050 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40051 list of ABIs and options and #if conditions for each ABI. Do not
40052 handle common syscalls between ABIs specially.
40053 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40055 (syscall-list-variants, syscall-list-32bit-options)
40056 (syscall-list-32bit-condition, syscall-list-64bit-options)
40057 (syscall-list-64bit-condition): Define.
40058 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40059 (syscall-list-variants, syscall-list-32bit-options)
40060 (syscall-list-32bit-condition, syscall-list-64bit-options)
40061 (syscall-list-64bit-condition): Define.
40062 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40064 (syscall-list-variants, syscall-list-32bit-options)
40065 (syscall-list-32bit-condition, syscall-list-64bit-options)
40066 (syscall-list-64bit-condition): Define.
40067 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40069 (syscall-list-variants, syscall-list-32bit-options)
40070 (syscall-list-32bit-condition, syscall-list-64bit-options)
40071 (syscall-list-64bit-condition): Define.
40073 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40075 * locale/iso-639.def: Add brx entry.
40078 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40079 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40081 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40082 __feraiseexcept_renamed.
40084 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40087 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40088 EPOLLET with unsigned values.
40089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40092 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40093 to large cancellation.
40094 * math/s_cacoshf.c: Likewise.
40095 * math/s_cacoshl.c: Likewise.
40097 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40101 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40102 * math/s_cacoshf.c: Likewise.
40103 * math/s_cacoshl.c: Likewise.
40105 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40108 * iconv/gconv.h: Define __GCONV_SWAP.
40109 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40110 * iconvdata/utf-16.c: Likewise.
40111 * iconvdata/utf-32.c: Likewise.
40113 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40116 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40117 numerator after shifting it by one limb.
40119 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40121 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40122 under [__USE_EXTERN_INLINES].
40124 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40127 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40129 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40131 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40132 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40134 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40135 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40136 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40137 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40138 for strncasecmp/strncasecmp_l compilation.
40139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40140 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40142 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40145 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40148 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40151 * time/tzfile.c (__tzfile_read): Check values from file header.
40153 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40155 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40156 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40157 * powerpc/powerpc32/dl-start.S: Likewise.
40158 * powerpc/powerpc32/elf/start.S: Likewise.
40159 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40160 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40161 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40162 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40163 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40164 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40165 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40166 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40167 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40168 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40169 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40170 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40171 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40172 * powerpc/powerpc32/memset.S: Likewise.
40173 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40174 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40175 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40176 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40177 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40178 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40179 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40180 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40181 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40182 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40184 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40185 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40187 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40189 * math/libm-test.inc: Added more nearbyint tests.
40190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40191 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40195 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40197 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40200 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40202 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40203 Add wcscpy-ssse3 wcscpy-c.
40204 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40205 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40206 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40207 * sysdeps/x86_64/wcschr.S: New file.
40208 * sysdeps/x86_64/wcsrchr.S: New file.
40209 * string/test-strcmp.c: Remove checking of wcscmp function for
40211 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40212 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40213 wcsrchr-sse2 wcsrchr-c.
40214 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40215 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40216 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40217 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40218 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40219 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40220 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40221 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40222 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40223 * wcsmbc/wcschr.c (WCSCHR): New macro.
40225 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40227 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40228 * wcsmbs/test-wcsrchr.c: New file.
40229 * string/test-strrchr.c: Add wcsrchr support.
40231 * wcsmbs/test-wcscpy.c: New file.
40232 * string/test-strcpy.c: Add wcscpy support.
40235 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40237 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40240 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40243 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40245 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40247 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40248 Minor optimizations.
40250 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40251 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40252 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40254 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40256 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40257 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40258 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40259 for gcc to avoid warnings.
40260 * inet/Makefile (tests): Add tst-checks.
40261 * inet/tst-checks.c: New file.
40263 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40266 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40269 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40270 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40272 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40274 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40276 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40279 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40281 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40284 conditional on GCC version.
40285 (__arch_compare_and_exchange_val_8_acq)
40286 (__arch_compare_and_exchange_val_16_acq)
40287 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40288 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40289 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40291 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40293 * sysdeps/sh/backtrace.c: New file.
40295 2011-12-02 Andreas Schwab <schwab@redhat.com>
40297 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40300 2011-12-01 Andreas Schwab <schwab@redhat.com>
40302 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40303 falling back to utime.
40305 2011-11-30 Andreas Schwab <schwab@redhat.com>
40307 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40308 expectations for float.
40310 2011-11-29 Andreas Schwab <schwab@redhat.com>
40312 * locale/weight.h (findidx): Add parameter len.
40313 * locale/weightwc.h (findidx): Likewise.
40314 * posix/fnmatch_loop.c (FCT): Adjust caller.
40315 * posix/regcomp.c (build_equiv_class): Likewise.
40316 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40317 * posix/regexec.c (check_node_accept_bytes): Likewise.
40318 * string/strcoll_l.c (STRCOLL): Likewise.
40319 * string/strxfrm_l.c (STRXFRM): Likewise.
40321 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40323 * Makefile.in: Remove CVSOPT handling.
40324 * configure.in: Remove use of AC_REVISION.
40325 * iconvdata/Makefile (distribute): No need to filter out CVS.
40326 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40329 2011-11-16 Andreas Schwab <schwab@redhat.com>
40331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40332 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40333 [USE_AS_STRNCASECMP_L]: Likewise.
40334 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40335 NO_TLS_DIRECT_SEG_REFS.
40336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40337 Fix argument offsets for non-PIC.
40338 [USE_AS_STRNCASECMP_L]: Likewise.
40339 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40340 NO_TLS_DIRECT_SEG_REFS.
40342 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40344 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40346 * locale/loadlocale.c (_nl_load_locale): Likewise.
40348 2011-11-15 Andreas Schwab <schwab@redhat.com>
40350 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40351 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40353 (SYSCALL_GETTIME): Set errno on error.
40355 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40356 count references to noai6ai_cached.
40358 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40360 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40362 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40363 FD_CLOEXEC for /proc/self/maps.
40365 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40366 FD_CLOEXEC for /proc/meminfo.
40368 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40371 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40372 FD_CLOEXEC for given file.
40374 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40376 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40377 FD_CLOEXEC for /etc/hosts.
40378 (_gethtent): Likewise.
40380 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40382 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40383 cancellation and set FD_CLOEXEC for /etc/netgroup.
40385 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40386 reading /etc/publickey.
40388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40389 allow cancellation when reading /etc/group.
40391 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40393 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40395 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40396 when using data file.
40398 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40400 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40401 (write_nis_obj): Use "c" and "e" in fopen.
40403 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40405 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40407 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40409 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40411 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40414 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40416 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40418 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40420 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40421 file parsing and set FD_CLOEXEC.
40423 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40425 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40427 2011-11-14 Andreas Schwab <schwab@redhat.com>
40429 * malloc/arena.c (arena_get2): Don't call reused_arena when
40430 _int_new_arena failed.
40432 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40434 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40435 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40437 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40438 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40440 to compile strcasecmp and strncasecmp.
40441 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40442 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40446 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40448 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40449 locale-defines.sym to gen-as-const-headers.
40450 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40451 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40453 to compile strcasecmp and strncasecmp.
40454 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40455 strcasecmp_l and strncasecmp_l.
40456 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40457 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40458 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40460 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40461 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40462 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40463 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40464 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40465 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40466 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40468 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40470 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40471 result of SYSDEP_GETTIME_CPU to retval.
40472 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40473 parameter list to macro. Remove trailing semicolon. Adjust users.
40475 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40478 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40480 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40482 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40483 from unused variable.
40485 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40487 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40490 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40493 * sunrpc/rpc_prot.c (rejected): Fix case value.
40495 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40496 unsigned long long int to avoid warnings in shift.
40498 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40500 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40503 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40504 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40505 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40507 * nis/nis_table.c (nis_list): Use variable of correct type for
40508 result of __follow_path call.
40510 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40512 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40513 of math functions ceil, trunc, floor, round, and sqrt, when
40514 avaliable on the platform.
40515 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40517 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40518 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40519 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40521 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40523 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40526 2011-11-11 Roland McGrath <roland@hack.frob.com>
40528 * include/unistd.h: Fix __readlink return type.
40529 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40531 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40533 * stdlib/ucontext.h: Undo last change for makecontext.
40535 2011-11-11 Andreas Schwab <schwab@redhat.com>
40537 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40539 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40540 * setjmp/setjmp.h: Mark functions as non-leaf.
40541 * setjmp/bits/setjmp2.h: Likewise.
40542 * stdlib/ucontext.h: Likewise.
40544 2011-11-10 Andreas Schwab <schwab@redhat.com>
40546 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40547 (reused_arena): Don't check arena limit.
40548 (arena_get2): Atomically check arena limit.
40550 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40552 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40553 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40558 2011-11-07 Andreas Schwab <schwab@redhat.com>
40560 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40561 handler when locking.
40563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40564 Fix size of allocated buffer.
40566 2011-11-04 Andreas Schwab <schwab@redhat.com>
40569 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40570 declarations for long double functions.
40571 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40573 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40575 2011-11-03 Andreas Schwab <schwab@redhat.com>
40577 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40580 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40583 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40585 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40587 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40589 * include/alloca.h (stackinfo_alloca_round): Define.
40590 (extend_alloca): Use it.
40591 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40592 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40595 * scripts/check-local-headers.sh: Ignore libaudit.h.
40597 * nscd/Makefile (extra-objs): Make recursively expanded.
40599 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40601 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40602 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40604 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40605 * posix/tst-rfc3484-2.c: Likewise.
40606 * posix/tst-rfc3484-3.c: Likewise.
40608 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40610 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40612 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40613 process_vm_writev from libc using GLIBC_2.15 version.
40615 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40617 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40619 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40622 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40625 * nss/getent.c (initgroups_keys): Show error message in case no group
40628 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40629 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40630 __bump_nl_timestamp.
40631 * nscd/connections (nscd_init): When host database is served open
40632 netlink socket and request notification about configuration changes.
40633 (main_loop_poll): Track netlink file descriptor and bump timestamp
40634 in case data becomes available.
40635 (main_loop_epoll): Likewise.
40636 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40637 (database_pers_head): Add extra_data fileds.
40638 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40640 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40643 in6ai data, call __free_in6ai.
40644 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40645 Add -DHAVE_NETLINK.
40646 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40647 interface information. Reuse previous data if netlink timestamp
40649 (__bump_nl_timestamp): New function.
40650 (__free_in6ai): New function.
40652 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40654 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40655 close_not_cancel_no_status here.
40656 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40658 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40661 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40664 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40665 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40666 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40668 2011-07-03 Andreas Jaeger <aj@suse.de>
40671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40672 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40673 * math/libm-test.inc (sin_test): Add test case.
40675 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40678 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40679 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40681 * elf/chroot_canon.c (chroot_canon): Cleanups.
40683 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40686 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40687 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40689 * string/test-strchr.c: Make usable for strchrnul testing.
40690 * string/test-strchrnul.c: New file.
40691 * string/Makefile (strop-tests): Add strchrnul.
40693 * po/it.po: Update from translation team.
40694 * po/es.po: Likewise.
40696 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40698 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40699 the three constants needed as parameters. Drop the others.
40700 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40701 __m128i_strloadu_tolower.
40702 Create and initialize variable zero and use it in all the places
40703 where _mm_setzero_si128 was used.
40705 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40706 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40707 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40710 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40711 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40712 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40713 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40714 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40715 __mpranred, __mptan.
40716 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40717 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40718 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40719 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40722 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40723 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40724 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40726 2011-10-28 Andreas Schwab <schwab@redhat.com>
40728 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40729 redefine if SHARED.
40730 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40733 wide char related routines to wcsmbs subdir.
40735 2011-10-27 Andreas Schwab <schwab@redhat.com>
40738 * misc/sys/cdefs.h (__THROWNL): Define.
40739 * posix/unistd.h: Use __THREADNL instead of __THREAD
40740 for memory synchronization functions.
40742 2011-10-26 Roland McGrath <roland@hack.frob.com>
40745 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40747 * manual/stdio.texi (Obstack Streams): Node removed.
40749 2011-10-26 Andreas Schwab <schwab@redhat.com>
40751 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40752 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40753 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40755 * math/math_private.h (math_force_eval): Allow non-addressable
40757 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40759 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40761 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40762 file is not needed.
40764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40765 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40771 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40773 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40774 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40775 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40776 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40777 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40778 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40779 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40780 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40781 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40782 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40783 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40784 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40786 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40787 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40788 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40789 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40790 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40791 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40793 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40794 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40797 place. Use VEX encoding when compiling for AVX.
40799 2011-10-25 Andreas Schwab <schwab@redhat.com>
40801 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40802 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40804 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40806 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40808 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40809 useless if() expression.
40810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40811 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40812 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40815 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40816 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40817 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40819 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40820 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40823 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40824 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40825 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40828 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40830 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40832 2011-10-25 Andreas Schwab <schwab@redhat.com>
40834 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40838 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40840 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40841 .text section. Avoid duplicate constants.
40842 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40848 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40851 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40853 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40854 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40855 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40856 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40857 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40859 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40865 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40866 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40867 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40868 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40869 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40870 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40871 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40872 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40882 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40884 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40885 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40886 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40888 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40890 * sysdeps/x86_64/dla.h: Move to ...
40891 * sysdeps/x86_64/fpu/dla.h: ...here.
40892 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40893 situations. Use __builtin_fma only for gcc 4.6 and up.
40895 * config.make.in: Add have-mfma4 entry.
40896 * configure.in: Substitute libc_cv_cc_fma4.
40897 * math/Makefile (dbl-only-routines): Add sincostab.
40898 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40899 Use __sincostab not sincos.
40900 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40907 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40908 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40909 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40910 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40912 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40913 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40915 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40916 define aliases when function name is a macro.
40917 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40918 sysdeps/ieee754/dbl-64/sincos.tbl.
40919 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40920 fma4-enabled routines.
40921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40922 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40923 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40924 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40926 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40927 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40928 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40929 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40930 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40931 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40932 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40933 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40934 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40935 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40936 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40937 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40938 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40939 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40941 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40942 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40947 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40948 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40949 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40950 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40952 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40961 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40963 2011-10-24 Andreas Schwab <schwab@redhat.com>
40965 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40967 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40969 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40971 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40975 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40976 Remove unused variable magic_bits.
40977 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40979 * string/strnlen.c: Define and use STRNLEN macro.
40980 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40981 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40983 * wcsmbs/wcslen.c: Define and use WCSLEN.
40984 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40985 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40986 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40987 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40988 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40989 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40990 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40992 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40995 strnlen-sse2-no-bsf.
40996 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40998 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40999 Add strnlen support.
41000 (USE_AS_STRNLEN): New macro.
41001 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41003 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41004 * sysdeps/x86_64/wcslen.S: New file.
41006 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41009 XMM-moves are used for copying on small sizes.
41011 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41013 * wcsmbs/Makefile (strop-tests): Add wcschr.
41014 * wcsmbs/test-wcschr.c: New file.
41015 * string/test-strchr.c: Update.
41016 Add wcschr support.
41019 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41021 * wcsmbs/Makefile (strop-tests): Add wcslen.
41022 * wcsmbs/test-wcslen.c: New file.
41023 * string/test-strlen.c: Update.
41024 Add wcslen support.
41027 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41029 * po/it.po: Update from translation team.
41031 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41033 * sysdeps/x86_64/wcscmp.S: Update.
41034 Fix wrong comparison semantics.
41035 wcscmp shall use signed comparison not unsigned.
41036 Don't use substraction to avoid overflow bug.
41037 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41038 * wcsmbc/wcscmp.c: Likewise.
41039 * string/test-strcmp.c: Likewise.
41040 Add new tests to check cases with negative values.
41042 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41044 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41045 * sysdeps/x86_64/dla.h: ...here. New file.
41046 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41051 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41056 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41059 __ynl_finite aliases.
41061 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41065 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41067 [DLA_FMA] (EMULV): Use DLA_FMA.
41068 [DLA_FMA] (MUL12): Use EMULV.
41069 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41070 that are not needed.
41071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41079 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41081 * math/s_nan.c: Undef __nan.
41082 * math/s_nanf.c: Undef __nanf.
41083 * math/s_nanl.c: Undef __nanl.
41084 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41087 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41089 * math/s_catan.c: Add branch predictions.
41090 * math/s_catanf.c: Likewise.
41091 * math/s_catanh.c: Likewise.
41092 * math/s_catanhf.c: Likewise.
41093 * math/s_catanhl.c: Likewise.
41094 * math/s_catanl.c: Likewise.
41095 * math/s_cexp.c: Likewise.
41096 * math/s_cexpf.c: Likewise.
41097 * math/s_cexpl.c: Likewise.
41098 * math/s_clog.c: Likewise.
41099 * math/s_clog10.c: Likewise.
41100 * math/s_clog10f.c: Likewise.
41101 * math/s_clog10l.c: Likewise.
41102 * math/s_clogf.c: Likewise.
41103 * math/s_clogl.c: Likewise.
41104 * math/s_csqrt.c: Likewise.
41105 * math/s_csqrtf.c: Likewise.
41106 * math/s_csqrtl.c: Likewise.
41107 * math/s_ctanf.c: Likewise.
41108 * math/s_ctanh.c: Likewise.
41109 * math/s_ctanhf.c: Likewise.
41110 * math/s_ctanhl.c: Likewise.
41111 * math/s_ctanl.c: Likewise.
41113 * math/math_private.h: Define __nan, __nanf, __nanl.
41114 * math/s_cacosh.c: Include <math_private.h>.
41115 * math/s_cacoshl.c: Likewise.
41116 * math/s_casinh.c: Likewise.
41117 * math/s_casinhf.c: Likewise.
41118 * math/s_casinhl.c: Likewise.
41119 * math/s_ccos.c: Rely entire on ccosh.
41120 * math/s_ccosf.c: Rely entire on ccoshf.
41121 * math/s_ccosl.c: Rely entirely on ccoshl.
41122 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41123 Remove tests for FE_INVALID.
41124 * math/s_ccoshf.c: Likewise.
41125 * math/s_ccoshl.c: Likewise.
41126 * math/s_csin.c: Likewise.
41127 * math/s_csinf.c: Likewise.
41128 * math/s_csinh.c Likewise.
41129 * math/s_csinhf.c: Likewise.
41130 * math/s_csinhl.c: Likewise.
41131 * math/s_csinl.c: Likewise.
41132 * math/s_ctan.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41134 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41137 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41140 compilation problems.
41142 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41145 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41147 * sysdeps/i386/configure.in: Test for -mfma4 option.
41148 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41149 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41150 COMMON_CPUID_INDEX_80000001.
41151 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41152 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41153 use it if FMA3 is not supported.
41154 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41156 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41157 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41159 2011-10-20 Andreas Schwab <schwab@redhat.com>
41162 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41163 it would create a cycle with a link time dependency.
41165 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41167 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41169 * string/Makefile (strop-tests): Add rawmemchr.
41170 * string/test-rawmemchr.c: New file.
41172 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41174 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41175 when compiling str{,n}casecmp and when AVX is available. Hook up
41176 new optimized code in initializers.
41178 2011-10-19 Andreas Schwab <schwab@redhat.com>
41180 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41181 __feraiseexcept instead of feraiseexcept.
41183 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41185 * math/math_private.h: Define defaults for libc_fetestexcept and
41187 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41188 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41189 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41191 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41192 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41193 libc_fetestexcept and libc_feupdateenv.
41195 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41196 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41197 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41198 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41199 libc_feholdexcept_setround.
41201 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41202 Add s_nearbyint-c and s_nearbyintf-c.
41203 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41204 nearbyintf inlines.
41205 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41206 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41207 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41208 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41210 * math/math_private.h: Define defaults for libc_fegetround,
41211 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41212 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41213 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41214 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41215 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41216 standard functions.
41217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41218 Remove comments and hacks for old compiler versions.
41219 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41220 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41221 libc_feholdexceptl.
41223 2011-10-18 Andreas Schwab <schwab@redhat.com>
41225 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41226 (__feraiseexcept_renamed): Add __NTH.
41227 (feraiseexcept): Add __NTH. Rename local variables to fix
41228 namespace violations.
41230 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41232 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41236 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41237 recently added interfaces.
41238 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41240 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41241 about macro parameter expansion.
41243 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41244 __NO_MATH_INLINES is defined. Cleanups.
41246 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41247 and __floorf is target has SSE4.1.
41248 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41249 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41251 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41253 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41255 (floorf): Likewise.
41257 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41259 2011-10-17 Andreas Schwab <schwab@redhat.com>
41261 * misc/sys/cdefs.h: Fix last change.
41263 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41266 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41268 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41270 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41272 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41275 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41276 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41277 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41278 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41279 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41280 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41281 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41282 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41283 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41284 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41285 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41286 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41287 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41288 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41289 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41290 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41291 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41294 ceil, ceilf, floor, floorf.
41296 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41297 Perform IRELATIVE relocations last.
41299 * elf/do-rel.h: Add another parameter nrelative, replacing the
41300 local variable with the same name. Change name of the function
41301 to end in Rel or Rela (uppercase).
41302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41303 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41304 elf_dynamic_do_##reloc function.
41306 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41308 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41309 is sufficient, at least on modern CPUs.
41311 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41313 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41314 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41316 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41318 * math/bits/math-finite.h: Add entries for exp.
41319 * math/e_expl.c: Add __*_finite alias.
41320 * sysdeps/i386/fpu/e_exp.S: Likewise.
41321 * sysdeps/i386/fpu/e_expf.S: Likewise.
41322 * sysdeps/i386/fpu/e_expl.c: Likewise.
41323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41324 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41327 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41328 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41329 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41331 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41332 is sufficient, at least on modern CPUs.
41334 * ctype/ctype-info.c (__ctype_init): Define.
41335 * include/ctype.h (__ctype_init): Declare.
41336 (__ctype_b_loc): The variable is always initialized.
41337 (__ctype_toupper_loc): Likewise.
41338 (__ctype_tolower_loc): Likewise.
41339 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41340 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41342 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41344 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41346 * configure.in: Also look in $cxxmachine/include for C++ system
41349 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41351 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41352 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41353 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41354 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41356 (USE_AS_WMEMCMP): New macro.
41358 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41359 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41360 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41361 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41363 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41364 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41365 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41366 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41367 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41369 (USE_AS_WMEMCMP): New macro.
41370 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41371 * sysdeps/string/test-memcmp.c: Update.
41372 Fix simple_wmemcmp.
41374 * wcsmbs/wmemcmp.c: Update.
41375 (WMEMCMP): New macro.
41378 2011-10-12 Andreas Jaeger <aj@suse.de>
41381 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41383 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41385 * libio/iofwide.c (do_length): Avoid warning.
41387 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41389 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41391 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41393 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41394 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41395 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41396 * sysdeps/i386/i686/fpu/e_log.S: New file.
41397 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41398 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41400 * ctype/ctype.h: Add support for inlined isXXX functions when
41401 compiling C++ code.
41403 2011-10-14 Andreas Schwab <schwab@redhat.com>
41405 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41409 2011-10-13 Roland McGrath <roland@hack.frob.com>
41412 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41414 2011-10-13 Andreas Schwab <schwab@redhat.com>
41416 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41417 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41420 * sysdeps/x86_64/memrchr.S: Check for zero size.
41422 * string/stratcliff.c: Add memrchr tests.
41424 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41427 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41428 rawmemchr-sse2 rawmemchr-sse2-bsf.
41429 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41430 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41431 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41432 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41433 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41434 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41435 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41436 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41437 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41438 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41439 * string/memrchr.c (MEMRCHR): New macro.
41441 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41443 Add integration with gcc's -ffinite-math-only and optimize wrapper
41445 * Versions.def: Define GLIBC_2.15 version for libm.
41446 * math/Makefile (headers): Add bits/math-finite.h.
41447 * math/bits/math-finite.h: New file.
41448 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41449 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41450 * math/e_acoshl.c: Add __*_finite alias.
41451 * math/e_acosl.c: Likewise.
41452 * math/e_asinl.c: Likewise.
41453 * math/e_atan2l.c: Likewise.
41454 * math/e_atanhl.c: Likewise.
41455 * math/e_coshl.c: Likewise.
41456 * math/e_exp10.c: Likewise.
41457 * math/e_exp10f.c: Likewise.
41458 * math/e_exp10l.c: Likewise.
41459 * math/e_exp2l.c: Likewise.
41460 * math/e_fmodl.c: Likewise.
41461 * math/e_gammal_r.c: Likewise.
41462 * math/e_hypotl.c: Likewise.
41463 * math/e_j0l.c: Likewise.
41464 * math/e_j1l.c: Likewise.
41465 * math/e_jnl.c: Likewise.
41466 * math/e_lgammal_r.c: Likewise.
41467 * math/e_log10l.c: Likewise.
41468 * math/e_log2l.c: Likewise.
41469 * math/e_logl.c: Likewise.
41470 * math/e_powl.c: Likewise.
41471 * math/e_sinhl.c: Likewise.
41472 * math/e_sqrtl.c: Likewise.
41473 * math/e_scalb.c: Completely rewritten and optimized.
41474 * math/e_scalbf.c: Likewise.
41475 * math/e_scalbl.c: Likewise.
41476 * math/w_acos.c: Likewise.
41477 * math/w_acosf.c: Likewise.
41478 * math/w_acosl.c: Likewise.
41479 * math/w_acosh.c: Likewise.
41480 * math/w_acoshf.c: Likewise.
41481 * math/w_acoshl.c: Likewise.
41482 * math/w_asin.c: Likewise.
41483 * math/w_asinf.c: Likewise.
41484 * math/w_asinl.c: Likewise.
41485 * math/w_atan2.c: Likewise.
41486 * math/w_atan2f.c: Likewise.
41487 * math/w_atan2l.c: Likewise.
41488 * math/w_atanh.c: Likewise.
41489 * math/w_atanhf.c: Likewise.
41490 * math/w_atanhl.c: Likewise.
41491 * math/w_exp10.c: Likewise.
41492 * math/w_exp10f.c: Likewise.
41493 * math/w_exp10l.c: Likewise.
41494 * math/w_fmod.c: Likewise.
41495 * math/w_fmodf.c: Likewise.
41496 * math/w_fmodl.c: Likewise.
41497 * math/w_j0.c: Likewise.
41498 * math/w_j0f.c: Likewise.
41499 * math/w_j0l.c: Likewise.
41500 * math/w_j1.c: Likewise.
41501 * math/w_j1f.c: Likewise.
41502 * math/w_j1l.c: Likewise.
41503 * math/w_jn.c: Likewise.
41504 * math/w_jnf.c: Likewise.
41505 * math/w_log.c: Likewise.
41506 * math/w_logf.c: Likewise.
41507 * math/w_logl.c: Likewise.
41508 * math/w_log10.c: Likewise.
41509 * math/w_log10f.c: Likewise.
41510 * math/w_log10l.c: Likewise.
41511 * math/w_log2.c: Likewise.
41512 * math/w_log2f.c: Likewise.
41513 * math/w_log2l.c: Likewise.
41514 * math/w_pow.c: Likewise.
41515 * math/w_powf.c: Likewise.
41516 * math/w_powl.c: Likewise.
41517 * math/w_remainder.c: Likewise.
41518 * math/w_remainderf.c: Likewise.
41519 * math/w_remainderl.c: Likewise.
41520 * math/w_scalb.c: Likewise.
41521 * math/w_scalbf.c: Likewise.
41522 * math/w_scalbl.c: Likewise.
41523 * math/w_sqrt.c: Likewise.
41524 * math/w_sqrtf.c: Likewise.
41525 * math/w_sqrtl.c: Likewise.
41526 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41527 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41529 * math/math_private.h: Declare __kernel_standard_f.
41530 * math/w_cosh.c: Remove cruft and optimize a bit.
41531 * math/w_coshf.c: Likewise.
41532 * math/w_coshl.c: Likewise.
41533 * math/w_exp2.c: Likewise.
41534 * math/w_exp2f.c: Likewise.
41535 * math/w_exp2l.c: Likewise.
41536 * math/w_hypot.c: Likewise.
41537 * math/w_hypotf.c: Likewise.
41538 * math/w_hypotl.c: Likewise.
41539 * math/w_lgamma.c: Likewise.
41540 * math/w_lgamma_r.c: Likewise.
41541 * math/w_lgammaf.c: Likewise.
41542 * math/w_lgammaf_r.c: Likewise.
41543 * math/w_lgammal.c: Likewise.
41544 * math/w_lgammal_r.c: Likewise.
41545 * math/w_sinh.c: Likewise.
41546 * math/w_sinhf.c: Likewise.
41547 * math/w_sinhl.c: Likewise.
41548 * math/w_tgamma.c: Likewise.
41549 * math/w_tgammaf.c: Likewise.
41550 * math/w_tgammal.c: Likewise.
41551 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41553 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41554 Minor optimizations. Pretty printing. Remove cruft.
41555 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41556 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41557 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41558 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41559 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41560 * sysdeps/i386/fpu/e_asin.S: Likewise.
41561 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41562 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41563 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41564 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41565 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41566 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41567 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41568 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41569 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41570 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41571 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41572 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41573 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41574 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41575 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41576 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41577 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41578 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41579 * sysdeps/i386/fpu/e_log.S: Likewise.
41580 * sysdeps/i386/fpu/e_log10.S: Likewise.
41581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41583 * sysdeps/i386/fpu/e_log2.S: Likewise.
41584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41585 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41586 * sysdeps/i386/fpu/e_logf.S: Likewise.
41587 * sysdeps/i386/fpu/e_logl.S: Likewise.
41588 * sysdeps/i386/fpu/e_pow.S: Likewise.
41589 * sysdeps/i386/fpu/e_powf.S: Likewise.
41590 * sysdeps/i386/fpu/e_powl.S: Likewise.
41591 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41592 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41593 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41594 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41597 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41598 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41599 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41601 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41611 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41616 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41617 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41618 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41620 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41621 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41622 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41623 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41624 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41626 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41627 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41628 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41629 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41630 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41631 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41632 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41633 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41634 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41635 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41636 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41637 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41638 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41639 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41640 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41641 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41642 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41643 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41645 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41646 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41647 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41648 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41649 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41650 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41652 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41653 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41654 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41655 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41656 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41657 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41658 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41659 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41660 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41669 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41678 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41680 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41681 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41691 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41692 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41693 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41695 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41696 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41697 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41698 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41699 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41700 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41701 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41702 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41703 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41704 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41705 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41708 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41709 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41710 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41711 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41712 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41713 (__isnanf): Likewise.
41714 (__isinf_ns): Likewise.
41715 (__isinf_nsf): Likewise.
41716 (__finite): Likewise.
41717 (__finitef): Likewise.
41718 (__ieee754_sqrt): Define as macro.
41719 (__ieee754_sqrtf): Define as macro.
41720 (__ieee754_sqrtl): Define as macro.
41721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41723 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41724 __FINITE_MATH_ONLY__ consistent.
41725 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41727 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41729 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41734 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41736 * po/ja.po: Update from translation team.
41738 2011-10-08 Roland McGrath <roland@hack.frob.com>
41740 * locale/programs/locarchive.c (prepare_address_space): New function.
41741 (create_archive, enlarge_archive, open_archive): Use it.
41743 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41744 inside [SHARED], where it is used.
41746 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41748 * nss/getent.c (netgroup_keys): Remove unused variable.
41749 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41751 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41753 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41757 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41758 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41759 * math/Makefile (libm-calls): Add s_isinf_ns.
41760 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41761 * math/multc3.c: Likewise.
41762 * math/s_casin.c: Likewise.
41763 * math/s_casinf.c: Likewise.
41764 * math/s_casinl.c: Likewise.
41765 * math/s_ccos.c: Likewise.
41766 * math/s_ccosf.c: Likewise.
41767 * math/s_ccosl.c: Likewise.
41768 * math/s_ctan.c: Likewise.
41769 * math/s_ctanf.c: Likewise.
41770 * math/s_ctanh.c: Likewise.
41771 * math/s_ctanhf.c: Likewise.
41772 * math/s_ctanhl.c: Likewise.
41773 * math/s_ctanl.c: Likewise.
41774 * math/w_fmod.c: Likewise.
41775 * math/w_fmodf.c: Likewise.
41776 * math/w_fmodl.c: Likewise.
41777 * math/w_remainder.c: Likewise.
41778 * math/w_remainderf.c: Likewise.
41779 * math/w_remainderl.c: Likewise.
41780 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41781 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41784 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41785 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41786 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41787 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41789 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41791 * stdio-common/printf_fphex.c: Likewise.
41792 * stdio-common/printf_size.c: Likewise.
41794 * math/e_exp10.c: Include math_private.h using <...> not "...".
41795 * math/e_exp10f.c: Likewise.
41796 * math/e_exp10l.c: Likewise.
41797 * math/e_exp2l.c: Likewise.
41798 * math/e_j0l.c: Likewise.
41799 * math/e_j1l.c: Likewise.
41800 * math/e_jnl.c: Likewise.
41801 * math/e_lgammal_r.c: Likewise.
41802 * math/e_rem_pio2l.c: Likewise.
41803 * math/e_scalb.c: Likewise.
41804 * math/e_scalbf.c: Likewise.
41805 * math/e_scalbl.c: Likewise.
41806 * math/k_cosl.c: Likewise.
41807 * math/k_sinl.c: Likewise.
41808 * math/k_tanl.c: Likewise.
41809 * math/s_cacoshf.c: Likewise.
41810 * math/s_catan.c: Likewise.
41811 * math/s_catanf.c: Likewise.
41812 * math/s_catanh.c: Likewise.
41813 * math/s_catanhf.c: Likewise.
41814 * math/s_catanhl.c: Likewise.
41815 * math/s_catanl.c: Likewise.
41816 * math/s_ccosh.c: Likewise.
41817 * math/s_ccoshf.c: Likewise.
41818 * math/s_ccoshl.c: Likewise.
41819 * math/s_cexp.c: Likewise.
41820 * math/s_cexpf.c: Likewise.
41821 * math/s_cexpl.c: Likewise.
41822 * math/s_clog.c: Likewise.
41823 * math/s_clog10.c: Likewise.
41824 * math/s_clog10f.c: Likewise.
41825 * math/s_clog10l.c: Likewise.
41826 * math/s_clogf.c: Likewise.
41827 * math/s_clogl.c: Likewise.
41828 * math/s_csin.c: Likewise.
41829 * math/s_csinf.c: Likewise.
41830 * math/s_csinh.c: Likewise.
41831 * math/s_csinhf.c: Likewise.
41832 * math/s_csinhl.c: Likewise.
41833 * math/s_csinl.c: Likewise.
41834 * math/s_csqrt.c: Likewise.
41835 * math/s_csqrtf.c: Likewise.
41836 * math/s_csqrtl.c: Likewise.
41837 * math/s_ctan.c: Likewise.
41838 * math/s_ctanf.c: Likewise.
41839 * math/s_ctanh.c: Likewise.
41840 * math/s_ctanhf.c: Likewise.
41841 * math/s_ctanhl.c: Likewise.
41842 * math/s_ctanl.c: Likewise.
41843 * math/s_ldexp.c: Likewise.
41844 * math/s_ldexpf.c: Likewise.
41845 * math/s_ldexpl.c: Likewise.
41846 * math/s_significand.c: Likewise.
41847 * math/s_significandf.c: Likewise.
41848 * math/s_significandl.c: Likewise.
41849 * math/w_acos.c: Likewise.
41850 * math/w_acosf.c: Likewise.
41851 * math/w_acosh.c: Likewise.
41852 * math/w_acoshf.c: Likewise.
41853 * math/w_acoshl.c: Likewise.
41854 * math/w_acosl.c: Likewise.
41855 * math/w_asin.c: Likewise.
41856 * math/w_asinf.c: Likewise.
41857 * math/w_asinl.c: Likewise.
41858 * math/w_atan2.c: Likewise.
41859 * math/w_atan2f.c: Likewise.
41860 * math/w_atan2l.c: Likewise.
41861 * math/w_atanh.c: Likewise.
41862 * math/w_atanhf.c: Likewise.
41863 * math/w_atanhl.c: Likewise.
41864 * math/w_cosh.c: Likewise.
41865 * math/w_coshf.c: Likewise.
41866 * math/w_coshl.c: Likewise.
41867 * math/w_dremf.c: Likewise.
41868 * math/w_exp10.c: Likewise.
41869 * math/w_exp10f.c: Likewise.
41870 * math/w_exp10l.c: Likewise.
41871 * math/w_exp2.c: Likewise.
41872 * math/w_exp2f.c: Likewise.
41873 * math/w_fmod.c: Likewise.
41874 * math/w_fmodf.c: Likewise.
41875 * math/w_fmodl.c: Likewise.
41876 * math/w_hypot.c: Likewise.
41877 * math/w_hypotf.c: Likewise.
41878 * math/w_hypotl.c: Likewise.
41879 * math/w_j0.c: Likewise.
41880 * math/w_j0f.c: Likewise.
41881 * math/w_j0l.c: Likewise.
41882 * math/w_j1.c: Likewise.
41883 * math/w_j1f.c: Likewise.
41884 * math/w_j1l.c: Likewise.
41885 * math/w_jn.c: Likewise.
41886 * math/w_jnf.c: Likewise.
41887 * math/w_jnl.c: Likewise.
41888 * math/w_lgamma.c: Likewise.
41889 * math/w_lgamma_r.c: Likewise.
41890 * math/w_lgammaf.c: Likewise.
41891 * math/w_lgammaf_r.c: Likewise.
41892 * math/w_lgammal.c: Likewise.
41893 * math/w_lgammal_r.c: Likewise.
41894 * math/w_log.c: Likewise.
41895 * math/w_log10.c: Likewise.
41896 * math/w_log10f.c: Likewise.
41897 * math/w_log10l.c: Likewise.
41898 * math/w_log2.c: Likewise.
41899 * math/w_log2f.c: Likewise.
41900 * math/w_log2l.c: Likewise.
41901 * math/w_logf.c: Likewise.
41902 * math/w_logl.c: Likewise.
41903 * math/w_pow.c: Likewise.
41904 * math/w_powf.c: Likewise.
41905 * math/w_powl.c: Likewise.
41906 * math/w_remainder.c: Likewise.
41907 * math/w_remainderf.c: Likewise.
41908 * math/w_remainderl.c: Likewise.
41909 * math/w_scalb.c: Likewise.
41910 * math/w_scalbf.c: Likewise.
41911 * math/w_scalbl.c: Likewise.
41912 * math/w_sinh.c: Likewise.
41913 * math/w_sinhf.c: Likewise.
41914 * math/w_sinhl.c: Likewise.
41915 * math/w_sqrt.c: Likewise.
41916 * math/w_sqrtf.c: Likewise.
41917 * math/w_sqrtl.c: Likewise.
41918 * math/w_tgamma.c: Likewise.
41919 * math/w_tgammaf.c: Likewise.
41920 * math/w_tgammal.c: Likewise.
41922 * po/ja.po: Update from translation team.
41924 2011-09-29 Andreas Jaeger <aj@suse.de>
41927 * sunrpc/netname.c (netname2host): Fix logic.
41931 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41933 * math/w_remainder.c (__remainder): Likewise.
41934 * math/w_remainderf.c (__remainderf): Likewise.
41935 * math/libm-test.inc (remainder_test): Add test cases.
41937 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41939 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41942 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41944 * string/test-memcmp.c: Avoid unncessary #defines.
41945 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41947 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41949 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41950 Use new sse2 version for core i3 - i7 as it's faster
41951 than sse42 version.
41952 (bit_Prefer_PMINUB_for_stringop): New.
41953 * sysdeps/x86_64/rawmemchr.S: Update.
41954 Replace with faster SSE2 version.
41955 * sysdeps/x86_64/memrchr.S: New file.
41956 * sysdeps/x86_64/memchr.S: Update.
41957 Replace with faster SSE2 version.
41959 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41961 * elf/dl-load.c (lose): Add cast to avoid warning.
41963 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41965 * po/ca.po: Update from translation team.
41967 * inet/getnetgrent_r.c: Hook up nscd.
41968 * nscd/Makefile (routines): Add nscd_netgroup.
41969 (nscd-modules): Add netgroupcache.
41970 (CFLAGS-netgroupcache.c): Define.
41971 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41972 (cache_search): Add const to second parameter.
41973 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41975 (dbs): Add netgrdb entry.
41976 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41977 (verify_persistent_db): Handle netgrdb.
41978 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41979 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41981 (netgroup_response_header): Define.
41982 (innetgroup_response_header): Define.
41983 (datahead): Add netgroup_response_header and innetgroup_response_header
41985 * nscd/nscd.conf: Add entries for netgroup cache.
41986 * nscd/nscd.h (dbtype): Add netgrdb.
41987 (_PATH_NSCD_NETGROUP_DB): Define.
41988 (netgroup_iov_disabled): Declare.
41989 (xmalloc, xcalloc, xrealloc): Move declarations here.
41990 (cache_search): Adjust prototype.
41991 Add netgroup-related prototypes.
41992 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41993 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41994 (__nscd_innetgr): Declare.
41995 * nscd/selinux.c (perms): Use access_vector_t as element type and
41996 add netgroup-related initializers.
41997 * nscd/netgroupcache.c: New file.
41998 * nscd/nscd_netgroup.c: New file.
41999 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42000 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42001 For four parameters use innetgr.
42002 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42003 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42004 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42005 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42007 * nscd/connections.c (register_traced_file): Don't register file
42008 for disabled databases.
42010 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42012 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42014 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42015 from tree and freeing node.
42017 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42019 * nss/nsswitch.c (__nss_database_lookup): Handle
42020 nss_parse_service_list out of memory case.
42022 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42024 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42025 out of memory case.
42027 2011-10-04 Andreas Schwab <schwab@redhat.com>
42029 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42030 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42032 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42033 elf_machine_rela, elf_machine_lazy_rel.
42034 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42035 (ELF_DYNAMIC_DO_REL): Likewise.
42036 (ELF_DYNAMIC_DO_RELA): Likewise.
42037 (ELF_DYNAMIC_RELOCATE): Likewise.
42038 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42039 to ELF_DYNAMIC_DO_REL.
42040 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42041 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42042 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42044 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42045 skip_ifunc, don't call ifunc function if non-zero.
42046 (elf_machine_rela): Likewise.
42047 (elf_machine_lazy_rel): Likewise.
42048 (elf_machine_lazy_rela): Likewise.
42049 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42050 (elf_machine_lazy_rel): Likewise.
42051 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42053 (elf_machine_lazy_rel): Likewise.
42054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42056 (elf_machine_lazy_rel): Likewise.
42057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42058 (elf_machine_lazy_rel): Likewise.
42059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42060 (elf_machine_lazy_rel): Likewise.
42061 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42062 (elf_machine_lazy_rel): Likewise.
42063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42064 (elf_machine_lazy_rel): Likewise.
42065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42066 (elf_machine_lazy_rel): Likewise.
42067 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42068 (elf_machine_lazy_rel): Likewise.
42070 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42072 * nss/nss_files/files-init.c (_nss_files_init): Use static
42073 initialization for all the *_traced_file variables.
42075 2011-09-28 Andreas Schwab <schwab@redhat.com>
42077 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42079 2011-09-27 Roland McGrath <roland@hack.frob.com>
42082 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42084 2011-09-27 Andreas Schwab <schwab@redhat.com>
42086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42087 Reread the line before reparsing it.
42089 2011-09-26 Andreas Schwab <schwab@redhat.com>
42091 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42093 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42094 Maxim Kuvyrkov <maxim@codesourcery.com>
42095 Joseph Myers <joseph@codesourcery.com>
42097 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42098 if needed for __stack_chk_guard.
42100 2011-09-19 Roland McGrath <roland@hack.frob.com>
42102 * sysdeps/posix/spawni.c (script_execute): Always define it.
42103 It will be optimized away if unused.
42104 (maybe_script_execute): New function.
42105 (__spawni): Call it.
42107 * Makerules: Don't include tls.make.
42108 (config-tls): Always set to thread.
42109 * tls.make.c: File removed.
42111 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42113 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42114 * config.make.in (CPPFLAGS-config): New substituted variable.
42116 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42121 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42122 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42124 2011-09-15 Roland McGrath <roland@hack.frob.com>
42126 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42127 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42129 (CALL_FAIL): Likewise.
42130 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42131 (CALL_FAIL): Macro removed.
42132 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42134 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42136 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42137 for __FINITE_MATH_ONLY__ == 1.
42139 2011-09-15 Andreas Schwab <schwab@redhat.com>
42141 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42142 __ieee754_sqrt instead of sqrt.
42143 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42144 __ieee754_sqrtf instead of sqrtf.
42145 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42146 __floorf instead of floorf.
42147 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42148 __floorf, __truncf instead of floorf, truncf.
42150 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42152 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42154 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42155 __extern_always_inline.
42156 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42159 2011-09-14 Andreas Schwab <schwab@redhat.com>
42161 * elf/rtld.c (dl_main): Also relocate in dependency order when
42162 doing symbol dependency testing.
42164 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42167 Always define `refsym'.
42169 2011-09-13 Andreas Schwab <schwab@redhat.com>
42171 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42172 (__FD_ELT): Renamed from __FDELT.
42173 * misc/bits/select2.h (__FD_ELT): Likewise.
42174 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42175 __FD_MASK instead of __FDELT, __FDMASK.
42176 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42178 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42181 * elf/Makefile (gen-ldd): Fix pattern.
42183 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42184 (init_tls): Likewise.
42186 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42190 2011-09-12 Andreas Schwab <schwab@redhat.com>
42192 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42193 `struct cmsghdr *' instead of `void *'.
42194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42197 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42199 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42201 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42202 ldd_rewrite_script.
42204 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42206 * configure.in: Remove --with-tls option.
42207 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42208 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42209 out in case it is missing.
42210 * sysdeps/ia64/elf/configure.in: Likewise.
42211 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42212 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42213 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42214 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42215 * sysdeps/sh/elf/configure.in: Likewise.
42216 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42218 * sysdeps/x86_64/elf/configure.in: Likewise.
42219 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42220 * sysdeps/mach/hurd/tls.h: Likewise.
42223 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42226 * configure.in: Fix use of AC_INIT.
42228 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42230 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42232 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42234 * malloc/hooks.c: Likewise.
42237 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42238 variables statically.
42239 (narenas): Initialize.
42240 (list_lock): Initialize.
42241 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42242 initializtion of main_arena and list_lock. Small cleanups.
42243 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42244 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42245 Add initializers to main_arena and mp_.
42246 (malloc_state): Remove pagesize member. Change all users to use
42249 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42250 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42251 is always initialized.
42253 * malloc/malloc.c: Removed unused configurations and dead code.
42254 * malloc/arena.c: Likewise.
42255 * malloc/hooks.c: Likewise.
42256 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42258 * include/tls.h: Removed. USE___THREAD must always be defined.
42259 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42260 * elf/dl-libc.c: Likewise.
42261 * elf/dl-tsd.c: Likewise.
42262 * include/errno.h: Likewise.
42263 * include/netdb.h: Likewise.
42264 * include/resolv.h: Likewise.
42265 * inet/herrno-loc.c: Likewise.
42266 * inet/herrno.c: Likewise.
42267 * malloc/arena.c: Likewise.
42268 * malloc/hooks.c: Likewise.
42269 * malloc/malloc.c: Likewise.
42270 * resolv/res-state.c: Likewise.
42271 * resolv/res_libc.c: Likewise.
42272 * sysdeps/i386/dl-machine.h: Likewise.
42273 * sysdeps/ia64/dl-machine.h: Likewise.
42274 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42275 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42276 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42277 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42278 * sysdeps/sh/dl-machine.h: Likewise.
42279 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42281 * sysdeps/unix/i386/sysdep.S: Likewise.
42282 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42283 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42284 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42288 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42289 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42293 * sysdeps/x86_64/dl-machine.h: Likewise.
42294 * tls.make.c: Likewise.
42296 * configure.in: Remove --with-__thread option. Make tests for
42297 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42298 tls_model attribute fail if no support is available. Remove
42300 * Makeconfig: Adjust for dropped configure option. All features are
42302 * Makerules: Likewise.
42303 * Versions.def: Likewise.
42304 * argp/argp-fmtstream.c: Likewise.
42305 * argp/argp-fmtstream.h: Likewise.
42306 * argp/argp-help.c: Likewise.
42307 * assert/assert.c: Likewise.
42308 * config.h.in: Likewise.
42309 * config.make.in: Likewise.
42310 * configure: Likewise.
42311 * configure.in: Likewise.
42312 * csu/Versions: Likewise.
42313 * csu/init.c: Likewise.
42314 * elf/tst-audit2.c: Likewise.
42315 * elf/tst-tls10.c: Likewise.
42316 * elf/tst-tls10.h: Likewise.
42317 * elf/tst-tls11.c: Likewise.
42318 * elf/tst-tls12.c: Likewise.
42319 * elf/tst-tls14.c: Likewise.
42320 * elf/tst-tlsmod11.c: Likewise.
42321 * elf/tst-tlsmod12.c: Likewise.
42322 * elf/tst-tlsmod13.c: Likewise.
42323 * elf/tst-tlsmod13a.c: Likewise.
42324 * elf/tst-tlsmod14a.c: Likewise.
42325 * elf/tst-tlsmod15b.c: Likewise.
42326 * elf/tst-tlsmod16a.c: Likewise.
42327 * elf/tst-tlsmod16b.c: Likewise.
42328 * elf/tst-tlsmod7.c: Likewise.
42329 * elf/tst-tlsmod8.c: Likewise.
42330 * elf/tst-tlsmod9.c: Likewise.
42331 * gmon/gmon.c: Likewise.
42332 * grp/fgetgrent_r.c: Likewise.
42333 * grp/putgrent.c: Likewise.
42334 * hurd/fopenport.c: Likewise.
42335 * include/libc-symbols.h: Likewise.
42336 * include/tls.h: Likewise.
42337 * intl/gettextP.h: Likewise.
42338 * intl/loadinfo.h: Likewise.
42339 * locale/global-locale.c: Likewise.
42340 * locale/localeinfo.h: Likewise.
42341 * mach/devstream.c: Likewise.
42342 * malloc/arena.c: Likewise.
42343 * malloc/set-freeres.c: Likewise.
42344 * misc/err.c: Likewise.
42345 * misc/getttyent.c: Likewise.
42346 * misc/mntent_r.c: Likewise.
42347 * posix/getopt.c: Likewise.
42348 * posix/wordexp.c: Likewise.
42349 * pwd/fgetpwent_r.c: Likewise.
42350 * resolv/Versions: Likewise.
42351 * resolv/res_hconf.c: Likewise.
42352 * shadow/fgetspent_r.c: Likewise.
42353 * shadow/putspent.c: Likewise.
42354 * stdio-common/printf_fphex.c: Likewise.
42355 * stdio-common/tmpfile.c: Likewise.
42356 * stdlib/abort.c: Likewise.
42357 * stdlib/fmtmsg.c: Likewise.
42358 * sunrpc/auth_unix.c: Likewise.
42359 * sunrpc/clnt_perr.c: Likewise.
42360 * sunrpc/clnt_tcp.c: Likewise.
42361 * sunrpc/clnt_udp.c: Likewise.
42362 * sunrpc/clnt_unix.c: Likewise.
42363 * sunrpc/openchild.c: Likewise.
42364 * sunrpc/svc_simple.c: Likewise.
42365 * sunrpc/svc_tcp.c: Likewise.
42366 * sunrpc/svc_udp.c: Likewise.
42367 * sunrpc/svc_unix.c: Likewise.
42368 * sunrpc/xdr.c: Likewise.
42369 * sunrpc/xdr_array.c: Likewise.
42370 * sunrpc/xdr_rec.c: Likewise.
42371 * sunrpc/xdr_ref.c: Likewise.
42372 * sunrpc/xdr_stdio.c: Likewise.
42374 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42376 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42378 2011-07-03 Andreas Jaeger <aj@suse.de>
42380 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42381 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42382 regenerate with gen-libm-tests.pl.
42384 2010-05-12 Petr Baudis <pasky@suse.cz>
42387 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42388 around j0() zero points by switching to j1().
42389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42394 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42396 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42398 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42401 Patch in part by Pavel Roskin <proski@gnu.org>.
42404 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42406 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42407 Free memory block if necessary.
42410 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42411 be NULL. Don't lock in this case.
42413 2011-09-09 Roland McGrath <roland@hack.frob.com>
42415 * elf/elf.h (ELFOSABI_GNU): New macro.
42416 (ELFOSABI_LINUX): Define to that.
42418 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42420 * string/strncat.c (strncat): Undef the symbol in case it has been
42421 defined in bits/string.h.
42423 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42425 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42427 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42430 2011-08-17 Andreas Jaeger <aj@suse.de>
42432 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42434 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42435 Ian Lance Taylor <iant@google.com>
42437 * math/libm-test.inc (lround_test): New testcase.
42438 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42440 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42442 * Makefile: Remove support for automatic cvs check-ins.
42443 * Makerules: Likewise.
42444 * config.make.in: Likewise.
42445 * configure.in: Likewise.
42446 * intl/Makefile: Likewise.
42447 * locale/Makefile: Likewise.
42448 * po/Makefile: Likewise.
42449 * posix/Makefile: Likewise.
42450 * sysdeps/gnu/Makefile: Likewise.
42451 * sysdeps/mach/hurd/Makefile: Likewise.
42452 * sysdeps/sparc/sparc32/Makefile: Likewise.
42455 * posix/Makefile (bug-regex32-ENV): Define.
42456 Patch by John Stanley <jpsinthemix@verizon.net>.
42458 * misc/Makefile (headers): Add bits/select2.h.
42459 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42460 * misc/bits/select2.h: New file.
42461 * include/bits/select2.h: New file.
42462 * debug/Makefile (routines): Add fdelt_chk.
42463 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42464 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42466 * debug/fdelt_chk.c: New file.
42468 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42469 * wcsmbs/test-wmemcmp.c: Likewise.
42470 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42471 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42473 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42475 * string/Makefile (strop-tests): Add memcmp.
42476 * string/test-wmemcmp.c: New file.
42477 * string/test-memcmp.c: Add wmemcmp support.
42479 2011-09-08 Roland McGrath <roland@hack.frob.com>
42482 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42485 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42486 garbage value in a __mach_port_mod_refs call in the cases of the
42487 task-self and thread-self ports.
42489 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42491 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42493 2011-09-08 Andreas Schwab <schwab@redhat.com>
42495 * elf/dl-load.c (lose): Check for non-null L.
42497 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42499 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42501 * elf/dl-libc.c (dlerror_run): Pass back error code from
42505 * elf/dl-load.c (lose): Free l_origin if it is valid.
42507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42509 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42514 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42516 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42518 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42519 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42520 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42522 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42523 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42524 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42525 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42526 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42527 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42529 2011-08-15 Alan Modra <amodra@gmail.com>
42532 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42533 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42534 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42535 ppc_mcount to static-only-routines.
42536 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42538 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42539 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42541 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42543 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42544 for finite and infinity parameters.
42546 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42548 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42549 and add nop instructions for throughput optimization.
42550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42552 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42555 aligned copy for power7 with vector-scalar instructions.
42556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42558 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42563 2011-09-07 Andreas Schwab <schwab@redhat.com>
42566 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42569 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42571 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42572 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42573 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42574 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42577 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42579 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42580 Forgot to demangle the pointer.
42582 * sysdeps/i386/sysdep.h: Define atom_text_section.
42583 * sysdeps/x86_64/sysdep.h: Likewise.
42584 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42585 section with atom_text_section.
42586 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42587 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42588 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42593 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42594 already be defined. Change to take two parameters and don't assign
42595 result to variable. Adjust all users.
42596 Define INTERNAL_GETTIME if not already defined.
42597 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42600 HAVE_CLOCK_GETTIME_VSYSCALL.
42601 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42603 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42604 gettimeofday vsyscall, just use time.
42606 2011-09-06 Andreas Schwab <schwab@redhat.com>
42608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42611 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42613 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42617 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42619 syscall if possible.
42621 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42623 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42624 e_ident. Don't pass to find_mapsXX.
42625 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42627 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42630 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42631 * sysdeps/x86_64/multiarch/strchr.S: Update.
42632 Check bit_slow_BSF bit.
42633 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42635 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42637 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42640 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42642 (tryshell): Define.
42643 (__spawni): Change last parameter to be flag. Test
42644 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42645 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42646 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42647 * posix/spawni.c: Likewise.
42648 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42649 * posix/spawnp.c: Likewise. Change normal version to use
42650 SPAWN_XFLAGS_USE_PATH.
42651 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42652 SPAWN_XFLAGS_TRY_SHELL.
42655 * posix/glob.h: Remove gcc 1.x support.
42658 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42660 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42663 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42665 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42666 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42667 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42669 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42670 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42672 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42674 * sysdeps/x86_64/wcscmp.S: New file.
42676 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42677 wcscmp-c wcscmp-sse2
42678 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42679 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42681 * wcsmbs/wcscmp.c: Allow renaming.
42683 2011-09-05 David S. Miller <davem@davemloft.net>
42685 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42686 stack slot, rather than the struct return pointer slot.
42687 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42688 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42692 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42694 * po/ja.po: Update from translation team.
42697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42698 kernel in 64-bit binaries.
42700 2011-09-01 David S. Miller <davem@davemloft.net>
42702 * elf/elf.h (HWCAP_SPARC_*): Move to..
42703 * sysdeps/sparc/sysdep.h: this new file and add new values.
42704 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42705 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42706 _DL_HWCAP_COUNT to 24.
42707 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42709 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42710 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42711 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42713 instead of magic constants.
42714 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42716 2011-08-31 David S. Miller <davem@davemloft.net>
42718 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42720 Reimplement to do errno handling inline.
42721 (SYSCALL_ERROR_HANDLER): New macro.
42722 (__SYSCALL_STRING): Do not do errno handling in asm.
42723 (__CLONE_SYSCALL_STRING): Delete.
42724 (__INTERNAL_SYSCALL_STRING): Delete.
42725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42726 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42727 (PSEUDO): Reimplement to do errno handling inline.
42728 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42729 (SYSCALL_ERROR_HANDLER): New macro.
42730 (__SYSCALL_STRING): Do not do errno handling in asm.
42731 (__CLONE_SYSCALL_STRING): Delete.
42732 (__INTERNAL_SYSCALL_STRING): Delete.
42733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42734 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42736 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42737 (inline_syscall*): Add 'err' argument.
42738 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42739 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42740 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42741 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42743 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42744 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42746 2011-08-30 Andreas Schwab <schwab@redhat.com>
42748 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42750 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42752 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42755 2011-08-24 David S. Miller <davem@davemloft.net>
42757 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42759 2011-08-24 Andreas Schwab <schwab@redhat.com>
42761 * elf/Makefile: Add rules to build and run unload8 test.
42762 * elf/unload8.c: New file.
42763 * elf/unload8mod1.c: New file.
42764 * elf/unload8mod1x.c: New file.
42765 * elf/unload8mod2.c: New file.
42766 * elf/unload8mod3.c: New file.
42768 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42771 2011-08-23 David S. Miller <davem@davemloft.net>
42773 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42774 subtract stack bias.
42775 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42776 %sp not %fp in calculations.
42777 (_JMPBUF_UNWINDS_ADJ): Likewise.
42779 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42780 (aio_suspend): Call it to force an exception region around the
42781 AIO_MISC_WAIT() invocation.
42783 2011-08-23 Andreas Schwab <schwab@redhat.com>
42785 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42788 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42790 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42792 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42793 and <dl-machine.h>.
42794 (Elf64_FuncDesc): Remove.
42796 2011-08-22 David S. Miller <davem@davemloft.net>
42798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42799 sigaltstack check, add missing cfi directives.
42800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42801 missing cfi directives, and sigaltstack handling.
42803 2011-08-16 Andreas Schwab <schwab@redhat.com>
42806 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42807 object is seen twice.
42808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42810 * elf/Makefile (distribute): Add tst-initorder2.c.
42811 (tests): Add tst-initorder2.
42812 (modules-names): Add tst-initorder2a tst-initorder2b
42813 tst-initorder2c tst-initorder2d. Add rules to build them.
42814 ($(objpfx)tst-initorder2.out): New rule.
42815 * elf/tst-initorder2.c: New file.
42816 * elf/tst-initorder2.exp: New file.
42818 2011-08-22 Andreas Schwab <schwab@redhat.com>
42820 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42822 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42823 dependencies back to end of function.
42825 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42826 $(elfobjdir)/ld.so.
42828 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42831 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42833 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42834 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42835 of __vdso_gettimeofday.
42836 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42837 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42839 (_libc_vdso_platform_setup): Remove initialization of
42840 __vdso_gettimeofday and __vdso_time.
42842 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42844 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42845 and fgetc_unlocked.
42846 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42849 * elf/dl-open.c (add_to_global): Report additions to the global scope
42850 for LD_DEBUG=scopes.
42851 (dl_open_worker): Also print scope of newly loaded dependencies.
42852 (_dl_show_scope): Indicate if there is no scope.
42855 * stdio-common/Makefile (tests): Add bug24.
42856 * stdio-common/bug24.c: New file.
42858 2011-08-19 Andreas Jaeger <aj@suse.de>
42861 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42862 non-existant file when using close-on-exec mode.
42864 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42867 the very first instruction.
42869 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42870 the CFI state in the end.
42871 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42872 inclusion of dl-trampoline.h.
42873 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42875 2011-08-19 Andreas Schwab <schwab@redhat.com>
42877 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42878 expectations for long double.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42881 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42883 2011-08-14 David S. Miller <davem@davemloft.net>
42885 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42886 artificual limit depends upon the system page size.
42888 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42890 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42891 * resolv/Makefile: Define CFLAGS-libresolv.
42893 2011-08-17 Andreas Schwab <schwab@redhat.com>
42895 * nss/makedb.c (compute_tables): Make variables used in nested
42898 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42900 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42901 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42902 if buffer was too small.
42904 * elf/pldd.c (main): Attach to all threads in the process.
42905 Rewrite /proc handling to use *at functions.
42907 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42909 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42910 specifies first scope to show.
42911 (dl_open_worker): Update callers. Move printing scope of new
42912 object to before the relocation.
42913 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42914 * sysdeps/generic/ldsodefs.h: Update declaration.
42916 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42917 string for the scope number.
42919 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42921 * nscd/servicescache.c (cache_addserv): Make sure written is always
42924 2011-08-14 Roland McGrath <roland@hack.frob.com>
42926 * sysdeps/i386/i486/bits/atomic.h
42927 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42928 statement expression, so as to suppress "set but not used" warning.
42929 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42931 * string/strncat.c (STRNCAT): Use prototype definition.
42933 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42934 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42936 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42937 (localedef-modules): Add localedef.
42938 (locale-modules): Add locale.
42940 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42941 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42942 to avoid a warning.
42944 2011-08-14 David S. Miller <davem@davemloft.net>
42946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42947 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42949 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42951 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42952 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42953 * elf/rtld.c (dl_main): Set l_name of vDSO.
42954 Call _dl_show_scope when DL_DEBUG_SCOPES.
42955 (process_dl_debug): Recognize scopes flag and also set it for all.
42956 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42957 Declare _dl_show_scope.
42959 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42960 (do_dlopen): Pass caller_dlopen to dl_open.
42961 (__libc_dlopen_mode): Initialize caller_dlopen.
42963 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42964 of libc. Make tolower call locale-independent. Optimize a bit by
42965 using isdigit instead of isalnum.
42966 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42968 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42970 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42971 was a dependency or dynamically loaded.
42973 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42975 * intl/l10nflist.c: Allow architecture-specific pop function.
42976 * sysdeps/x86_64/l10nflist.c: New file.
42978 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42981 2011-08-10 Andreas Schwab <schwab@redhat.com>
42983 * include/dirent.h: Add libc_hidden_proto for scandirat and
42984 scandirat64. Don't declare __scandirat64.
42985 * dirent/scandirat.c: Add libc_hidden_def.
42986 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42987 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42989 2011-08-10 David S. Miller <davem@davemloft.net>
42991 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42995 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42997 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42999 * Versions.def [libc]: Add GLIBC_2.15.
43000 * dirent/Makefile (routines): Add scandirat and scandirat64.
43001 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43003 * dirent/dirent.h: Declare scandirat and scandirat64.
43004 * dirent/scandirat.c: New file.
43005 * dirent/scandirat64.c: New file.
43006 * sysdeps/wordsize-64/scandirat.c: New file.
43007 * sysdeps/wordsize-64/scandirat64.c: New file.
43008 * dirent/opendir.c: Define opendirat.
43009 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43011 * dirent/scandir64.c: Adjust for scandir.c change.
43012 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43013 __scandirat64, and __scandir_cancel_handler.
43014 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43015 additional parameter and use openat instead of open (outside of ld.so).
43016 Add new __opendir as wrapper around __opendirat.
43017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43018 here without requiring old scandirat implementation.
43020 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43022 * dirent/scandir.c (cancel_handler): Renamed to
43023 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43024 defined. Adjust users.
43025 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43026 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43028 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43030 * string/test-string.h (IMPL): Use __STRING to expand name and then
43033 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43036 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43038 * string/Makefile: Update.
43039 (strop-tests): Append strncat.
43040 * string/test-wcscmp.c: New file.
43041 New comprehensive test for wcscmp.
43042 * string/test-strcmp.c: Update.
43043 (WIDE): New define.
43045 2011-07-22 Andreas Schwab <schwab@redhat.com>
43047 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43050 2011-07-26 Andreas Schwab <schwab@redhat.com>
43052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43053 encoding to ACE if AI_IDN.
43055 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43058 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43060 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43063 Fix overflow bug in strncat.
43064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43066 * string/test-strncat.c: Update.
43067 Add new tests for checking overflow bugs.
43069 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43072 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43073 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43074 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43076 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43077 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43078 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43079 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43081 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43082 (USE_AS_STRCAT): Define.
43083 Add strcat and strncat support.
43084 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43086 2011-07-25 Andreas Schwab <schwab@redhat.com>
43088 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43089 __n bigger than INT_MAX+1.
43090 (__strncmp_g): Likewise.
43092 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43094 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43095 * libio/stido.h: Likewise.
43097 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43102 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43103 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43104 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43105 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43109 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43114 (_dl_x86_64_save_sse): Likewise.
43116 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43118 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43120 (_dl_x86_64_save_sse): Likewise.
43122 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43124 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43126 2011-07-21 Andreas Schwab <schwab@redhat.com>
43128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43130 (_dl_x86_64_save_sse): Use correct AVX check.
43132 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43135 bug in strncpy/strncat.
43136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43138 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43140 * string/tester.c (test_strcat): Add tests for different alignments
43141 of source and destination.
43142 (test_strncat): Likewise.
43144 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43147 * posix/glob.c (glob): Check passed in values before using them in
43148 expressions to avoid some overflows.
43149 (glob_in_dir): Likewise.
43152 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43153 check for AVX enablement so that we don't crash with old kernels and
43155 * elf/tst-audit4.c: Add same checks here.
43156 * elf/tst-audit6.c: Likewise.
43158 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43160 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43162 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43164 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43166 * po/cs.po: Update from translation team.
43167 * po/bg.po: Likewise.
43169 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43171 * misc/sys/cdefs.h: Add support for const attribute.
43172 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43173 to gnu_dev_{major,minor,makedev} functions.
43175 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43177 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43179 2011-07-20 Andreas Schwab <schwab@redhat.com>
43181 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43184 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43187 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43188 register in order to avoid conflicts with the soft frame pointer
43189 being held in r11 when necessary.
43190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43191 (INTERNAL_VSYSCALL_NCS): Likewise.
43193 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43195 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43196 * elf/dl-fini.c (_dl_fini): Adjust caller.
43197 * elf/dl-close.c (_dl_close_worker): Likewise.
43198 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43200 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43202 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43203 "aux_cache->nlibs < 0".
43205 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43206 in the reload-count case.
43208 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43211 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43212 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43213 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43214 * sysdeps/x86_64/multiarch/strcat.S: New file.
43215 * sysdeps/x86_64/multiarch/strncat.S: New file.
43216 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43217 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43218 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43219 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43221 (USE_AS_STRCAT): Define.
43222 Add strcat and strncat support.
43223 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43224 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43225 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43226 * string/strncat.c: Update.
43227 (USE_AS_STRNCAT): Define.
43228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43229 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43231 * sysdeps/x86_64/multiarch/init-arch.h
43232 (bit_Prefer_PMINUB_for_stringop): New.
43233 (index_Prefer_PMINUB_for_stringop): Likewise.
43234 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43235 bit_Prefer_PMINUB_for_stringop.
43237 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43239 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43241 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43242 of casting of buffer.
43243 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43244 buffer32 and buffer64.
43245 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43246 writes instead of casting of buffer.
43247 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43249 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43252 2011-07-19 Andreas Schwab <schwab@redhat.com>
43254 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43256 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43258 * nscd/nscd.c (termination_handler): Don't do anything for a database
43259 if it has not yet been initialized.
43261 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43263 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43265 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43267 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43269 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43271 * po/nl.po: Update from translation team.
43272 * po/sv.po: Likewise.
43274 2011-07-16 Roland McGrath <roland@hack.frob.com>
43276 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43277 now disallowed by GCC.
43279 * configure.in (use-default-link): Default to yes if a test -shared
43280 link meets our qualifications.
43281 * configure: Regenerated.
43283 * config.make.in (output-format): New variable.
43284 * configure.in: Check for ld --print-output-format support.
43285 * configure: Regenerated.
43286 * Makerules ($(common-objpfx)format.lds)
43287 [$(output-format) != unknown]: Just use $(output-format),
43288 instead of the linker-script munging.
43290 2011-07-14 Roland McGrath <roland@hack.frob.com>
43292 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43293 of $(common-objpfx)shlib.lds.
43294 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43296 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43297 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43299 * configure.in (-z relro check): Adjust test code to add a large
43300 writable data section after it.
43301 * configure: Regenerated.
43303 2011-07-11 Roland McGrath <roland@hack.frob.com>
43305 * configure.in (-z relro check): Fix test code to make the variable
43307 * configure: Regenerated.
43309 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43311 * nscd/nscd.h (struct traced_file): Define.
43312 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43313 elements. Add traced_files.
43314 (inotify_fd): Declare.
43315 (register_traced_file): Declare.
43316 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43317 (inotify_fd): Export.
43318 (resolv_conf_descr): Remove.
43319 (nscd_init): Move inotify descriptor creation to main.
43320 Don't register files for notification here.
43321 (register_traced_file): New function.
43322 (invalidate_cache): Don't use reset_res to determine whether to call
43323 res_init, go through the list of registered files.
43324 (main_loop_poll): The inotify descriptors are now stored in the
43325 structures for the traced files.
43326 (main_loop_epoll): Likewise
43327 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43328 to __nss_disable_nscd.
43329 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43330 for a database anymore. Check the records for all the registered
43332 * nss/Makefile (libnss_files-routines): Add files-init.
43333 (libnss_db-routines): Add db-init.
43334 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43335 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43336 * nss/nss_db/db-init.c: New file.
43337 * nss/nss_files/files-init.c: New file.
43338 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43339 __nss_lookup_function.
43340 (__nss_lookup_function): Call nss_load_library.
43341 (nss_load_all_libraries): New function.
43342 (__nss_disable_nscd): Take parameter with callback function for files
43343 to register. Set is_nscd. Load all the DSOs for the NSS modules
43344 used for the cached services.
43345 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43347 options for features to all the files in nscd.
43349 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43351 2011-07-10 Roland McGrath <roland@hack.frob.com>
43353 * csu/elf-init.c (__libc_csu_init): Comment typo.
43355 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43357 * po/pl.po: Update from translation team.
43358 * po/ja.po: Likewise.
43359 * po/ru.po: Likewise.
43360 * po/ko.po: Likewise.
43361 * po/fr.po: Likewise.
43363 2011-07-09 Roland McGrath <roland@hack.frob.com>
43365 * configure.in (.ctors/.dtors header and trailer check):
43366 Use an empirical test on a built program.
43367 * configure: Regenerated.
43369 * configure.in (-z relro check): Use an empirical test on a built DSO.
43370 Detect, but do not require, on ia64.
43371 * configure: Regenerated.
43373 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43374 Update tests that use readelf to use $READELF instead.
43375 * configure: Regenerated.
43377 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43379 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43380 if the result is not used.
43382 2011-07-05 Andreas Jaeger <aj@suse.de>
43385 * stdlib/tst-strtod.c: Add testcase.
43387 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43389 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43390 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43391 The latter has a higher limit. Take additional parameter to pass to
43393 (__pathconf): Pass file to __statfs_link_max.
43394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43396 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43400 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43401 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43403 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43404 (__statfs_filesize_max): Likewise.
43405 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43407 2011-07-05 Andreas Jaeger <aj@suse.de>
43409 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43411 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43413 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43415 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43418 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43420 * Makefile (strop-tests): Add strncat.
43421 * string/test-strncat.c: New file.
43423 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43425 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43427 2011-06-21 Andreas Jaeger <aj@suse.de>
43429 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43430 Copy rule from iconvdata/Makefile.
43432 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43435 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43436 but no long options are defined, just return 'W'.
43438 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43441 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43443 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43445 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43447 (innetgr): Likewise.
43449 2011-07-05 Roland McGrath <roland@hack.frob.com>
43451 * config.make.in (install_root): Default to $(DESTDIR).
43453 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43457 2011-07-02 Roland McGrath <roland@hack.frob.com>
43459 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43461 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43462 containing directory rather than embedding absolute directory names.
43464 * scripts/check-local-headers.sh: Rewritten using awk.
43465 Match by word, not by line. Print error messages for matches.
43466 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43468 * Makerules [shlib-lds-flags empty]:
43469 ($(common-objpfx)libc_pic.opts): New target.
43470 ($(common-objpfx)libc_pic.os.clean): New target.
43471 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43473 * config.make.in (OBJCOPY): New variable.
43474 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43475 * configure: Regenerated.
43477 * config.make.in (use-default-link): New variable.
43478 * configure.in (use_default_link): Grok --with-default-link to set it.
43479 * configure: Regenerated.
43480 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43481 (shlib-lds, shlib-lds-flags): Define to empty.
43483 * Makerules (shlib-lds): New variable.
43484 (shlib-lds-flags): New variable.
43485 (build-shlib, build-moduile, build-module-asneeded): Use it.
43486 ($(common-objpfx)libc.so): Use $(shlib-lds).
43487 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43488 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43490 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43491 DT_FLAGS/DT_FLAGS_1 with zero flags.
43493 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43494 linker script munging.
43496 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43498 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43500 * crypt/sha512.c (sha512_process_block): Perform total addition using
43501 128-bit if possible.
43502 (__sha512_finish_ctx): Likewise.
43503 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43505 * crypt/sha256.c (SWAP64): Define.
43506 (sha256_process_block): Perform total addition using 64-bit if
43508 (__sha256_finish_ctx): Likewise.
43510 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43512 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43514 * nscd/hstcache.c (cache_addhst): Likewise.
43515 * nscd/grpcache.c (cache_addgr): Likewise.
43516 * nscd/aicache.c (addhstaiX): Likewise
43517 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43519 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43521 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43523 * nscd/hstcache.c (cache_addhst): Likewise.
43524 * nscd/grpcache.c (cache_addgr): Likewise.
43525 * nscd/aicache.c (addhstaiX): Likewise
43527 2011-07-01 Andreas Schwab <schwab@redhat.com>
43529 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43530 domain only when needed.
43532 2011-06-30 Andreas Schwab <schwab@redhat.com>
43534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43535 is always restored.
43537 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43539 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43540 are re-adding the entry.
43541 * nscd/servicescache.c (cache_addserv): Likewise.
43543 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43545 * sysdeps/generic/dl-irel.h: fix protection against multiple
43547 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43549 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43552 * malloc/memusage.sh: Fix quoting in message.
43553 * debug/xtrace.sh: Likewise.
43555 * configure.in: Remove support for --experimental-malloc option, make
43557 * config.make.in: Likewise.
43558 * malloc/Makefile: Likewise.
43560 2011-06-27 Andreas Schwab <schwab@redhat.com>
43562 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43563 two-byte characters.
43565 2011-06-27 Roland McGrath <roland@hack.frob.com>
43567 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43568 AC_CACHE_CHECK invocation.
43569 * configure: Regenerated.
43571 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43573 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43576 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43577 bit from old_res_options.
43579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43581 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43582 value type for setfct.
43584 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43587 __gettimeofday instead of gettimeofday.
43589 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43591 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43593 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43595 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43600 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43603 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43604 strcpy-sse2-unaligned strncpy-sse2-unaligned
43605 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43606 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43607 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43608 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43609 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43611 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43612 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43613 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43614 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43615 (STRCPY): Support SSE2 and SSSE3 versions.
43617 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43621 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43622 kernels which artificially limit size of requests.
43624 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43627 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43628 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43629 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43630 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43631 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43632 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43633 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43634 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43636 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43637 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43638 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43639 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43640 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43642 Enable unaligned load optimization for Intel Core i3, i5 and i7
43644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43646 (index_Fast_Unaligned_Load): Define.
43647 (HAS_FAST_UNALIGNED_LOAD): Define.
43649 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43651 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43653 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43656 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43657 until it is clear that the information is realy needed.
43658 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43660 2011-06-22 Andreas Schwab <schwab@redhat.com>
43662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43664 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43667 /sys/devices/system/cpu/online if it is usable.
43669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43670 reading the information from the /proc filesystem to once a second.
43672 2011-06-21 Andreas Jaeger <aj@suse.de>
43674 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43675 NULL after inclusion of kernel headers.
43677 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43679 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43680 calls to internal_setent.
43683 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43684 addresses using gethostbyname4_r ignore IPv4 addresses.
43686 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43687 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43689 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43691 2011-06-20 David S. Miller <davem@davemloft.net>
43693 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43695 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43697 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43698 (elf_irel): Use it.
43699 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43700 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43701 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43702 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43703 * sysdeps/x86_64/dl-irel.h: Likewise.
43705 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43706 * elf/dl-sym.c: Likewise.
43708 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43710 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43711 need to dereference resplen2.
43713 2011-06-14 Andreas Schwab <schwab@redhat.com>
43715 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43717 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43719 * Makeconfig: Define vardbdir and inst_vardbdir.
43720 * nss/Makefile: Add rules to install db-Makefile.
43722 * nss/nss_db/db-XXX.c: Cleanup.
43724 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43725 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43727 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43728 * nss/makedb.c: Implement -g option to specify that value strings
43729 are generated and should not be added to table iterated over for
43731 * nss/nss_db/db-initgroups.c: New file.
43733 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43736 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43737 (internal_getgrouplist): Adjust to name change.
43738 Update use_initgroups_entry if this is not the first call.
43739 * nss/databases.def: Add initgroups entry.
43741 * nss/makedb.c (compute_tables): Check result of multiple hash table
43742 sizes to minimize maximum chain length.
43744 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43746 * Versions.def: Add entry for libnss_db.
43747 * shlib-versions: Likewise.
43748 * nss/Makefile: Add rules to build libnss_db.
43749 * nss/Versions: Add libnss_db information. Organize libnss_files
43751 * nss/db-Makefile: Add gshadow support. Change rules for the new
43752 makedb progra. Some minor improvements to generate smaller files.
43753 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43755 * nss/makedb.c: ...here.
43756 Improve database format to be smaller and require less memory at
43758 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43760 * nss/nss_db/db-netgrp.c: Likewise.
43761 * nss/nss_db/db-open.c: Likewise.
43762 * nss/nss_files/flies-XXX.x: Adjust comments.
43763 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43764 * nss/nss_files/files-grp.c: Likewise.
43765 * nss/nss_files/files-hosts.c: Likewise.
43766 * nss/nss_files/files-network.c: Likewise.
43767 * nss/nss_files/files-proto.c: Likewise.
43768 * nss/nss_files/files-pwd.c: Likewise.
43769 * nss/nss_files/files-rpc.c: Likewise.
43770 * nss/nss_files/files-service.c: Likewise.
43771 * nss/nss_files/files-sgrp.c: Likewise.
43772 * nss/nss_files/files-spwd.c: Likewise.
43773 * nss/nss_db/db-alias.c: Removed.
43774 * nss/nss_db/dummy-db.h: Removed.
43776 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43778 * nss/makedb.c: Rewritten to not use database library.
43779 * nss/Makefile: Update to build new makedb program.
43781 2011-06-14 Andreas Jaeger <aj@suse.de>
43783 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43784 memset declaration.
43786 2011-06-10 Andreas Schwab <schwab@redhat.com>
43788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43791 2011-06-10 Roland McGrath <roland@hack.frob.com>
43793 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43794 * elf/Makefile ($(objpfx)ld.so): Likewise.
43796 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43797 Don't list ld.so twice in dependencies.
43799 * posix/bug-regex31.c: Include <stdlib.h>.
43801 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43803 * nis/nss_compat/compat-spwd.c
43804 (getspent_next_nss_netgr): Remove unused variable.
43805 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43807 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43808 nonmembers" output to use the right array.
43810 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43812 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43814 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43815 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43816 * catgets/gencat.c (read_input_file): Likewise.
43817 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43819 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43820 variable definition inside #if's controlling its use.
43822 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43824 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43826 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43828 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43831 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43833 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43834 * configure: Regenerated.
43836 * Makerules: Revert last change.
43837 * elf/Makefile: Likewise.
43839 2011-06-09 Roland McGrath <roland@hack.frob.com>
43841 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43842 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43843 (reloc-link): Likewise.
43845 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43847 * elf/Makefile: Add rules to build pldd.
43848 * elf/pldd.c: New file.
43849 * elf/pldd-xx.c: New file.
43851 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43853 * version.h: Update for 2.15 development version.
43855 2011-06-07 David S. Miller <davem@davemloft.net>
43857 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43860 elf_machine_lazy_rel): Likewise.
43861 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43863 elf_machine_lazy_rel): Likewise.
43864 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43865 dl_hwcap via passed in argument.
43866 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43869 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43871 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43873 2011-06-06 Roland McGrath <roland@hack.frob.com>
43876 * manual/fdl-1.1.texi: New file, verbatim from:
43877 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43878 * manual/lgpl-2.1.texi: New file, verbatim from:
43879 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43880 * manual/Makefile (licenses): New variable, list those new file names.
43882 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43884 * manual/fdl.texi: File removed.
43885 * manual/lesser.texi: File removed.
43886 * manual/libc.texinfo (Copying, Documentation License):
43887 Use new @include file names, put @appendix directive before @include.
43889 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43892 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43893 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43894 (mq_open): Add __NTH.
43896 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43899 Assume Intel Core i3/i5/i7 processor if AVX is available.
43901 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43906 2011-05-31 Andreas Schwab <schwab@redhat.com>
43908 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43909 memory. Use alloca_account. Fix memory leak when retrying.
43911 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43913 * version.h (RELEASE): Bump for 2.14 release.
43914 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43916 * config.make.in (RANLIB): Remove entry.
43918 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43920 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43921 (libc.pot): Work around missing support for .ksh extension in xgettext.
43924 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43925 if both request failed.
43926 (send_dg): In case of server errors clear resplen or *resplen2.
43929 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43930 when there are multiple maps.
43931 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43932 (_dl_fini): Remove test here.
43934 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43936 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43939 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43940 bit from old_res_options.
43941 (gaih_inet): Likewise.
43944 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43947 * resolv/res_init.c (res_setoptions): Make the code more compact.
43950 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43954 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43956 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43959 * malloc/malloc.h: Declare malloc hook variables as volatile.
43961 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43965 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43966 raise in the comment.
43967 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43969 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43971 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43974 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43975 grow the buffers more if it already has to be sufficient.
43976 (build_wcs_upper_buffer): Likewise.
43977 * posix/regexec.c (check_matching): Likewise.
43978 (clean_state_log_if_needed): Likewise.
43979 (extend_buffers): Don't enlarge buffers beyond size of the input
43981 Patches mostly by Emil Wojak <emil@wojak.eu>.
43982 * posix/bug-regex32.c: New file.
43983 * posix/Makefile (tests): Add bug-regex32.
43985 * locale/findlocale.c (_nl_find_locale): Return right away if
43986 _nl_explode_name failed.
43987 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43991 * debug/xtrace.sh: Unify messages.
43992 * malloc/memusage.sh: Likewise.
43995 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43996 time symbol from vDSO. Substitute with vsyscall if not available.
43997 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44000 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44001 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44002 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44003 Add sendmmsg and internal_sendmmsg.
44004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44005 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44006 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44008 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44009 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44012 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44015 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44016 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44018 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44022 * iconvdata/Makefile (tests): Add bug-iconv9.
44023 * iconvdata/bug-iconv9.c: New file.
44025 2011-05-27 Andreas Schwab <schwab@redhat.com>
44028 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44030 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44032 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44033 (struct user_regs_struct): Change intcs field back to cs.
44035 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44037 * po/ja.po: Update from translation team.
44039 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44042 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44043 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44045 2011-05-20 Andreas Schwab <schwab@redhat.com>
44047 * stdlib/longlong.h: Update from GCC.
44049 2011-05-23 Andreas Schwab <schwab@redhat.com>
44051 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44053 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44054 Add parameter name.
44055 (__sysconf): Pass it down.
44057 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44060 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44063 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44064 add in in __libc_use_alloca calls. Adjust callers.
44065 (glob): Use malloc in some situations.
44067 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44068 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44071 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44073 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44074 and CLOCK_BOOTTIME_ALARM.
44077 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44080 * string/_strerror.c (__strerror_r): Print negative errors as signed
44084 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44085 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44086 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44088 * configure.in: Fix typo in redirection and correct removal of test
44089 files in two cases.
44092 * locale/setlocale.c (new_composite_name): Fix test to check for
44093 identical name of all categories.
44096 * libio/filedoalloc.c (local_isatty): New function.
44097 (_IO_file_doallocate): Use local_isatty.
44098 * stdio-common/perror.c (perror): In case a new stream is used
44099 forward the stream error.
44100 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44103 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44108 * include/alloca.h (extend_alloca_account): Define.
44111 * posix/regex.h: Fix comments with documentation of user-accessible
44112 fields after compilation and describe correct free'ing of pattern
44113 after re_compile_pattern.
44114 Patch by Reuben Thomas <rrt@sc3d.org>.
44116 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44118 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44119 and -mno-altivec to prevent the compiler from using Altivec and/or
44120 VSX instructions when the corresponding registers are not available.
44122 2011-05-19 Andreas Schwab <schwab@redhat.com>
44124 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44126 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44128 * libio/freopen.c (freopen): Use __dup2, not dup2.
44129 * libio/freopen64.c (freopen64): Likewise.
44131 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44134 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44135 * math/Makefile (tests): Add test-powl.
44136 (CFLAGS-test-powl.c): Define.
44137 * math/test-powl.c: New file.
44139 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44141 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44143 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44146 * iconvdata/gb18030.c: Update to GB18020-2005.
44148 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44150 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44151 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44152 Patch by Aharon Robbins <arnold@skeeve.com>.
44155 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44159 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44160 through underflows.
44163 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44164 point to strings before performing equality test for error_one_per_line
44168 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44172 (struct user_fpregs_struct): Avoid __uint*_t types.
44175 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44176 symbol info. Use it instead of calling _dl_addr locally.
44177 (lock_and_info): New function.
44178 (tr_freehook): Call lock_and_info and pass symbol info as additional
44179 parameter to tr_where.
44180 (tr_mallochook): Likewise.
44181 (tr_reallochook): Likewise.
44182 (tr_memalignhook): Likewise.
44184 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44185 used and couldn't be at all thread-safe.
44187 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44189 * libio/freopen.c (freopen): Don't close old file descriptor
44190 before the new one is opened. Instead dup the new file descriptor
44191 to the old one after the new stream is created.
44192 * libio/freopen64.c (freopen64): Likewise.
44193 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44194 * libio/fileops.c (_IO_new_file_close_it): Handle new
44195 _IO_FLAGS2_NOCLOSE flag.
44196 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44197 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44198 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44199 _IO_FLAGS2_NOCLOSE flag.
44200 * include/unistd.h: Add hidden_proto for dup3.
44201 Define __have_dup3.
44202 * io/dup3.c: Define hidden symbol.
44203 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44206 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44207 when an incomplete long option is used.
44208 * posix/tst-getopt_long1.c: New file.
44209 * posix/Makefile (tests): Add tst-getopt_long1.
44212 * scripts/config.guess: Update from autoconf-2.68.
44213 * scripts/config.sub: Likewise.
44216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44218 (has_cpuclock): ...this. New function.
44219 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44220 macro here based on has_cpuclock code.
44223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44224 First byte (not low byte) is now always NUL.
44225 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44228 Use non-cancelable interfaces.
44231 * locale/iso-639.def: Add entry for Sorani.
44234 * include/stdlib.h: Move include protection to the right place.
44235 Define abort_msg_s. Declare __abort_msg with it.
44236 * stdlib/abort.c (__abort_msg): Adjust type.
44237 * assert/assert.c (__assert_fail_base): New function. Majority
44238 of code from __assert_fail. Allocate memory for __abort_msg with
44240 (__assert_fail): Now call __assert_fail_base.
44241 * assert/assert-perr.c: Remove bulk of implementation. Use
44242 __assert_fail_base.
44243 * include/assert.hL Declare __assert_fail_base.
44244 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44246 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44248 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44252 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44253 until all modules are registered in the DTV.
44254 * elf/Makefile: Add rules to build and run tst-tls19.
44255 * elf/tst-tls19.c: New file.
44256 * elf/tst-tls19mod1.c: New file.
44257 * elf/tst-tls19mod2.c: New file.
44258 * elf/tst-tls19mod3.c: New file.
44259 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44262 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44266 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44267 two-byte sequence errors.
44268 * iconvdata/Makefile (tests): Add bug-iconv8.
44269 * iconvdata/bug-iconv8.c: New file.
44272 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44275 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44278 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44279 (dummy_getcfa): New function.
44280 (init): Get _Unwind_GetCFA address, use dummy if not found.
44281 (backtrace_helper): In recursion check, also check whether CFA changes.
44282 (__backtrace): Completely initialize arg.
44284 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44285 storing incomplete byte sequence in state object. Avoid testing for
44286 guaranteed too small input if we know there is enough data available.
44288 2011-05-11 Andreas Schwab <schwab@redhat.com>
44290 * Makeconfig (+link-pie): Indent.
44291 * Rules (binaries-pie): Define if $(have-fpie) and
44293 (binaries-shared): Also filter out $(binaries-pie).
44294 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44295 * nscd/Makefile (others-pie): Add nscd.
44296 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44297 ($(objpfx)nscd): Remove command override.
44298 * login/Makefile (others-pie): Add pt_chown.
44299 ($(objpfx)pt_chown): Remove command override.
44300 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44301 remove command overrides.
44303 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44305 * libio/tst_putwc.c: Fix error messages.
44308 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44309 currently writing and seek to current position when not.
44310 * libio/Makefile (tests): Add bug-fclose1.
44311 * libio/bug-fclose1.c: New file.
44313 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44316 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44317 don't set DF_1_NODELETE here.
44318 (do_lookup_x): When entering new entry test for copy relocation
44319 and if necessary set DF_1_NODELETE flag.
44320 * elf/tst-unique4.cc: New file.
44321 * elf/tst-unique4.h: New file.
44322 * elf/tst-unique4lib.cc: New file.
44323 * elf/Makefile: Add rules to build and run tst-unique4.
44324 Patch by Piotr Bury <pbury@goahead.com>.
44326 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44329 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44332 * misc/mntent_r.c (addmntent): Flush the stream after the output
44335 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44336 (is_trusted_path_normalize): Skip initial colon. Append slash
44337 to empty buffer. Duplicate is_trusted_path code but allow
44338 constructed patch to be prefix.
44339 (is_dst): Allow $ORIGIN followed by /.
44340 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44341 Correct testing of result of is_trusted_path_normalize
44342 (decompose_rpath): Fix warning.
44344 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44347 * grp/initgroups.c (internal_getgrouplist): When we found the service
44348 list through the initgroups entry in nsswitch.conf do not always
44349 continue on a successful lookup. Don't always use the
44350 __nss_group_database value if it is set.
44351 * nss/nsswitch.conf (initgroups): Change action for successful db
44352 lookup to continue for compatibility.
44354 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44357 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44359 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44361 * iconvdata/tst-tables.sh: Likewise.
44362 * iconvdata/cp770.c: New file.
44363 * iconvdata/cp771.c: New file.
44364 * iconvdata/cp772.c: New file.
44365 * iconvdata/cp773.c: New file.
44366 * iconvdata/cp774.c: New file.
44367 * iconvdata/testdata/CP770: New file.
44368 * iconvdata/testdata/CP770..UTF8: New file.
44369 * iconvdata/testdata/CP771: New file.
44370 * iconvdata/testdata/CP771..UTF8: New file.
44371 * iconvdata/testdata/CP772: New file.
44372 * iconvdata/testdata/CP772..UTF8: New file.
44373 * iconvdata/testdata/CP773: New file.
44374 * iconvdata/testdata/CP773..UTF8: New file.
44375 * iconvdata/testdata/CP774: New file.
44376 * iconvdata/testdata/CP774..UTF8: New file.
44378 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44380 * iconvdata/gen-8bit-gap.sh: Likewise.
44381 * iconvdata/gen-8bit.sh: Likewise.
44383 * locale/iso-639.def: Add ary entry.
44386 * locale/C-translit.h.in: Add U20A1 transliteration.
44389 * locale/iso-639.def: Add wae entry.
44390 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44393 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44397 * locale/C-translit.h.in: Add entry for U20B9.
44398 Patch by pravin.d.s@gmail.com.
44400 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44403 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44404 ENAMETOOLONG use generic getcwd.
44405 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44406 in rtld. Use *stat64.
44407 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44408 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44409 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44410 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44411 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44412 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44413 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44414 __fstatat64 macros.
44415 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44416 * dirent/rewinddir.c: Add libc_hidden_def.
44417 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44418 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44420 * include/dirent.h (__alloc_dir): Add flags parameter.
44421 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44422 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44424 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44425 from fdopendir if O_CLOEXEC is already set.
44427 2011-03-15 Alan Modra <amodra@gmail.com>
44429 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44430 l_tls_firstbyte_offset non-zero. Save padding offset in
44431 l_tls_firstbyte_offset for later use.
44432 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44433 freeing static tls block.
44435 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44437 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44438 where #ifdef was intended. The intent is to prevent ARG_MAX from
44439 being defined by the kernel headers.
44441 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44444 * resolv/resolv.h: Define RES_NOTLDQUERY.
44445 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44446 no-tld-query and set RES_NOTLDQUERY.
44447 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44448 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44449 modern BIND to search name as TLD unless forbidden.
44451 2011-05-07 Petr Baudis <pasky@suse.cz>
44452 Ulrich Drepper <drepper@gmail.com>
44455 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44456 (is_trusted_path): ...to here.
44457 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44458 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44459 using is_trusted_path_normalize() in setuid scripts.
44461 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44463 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44464 __BEGIN/__END_DECLS.
44466 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44468 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44469 NSS_STATUS_NOTFOUND if no record was found.
44471 2011-05-05 Andreas Schwab <schwab@redhat.com>
44473 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44474 (headers-not-in-tirpc): Remove rpc/netdb.h
44475 * resolv/netdb.h: Revert last change.
44477 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44479 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44480 circular dependency between libgcc.a and libc.a.
44482 2011-05-05 Andreas Schwab <schwab@redhat.com>
44484 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44485 * nis/Makefile: Don't install rpcsvc/*.
44486 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44487 instead of <rpc/types.h>.
44488 (MAXHOSTNAMELEN): Define.
44490 2011-05-03 Andreas Schwab <schwab@redhat.com>
44492 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44494 2011-04-28 Maciej Babinski <mbabinski@google.com>
44497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44498 gethostbyname4_r when IPv6 results are possible.
44500 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44503 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44504 _PC_PIPE_BUF handling.
44506 2011-04-30 Bruno Haible <bruno@clisp.org>
44509 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44510 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44512 * inet/getnameinfo.c (getnameinfo): Likewise.
44514 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44516 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44517 to groups setting in database lookup.
44518 * nss/nsswitch.conf: Add initgroups entry.
44520 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44523 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44525 Patch by Eric Blake <eblake@redhat.com>.
44527 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44529 * sunrpc/Makefile (need-export-routines): Add svc_run.
44530 (routines): Remove svc_run.
44531 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44532 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44533 * sunrpc/svc_run.c (svc_run): Likewise.
44534 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44536 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44539 problem in reallocation in last patch.
44541 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44543 * sunrpc/Makefile: Move inclusion of Rules.
44545 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44547 * nss/nss_files/files-initgroups.c: New file.
44548 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44549 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44550 _nss_files_initgroups_dyn.
44552 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44554 * elf/elf.h (R_ARM_IRELATIVE): Define.
44556 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44558 * po/ru.po: Update from translation team.
44560 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44562 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44565 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44569 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44570 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44574 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44580 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44582 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44585 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44587 * stdlib/bug-getcontext.c: New file.
44588 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44590 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44592 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44593 instructions into .machine "z9-109".
44594 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44595 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44597 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44599 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44600 between environment variables and auxiliary vector.
44602 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44604 * Makefile: Add rules to build linkobj/libc.so.
44605 * include/libc-symbols.h: Define libc_hidden_nolink.
44606 * include/rpc/auth.h: Mark functions which are to be hidden.
44607 * include/rpc/auth_des.h: Likewise.
44608 * include/rpc/auth_unix.h: Likewise.
44609 * include/rpc/clnt.h: Likewise.
44610 * include/rpc/des_crypt.h: Likewise.
44611 * include/rpc/key_prot.h: Likewise.
44612 * include/rpc/pmap_clnt.h: Likewise.
44613 * include/rpc/pmap_prot.h: Likewise.
44614 * include/rpc/pmap_rmt.h: Likewise.
44615 * include/rpc/rpc_msg.h: Likewise.
44616 * include/rpc/svc.h: Likewise.
44617 * include/rpc/svc_auth.h: Likewise.
44618 * include/rpc/xdr.h: Likewise.
44619 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44620 * nss/Makefile: Likewise.
44621 * sunrpc/Makefile: Don't install headers. Build library with normal
44622 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44623 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44624 for the compat linking library. Remove use of INTDEF/INTUSE.
44625 * sunrpc/auth_none.c: Likewise.
44626 * sunrpc/auth_unix.c: Likewise.
44627 * sunrpc/authdes_prot.c: Likewise.
44628 * sunrpc/authuxprot.c: Likewise.
44629 * sunrpc/clnt_gen.c: Likewise.
44630 * sunrpc/clnt_perr.c: Likewise.
44631 * sunrpc/clnt_raw.c: Likewise.
44632 * sunrpc/clnt_simp.c: Likewise.
44633 * sunrpc/clnt_tcp.c: Likewise.
44634 * sunrpc/clnt_udp.c: Likewise.
44635 * sunrpc/clnt_unix.c: Likewise.
44636 * sunrpc/des_crypt.c: Likewise.
44637 * sunrpc/des_soft.c: Likewise.
44638 * sunrpc/get_myaddr.c: Likewise.
44639 * sunrpc/key_call.c: Likewise.
44640 * sunrpc/key_prot.c: Likewise.
44641 * sunrpc/netname.c: Likewise.
44642 * sunrpc/pm_getmaps.c: Likewise.
44643 * sunrpc/pm_getport.c: Likewise.
44644 * sunrpc/pmap_clnt.c: Likewise.
44645 * sunrpc/pmap_prot.c: Likewise.
44646 * sunrpc/pmap_prot2.c: Likewise.
44647 * sunrpc/pmap_rmt.c: Likewise.
44648 * sunrpc/publickey.c: Likewise.
44649 * sunrpc/rpc_cmsg.c: Likewise.
44650 * sunrpc/rpc_common.c: Likewise.
44651 * sunrpc/rpc_dtable.c: Likewise.
44652 * sunrpc/rpc_prot.c: Likewise.
44653 * sunrpc/rpc_thread.c: Likewise.
44654 * sunrpc/rtime.c: Likewise.
44655 * sunrpc/svc.c: Likewise.
44656 * sunrpc/svc_auth.c: Likewise.
44657 * sunrpc/svc_authux.c: Likewise.
44658 * sunrpc/svc_raw.c: Likewise.
44659 * sunrpc/svc_run.c: Likewise.
44660 * sunrpc/svc_simple.c: Likewise.
44661 * sunrpc/svc_tcp.c: Likewise.
44662 * sunrpc/svc_udp.c: Likewise.
44663 * sunrpc/svc_unix.c: Likewise.
44664 * sunrpc/svcauth_des.c: Likewise.
44665 * sunrpc/xcrypt.c: Likewise.
44666 * sunrpc/xdr.c: Likewise.
44667 * sunrpc/xdr_array.c: Likewise.
44668 * sunrpc/xdr_float.c: Likewise.
44669 * sunrpc/xdr_intXX_t.c: Likewise.
44670 * sunrpc/xdr_mem.c: Likewise.
44671 * sunrpc/xdr_rec.c: Likewise.
44672 * sunrpc/xdr_ref.c: Likewise.
44673 * sunrpc/xdr_sizeof.c: Likewise.
44674 * sunrpc/xdr_stdio.c: Likewise.
44676 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44679 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44680 * sysdeps/ia64/dl-tls.h: Likewise.
44681 * sysdeps/powerpc/dl-tls.h: Likewise.
44682 * sysdeps/s390/dl-tls.h: Likewise.
44683 * sysdeps/sh/dl-tls.h: Likewise.
44684 * sysdeps/sparc/dl-tls.h: Likewise.
44685 * sysdeps/x86_64/dl-tls.h: Likewise.
44686 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44688 2011-03-14 Andreas Schwab <schwab@redhat.com>
44690 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44691 rpath element also skip the following colon.
44692 (expand_dynamic_string_token): Add is_path parameter and pass
44693 down to DL_DST_REQUIRED and _dl_dst_substitute.
44694 (decompose_rpath): Call expand_dynamic_string_token with
44695 non-zero is_path. Ignore empty rpaths.
44696 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44699 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44704 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44707 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44708 Patch by Filipe David Manana <fdmanana@apache.org>.
44710 2011-04-07 Andreas Schwab <schwab@redhat.com>
44712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44713 Maintain aligned stack.
44714 (CHECK_RSP): Remove unused macro.
44716 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44718 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44721 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44723 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44725 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44727 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44730 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44731 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44732 * sysdeps/x86_64/memmove.c: New file.
44733 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44734 (memcpy): Renamed to ...
44735 (__new_memcpy): This.
44736 (memcpy): Provide GLIBC_2_14 memcpy.
44737 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44738 (memcpy): Provide GLIBC_2_2_5 memcpy.
44740 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44743 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44745 2011-03-30 Andreas Schwab <schwab@redhat.com>
44747 * misc/syncfs.c: New file.
44748 * misc/Makefile (routines): Add syncfs.
44749 * posix/unistd.h: Declare syncfs.
44750 * sysdeps/unix/syscalls.list: Add syncfs.
44752 2011-04-01 Andreas Schwab <schwab@redhat.com>
44754 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44757 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44759 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44761 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44762 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44764 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44768 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44774 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44775 sync_file_range.c with -fexceptions.
44776 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44777 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44778 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44779 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44780 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44781 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44783 sync_file_range as cancellation point
44784 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44785 now a wrapper around __call_sync_file_range with cancellation handling.
44786 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44787 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44788 function name to __call_sync_file_range.
44789 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44790 Add call_sync_file_range.
44792 2011-04-01 Andreas Schwab <schwab@redhat.com>
44794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44797 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44799 * iconv/iconv.h: Fix typo in comment.
44800 * io/fcntl.h: Likewise.
44801 * libio/stdio.h: Likewise.
44802 * posix/spawn.h: Likewise.
44803 * posix/unistd.h: Likewise.
44804 * stdlib/stdlib.h: Likewise.
44805 * time/time.h: Likewise.
44806 * wcsmbs/wchar.h: Likewise.
44808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44809 open_by_handle): Add.
44810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44811 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44812 Augment a few comments.
44813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44814 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44815 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44816 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44818 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44821 * io/fcntl.h (AT_EMPTY_PATH): Define.
44823 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44825 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44826 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44827 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44829 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44830 * Versions.def: Add GLIBC_2.14.
44831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44834 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44836 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44838 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44840 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44843 * string/test-strncmp.c (do_page_test): New function.
44844 (check2): Likewise.
44845 (test_main): Call check2.
44846 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44848 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44851 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44852 Handle cache information in CPU leaf 4.
44853 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44855 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44858 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44859 character representation.
44860 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44862 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44864 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44865 END(__isnan) to END(__isnanf) to match function entry point/label
44866 EALIGN(__isnanf,...).
44868 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44870 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44872 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44875 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44876 copy from the symbol referenced in the relocation to initialize the
44878 Patch by Piotr Bury <pbury@goahead.com>.
44879 * elf/Makefile: Add rules to build and tst-unique3.
44880 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44881 * elf/tst-unique3.cc: New file.
44882 * elf/tst-unique3.h: New file.
44883 * elf/tst-unique3lib.cc: New file.
44884 * elf/tst-unique3lib2.cc: New file.
44886 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44888 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44890 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44891 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44894 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44896 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44897 to-be-loaded object along a path to loader is ld.so.
44899 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44900 Ulrich Drepper <drepper@gmail.com>
44902 * sysdeps/x86_64/memset.S: After aligning destination, code
44903 branches to different locations depending on the value of
44904 misalignment, when multiarch is enabled. Fix this.
44906 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44908 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44909 Set _x86_64_preferred_memory_instruction for AMD processsors.
44910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44911 Set bit_Prefer_SSE_for_memop for AMD processors.
44913 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44915 * libio/fmemopen.c (fmemopen): Optimize a bit.
44917 2011-03-03 Andreas Schwab <schwab@redhat.com>
44919 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44921 2011-03-03 Roland McGrath <roland@redhat.com>
44923 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44925 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44927 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44928 __bzero_ultra1 instead of __memset_ultra1.
44930 2011-02-23 Andreas Schwab <schwab@redhat.com>
44931 Ulrich Drepper <drepper@gmail.com>
44934 * include/link.h (struct link_map): Add l_orig_initfini.
44935 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44936 returning unsuccessfully.
44937 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44938 close of a file loaded at startup, restore the original l_initfini
44940 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44941 list, store the pointer.
44942 * elf/Makefile ($(objpfx)noload-mem): New rule.
44943 (noload-ENV): Define.
44944 (tests): Add $(objpfx)noload-mem.
44945 * elf/noload.c: Include <memcheck.h>.
44946 (main): Call mtrace. Close all opened handles.
44948 2011-02-17 Andreas Schwab <schwab@redhat.com>
44951 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44952 dependencies are missing.
44954 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44956 Fix __if_freereq crash: Unlike the generic version which uses free,
44958 * sysdeps/mach/hurd/ifreq.h: New file.
44960 2011-01-27 Petr Baudis <pasky@suse.cz>
44961 Ulrich Drepper <drepper@gmail.com>
44964 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44965 to extend_alloca().
44966 * stdio-common/bug23.c: New file.
44967 * stdio-common/Makefile (tests): Add bug23.
44969 2010-09-28 Andreas Schwab <schwab@redhat.com>
44970 Ulrich Drepper <drepper@gmail.com>
44973 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44974 before performing relro protection. At old place add assertion
44975 to make sure nothing changed.
44977 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44978 Glauber de Oliveira Costa <glommer@gmail.com>
44980 * elf/elf.h: Add new ARM TLS relocs.
44982 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44985 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44987 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44989 * sysdeps/wordsize-64/tst-writev.c: New file.
44991 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44993 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44994 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44995 insns in _dl_start to prevent a TOC reference before relocs are
44998 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45001 * Makeconfig: Remove RANLIB definition.
45002 * Makerules: Don't use RANLIB.
45003 * aclocal.m4: Remove ranlib test.
45004 * configure.in: No need to check for ranlib.
45005 * elf/rtld-Rules: Don't use RANLIB.
45007 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45009 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45011 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45012 inclusion protection macro.
45014 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45015 SIGRTMIN and SIGRTMAX and print information in that case only when
45016 SIGRTMIN is defined.
45018 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45020 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45021 arginfo fn returning -1.
45023 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45024 and thousands string is zero terminated.
45026 2011-02-03 Andreas Schwab <schwab@redhat.com>
45028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45029 sysdeps/unix/sysv/linux/bits/socket.h.
45031 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45033 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45034 (__CPU_COUNT): Remove old macros.
45035 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45036 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45037 (__CPU_ALLOC, __CPU_FREE): Add macros.
45038 (__sched_cpualloc, __sched_cpufree): Add declarations.
45040 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45042 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45043 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45044 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45045 (readdhstai): Return value of addhstaiX call.
45046 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45047 (addgrbyX): Return value returned by cache_addgr.
45048 (readdgrbyname): Return value returned by addgrbyX.
45049 (readdgrbygid): Likewise.
45050 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45051 (addpwbyX): Return value returned by cache_addpw.
45052 (readdpwbyname): Return value returned by addhstbyX.
45053 (readdpwbyuid): Likewise.
45054 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45055 (addservbyX): Return value returned by cache_addserv.
45056 (readdservbyname): Return value returned by addservbyX:
45057 (readdservbyport): Likewise.
45058 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45059 (addhstbyX): Return value returned by cache_addhst.
45060 (readdhstbyname): Return value returned by addhstbyX.
45061 (readdhstbyaddr): Likewise.
45062 (readdhstbynamev6): Likewise.
45063 (readdhstbyaddrv6): Likewise.
45064 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45065 (readdinitgroups): Return value returned by addinitgroupsX.
45066 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45067 (prune_cache): Keep track of timeout value of re-added entries.
45068 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45069 * nscd/nscd.h: Adjust prototypes of readd* functions.
45071 2011-02-04 Roland McGrath <roland@redhat.com>
45073 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45074 (nis_stats): Likewise.
45075 * nis/nis_modify.c (nis_modify): Likewise.
45076 * nis/nis_remove.c (nis_remove): Likewise.
45077 * nis/nis_add.c (nis_add): Likewise.
45079 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45081 * posix/fnmatch_loop.c: Add some consts.
45083 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45085 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45088 * config.make.in (config-cflags-novzeroupper): Define.
45089 * configure.in: Substitute libc_cv_cc_novzeroupper.
45090 * elf/Makefile (AVX-CFLAGS): Define.
45091 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45092 (CFLAGS-tst-auditmod4a.c): Likewise.
45093 (CFLAGS-tst-auditmod4b.c): Likewise.
45094 (CFLAGS-tst-auditmod6b.c): Likewise.
45095 (CFLAGS-tst-auditmod6c.c): Likewise.
45096 (CFLAGS-tst-auditmod7b.c): Likewise.
45097 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45099 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45101 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45102 function to the callback.
45103 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45105 2011-02-02 Andreas Schwab <schwab@redhat.com>
45107 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45110 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45113 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45115 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45117 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45120 * elf/Makefile: Add rules to build and run new test.
45121 * elf/tst-initorder.c: New file.
45122 * elf/tst-initorder.exp: New file.
45123 * elf/tst-initordera1.c: New file.
45124 * elf/tst-initordera2.c: New file.
45125 * elf/tst-initordera3.c: New file.
45126 * elf/tst-initordera4.c: New file.
45127 * elf/tst-initorderb1.c: New file.
45128 * elf/tst-initorderb2.c: New file.
45129 * elf/tst-order-a1.c: New file.
45130 * elf/tst-order-a2.c: New file.
45131 * elf/tst-order-a3.c: New file.
45132 * elf/tst-order-a4.c: New file.
45133 * elf/tst-order-b1.c: New file.
45134 * elf/tst-order-b2.c: New file.
45135 * elf/tst-order-main.c: New file.
45136 New test case by George Gensure <werkt0@gmail.com>.
45138 2010-10-01 Andreas Schwab <schwab@redhat.com>
45140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45141 decoding ACE if AI_CANONIDN.
45143 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45145 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45147 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45149 * version.h (RELEASE): Bump for 2.13 release.
45150 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45152 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45156 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45157 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45161 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45163 * posix/getconf.c: Update copyright year.
45164 * catgets/gencat.c: Likewise.
45165 * csu/version.c: Likewise.
45166 * debug/catchsegv.sh: Likewise.
45167 * debug/xtrace.sh: Likewise.
45168 * elf/ldconfig.c: Likewise.
45169 * elf/ldd.bash.in: Likewise.
45170 * elf/sprof.c (print_version): Likewise.
45171 * iconv/iconv_prog.c: Likewise.
45172 * iconv/iconvconfig.c: Likewise.
45173 * locale/programs/locale.c: Likewise.
45174 * locale/programs/localedef.c: Likewise.
45175 * malloc/memusage.sh: Likewise.
45176 * malloc/mtrace.pl: Likewise.
45177 * nscd/nscd.c (print_version): Likewise.
45178 * nss/getent.c: Likewise.
45180 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45181 PF_CAIF, and PF_ALG.
45182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45184 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45186 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45187 (modules-names): Use them.
45188 (ifunc-test-modules, ifunc-pie-tests): Define.
45189 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45190 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45191 (test-extras): Likewise.
45192 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45193 $(compile-command.c).
45194 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45195 (all-built-dso): Define.
45196 (check-textrel.out, check-execstack.out): Depend on it.
45198 * configure.in: Don't override --enable-multi-arch.
45200 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45203 * nscd/hstcache.c (tryagain): Define.
45204 (cache_addhst): Return tryagain not notfound for temporary errors.
45205 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45208 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45211 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45212 to make the syscall.
45213 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45216 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45217 and fall back to matching as normal character if the string ends before
45218 the matching ']' is found. This is what POSIX requires.
45219 * posix/testfnm.c: Adjust test result.
45220 * posix/globtest.sh: Adjust test result. Add new test.
45221 * posix/tst-fnmatch.input: Likewise.
45222 * posix/tst-fnmatch2.c: Add new test.
45224 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45226 * elf/Makefile (check-execstack): Revert last change. Depend on
45228 (check-execstack.h): New target.
45229 (generated): Add check-execstack.h.
45230 * elf/check-execstack.c: Include "check-execstack.h".
45231 (main): Revert last change.
45232 (handle_file): Return zero if GNU_STACK is absent and
45233 DEFAULT_STACK_PERMS doesn't include PF_X.
45235 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45237 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45238 in child fails because the descriptor is already closed.
45239 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45240 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45241 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45244 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45248 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45249 temporary buffer used to handle multi lookups locally.
45250 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45252 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45254 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45257 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45259 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45260 alignment for SSE2.
45262 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45265 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45266 characters. When rounding increased number of integer digits recompute
45268 * stdio-common/tst-grouping.c: New file.
45269 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45271 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45273 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45274 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45276 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45278 * bits/select.h: Likewise.
45280 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45282 * po/ja.po: Update from translation team.
45284 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45287 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45288 implementation just like for lxstat, fxstatat, et al.
45290 2010-12-27 Jim Meyering <meyering@redhat.com>
45293 * posix/regexec.c (build_trtable): Return failure indication upon
45294 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45296 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45299 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45300 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45301 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45305 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45308 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45309 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45311 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45313 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45314 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45315 script has SORT_BY_INIT_PRIORITY.
45316 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45317 NO_CTORS_DTORS_SECTIONS is defined.
45318 * elf/soinit.c: Likewise.
45319 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45320 NO_CTORS_DTORS_SECTIONS is defined.
45321 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45322 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45323 * sysdeps/sh/init-first.c: Likewise.
45324 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45326 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45328 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45329 always use the slow path.
45331 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45333 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45334 similar rule which adds the sysdep directories to the header search in
45335 order to pick up the correct platform stackinfo.h.
45336 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45337 perform test if it is, otherwise return successfully without testing.
45338 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45339 DEFAULT_STACK_PERMS define in stackinfo.h.
45340 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45341 defined in stackinfo.h.
45342 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45343 DEFAULT_STACK_PERMS defined in stackinfo.h.
45344 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45345 * sysdeps/ia64/stackinfo.h: Likewise.
45346 * sysdeps/s390/stackinfo.h: Likewise.
45347 * sysdeps/sh/stackinfo.h: Likewise.
45348 * sysdeps/sparc/stackinfo.h: Likewise.
45349 * sysdeps/x86_64/stackinfo.h: Likewise.
45350 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45351 PF_X for powerpc64. Retain PF_X for powerpc32.
45353 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45355 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45357 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45358 GETDENTS_64BIT_ALIGNED.
45360 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45362 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45364 2010-12-10 Andreas Schwab <schwab@redhat.com>
45366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45369 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45370 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45372 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45373 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45375 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45378 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45381 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45383 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45385 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45387 * po/it.po: Update from translation team.
45389 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45394 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45396 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45398 2010-11-24 Andreas Schwab <schwab@redhat.com>
45400 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45402 (gaih_getanswer_slice): Likewise.
45404 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45408 2010-05-31 Petr Baudis <pasky@suse.cz>
45411 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45412 silently even in the chroot mode.
45414 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45416 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45417 last patch a bit. Pretty printing
45419 2010-05-31 Petr Baudis <pasky@suse.cz>
45422 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45423 initialization of skip_initgroups_dyn.
45425 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45427 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45428 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45430 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45432 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45434 2010-11-11 Andreas Schwab <schwab@redhat.com>
45436 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45437 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45438 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45439 ($(objpfx)tst-fnmatch-mem): New rule.
45440 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45441 * posix/tst-fnmatch.c (main): Call mtrace.
45443 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45446 Support Intel processor model 6 and model 0x2c.
45448 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45453 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45456 * string/test-strncasecmp.c (check_result): New function.
45457 (do_one_test): Use it.
45458 (check1): New function.
45459 (test_main): Use it.
45460 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45461 Support strcasecmp and strncasecmp.
45463 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45466 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45469 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45471 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45475 * sysdeps/x86_64/multiarch/bzero.S: New file.
45476 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45477 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45478 * sysdeps/x86_64/multiarch/memset.S: New file.
45479 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45481 Set bit_Prefer_SSE_for_memop for Intel processors.
45482 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45484 (index_Prefer_SSE_for_memop): Define.
45485 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45487 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45489 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45490 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45492 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45495 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45496 (__x86_64_raw_data_cache_size_half): Likewise.
45497 (__x86_64_raw_shared_cache_size): Likewise.
45498 (__x86_64_raw_shared_cache_size_half): Likewise.
45500 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45501 (__x86_64_raw_data_cache_size_half): Likewise.
45502 (__x86_64_raw_shared_cache_size): Likewise.
45503 (__x86_64_raw_shared_cache_size_half): Likewise.
45504 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45505 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45506 and __x86_64_raw_shared_cache_size_half. Round
45507 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45508 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45509 to multiple of 256 bytes.
45511 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45514 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45515 of inacessible symlinks. Verify result of symlink before returning it.
45516 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45517 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45519 2010-10-28 Erich Ritz <erichritz@gmail.com>
45521 * math/math.h (isinf): Fix typo in comment.
45523 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45525 * po/da.po: Update from translation team.
45527 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45529 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45530 is added to the list.
45532 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45533 Ulrich Drepper <drepper@gmail.com>
45535 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45536 the global list here. Move code to...
45537 (_dl_add_to_namespace_list): ...here. New function.
45538 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45539 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45540 * elf/dl-load.c (lose): Don't remove the element from the list.
45541 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45542 (_dl_map_object): Likewise.
45544 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45547 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45548 into all bytes of SSE register.
45549 Patch by Richard Li <richardpku@gmail.com>.
45551 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45554 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45557 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45559 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45560 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45562 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45567 2010-10-22 Andreas Schwab <schwab@redhat.com>
45569 * include/dlfcn.h (__RTLD_SECURE): Define.
45570 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45571 mode & __RTLD_SECURE instead.
45572 (open_path): Rename preloaded parameter to secure.
45573 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45574 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45575 * elf/dl-deps.c (openaux): Likewise.
45576 * elf/rtld.c (struct map_args): Remove is_preloaded.
45577 (map_doit): Don't use it.
45578 (dl_main): Likewise.
45579 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45580 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45582 2010-09-09 Andreas Schwab <schwab@redhat.com>
45584 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45585 (sysd-rules-targets): Remove duplicates.
45586 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45587 rtld-%.$o dependency.
45589 2010-10-18 Andreas Schwab <schwab@redhat.com>
45591 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45592 _dl_map_object do it.
45594 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45596 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45597 fast fma builtins, define the macros in the C99 standard.
45598 (FP_FAST_FMAF): Likewise.
45599 (FP_FAST_FMAL): Likewise.
45600 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45602 * bits/mathdef.h: Update copyright year.
45603 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45605 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45607 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45608 builtins, define the macros in the C99 standard.
45609 (FP_FAST_FMAF): Likewise.
45610 (FP_FAST_FMAL): Likewise.
45611 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45613 (FP_FAST_FMAF): Likewise.
45615 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45618 * math/libm-test.inc (fma_test): Some new testcases.
45619 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45621 y and infinite z. Do multiplication by C already in long double.
45622 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45624 y and infinite z. Do bitwise or of inexact bit into u.d.
45625 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45626 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45627 * sysdeps/i386/fpu/s_fma.S: Removed.
45628 * sysdeps/i386/fpu/s_fmal.S: Removed.
45630 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45633 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45635 computation is not scheduled after fetestexcept. Fix value
45636 of minimum denormal long double.
45638 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45641 * math/libm-test.inc (fma_test): Add some more tests.
45642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45645 2010-10-15 Andreas Schwab <schwab@redhat.com>
45647 * scripts/data/localplt-s390-linux-gnu.data: New file.
45648 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45650 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45653 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45654 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45656 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45658 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45660 if one of x and y is very large and the other is subnormal.
45661 * sysdeps/s390/fpu/s_fmaf.c: New file.
45662 * sysdeps/s390/fpu/s_fma.c: New file.
45663 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45664 * sysdeps/powerpc/fpu/s_fma.S: New file.
45665 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45666 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45667 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45669 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45672 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45675 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45676 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45677 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45678 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45679 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45680 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45682 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45685 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45686 * posix/bug-regex31.input: Add test case.
45688 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45690 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45691 * posix/bug-regex31.input: New file.
45694 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45695 (parse_sub_exp): Fix last change, use postorder.
45697 * posix/bug-regex31.c: New file.
45698 * posix/Makefile: Add rules to build and run bug-regex31.
45700 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45703 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45706 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45707 to have entries in sys_siglist.
45710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45713 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45716 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45717 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45718 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45719 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45720 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45721 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45722 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45723 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45724 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45725 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45726 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45727 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45728 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45729 * math/ftestexcept.c (fetestexcept): Likewise.
45730 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45731 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45732 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45733 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45734 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45735 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45736 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45738 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45741 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45744 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45746 * string/bug-strstr1.c: New file.
45747 * string/Makefile: Add rules to build and run bug-strstr1.
45749 2010-10-05 Eric Blake <eblake@redhat.com>
45752 * string/str-two-way.h (two_way_long_needle): Always clear memory
45753 when skipping input due to the shift table.
45755 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45758 * malloc/mcheck.c: Handle large requests.
45761 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45762 for strncmp and strncasecmp.
45763 * string/stratcliff.c: Add tests for strcmp and strncmp.
45764 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45766 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45768 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45771 2010-09-30 Andreas Jaeger <aj@suse.de>
45773 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45774 (CGROUP_SUPER_MAGIC): Define.
45775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45776 Handle btrfs and cgroup file systems.
45777 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45780 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45782 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45783 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45785 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45788 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45789 trying to locate the ELF header.
45791 2010-09-27 Andreas Schwab <schwab@redhat.com>
45794 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45795 Mask out sign-bit copies when constructing f_fsid.
45797 2010-09-24 Petr Baudis <pasky@suse.cz>
45799 * debug/stack_chk_fail_local.c: Add missing licence exception.
45800 * debug/warning-nop.c: Likewise.
45802 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45805 implementing getdents64 using getdents syscall, set d_type if
45806 __ASSUME_GETDENTS32_D_TYPE.
45808 2010-09-16 Andreas Schwab <schwab@redhat.com>
45810 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45811 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45813 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45816 * posix/unistd.h: Undo change of feature selection for ftruncate from
45819 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45821 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45824 2010-09-20 Andreas Schwab <schwab@redhat.com>
45826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45830 2010-09-14 Andreas Schwab <schwab@redhat.com>
45832 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45833 variables after CHECK_SP call.
45834 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45836 2010-09-13 Andreas Schwab <schwab@redhat.com>
45837 Ulrich Drepper <drepper@redhat.com>
45839 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45840 re-relocationg ld.so.
45841 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45842 _dl_init_paths call.
45843 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45846 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45848 * resolv/res_init.c (__res_vinit): Count the default server we added.
45850 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45851 Ulrich Drepper <drepper@redhat.com>
45854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45855 (____longjmp_chk): Use %ebx for saving value across system call.
45858 2010-09-06 Andreas Schwab <schwab@redhat.com>
45860 * manual/Makefile: Don't mix pattern rules with normal rules.
45862 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45864 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45866 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45867 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45868 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45869 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45870 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45873 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45876 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45877 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45879 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45881 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45882 * sysdeps/x86_64/addmul_1.S: Likewise.
45883 * sysdeps/x86_64/lshift.S: Likewise.
45884 * sysdeps/x86_64/mul_1.S: Likewise.
45885 * sysdeps/x86_64/rshift.S: Likewise.
45886 * sysdeps/x86_64/sub_n.S: Likewise.
45887 * sysdeps/x86_64/submul_1.S: Likewise.
45889 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45891 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45892 Define __sched_param instead of SCHED_* and sched_param when
45893 <bits/sched.h> is included with __need_schedparam defined.
45894 * bits/sched.h [__need_schedparam]
45895 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45896 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45897 (__defined_schedparam): Define to 1.
45898 (__sched_param): New structure, identical to sched_param.
45899 (__need_schedparam): Undefine.
45901 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45903 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45904 (epoll_create1): Declare.
45906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45908 2010-08-31 Andreas Schwab <schwab@redhat.com>
45911 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45912 shifting retval into place.
45914 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45916 * nis/rpcsvc/nis.h: Update copyright notice.
45917 * nis/rpcsvc/nis.x: Likewise.
45918 * nis/rpcsvc/nis_callback.h: Likewise.
45919 * nis/rpcsvc/nis_callback.x: Likewise.
45920 * nis/rpcsvc/nis_object.x: Likewise.
45921 * nis/rpcsvc/nis_tags.h: Likewise.
45922 * nis/rpcsvc/yp.h: Likewise.
45923 * nis/rpcsvc/yp.x: Likewise.
45924 * nis/rpcsvc/ypupd.h: Likewise.
45925 * nis/yp_xdr.c: Likewise.
45926 * nis/ypupdate_xdr.c: Likewise.
45928 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45929 mainly the body of pmap_getport. Add parameters to specify timeouts.
45930 (pmap_getport): Use __libc_rpc_getport.
45931 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45932 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45933 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45935 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45940 2010-08-27 Roland McGrath <roland@redhat.com>
45942 * sysdeps/i386/i686/multiarch/Makefile
45943 (CFLAGS-varshift.c): New variable.
45945 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45947 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45948 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45952 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45954 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45956 * sysdeps/x86_64/strlen.S: Unroll the loop.
45957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45958 strlen-sse2 strlen-sse2-bsf.
45959 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45960 __strlen_no_bsf if bit_Slow_BSF is set.
45961 (__strlen_sse42): Removed.
45962 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45963 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45965 2010-08-25 Roland McGrath <roland@redhat.com>
45967 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45968 * sysdeps/x86_64/multiarch/varshift.c: New file.
45969 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45970 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45971 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45972 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45974 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45977 strlen-sse2 strlen-sse2-bsf.
45978 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45979 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45980 (__strlen_sse2): Removed.
45981 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45982 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45984 bit_Slow_BSF for Atom.
45985 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45986 (index_Slow_BSF): Define.
45987 (HAS_SLOW_BSF): Define.
45989 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45992 * resolv/res_init.c (__res_vinit): When no server address at all
45993 is given default to loopback.
45995 2010-08-24 Roland McGrath <roland@redhat.com>
45997 * configure.in: Remove config-name.h generation.
45998 * configure: Regenerated.
45999 * config-name.in: File removed.
46000 * scripts/config-uname.sh: New file.
46001 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46002 ($(objdir)config-name.h): New target.
46004 * sunrpc/rpc_parse.h: Avoid nested comment.
46006 2010-08-24 Richard Henderson <rth@redhat.com>
46007 Ulrich Drepper <drepper@redhat.com>
46008 H.J. Lu <hongjiu.lu@intel.com>
46010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46012 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46013 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46014 _mm_alignr_epi8 with _mm_loadu_si128.
46015 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46016 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46017 (__m128i_shift_right): Removed.
46018 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46019 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46020 * sysdeps/x86_64/multiarch/varshift.h: New file.
46021 * sysdeps/x86_64/multiarch/varshift.S: New file.
46023 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46025 * configure.in: Move assembler checks to before sysdep dir checking.
46027 2010-08-20 Petr Baudis <pasky@suse.cz>
46029 * LICENSES: Sync the sunrpc license.
46031 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46033 * sunrpc/auth_des.c: Update copyright notice once again.
46034 * sunrpc/auth_none.c: Likewise.
46035 * sunrpc/auth_unix.c: Likewise.
46036 * sunrpc/authdes_prot.c: Likewise.
46037 * sunrpc/authuxprot.c: Likewise.
46038 * sunrpc/bindrsvprt.c: Likewise.
46039 * sunrpc/clnt_gen.c: Likewise.
46040 * sunrpc/clnt_perr.c: Likewise.
46041 * sunrpc/clnt_raw.c: Likewise.
46042 * sunrpc/clnt_simp.c: Likewise.
46043 * sunrpc/clnt_tcp.c: Likewise.
46044 * sunrpc/clnt_udp.c: Likewise.
46045 * sunrpc/clnt_unix.c: Likewise.
46046 * sunrpc/des_crypt.c: Likewise.
46047 * sunrpc/des_soft.c: Likewise.
46048 * sunrpc/get_myaddr.c: Likewise.
46049 * sunrpc/getrpcport.c: Likewise.
46050 * sunrpc/key_call.c: Likewise.
46051 * sunrpc/key_prot.c: Likewise.
46052 * sunrpc/openchild.c: Likewise.
46053 * sunrpc/pm_getmaps.c: Likewise.
46054 * sunrpc/pm_getport.c: Likewise.
46055 * sunrpc/pmap_clnt.c: Likewise.
46056 * sunrpc/pmap_prot.c: Likewise.
46057 * sunrpc/pmap_prot2.c: Likewise.
46058 * sunrpc/pmap_rmt.c: Likewise.
46059 * sunrpc/rpc/auth.h: Likewise.
46060 * sunrpc/rpc/auth_unix.h: Likewise.
46061 * sunrpc/rpc/clnt.h: Likewise.
46062 * sunrpc/rpc/des_crypt.h: Likewise.
46063 * sunrpc/rpc/key_prot.h: Likewise.
46064 * sunrpc/rpc/netdb.h: Likewise.
46065 * sunrpc/rpc/pmap_clnt.h: Likewise.
46066 * sunrpc/rpc/pmap_prot.h: Likewise.
46067 * sunrpc/rpc/pmap_rmt.h: Likewise.
46068 * sunrpc/rpc/rpc.h: Likewise.
46069 * sunrpc/rpc/rpc_des.h: Likewise.
46070 * sunrpc/rpc/rpc_msg.h: Likewise.
46071 * sunrpc/rpc/svc.h: Likewise.
46072 * sunrpc/rpc/svc_auth.h: Likewise.
46073 * sunrpc/rpc/types.h: Likewise.
46074 * sunrpc/rpc/xdr.h: Likewise.
46075 * sunrpc/rpc_clntout.c: Likewise.
46076 * sunrpc/rpc_cmsg.c: Likewise.
46077 * sunrpc/rpc_common.c: Likewise.
46078 * sunrpc/rpc_cout.c: Likewise.
46079 * sunrpc/rpc_dtable.c: Likewise.
46080 * sunrpc/rpc_hout.c: Likewise.
46081 * sunrpc/rpc_main.c: Likewise.
46082 * sunrpc/rpc_parse.c: Likewise.
46083 * sunrpc/rpc_parse.h: Likewise.
46084 * sunrpc/rpc_prot.c: Likewise.
46085 * sunrpc/rpc_sample.c: Likewise.
46086 * sunrpc/rpc_scan.c: Likewise.
46087 * sunrpc/rpc_scan.h: Likewise.
46088 * sunrpc/rpc_svcout.c: Likewise.
46089 * sunrpc/rpc_tblout.c: Likewise.
46090 * sunrpc/rpc_util.c: Likewise.
46091 * sunrpc/rpc_util.h: Likewise.
46092 * sunrpc/rpcinfo.c: Likewise.
46093 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46094 * sunrpc/rpcsvc/key_prot.x: Likewise.
46095 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46096 * sunrpc/rpcsvc/mount.x: Likewise.
46097 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46098 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46099 * sunrpc/rpcsvc/rex.x: Likewise.
46100 * sunrpc/rpcsvc/rstat.x: Likewise.
46101 * sunrpc/rpcsvc/rusers.x: Likewise.
46102 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46103 * sunrpc/rpcsvc/spray.x: Likewise.
46104 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46105 * sunrpc/rtime.c: Likewise.
46106 * sunrpc/svc.c: Likewise.
46107 * sunrpc/svc_auth.c: Likewise.
46108 * sunrpc/svc_authux.c: Likewise.
46109 * sunrpc/svc_raw.c: Likewise.
46110 * sunrpc/svc_run.c: Likewise.
46111 * sunrpc/svc_simple.c: Likewise.
46112 * sunrpc/svc_tcp.c: Likewise.
46113 * sunrpc/svc_udp.c: Likewise.
46114 * sunrpc/svc_unix.c: Likewise.
46115 * sunrpc/svcauth_des.c: Likewise.
46116 * sunrpc/xcrypt.c: Likewise.
46117 * sunrpc/xdr.c: Likewise.
46118 * sunrpc/xdr_array.c: Likewise.
46119 * sunrpc/xdr_float.c: Likewise.
46120 * sunrpc/xdr_mem.c: Likewise.
46121 * sunrpc/xdr_rec.c: Likewise.
46122 * sunrpc/xdr_ref.c: Likewise.
46123 * sunrpc/xdr_sizeof.c: Likewise.
46124 * sunrpc/xdr_stdio.c: Likewise.
46126 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46129 2010-08-19 Andreas Schwab <schwab@redhat.com>
46131 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46133 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46135 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46136 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46137 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46138 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46139 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46140 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46141 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46142 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46143 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46144 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46145 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46146 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46147 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46148 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46150 2010-07-26 Anton Blanchard <anton@samba.org>
46152 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46153 * malloc/arena.c (heap_trim): Likewise.
46155 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46157 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46159 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46160 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46162 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46164 * sysdeps/i386/elf/Makefile: New file.
46166 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46168 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46169 from fanotify_init.
46170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46171 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46173 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46175 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46177 * sysdeps/multiarch/strcmp.S: Likewise.
46179 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46181 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46182 strncase_l-nonascii.
46183 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46184 Add strncase_l-ssse3.
46185 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46186 * sysdeps/x86_64/strcmp.S: Likewise.
46187 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46188 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46189 * sysdeps/x86_64/strncase.S: New file.
46190 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46191 * sysdeps/x86_64/strncase_l.S: New file.
46192 * string/Makefile (strop-tests): Add strncasecmp.
46193 * string/test-strncasecmp.c: New file.
46195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46198 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46199 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46201 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46203 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46205 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46207 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46209 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46211 2010-05-01 Alan Modra <amodra@gmail.com>
46213 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46214 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46215 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46216 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46217 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46218 tidying. Don't tail-call __sigjmp_save for static lib.
46219 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46221 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46222 (CALL_MCOUNT): Add eh info, and nop after bl.
46223 (TAIL_CALL_SYSCALL_ERROR): New macro.
46224 (PSEUDO_RET): Use it.
46225 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46226 Correct save location of integer regs and cr.
46227 (_dl_profile_resolve): Correct cr save location. Delete nops
46228 after bl when SHARED. Reduce cfi size a little by better
46229 placement of cfi directives.
46230 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46231 make a stack frame. Instead use parm save area as a temp.
46232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46233 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46235 Don't make a stack frame for parent, use parm save area.
46236 Increase child stack frame to 112 bytes. Don't save unused reg,
46237 and adjust reg usage. Set up cfi on error recovery and
46238 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46240 (__makecontext): Add dummy nop after jump to exit.
46241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46242 Use correct parm save area and cr save, reduce stack frame.
46243 Correct cfi for possible PSEUDO_RET frame setup.
46244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46245 Branch to local label emitted by PSEUDO_RET rather than
46248 2010-08-12 Andreas Schwab <schwab@redhat.com>
46251 * locale/programs/locale.c (print_assignment): New function.
46252 (show_locale_vars): Use it.
46254 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46256 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46258 (struct statfs64): Likewise.
46259 (_STATFS_F_FLAGS): Define.
46260 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46262 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46263 (ST_VALID): Define locally.
46264 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46265 __statvfs_getflags, use the provided value.
46266 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46267 __ASSUME_STATFS_F_FLAGS.
46269 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46272 Add sys/fanotify.h.
46273 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46274 fanotify_mask for GLIBC_2.13.
46275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46276 fanotify_init and fanotify_mark.
46277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46278 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46280 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46282 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46283 prlimit64 for GLIBC_2.13.
46284 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46290 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46291 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46294 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46297 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46298 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46300 * nss/Makefile: Add rules to build and run tst-nss-test1.
46301 * shlib-versions: Add entry for libnss_test1.
46302 * nss/nss_test1.c: New file.
46303 * nss/tst-nss-test1.c: New file.
46305 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46306 (__nss_configure_lookup): Set appropriate entry in
46307 __nss_configure_lookup to true.
46308 * nss/nsswitch.h: Define enum with indeces of databases in
46309 databases and __nss_database_custom arrays. Declare
46310 __nss_database_custom.
46311 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46312 to avoid using nscd when custom rules are installed.
46313 * nss/getXXbyYY_r.c: Likewise.
46314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46316 * nss/nss_files/files-parse.c: Whitespace fixes.
46318 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46321 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46322 * posix/fnmatch_loop.c: Likewise.
46324 2010-07-17 Andi Kleen <ak@linux.intel.com>
46326 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46327 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46328 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46329 * Versions.def [GLIBC_2.13]: Add.
46331 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46333 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46334 Also fail if tpwd after pwuid call is NULL.
46336 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46338 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46339 when converting to ms.
46341 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46343 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46344 EOPNOTSUPP errors with ENOTTY.
46345 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46346 EOPNOTSUPP errors with ENOTTY.
46348 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46350 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46351 Add strcasecmp_l-ssse3.
46352 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46354 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46355 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46358 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46360 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46362 * string/Makefile (strop-tests): Add strcasecmp.
46363 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46364 strcasecmp_l-nonascii.
46365 (gen-as-const-headers): Add locale-defines.sym.
46366 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46367 * sysdeps/x86_64/strcasecmp.S: New file.
46368 * sysdeps/x86_64/strcasecmp_l.S: New file.
46369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46370 * sysdeps/x86_64/locale-defines.sym: New file.
46371 * string/test-strcasecmp.c: New file.
46373 * string/test-strcasestr.c: Test both ends of the range of characters.
46374 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46376 2010-07-29 Roland McGrath <roland@redhat.com>
46379 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46381 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46383 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46386 2010-07-27 Andreas Schwab <schwab@redhat.com>
46388 * manual/memory.texi (Malloc Tunable Parameters): Document
46391 2010-07-26 Roland McGrath <roland@redhat.com>
46394 * configure.in (-fgnu89-inline check): Set and substitute
46395 gnu89_inline, not libc_cv_gnu89_inline.
46396 * configure: Regenerated.
46397 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46399 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46401 * string/test-strnlen.c: New file.
46402 * string/Makefile (strop-tests): Add strnlen.
46403 * string/tester.c (test_strnlen): Add a few more test cases.
46404 * string/tst-strlen.c: Better error reporting.
46406 * sysdeps/x86_64/strnlen.S: New file.
46408 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46410 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46411 lower-latency instructions.
46413 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46415 * string/test-strcasestr.c: New file.
46416 * string/test-strstr.c: New file.
46417 * string/Makefile (strop-tests): Add strstr and strcasestr.
46418 * string/str-two-way.h: Don't undefine MAX.
46419 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46421 2010-07-21 Andreas Schwab <schwab@redhat.com>
46423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46424 strcasestr-nonascii.
46425 (CFLAGS-strcasestr-nonascii.c): Define.
46426 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46428 Remove unused attribute.
46430 2010-07-20 Roland McGrath <roland@redhat.com>
46432 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46433 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46434 ld.so.cache was broken. With it, there is no way to disable dsocaps
46435 like LD_HWCAP_MASK can disable hwcaps.
46437 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46439 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46441 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46443 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46444 call in strcasestr.
46445 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46446 __strcasestr_sse42_nonascii.
46447 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46448 strcasestr-nonascii.c.
46449 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46451 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46453 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46454 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46456 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46458 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46460 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46463 2010-07-06 Andreas Schwab <schwab@redhat.com>
46466 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46469 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46472 _PC_PIPE_BUF using F_GETPIPE_SZ.
46474 2010-07-05 Roland McGrath <roland@redhat.com>
46476 * manual/arith.texi (Rounding Functions): Fix rint description
46477 implicit in round description.
46479 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46481 * elf/Makefile: Fix linking for a few tests to make recent linker
46484 2010-06-30 Andreas Schwab <schwab@redhat.com>
46486 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46487 $(common-objpfx)libc_nonshared.a.
46489 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46491 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46492 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46493 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46494 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46495 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46496 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46498 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46513 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46514 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46515 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46516 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46517 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46518 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46519 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46520 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46521 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46522 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46523 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46524 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46540 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46542 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46543 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46544 * string/memmove.c (memmove): Renamed to ...
46545 (MEMMOVE): ...this. Default to memmove.
46546 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46547 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46550 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46551 mempcpy-ssse3-back memmove-ssse3-back.
46552 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46555 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46556 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46557 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46558 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46559 * sysdeps/x86_64/multiarch/memmove.c: New file.
46560 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46561 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46562 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46563 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46564 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46565 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46567 (index_Fast_Copy_Backward): Define.
46568 (HAS_ARCH_FEATURE): Define.
46569 (HAS_FAST_REP_STRING): Define.
46570 (HAS_FAST_COPY_BACKWARD): Define.
46572 2010-06-21 Andreas Schwab <schwab@redhat.com>
46574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46575 Restore proper fallback handling.
46577 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46580 * posix/group_member.c (__group_member): Correct checking loop.
46582 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46583 OOM in getpwuid_r correctly. Return error number when the caller
46584 should return, otherwise -1.
46585 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46586 call returning > 0 value.
46587 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46589 2010-06-07 Andreas Schwab <schwab@redhat.com>
46591 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46592 libc_nonshared.a from targets in modules-names.
46594 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46596 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46599 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46602 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46603 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46604 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46606 2010-06-02 Andreas Schwab <schwab@redhat.com>
46608 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46610 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46615 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46618 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46619 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46621 2010-06-14 Roland McGrath <roland@redhat.com>
46623 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46625 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46627 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46628 __REDIRECT followed by __THROW.
46629 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46630 * posix/getopt.h (getopt): Likewise.
46632 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46634 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46635 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46636 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46638 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46639 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46641 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46645 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46649 Properly check family and model.
46651 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46653 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46655 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46657 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46659 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46661 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46664 2010-05-19 Andreas Schwab <schwab@redhat.com>
46666 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46669 2010-05-21 Andreas Schwab <schwab@redhat.com>
46671 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46672 and internal_recvmmsg.
46673 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46674 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46675 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46676 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46678 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46679 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46680 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46682 2010-05-20 Andreas Schwab <schwab@redhat.com>
46684 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46686 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46688 POWER7 optimizations.
46689 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46690 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46692 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46694 * version.h: Update for 2.13 development version.
46696 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46699 exceptions. Return 0.
46701 2010-05-07 Roland McGrath <roland@redhat.com>
46703 * elf/ldconfig.c (main): Add a const.
46705 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46707 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46708 (args_options): Add no-idn option.
46709 (ahosts_keys_int): Add idn_flags to ai_flags.
46710 (parse_option): Handle 'i' option to clear idn_flags.
46712 * malloc/malloc.c (_int_free): Possible race in the most recently
46713 added check. Only act on the data if no current modification
46716 See ChangeLog.17 for earlier changes.