1 2014-06-20 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10 2014-06-21 Joseph Myers <joseph@codesourcery.com>
12 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13 (__ASSUME_SIGFRAME_V2): Remove macro.
14 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
16 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
19 Declare as function. Remove conditional macro definitions.
20 (__default_rt_sa_restorer): Likewise.
21 (__default_sa_restorer_v1): Remove declaration.
22 (__default_sa_restorer_v2): Likewise.
23 (__default_rt_sa_restorer_v1): Likewise.
24 (__default_rt_sa_restorer_v2): Likewise.
25 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
27 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29 2014-06-20 Roland McGrath <roland@hack.frob.com>
31 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32 (libpthread-routines): Add sysdep.
33 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34 * sysdeps/unix/sysv/linux/sparc/Versions
35 (libpthread: GLIBC_2.3.3): New version set.
36 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
37 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
40 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
41 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
45 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
47 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49 * sysdeps/sparc/nptl/sem_init.c: ... here.
50 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
51 * sysdeps/sparc/nptl/sem_post.c: ... here.
52 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
53 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
54 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
55 * sysdeps/sparc/nptl/sem_wait.c: ... here.
56 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
57 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
58 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
59 (libpthread-routines): Add cpu_relax.
60 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
62 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
63 (librt: GLIBC_2.3.3): New version set.
64 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
65 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
66 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
67 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
68 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
69 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
70 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
71 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
73 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
74 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
75 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
76 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
77 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
78 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
79 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
80 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
81 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
82 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
84 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
88 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
90 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
92 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
96 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
100 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
104 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
107 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
113 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
115 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
118 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
120 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
122 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
124 2014-06-20 Joseph Myers <joseph@codesourcery.com>
126 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
127 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
128 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
129 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
130 * nscd/nscd.c: Likewise.
131 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
132 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
133 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
134 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
136 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
138 (init_mq_netlink): Remove conditional have_sock_cloexec
139 definitions. Remove code conditional on have_sock_cloexec < 0.
140 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
141 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
142 * sysdeps/unix/sysv/linux/opensock.c: Do not include
144 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
145 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
147 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
149 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
150 Add tests for memset_chk and memset.
152 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
155 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
158 * elf/tst-dl-iter-static.c: New file.
159 * elf/Makefile (tests-static): Add tst-dl-iter-static.
161 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
164 2014-06-20 Joseph Myers <joseph@codesourcery.com>
166 * sysdeps/unix/sysv/linux/kernel-features.h
167 (__ASSUME_F_GETOWN_EX): Remove macro.
168 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
170 (miss_F_GETOWN_EX): Remove variable or macro.
171 (do_fcntl): Do not check miss_F_GETOWN_EX.
172 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
174 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
177 [!__ASSUME_AT_RANDOM]: Remove conditional code.
178 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
180 * sysdeps/unix/sysv/linux/kernel-features.h
181 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
182 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
183 [ADJ_OFFSET_SS_READ]: Make code unconditional.
184 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
186 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
189 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
190 Fix calculation of the symbol's value.
191 * sysdeps/arm/tst-armtlsdescloc.c: New file.
192 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
193 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
194 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
195 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
196 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
197 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
198 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
199 (modules-names): Add `tst-armtlsdescmod',
200 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
201 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
202 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
203 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
204 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
205 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
206 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
207 ($(objpfx)tst-armtlsdescloc): New dependency.
208 ($(objpfx)tst-armtlsdescextnow): Likewise.
209 ($(objpfx)tst-armtlsdescextlazy): Likewise.
210 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
212 * sysdeps/arm/configure: Regenerate.
214 2014-06-20 Joseph Myers <joseph@codesourcery.com>
216 * include/fcntl.h (__atfct_seterrno): Remove prototype.
217 (__atfct_seterrno_2): Likewise.
218 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
220 (__ASSUME_ATFCTS): Do not undefine and redefine.
221 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
222 (__have_atfcts): Remove conditional definition.
223 (__fxstatat([__NR_fstatat64]: Make code unconditional.
224 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
225 unreachable if [__ASSUME_ATFCTS].
226 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
227 not undefine and redefine.
228 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
230 (faccessat) [__NR_faccessat]: Make code unconditional.
231 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
232 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
234 (fchmodat) [__NR_fchmodat]: Make code unconditional.
235 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
236 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
238 (fchownat) [__NR_fchownat]: Make code unconditional.
239 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
240 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
242 (futimesat) [__NR_futimesat]: Make code unconditional.
243 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
244 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
246 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
247 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
248 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
250 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
251 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
252 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
253 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
255 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
256 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
257 * sysdeps/unix/sysv/linux/linkat.c: Do not include
259 (linkat) [__NR_linkat]: Make code unconditional.
260 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
261 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
262 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
264 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
265 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
266 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
268 (mkdirat) [__NR_mkdirat]: Make code unconditional.
269 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
270 * sysdeps/unix/sysv/linux/openat.c: Do not include
272 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
273 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
274 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
275 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
276 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
277 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
279 (readlinkat) [__NR_readlinkat]: Make code unconditional.
280 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
281 result of INLINE_SYSCALL directly, not via int variable.
282 * sysdeps/unix/sysv/linux/renameat.c: Do not include
284 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
285 (renameat) [__NR_renameat]: Make code unconditional.
286 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
287 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
288 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
289 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
290 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
291 (__ASSUME_ATFCTS): Do not undefine and redefine.
292 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
294 (symlinkat) [__NR_symlinkat]: Make code unconditional.
295 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
296 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
298 (unlinkat) [__NR_unlinkat]: Make code unconditional.
299 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
300 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
301 (__ASSUME_ATFCTS): Do not undefine and redefine.
302 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
304 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
305 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
306 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
308 (__xmknodat) [__NR_mknodat]: Make code unconditional.
309 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
311 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
313 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
315 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
318 * posix/regcomp.c (parse_reg_exp): Deallocate partially
319 constructed tree before returning error.
320 * posix/bug-regexp36.c: Expand test case.
322 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
325 * math/libm-test.inc (scalbln_test_date):
326 Add errno expectations.
327 * math/w_scalblnf.c: New File.
328 Add wrapper which checks for setting errno to ERANGE.
329 Add weak_alias for corresponding scalbln function.
330 * math/w_scalbln.c: Likewise.
331 * math/w_scalblnl.c: Likewise.
332 * math/Makefile (libm-calls): Add w_scalbln.
333 * sysdeps/ieee754/flt-32/s_scalblnf.c:
334 Remove weak_alias for corresponding scalbln function.
335 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
337 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
339 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
340 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
341 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
342 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
343 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
344 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
345 Remove long_double_symbol for scalblnl function in libm, libc.
346 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
347 Add wrapper which checks for setting errno to ERANGE.
348 Add long_double_symbol for scalblnl function in libm, libc.
349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
350 Remove long_double_symbol for scalblnl in libm.
351 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
352 Add wrapper which checks for setting errno to ERANGE.
353 Add long_double_symbol for scalblnl function in libm.
354 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
355 Do not use wrapper because of own implementation.
357 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
359 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
360 3 bytes for __pad1 for x32.
361 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
363 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
364 H.J. Lu <hongjiu.lu@intel.com>
366 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
367 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
368 * sysdeps/x86_64/multiarch/memset.S: Likewise.
369 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
370 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
372 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
375 * posix/regcomp.c (parse_expression): Deallocate partially
376 constructed tree before returning error.
377 * posix/Makefile.c (tests): Add bug-regex36.
378 (generated): Add bug-regex36.mtrace.
379 (tests-special): Add $(objpfx)bug-regex36-mem.out
380 (bug-regex36-ENV): New variable.
381 ($(objpfx)bug-regex36-mem.out): New rule.
382 * posix/bug-regex36.c: New file.
384 2014-06-19 Will Newton <will.newton@linaro.org>
386 * malloc/malloc.c (systrim): If extra is zero then return
389 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
391 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
393 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
395 * sysdeps/aarch64/strchr.S: New file.
397 2014-06-18 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
401 from arguments -2 or below.
402 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
403 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
405 2014-06-18 Andreas Schwab <schwab@suse.de>
408 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
409 of a bracket expr not to run off the end of the string.
410 * posix/Makefile (tests): Add tst-fnmatch3.
411 * posix/tst-fnmatch3.c: New file.
413 2014-06-18 Joseph Myers <joseph@codesourcery.com>
415 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
416 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
417 [$(cross-compiling) = no]: Likewise.
418 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
419 [$(cross-compiling) = no]: Likewise.
421 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
424 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
425 double, adjusted for any remainder from the high double.
426 * math/libm-test.inc (nearbyint): Add tests.
429 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
431 * nptl/sysdeps/powerpc/Makefile: Moved ...
432 * sysdeps/powerpc/nptl/Makefile: ... here.
433 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
434 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
435 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
436 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
437 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
438 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
439 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
440 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
441 * nptl/sysdeps/powerpc/tls.h: Moved ...
442 * sysdeps/powerpc/nptl/tls.h: ... here.
444 2014-06-16 Joseph Myers <joseph@codesourcery.com>
447 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
448 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
449 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
450 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
451 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
452 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
453 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
454 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
455 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
457 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
459 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
461 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
463 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
466 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
469 2014-06-16 Florian Weimer <fweimer@redhat.com>
472 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
473 non-executed part of the test.
475 2014-06-16 Andreas Schwab <schwab@suse.de>
477 * string/bits/string2.h (strdup, strndup): Update feature guard.
479 2014-06-14 David S. Miller <davem@davemloft.net>
481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
483 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
485 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
486 that was previously under [RESET_PID].
487 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
489 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
490 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
491 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
492 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
493 (__libc_vfork): New strong alias.
494 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
496 2014-06-14 Andi Kleen <ak@linux.intel.com>
498 * sysdeps/generic/elide.h: New file.
500 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
502 * Makefile (installed-headers): Adjust path of pthread.h header.
504 2014-06-13 Roland McGrath <roland@hack.frob.com>
506 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
507 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
508 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
509 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
511 * nptl/sysdeps/s390/Makefile: Moved ...
512 * sysdeps/s390/nptl/Makefile: ... here.
513 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
514 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
515 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
516 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
517 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
518 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
519 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
520 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
521 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
522 * sysdeps/s390/nptl/pthreaddef.h: ... here.
523 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
524 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
525 * nptl/sysdeps/s390/tls.h: Moved ...
526 * sysdeps/s390/nptl/tls.h: ... here.
528 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
529 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
531 2014-06-13 David S. Miller <davem@davemloft.net>
533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
536 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
540 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
541 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
542 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
543 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
544 Remove RESET_PID cpp guards.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
546 Remove RESET_PID cpp guards.
547 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
549 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
551 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
554 2014-06-13 Andi Kleen <ak@linux.intel.com>
556 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
557 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
558 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
559 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
560 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
561 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
562 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
563 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
565 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
566 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
568 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
569 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
571 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
572 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
573 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
574 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
575 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
577 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
578 (pthread_rwlock_rdlock): Add elision.
579 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
580 (pthread_rwlock_wrlock): Add elision.
581 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
582 (pthread_rwlock_trywrlock): Add elision.
583 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
584 (pthread_rwlock_tryrdlock): Add elision.
585 * nptl/pthread_rwlock_unlock.c: Include elide.h.
586 (pthread_rwlock_tryrdlock): Add elision unlock.
587 * nptl/sysdeps/pthread/pthread.h:
588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
589 (PTHREAD_RWLOCK_INITIALIZER,
590 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
591 Handle new elision field.
592 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
593 * sysdeps/arm/nptl/bits/pthreadtypes.h
594 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
595 * sysdeps/sh/nptl/bits/pthreadtypes.h
596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
597 * sysdeps/tile/nptl/bits/pthreadtypes.h
598 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
599 * sysdeps/a/nptl/bits/pthreadtypes.h
600 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
601 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
602 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
603 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
604 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
605 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
606 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
607 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
608 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
609 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
610 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
611 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
612 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
613 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
615 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
616 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
617 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
618 (elision_init): Set try_xbegin to zero when no RTM.
619 * sysdeps/x86/nptl/bits/pthreadtypes.h
620 (pthread_rwlock_t): Change __pad1 to __rwelision.
621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
623 2014-06-13 Andi Kleen <ak@linux.intel.com>
625 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
626 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
627 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
628 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
630 2014-06-13 Meador Inge <meadori@codesourcery.com>
633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
634 that the cached result has been set before returning it.
636 2014-06-12 Roland McGrath <roland@hack.frob.com>
638 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
639 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
640 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
641 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
642 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
643 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
645 * nptl/sysdeps/sparc/Makefile: Moved ...
646 * sysdeps/sparc/nptl/Makefile: ... here.
647 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
648 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
649 * nptl/sysdeps/sparc/tls.h: Moved ...
650 * sysdeps/sparc/nptl/tls.h: ... here.
651 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
652 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
653 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
654 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
655 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
656 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
657 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
658 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
659 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
660 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
661 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
662 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
663 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
664 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
665 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
666 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
667 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
668 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
670 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
673 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
674 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
676 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
680 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
682 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
683 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
685 * sysdeps/pthread/posix-timer.h: Include <list.h>.
686 (struct list_links): Type removed.
687 (struct thread_node, struct timer_node): Replace struct list_links
688 with struct list_head.
689 (list_unlink_ip): Likewise.
690 * sysdeps/pthread/timer_routines.c
691 (timer_free_list, thread_free_list, thread_active_list): Likewise.
692 (list_append, list_insbefore): Likewise.
693 (list_init): Function removed.
694 (thread_init, init_module): Use INIT_LIST_HEAD instead.
695 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
696 * sysdeps/pthread/Makefile: ... here, new file.
698 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
699 * sysdeps/nptl/Implies: ... here.
700 * sysdeps/unix/sysv/linux/Implies: Add nptl.
701 * nptl/sysdeps/pthread/list.h: Moved ...
702 * include/list.h: ... here.
703 * nptl/sysdeps/pthread/createthread.c: Moved ...
704 * nptl/createthread.c: ... here.
705 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
706 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
707 * nptl/pt-longjmp.c: ... here.
708 * nptl/sysdeps/pthread/Makefile: Moved ...
709 * sysdeps/nptl/Makefile: ... here.
710 * nptl/sysdeps/pthread/Subdirs: Moved ...
711 * sysdeps/nptl/Subdirs: ... here.
712 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
713 * sysdeps/nptl/aio_misc.h: ... here.
714 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
715 * sysdeps/nptl/bits/libc-lock.h: ... here.
716 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
717 * sysdeps/nptl/bits/libc-lockP.h: ... here.
718 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
719 * sysdeps/nptl/bits/stdio-lock.h: ... here.
720 * nptl/sysdeps/pthread/configure: Moved ...
721 * sysdeps/nptl/configure: ... here.
722 * nptl/sysdeps/pthread/configure.ac: Moved ...
723 * sysdeps/nptl/configure.ac: ... here.
724 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
725 * sysdeps/nptl/gai_misc.h: ... here.
726 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
727 * sysdeps/nptl/librt-cancellation.c: ... here.
728 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
729 * sysdeps/nptl/malloc-machine.h: ... here.
730 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
731 * sysdeps/nptl/pthread-functions.h: ... here.
732 * nptl/sysdeps/pthread/pthread.h: Moved ...
733 * sysdeps/nptl/pthread.h: ... here.
734 * nptl/sysdeps/pthread/setxid.h: Moved ...
735 * sysdeps/nptl/setxid.h: ... here.
736 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
737 * sysdeps/nptl/sigfillset.c: ... here.
738 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
739 * sysdeps/nptl/tcb-offsets.h: ... here.
740 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
741 * sysdeps/nptl/tst-mqueue8x.c: ... here.
742 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
743 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
744 * nptl/sysdeps/pthread/allocalim.h: Moved ...
745 * sysdeps/pthread/allocalim.h: ... here.
746 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
747 * sysdeps/pthread/bits/sigthread.h: ... here.
748 * nptl/sysdeps/pthread/flockfile.c: Moved ...
749 * sysdeps/pthread/flockfile.c: ... here.
750 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
751 * sysdeps/pthread/ftrylockfile.c: ... here.
752 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
753 * sysdeps/pthread/funlockfile.c: ... here.
754 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
755 * sysdeps/pthread/posix-timer.h: ... here.
756 * nptl/sysdeps/pthread/timer_create.c: Moved ...
757 * sysdeps/pthread/timer_create.c: ... here.
758 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
759 * sysdeps/pthread/timer_delete.c: ... here.
760 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
761 * sysdeps/pthread/timer_getoverr.c: ... here.
762 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
763 * sysdeps/pthread/timer_gettime.c: ... here.
764 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
765 * sysdeps/pthread/timer_routines.c: ... here.
766 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
767 * sysdeps/pthread/timer_settime.c: ... here.
768 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
769 * sysdeps/pthread/tst-timer.c: ... here.
770 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
771 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
773 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
774 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
776 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
777 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
778 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
779 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
780 Update #include target.
781 * nptl/sysdeps/i386/i686/Makefile: Moved ...
782 * sysdeps/i386/i686/nptl/Makefile: ... here.
783 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
784 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
785 Update #include target.
786 * nptl/sysdeps/i386/i686/tls.h: Moved ...
787 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
788 * nptl/sysdeps/i386/Makefile: Moved ...
789 * sysdeps/i386/nptl/Makefile: ... here.
790 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
791 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
792 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
793 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
794 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
795 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
796 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
797 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
798 * sysdeps/i386/nptl/pthreaddef.h: ... here.
799 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
800 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
801 * nptl/sysdeps/i386/tls.h: Moved ...
802 * sysdeps/i386/nptl/tls.h: ... here.
804 * sysdeps/sh/Makefile [$(subdir) = csu]
805 (gen-as-const-headers): Add tcb-offsets.sym.
806 * nptl/sysdeps/sh/Makefile: File removed.
807 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
808 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
809 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
810 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
811 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
812 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
813 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
814 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
815 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
816 * sysdeps/sh/nptl/pthreaddef.h: ... here.
817 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
818 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
819 * nptl/sysdeps/sh/tls.h: Moved ...
820 * sysdeps/sh/nptl/tls.h: ... here.
821 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
822 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
823 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
824 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
825 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
826 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
827 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
828 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
829 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
830 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
831 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
832 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
833 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
834 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
835 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
836 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
837 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
838 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
839 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
840 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
841 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
842 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
843 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
844 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
848 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
850 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
851 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
852 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
854 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
856 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
858 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
860 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
862 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
864 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
865 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
866 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
867 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
868 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
870 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
872 * posix/spawn_faction_addopen.c: Include string.h.
874 2014-06-11 Roland McGrath <roland@hack.frob.com>
876 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
877 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
878 * nptl/sysdeps/x86_64/Makefile: Moved ...
879 * sysdeps/x86_64/nptl/Makefile: ... here.
880 * nptl/sysdeps/x86_64/configure: Moved ...
881 * sysdeps/x86_64/nptl/configure: ... here.
882 * nptl/sysdeps/x86_64/configure.ac: Moved ...
883 * sysdeps/x86_64/nptl/configure.ac: ... here.
884 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
885 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
886 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
887 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
888 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
889 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
890 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
891 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
892 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
893 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
894 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
895 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
896 * nptl/sysdeps/x86_64/tls.h: Moved ...
897 * sysdeps/x86_64/nptl/tls.h: ... here.
898 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
899 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
900 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
901 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
903 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
905 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
909 2014-06-11 Joseph Myers <joseph@codesourcery.com>
911 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
913 [POSIX] (off_t): Likewise.
914 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
915 [POSIX] (S_ISBLK): Require macro.
916 [POSIX] (S_ISCHR): Likewise.
917 [POSIX] (S_ISDIR): Likewise.
918 [POSIX] (S_ISFIFO): Likewise.
919 [POSIX] (S_ISREG): Likewise.
920 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
922 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
924 [POSIX] (time_t): Likewise.
925 [POSIX] (timer_t): Likewise.
927 2014-06-11 Florian Weimer <fweimer@redhat.com>
930 * posix/spawn_int.h (struct __spawn_action): Make the path string
931 non-const to support deallocation.
932 * posix/spawn_faction_addopen.c
933 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
934 * posix/spawn_faction_destroy.c
935 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
936 path in all spawn_do_open actions.
937 * posix/tst-spawn.c (do_test): Exercise the copy operation in
938 posix_spawn_file_actions_addopen.
940 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
942 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
943 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
944 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
945 conditional code always true.
946 (__libc_vfork): New alias.
948 2014-06-11 Roland McGrath <roland@hack.frob.com>
950 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
951 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
953 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
955 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
956 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
958 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
959 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
961 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
962 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
964 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
966 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
967 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
968 multiarch strcmp for PPC64.
969 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
970 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
972 multiarch optimizations.
973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
974 (__libc_ifunc_impl_list): Likewise.
976 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
978 * benchtests/scripts/validate_benchout.py: New script.
979 * benchtests/Makefile (bench-func): Call it.
980 * benchtests/scripts/benchout.schema.json: New file.
982 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
984 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
985 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
986 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
987 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
988 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
989 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
990 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
991 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
992 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
993 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
994 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
995 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
996 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
997 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
998 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
999 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1103 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1104 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1105 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1106 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1107 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1109 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1112 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1114 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1115 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1116 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1118 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1119 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1120 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1121 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1122 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1123 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1125 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1126 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1128 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1129 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1130 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1133 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1135 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1136 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1137 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1138 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1139 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1141 2014-06-10 Wilco <wdijkstr@arm.com>
1143 * math/test-fenv-return.c: New file.
1144 * math/Makefile: Add new test test-fenv-return.
1146 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1149 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1151 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1152 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1153 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1154 0.0L for an argument of 1.0L.
1155 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1157 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1158 value when x - 1 is zero.
1159 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1160 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1163 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1166 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1168 2014-06-09 Roland McGrath <roland@hack.frob.com>
1170 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1171 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1173 2014-06-09 Roland McGrath <roland@hack.frob.com>
1175 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1176 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1178 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1179 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1181 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1182 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1184 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1185 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1187 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1188 if not already defined.
1189 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1190 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1191 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1192 (TLS_INIT_TP): Use it.
1193 (TLS_DEFINE_INIT_TP): New macro.
1194 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1196 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1198 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1200 [POSIX] (IXANY): Likewise.
1201 [POSIX] (OLCUC): Likewise.
1202 [POSIX || POSIX2008] (CBAUD): Do not allow.
1203 [POSIX || POSIX2008] (DEFECHO): Likewise.
1204 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1205 [POSIX || POSIX2008] (ECHOKE): Likewise.
1206 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1207 [POSIX || POSIX2008] (EXTA): Likewise.
1208 [POSIX || POSIX2008] (EXTB): Likewise.
1209 [POSIX || POSIX2008] (FLUSHO): Likewise.
1210 [POSIX || POSIX2008] (LOBLK): Likewise.
1211 [POSIX || POSIX2008] (PENDIN): Likewise.
1212 [POSIX || POSIX2008] (SWTCH): Likewise.
1213 [POSIX || POSIX2008] (VDISCARD): Likewise.
1214 [POSIX || POSIX2008] (VDSUSP): Likewise.
1215 [POSIX || POSIX2008] (VLNEXT): Likewise.
1216 [POSIX || POSIX2008] (VREPRINT): Likewise.
1217 [POSIX || POSIX2008] (VSTATUS): Likewise.
1218 [POSIX || POSIX2008] (VWERASE): Likewise.
1219 (B*): Change to B[0123456789]*.
1220 * conform/data/time.h-data [POSIX || UNIX98]
1221 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1222 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1223 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1224 [POSIX] (tm_*): Do not allow.
1226 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1228 * Makefile (install): Don't set LANGUAGE.
1229 * Makefile.in (install): Likewise.
1230 * assert/Makefile (test-assert-ENV): Remove variable.
1231 (test-assert-perr-ENV): Likewise.
1232 * elf/Makefile (neededtest4-ENV): Likewise.
1233 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1234 [$(cross-compiling) = no]: Don't set LANGUAGE.
1235 * io/ftwtest-sh (LANG): Remove variable.
1236 * libio/Makefile (tst-widetext-ENV): Likewise.
1237 * manual/install.texi (Running make install): Don't refer to
1238 environment settings for make install.
1239 * INSTALL: Regenerated.
1240 * nptl/tst-tls6.sh: Don't set LANG.
1241 * posix/globtest.sh (LANG): Remove variable.
1242 * string/Makefile (tester-ENV): Likewise.
1243 (inl-tester-ENV): Likewise.
1244 (noinl-tester-ENV): Likewise.
1245 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1246 [$(cross-compiling) = no]: Don't set LANGUAGE.
1247 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1248 without explicit environment settings.
1250 2014-06-06 Roland McGrath <roland@hack.frob.com>
1252 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1253 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1254 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1255 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1257 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1259 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1260 other files in the crypt directory.
1261 * crypt/crypt.c: Remove duplicate includes.
1262 * crypt/crypt-entry.c: Likewise.
1263 * crypt/crypt_util.c: Likewise.
1265 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1267 * Makeconfig (run-program-env): New variable.
1268 (run-program-prefix-before-env): Likewise.
1269 (run-program-prefix-after-env): Likewise.
1270 (run-program-prefix): Define in terms of new variables.
1271 (built-program-cmd-before-env): New variable.
1272 (built-program-cmd-after-env): Likewise.
1273 (built-program-cmd): Define in terms of new variables.
1274 (test-program-prefix-before-env): New variable.
1275 (test-program-prefix-after-env): Likewise.
1276 (test-program-prefix): Define in terms of new variables.
1277 (test-program-cmd-before-env): New variable.
1278 (test-program-cmd-after-env): Likewise.
1279 (test-program-cmd): Define in terms of new variables.
1280 * Rules (make-test-out): Use $(run-program-env).
1281 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1282 (help): Do not mention environment variables. Mention
1283 --timeoutfactor option.
1284 (timeoutfactor): New variable.
1285 (blacklist_exports): Remove function.
1286 (exports): Remove variable.
1287 (command): Do not include ${exports}.
1288 * manual/install.texi (Configuring and compiling): Do not mention
1289 test wrappers preserving environment variables. Mention that last
1290 assignment to a variable must take precedence.
1291 * INSTALL: Regenerated.
1292 * benchtests/Makefile (run-bench): Use $(run-program-env).
1293 * catgets/Makefile ($(objpfx)test1.cat): Use
1294 $(built-program-cmd-before-env), $(run-program-env) and
1295 $(built-program-cmd-after-env).
1296 ($(objpfx)test2.cat): Do not specify environment variables
1298 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1299 $(run-program-env) and $(built-program-cmd-after-env).
1300 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1301 $(run-program-env) and $(test-program-cmd-after-env).
1302 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1304 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1305 run_program_env and test_program_cmd_after_env arguments.
1306 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1307 * elf/tst-pathopt.sh: Use run_program_env argument.
1308 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1309 $(test-wrapper-env) and $(run-program-env).
1310 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1311 run_program_env arguments.
1312 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1313 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1314 $(test-program-prefix-before-env), $(run-program-env) and
1315 $(test-program-prefix-after-env).
1316 ($(objpfx)tst-gettext2.out): Likewise.
1317 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1318 run_program_env and test_program_prefix_after_env arguments.
1319 * intl/tst-gettext2.sh: Likewise.
1320 * intl/tst-gettext4.sh: Do not set environment variables
1322 * intl/tst-gettext6.sh: Likewise.
1323 * intl/tst-translit.sh: Likewise.
1324 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1325 $(test-program-prefix-before-env), $(run-program-env) and
1326 $(test-program-prefix-after-env).
1327 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1328 run_program_env and test_program_prefix_after_env arguments.
1329 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1330 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1331 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1332 explicitly with each use of ${test_wrapper_env}.
1333 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1334 $(test-program-prefix-before-env), $(run-program-env) and
1335 $(test-program-prefix-after-env).
1336 * posix/tst-getconf.sh: Do not set environment variables
1338 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1339 run_program_env and test_program_prefix_after_env arguments.
1340 * stdio-common/tst-printf.sh: Do not set environment variables
1342 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1343 $(test-program-prefix-before-env), $(run-program-env) and
1344 $(test-program-prefix-after-env).
1345 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1346 run_program_env and test_program_prefix_after_env arguments.
1347 Split $test calls into $test_pre and $test.
1348 * timezone/Makefile (build-testdata): Use
1349 $(built-program-cmd-before-env), $(run-program-env) and
1350 $(built-program-cmd-after-env).
1352 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1355 strlen for non SHARED builds.
1357 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1359 * nptl/allocatestack.c (check_list): Inlined function...
1360 (__reclaim_stacks): ... here.
1362 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1365 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1368 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1370 * Rules (make-test-out): Include
1371 LOCPATH=$(common-objpfx)localedata in default environment.
1372 * debug/Makefile (tst-chk1-ENV): Remove variable.
1373 (tst-chk2-ENV): Likewise.
1374 (tst-chk3-ENV): Likewise.
1375 (tst-chk4-ENV): Likewise.
1376 (tst-chk5-ENV): Likewise.
1377 (tst-chk6-ENV): Likewise.
1378 (tst-lfschk1-ENV): Likewise.
1379 (tst-lfschk2-ENV): Likewise.
1380 (tst-lfschk3-ENV): Likewise.
1381 (tst-lfschk4-ENV): Likewise.
1382 (tst-lfschk5-ENV): Likewise.
1383 (tst-lfschk6-ENV): Likewise.
1384 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1385 (tst-iconv7-ENV): Likewise.
1386 * intl/Makefile (LOCPATH-ENV): Likewise.
1387 (tst-codeset-ENV): Likewise.
1388 (tst-gettext3-ENV): Likewise.
1389 (tst-gettext5-ENV): Likewise.
1390 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1391 (tst-fopenloc-ENV): Likewise.
1392 (tst-fgetws-ENV): Remove variable.
1393 (tst-ungetwc1-ENV): Likewise.
1394 (tst-ungetwc2-ENV): Likewise.
1395 (bug-ungetwc2-ENV): Likewise.
1396 (tst-swscanf-ENV): Likewise.
1397 (bug-ftell-ENV): Likewise.
1398 (tst-fgetwc-ENV): Likewise.
1399 (tst-fseek-ENV): Likewise.
1400 (tst-ftell-partial-wide-ENV): Likewise.
1401 (tst-ftell-active-handler-ENV): Likewise.
1402 (tst-ftell-append-ENV): Likewise.
1403 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1404 (tst-regexloc-ENV): Likewise.
1405 (bug-regex1-ENV): Likewise.
1406 (tst-regex-ENV): Likewise.
1407 (tst-regex2-ENV): Likewise.
1408 (bug-regex5-ENV): Likewise.
1409 (bug-regex6-ENV): Likewise.
1410 (bug-regex17-ENV): Likewise.
1411 (bug-regex18-ENV): Likewise.
1412 (bug-regex19-ENV): Likewise.
1413 (bug-regex20-ENV): Likewise.
1414 (bug-regex22-ENV): Likewise.
1415 (bug-regex23-ENV): Likewise.
1416 (bug-regex25-ENV): Likewise.
1417 (bug-regex26-ENV): Likewise.
1418 (bug-regex30-ENV): Likewise.
1419 (bug-regex32-ENV): Likewise.
1420 (bug-regex33-ENV): Likewise.
1421 (bug-regex34-ENV): Likewise.
1422 (bug-regex35-ENV): Likewise.
1423 (tst-rxspencer-ENV): Likewise.
1424 (tst-rxspencer-no-utf8-ENV): Likewise.
1425 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1426 (tst-sscanf-ENV): Likewise.
1427 (tst-swprintf-ENV): Likewise.
1428 (tst-swscanf-ENV): Likewise.
1429 (test-vfprintf-ENV): Likewise.
1430 (scanf13-ENV): Likewise.
1431 (bug14-ENV): Likewise.
1432 (tst-grouping-ENV): Likewise.
1433 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1434 (tst-strtod3-ENV): Likewise.
1435 (tst-strtod4-ENV): Likewise.
1436 (tst-strtod5-ENV): Likewise.
1437 (testmb2-ENV): Likewise./
1438 * string/Makefile (tst-strxfrm-ENV): Likewise.
1439 (tst-strxfrm2-ENV): Likewise.
1440 (bug-strcoll1-ENV): Likewise.
1441 (test-strcasecmp-ENV): Likewise.
1442 (test-strncasecmp-ENV): Likewise.
1443 * time/Makefile (tst-strptime-ENV): Likewise.
1444 (tst-ftime_l-ENV): Likewise.
1445 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1446 (tst-mbrtowc-ENV): Likewise.
1447 (tst-wcrtomb-ENV): Likewise.
1448 (tst-mbrtowc2-ENV): Likewise.
1449 (tst-c16c32-1-ENV): Likewise.
1450 (tst-mbsnrtowcs-ENV): Likewise.
1452 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1454 * manual/resource.texi (How to get information about the memory
1455 subsystem?): Fix typo.
1456 Reported by Peon de la Parra Ivan <peon@keba.com>
1458 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1461 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1462 (pthread_spin_lock): Branch out of spin loop to proper location.
1463 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1464 (pthread_spin_lock): Likewise.
1466 * nptl/tst-spin4.c: New test.
1467 * nptl/Makefile (tests): Add tst-spin4.
1469 2014-06-03 Andreas Schwab <schwab@suse.de>
1472 * resolv/res_send.c (send_dg): Reload file descriptor after
1475 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1477 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1479 2014-06-03 Richard Henderson <rth@redhat.com>
1481 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1482 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1483 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1484 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1485 in the SAVE_PID block.
1486 (__libc_vfork): New alias.
1487 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1489 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1490 child in registers, not on the stack. Remove RESET_PID conditionals.
1491 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1493 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1495 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1497 2014-06-03 Wilco <wdijkstr@arm.com>
1499 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1500 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1501 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1502 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1503 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1506 2014-06-03 Wilco <wdijkstr@arm.com>
1508 * sysdeps/aarch64/fpu/math_private.h
1509 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1510 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1511 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1512 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1515 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1517 * crypt/crypt-private.h: Include ufc-crypt.h.
1518 (__b64_from_24bit): Declare extern.
1519 * crypt/crypt_util.c(__b64_from_24bit): New function.
1520 (b64t): New static const variable.
1521 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1522 (b64t): Remove variable.
1523 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1524 * crypt/sha256-crypt.c: Include crypt-private.h.
1525 (b64t): Remove variable.
1526 (__sha256_crypt_r): Remove b64_from_24bit and replace
1527 with __b64_from_24bit.
1528 * crypt/sha512-crypt.c: Likewise.
1530 2014-06-02 Roland McGrath <roland@hack.frob.com>
1532 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1533 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1534 Label the code __libc_vfork rather than __vfork.
1535 [!NOT_IN_libc] (vfork): Define as weak alias.
1536 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1537 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1538 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1540 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1542 * malloc/malloc.c (malloc_info): Fix format specifier for
1545 2014-06-02 Wilco <wdijkstr@arm.com>
1547 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1550 2014-06-02 Wilco <wdijkstr@arm.com>
1553 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1554 Rewrite to reduce FPCR/FPSR accesses.
1556 2014-06-01 David S. Miller <davem@davemloft.net>
1558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1560 2014-05-31 David S. Miller <davem@davemloft.net>
1562 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1563 to occur in round to nearest mode when |x| >= 2.0
1565 2014-05-30 Richard Henderson <rth@twiddle.net>
1567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1568 (PSEUDO_RET_NOERRNO): Remove.
1569 (ret): Don't redefine.
1570 (ret_NOERRNO): Define in terms of ret.
1571 (ret_ERRVAL): Likewise.
1573 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1574 use of PSEUDO_RET; perform the error check directly.
1576 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1578 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1581 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1583 * malloc/malloc (malloc_info): Fix formatting.
1585 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1586 Roland McGrath <roland@hack.frob.com>
1588 * malloc/malloc (malloc_info): Also print mmapped statistics.
1590 2014-05-30 Roland McGrath <roland@hack.frob.com>
1592 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1593 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1595 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1597 * malloc/malloc.c (malloc_info): Inline mi_arena.
1599 2014-05-29 Richard Henderson <rth@twiddle.net>
1601 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1602 Remove comma before expanding ASM_ARGS_##nr.
1603 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1604 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1606 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1607 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1608 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1609 (ASM_ARGS_1): Add leading comma.
1611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1612 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1613 to __errno_location.
1614 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1615 Remove the expected plt for __errno_location.
1617 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1618 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1621 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1622 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1623 it and break it down.
1624 (DOCARGS_0, DOCARGS_1): Do nothing.
1625 (DOCARGS_2): Update to store into the new stack frame.
1626 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1627 (UNDOCARGS_1): Update to restore from the new stack frame.
1628 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1629 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1631 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1632 (SINGLE_THREAD_P): New parameter for result regno.
1633 (PSEUDO): Update to match; use cbz instead of beq.
1635 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1636 Use ENTRY to define the _nocancel entry point. Share the syscall
1637 and syscall error check paths with the cancel path.
1640 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1641 whitespace; tabs before and after asm mnemonics.
1643 2014-05-29 Eric Wong <normalperson@yhbt.net>
1646 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1647 Call fstat64 or stat64 internally, depending on arguments passed.
1648 Replace stat buffer argument with file descriptor argument.
1649 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1650 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1651 Pass fd to __internal_statvfs instead of calling fstat64.
1652 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1653 Pass fd to __internal_statvfs64 instead of calling fstat64.
1654 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1655 Pass -1 to __internal_statvfs instead of calling stat64.
1656 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1657 Pass -1 to __internal_statvfs64 instead of calling stat64.
1659 2014-05-28 Roland McGrath <roland@hack.frob.com>
1661 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1662 that was previously under [RESET_PID].
1663 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1665 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1666 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1668 2014-05-27 Roland McGrath <roland@hack.frob.com>
1670 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1672 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1673 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1675 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1677 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1679 2014-05-27 Andreas Schwab <schwab@suse.de>
1681 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1683 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1684 * elf/rtld.c (init_tls, dl_main): Likewise.
1685 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1686 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1687 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1688 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1689 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1690 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1691 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1692 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1693 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1694 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1695 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1696 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1697 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1698 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1699 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1700 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1701 * sysdeps/generic/tls.h: Update description.
1703 2014-05-27 Will Newton <will.newton@linaro.org>
1706 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1707 and restore r2 rather than just restoring.
1709 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1712 * libio/tst-ftell-append.c: New test case.
1713 * libio/Makefile (tests): Add test case.
1714 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1716 * libio/wfileops.c (do_ftell_wide): Likewise.
1718 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1722 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1726 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1727 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1728 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1729 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1730 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1731 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1738 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1739 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1740 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1741 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1744 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1747 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1749 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1751 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1753 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1755 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1756 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1757 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1758 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1781 conditional [RESET_PID].
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1783 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1790 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1791 (__libc_vfork): New strong alias.
1792 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1799 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1800 (__libc_vfork): New strong alias.
1801 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1806 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1808 * malloc/malloc.c (mi_arena): New function.
1809 (malloc_info): Remove nested function mi_arena. Call non-nosted
1812 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1814 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1816 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1817 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1818 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1819 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1820 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1821 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1822 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1824 2014-05-26 Andreas Schwab <schwab@suse.de>
1827 * locale/programs/repertoire.c (repertoire_read): Add slash
1828 between I18NPATH element and file name.
1829 * locale/programs/locfile.c (locfile_read): Likewise.
1831 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1833 * nptl/pthread_mutexattr_settype.c
1834 (__pthread_mutexattr_settype):
1835 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1837 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1839 * nptl/tst-mutex5 (do_test):
1840 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1842 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1844 * benchtests/README: Document 'init' directive.
1845 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1847 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1848 (parse_file): Recognize 'init' directive.
1850 2014-05-26 Kyle McMartin <kyle@redhat.com>
1853 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1854 alignment of struct pthread.
1856 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1859 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1860 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1861 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1862 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1864 2014-05-25 Richard Henderson <rth@twiddle.net>
1866 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1867 (SINGLE_THREAD_P_PIC): Remove.
1868 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1869 (SINGLE_THREAD_P_PIC): Remove.
1871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1872 branch to syscall error ...
1874 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1875 from __local_syscall_error to .Lsyscall_error.
1876 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1877 (SYSCALL_ERROR): Update label name.
1879 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1880 Do not use DOARGS/UNDOARGS.
1881 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1882 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1883 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1884 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1885 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1887 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1890 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1891 define if !NOT_IN_libc.
1892 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1893 define with non-default symbol versions.
1895 2014-05-23 Richard Henderson <rth@twiddle.net>
1897 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1898 (vfork, __vfork): Define via compat_symbol.
1900 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1901 [!HAVE_IFUNC] (vfork_compat): Remove.
1902 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1904 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1907 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1908 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1911 2014-05-23 Richard Henderson <rth@twiddle.net>
1913 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1914 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1915 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1916 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1918 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1919 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1920 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1921 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1922 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1923 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1924 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1925 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1926 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1927 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1928 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1929 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1930 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1933 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1934 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1935 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1936 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1937 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1938 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1939 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1940 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1941 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1942 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1943 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1944 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1945 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1946 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1947 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1948 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1957 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1958 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1959 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1960 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1961 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1962 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1963 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1964 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1965 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1967 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1975 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1977 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1978 before exiting on error.
1979 (__libc_vfork): New strong alias.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1981 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1983 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1984 that was previously under [RESET_PID].
1985 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1989 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1992 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1993 value when x - 1 is zero.
1994 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1995 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1996 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1997 0.0L for an argument of 1.0L.
1998 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2000 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2001 value when x - 1 is zero.
2002 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2003 * sysdeps/i386/fpu/libm-test-ulps: Update.
2004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2006 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2008 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2009 alphasort and versionsort.
2011 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2015 [copysignf]: Likewise.
2017 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2019 * crypt/md5-crypt.c: Fix formatting.
2021 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2023 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2024 (b64_from_24bit): New function.
2026 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2029 libc_hidden_builtin_def to ifunc.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2031 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2033 2014-05-21 Roland McGrath <roland@hack.frob.com>
2035 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2036 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2038 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2040 * nscd/Depend (linuxthreads): Remove.
2042 * resolv/Depend (linuxthreads): Remove.
2043 * rt/Depend (linuxthreads): Remove.
2045 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2046 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2047 $(common-objpfx)elf/.
2048 (link-libc-before-gnulib): Likewise.
2049 (elfobjdir): Remove variable.
2050 * Makefile (install): Use $(elf-objpfx) instead of
2051 $(common-objpfx)elf/.
2052 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2054 (link-libc-deps): Likewise.
2055 ($(common-objpfx)libc.so): Likewise.
2056 ($(common-objpfx)linkobj/libc.so): Likewise.
2057 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2058 instead of $(common-objpfx)elf/.
2059 (symbolic-link-list): Likewise.
2060 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2061 [$(cross-compiling) = no]: Likewise.
2062 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2064 (static-gnulib-arch): Likewise.
2065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2066 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2067 $(common-objpfx)elf/.
2069 2014-05-21 Richard Henderson <rth@redhat.com>
2071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2072 (SINGLE_THREAD_P): Use the correct width load. Fold
2073 into the ldr offset.
2075 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2076 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2078 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2080 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2081 (libgcc_s_resume): Use __attribute_used__.
2082 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2085 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2087 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2088 optimization when used with float constants.
2090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2092 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2095 * locale/nl_langinfo_l.c: Make direct reference to every
2096 _nl_current_CATEGORY symbol.
2097 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2098 (tests-static): Add tst-langinfo-static.
2099 (tests-special): Add tst-langinfo-static.out.
2100 ($(objpfx)tst-langinfo.out): Redirect output.
2101 ($(objpfx)tst-langinfo-static.out): New.
2102 * localedata/tst-langinfo.sh: Send output to stdout.
2103 * localedata/tst-langinfo-static.c: New file.
2106 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2107 when the shift amount is modulo the limb size.
2109 2014-05-20 Richard Henderson <rth@redhat.com>
2112 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2113 Change type of sa_flags from unsigned int to int.
2116 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2118 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2120 2014-05-20 Will Newton <will.newton@linaro.org>
2122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2123 Test the return value of the system call in the nocancel case.
2125 2014-05-20 Will Newton <will.newton@linaro.org>
2126 Yvan Roux <yvan.roux@linaro.org>
2128 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2129 #include of asm/ptrace.h.
2130 (PTRACE_GET_THREAD_AREA): Remove #undef.
2131 (PTRACE_GETHBPREGS): Likewise.
2132 (PTRACE_SETHBPREGS): Likewise.
2133 (struct user_regs_struct): New structure.
2134 (struct user_fpsimd_struct): New structure.
2135 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2136 #include of asm/ptrace.h and second #include of sys/user.h.
2137 (PTRACE_GET_THREAD_AREA): Remove #undef.
2138 (PTRACE_GETHBPREGS): Likewise.
2139 (PTRACE_SETHBPREGS): Likewise.
2140 (ELF_NGREG): Use new struct user_regs_struct.
2141 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2143 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2148 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2152 membar to avoid block loads/stores to overlap previous stores.
2154 2014-05-17 Richard Henderson <rth@redhat.com>
2156 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2157 Create the __##syscall_name##_nocancel entry point.
2158 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2159 Remove; let the sysdep-cancel.h code create it.
2161 2014-05-17 David S. Miller <davem@davemloft.net>
2163 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2164 Protect with __USE_GNU.
2165 (TIOCSET_TEMPT): Likewise.
2166 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2167 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2168 these are already provided in bits/ioctl-types.h
2170 2014-05-16 Roland McGrath <roland@hack.frob.com>
2172 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2173 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2175 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2176 Use wait4 regardless of [__NR_waitpid].
2178 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2181 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2182 (_FP_NANSIGN_Q): Set the quiet bit.
2184 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2186 * benchtests/Makefile
2187 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2188 not $(common-objpfx)math/libm.so.
2189 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2190 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2191 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2192 $(common-objpfx)dlfcn/libdl.so.
2193 ($(objpfx)tst-audit8): Depend on $(libm), not
2194 $(common-objpfx)math/libm.so.
2195 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2196 not $(common-objpfx)dlfcn/libdl.so.
2198 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2199 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2200 [$(build-shared) = yes].
2201 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2202 $(common-objpfx)nptl/libpthread.so.
2203 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2204 $(common-objpfx)math/libm.so$(libm.so-version) or
2205 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2206 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2207 $(common-objpfx)dlfcn/libdl.so.
2208 * setjmp/Makefile (link-libm): Remove variable.
2209 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2210 * stdio-common/Makefile (link-libm): Remove variable.
2211 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2212 * stdlib/Makefile (link-libm): Remove variable.
2213 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2214 ($(objpfx)tst-strtod-round): Likewise.
2215 ($(objpfx)tst-tininess): Likewise.
2216 ($(objpfx)tst-strtod-underflow): Likewise.
2217 ($(objpfx)tst-strtod6): Likewise.
2218 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2219 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2220 $(common-objpfx)dlfcn/libdl.so.
2222 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2224 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2225 BSD terminal modes definitions.
2227 2014-05-16 Roland McGrath <roland@hack.frob.com>
2229 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2230 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2232 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2233 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2234 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2235 Don't do #include_next.
2236 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2237 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2238 Don't do #include_next.
2239 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2240 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2241 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2242 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2244 2014-05-16 Allan McRae <allan@archlinux.org>
2246 * po/sv.po: Update Swedish translation from translation project.
2248 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2251 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2254 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2255 errno if the TIOCGPTN ioctl fails with an error different than
2257 * login/tst-ptsname.c: New file.
2258 * login/Makefile (tests): Add tst-ptsname.
2261 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2264 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2268 herrno to return EAI_AGAIN.
2270 2014-05-14 Roland McGrath <roland@hack.frob.com>
2272 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2273 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2274 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2291 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2301 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2303 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2308 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2310 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2312 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2314 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2316 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2318 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2320 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2322 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2324 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2326 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2328 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2332 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2337 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2351 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2358 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2362 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2363 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2364 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2365 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2366 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2368 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2369 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2370 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2372 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2374 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2375 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2376 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2377 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2378 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2380 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2381 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2382 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2384 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2386 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2388 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2389 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2390 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2392 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2394 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2395 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2397 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2398 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2399 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2401 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2407 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2410 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2415 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2418 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2420 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2422 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2424 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2427 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2428 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2430 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2432 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2433 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2435 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2438 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2440 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2444 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2446 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2447 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2449 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2452 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2455 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2460 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2463 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2465 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2467 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2469 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2472 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2477 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2480 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2481 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2483 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2485 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2487 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2489 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2490 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2491 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2493 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2494 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2495 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2501 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2504 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2507 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2509 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2511 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2514 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2515 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2516 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2520 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2521 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2523 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2526 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2528 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2529 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2531 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2540 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2542 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2544 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2546 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2547 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2548 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2550 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2551 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2553 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2554 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2556 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2557 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2558 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2560 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2562 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2564 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2566 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2568 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2570 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2572 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2573 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2575 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2577 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2580 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2582 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2584 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2586 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2590 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2592 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2594 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2596 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2598 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2600 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2602 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2606 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2608 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2611 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2612 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2613 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2614 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2616 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2617 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2619 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2620 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2622 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2623 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2624 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2625 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2630 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2631 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2633 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2634 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2635 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2636 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2637 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2638 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2639 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2640 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2641 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2642 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2643 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2666 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2667 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2669 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2671 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2672 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2673 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2674 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2675 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2676 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2678 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2680 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2681 that was previously under [RESET_PID].
2682 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2683 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2684 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2686 * sysdeps/i386/nptl/Implies: New file.
2687 * sysdeps/x86_64/nptl/Implies: New file.
2688 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2689 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2690 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2691 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2693 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2694 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2695 (__libc_vfork): New strong alias.
2696 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2697 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2699 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2700 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2701 (__libc_vfork): New strong alias.
2702 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2703 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2705 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2706 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2707 (__libc_vfork): New strong alias.
2708 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2709 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2710 * nptl/pt-vfork.c: New file.
2711 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2712 (libpthread: GLIBC_2.20): New version set (empty).
2714 2014-05-14 Will Newton <will.newton@linaro.org>
2716 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2719 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2722 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2723 arguments with exponent 65 or above.
2724 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2725 arguments 0x1p113L or above.
2726 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2727 to arguments 0x1p107L or above.
2728 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2729 positive arguments with exponent 65 or above.
2730 * math/auto-libm-test-in: Add more tests of log1p.
2731 * math/auto-libm-test-out: Regenerated.
2734 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2735 non-finite arguments is +0.
2736 * math/s_cacosf.c (__cacosf): Likewise.
2737 * math/s_cacosl.c (__cacosl): Likewise.
2738 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2739 * sysdeps/i386/fpu/libm-test-ulps: Update.
2740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2743 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2745 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2746 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2747 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2748 for explicit high bit of mantissa when testing for argument equal
2750 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2751 * sysdeps/i386/fpu/libm-test-ulps: Update.
2752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2755 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2756 (__erf): Scale by 16 instead of 8 in potentially underflowing
2757 case. Ensure exception if result actually underflows.
2758 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2759 (__erff): Scale by 16 instead of 8 in potentially underflowing
2760 case. Ensure exception if result actually underflows.
2761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2762 (efx8): Remove variable.
2763 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2764 case. Ensure exception if result actually underflows.
2765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2766 (efx8): Remove variable.
2767 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2768 case. Ensure exception if result actually underflows.
2769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2770 (efx8): Remove variable.
2771 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2772 case. Ensure exception if result actually underflows.
2773 * math/auto-libm-test-in: Add more tests of erf.
2774 * math/auto-libm-test-out: Regenerated.
2776 2014-05-14 Andreas Schwab <schwab@suse.de>
2778 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2779 Remove code conditionalized on USE___THREAD.
2781 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2782 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2785 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2788 Define unconditionally.
2789 (__ASSUME_O_CLOEXEC): Likewise.
2790 (__ASSUME_SOCK_CLOEXEC): Likewise.
2791 (__ASSUME_IN_NONBLOCK): Likewise.
2792 (__ASSUME_PIPE2): Likewise.
2793 (__ASSUME_EVENTFD2): Likewise.
2794 (__ASSUME_SIGNALFD4): Likewise.
2795 (__ASSUME_DUP3): Likewise.
2796 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2797 (__ASSUME_DUP3): Do not define.
2798 (__ASSUME_EVENTFD2): Likewise.
2799 (__ASSUME_IN_NONBLOCK): Likewise.
2800 (__ASSUME_O_CLOEXEC): Likewise.
2801 (__ASSUME_PIPE2): Likewise.
2802 (__ASSUME_SIGNALFD4): Likewise.
2803 (__ASSUME_SOCK_CLOEXEC): Likewise.
2804 (__ASSUME_UTIMES): Undefine.
2805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2806 (__ASSUME_UTIMES): Do not define.
2807 (__ASSUME_O_CLOEXEC): Likewise.
2808 (__ASSUME_SOCK_CLOEXEC): Likewise.
2809 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2810 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2812 (__ASSUME_PIPE2): Likewise.
2813 (__ASSUME_EVENTFD2): Likewise.
2814 (__ASSUME_SIGNALFD4): Likewise.
2815 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2816 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2818 (__ASSUME_EVENTFD2): Likewise.
2819 (__ASSUME_SIGNALFD4): Likewise.
2820 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2821 (__ASSUME_32BITUIDS): Likewise.
2822 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2823 (__ASSUME_IPC64): Likewise.
2824 (__ASSUME_ST_INO_64_BIT): Likewise.
2825 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2826 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2828 (__ASSUME_UTIMES): Do not define.
2829 (__ASSUME_PSELECT): Likewise.
2830 (__ASSUME_PPOLL): Likewise.
2831 (__ASSUME_O_CLOEXEC): Likewise.
2832 (__ASSUME_SOCK_CLOEXEC): Likewise.
2833 (__ASSUME_IN_NONBLOCK): Likewise.
2834 (__ASSUME_PIPE2): Likewise.
2835 (__ASSUME_EVENTFD2): Likewise.
2836 (__ASSUME_SIGNALFD4): Likewise.
2837 (__ASSUME_DUP3): Likewise.
2838 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2839 (__ASSUME_UTIMES): Likewise.
2840 (__ASSUME_O_CLOEXEC): Likewise.
2841 (__ASSUME_SOCK_CLOEXEC): Likewise.
2842 (__ASSUME_IN_NONBLOCK): Likewise.
2843 (__ASSUME_PIPE2): Likewise.
2844 (__ASSUME_EVENTFD2): Likewise.
2845 (__ASSUME_SIGNALFD4): Likewise.
2846 (__ASSUME_DUP3): Likewise.
2847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2848 (__ASSUME_UTIMES): Likewise.
2849 (__ASSUME_O_CLOEXEC): Likewise.
2850 (__ASSUME_SOCK_CLOEXEC): Likewise.
2851 (__ASSUME_IN_NONBLOCK): Likewise.
2852 (__ASSUME_PIPE2): Likewise.
2853 (__ASSUME_EVENTFD2): Likewise.
2854 (__ASSUME_SIGNALFD4): Likewise.
2855 (__ASSUME_DUP3): Likewise.
2856 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2858 (__ASSUME_UTIMES): Likewise.
2859 (__ASSUME_EVENTFD2): Likewise.
2860 (__ASSUME_SIGNALFD4): Likewise.
2861 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2862 (__ASSUME_O_CLOEXEC): Likewise.
2863 (__ASSUME_SOCK_CLOEXEC): Likewise.
2864 (__ASSUME_IN_NONBLOCK): Likewise.
2865 (__ASSUME_PIPE2): Likewise.
2866 (__ASSUME_EVENTFD2): Likewise.
2867 (__ASSUME_SIGNALFD4): Likewise.
2868 (__ASSUME_DUP3): Likewise.
2869 (__ASSUME_UTIMES): Undefine.
2871 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2872 feclearexcept. Remove symbol versioning code.
2873 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2874 symbol versioning code.
2875 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2876 symbol versioning code.
2877 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2878 feupdateenv. Remove symbol versioning code.
2879 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2880 fegetexceptflag. Remove symbol versioning code.
2881 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2882 fesetexceptflag. Remove symbol versioning code.
2883 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2884 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2885 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2886 (__posix_fadvise64_l32): Remove prototype.
2887 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2890 2014-05-13 Roland McGrath <roland@hack.frob.com>
2892 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2893 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2894 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2895 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2897 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2899 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2900 current working directory
2902 2014-05-13 Roland McGrath <roland@hack.frob.com>
2904 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2905 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2906 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2907 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2908 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2909 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2910 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2911 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2927 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2937 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2938 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2939 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2940 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2941 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2942 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2943 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2944 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2945 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2947 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2948 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2950 * sysdeps/unix/sysv/linux/arm/Makefile
2951 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2952 Add rt-aeabi_unwind_cpp_pr1.
2953 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2954 Add nptl-aeabi_unwind_cpp_pr1.
2955 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2956 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2957 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2958 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2959 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2960 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2962 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2963 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2964 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2965 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2967 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2968 Deconditionalize the code that was previously under [RESET_PID].
2969 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2971 * sysdeps/generic/exit-thread.h: New file.
2972 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2973 * include/unistd.h (__exit_thread): Remove declaration.
2974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2975 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2976 * csu/libc-start.c: Include <exit-thread.h>.
2977 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2978 * nptl/pthread_create.c: Include <exit-thread.h>.
2979 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2980 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2981 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2982 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2983 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2984 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2985 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2986 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2987 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2988 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2989 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2990 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2991 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2992 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2993 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2994 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2995 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2997 2014-05-13 Andreas Schwab <schwab@suse.de>
2999 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3001 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3003 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3004 (__ASSUME_UTIMES): Do not condition on kernel version.
3005 (__ASSUME_PSELECT): Define unconditionally.
3006 (__ASSUME_PPOLL): Likewise.
3007 (__ASSUME_ATFCTS): Likewise.
3008 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3009 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3010 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3011 (__ASSUME_UTIMENSAT): Define unconditionally.
3012 (__ASSUME_PRIVATE_FUTEX): Likewise.
3013 (__ASSUME_FALLOCATE): Likewise.
3014 (__ASSUME_O_CLOEXEC): Likewise.
3015 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3016 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3017 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3018 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3019 (__ASSUME_IN_NONBLOCK): Likewise.
3020 (__ASSUME_PIPE2): Likewise.
3021 (__ASSUME_EVENTFD2): Likewise.
3022 (__ASSUME_SIGNALFD4): Likewise.
3023 (__ASSUME_DUP3): Likewise.
3024 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3025 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3026 (__ASSUME_AT_RANDOM): Likewise.
3027 (__ASSUME_PREADV): Likewise.
3028 (__ASSUME_PWRITEV): Likewise.
3029 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3030 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3031 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3032 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3033 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3034 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3035 (__ASSUME_O_CLOEXEC): Define unconditionally.
3036 (__ASSUME_PSELECT): Do not undefine conditionally.
3037 (__ASSUME_PPOLL): Likewise.
3038 (__ASSUME_ATFCTS): Likewise.
3039 (__ASSUME_SET_ROBUST_LIST): Likewise.
3040 (__ASSUME_UTIMENSAT): Likewise.
3041 (__ASSUME_FDATASYNC): Define unconditionally.
3042 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3043 (__ASSUME_SIGFRAME_V2): Likewise.
3044 )__ASSUME_EVENTFD2): Likewise.
3045 (__ASSUME_SIGNALFD4): Likewise.
3046 (__ASSUME_PSELECT): Do not undefine conditionally.
3047 (__ASSUME_PPOLL): Likewise.
3048 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3049 (__ASSUME_PSELECT): Define unconditionally.
3050 (__ASSUME_PPOLL): Likewise.
3051 (__ASSUME_O_CLOEXEC): Likewise.
3052 (__ASSUME_SOCK_CLOEXEC): Likewise.
3053 (__ASSUME_IN_NONBLOCK): Likewise.
3054 (__ASSUME_PIPE2): Likewise.
3055 (__ASSUME_EVENTFD2): Likewise.
3056 (__ASSUME_SIGNALFD4): Likewise.
3057 (__ASSUME_DUP3): Likewise.
3058 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3059 (__ASSUME_O_CLOEXEC): Likewise.
3060 (__ASSUME_SOCK_CLOEXEC): Likewise.
3061 (__ASSUME_IN_NONBLOCK): Likewise.
3062 (__ASSUME_PIPE2): Likewise.
3063 (__ASSUME_EVENTFD2): Likewise.
3064 (__ASSUME_SIGNALFD4): Likewise.
3065 (__ASSUME_DUP3): Likewise.
3066 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3067 (__ASSUME_EVENTFD2): Likewise.
3068 (__ASSUME_SIGNALFD4): Likewise.
3069 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3071 2014-05-12 Andreas Schwab <schwab@suse.de>
3074 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3075 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3076 than maximum RPC packet size.
3077 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3078 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3079 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3080 (_nss_nis_getservbyport_r): Likewise.
3082 2014-05-12 Will Newton <will.newton@linaro.org>
3084 * malloc/Makefile (tests): Add tst-mallopt.
3085 * malloc/tst-mallopt.c: New file.
3087 2014-05-09 Roland McGrath <roland@hack.frob.com>
3089 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3090 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3092 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3094 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3095 (tst-tlsmod6.so): Likewise.
3097 2014-05-09 Roland McGrath <roland@hack.frob.com>
3099 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3101 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3104 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3105 and <dl-procinfo.h>.
3106 (__fegetenv): Save SSE state in envp->__eip if supported.
3107 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3108 envp->__eip if supported.
3109 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3110 and <dl-procinfo.h>.
3111 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3112 __data_offset and __data_selector in environment to 0. Set SSE
3114 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3116 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3118 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3120 2014-05-09 Will Newton <will.newton@linaro.org>
3122 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3123 and libc_relro_required for ARM.
3124 * sysdeps/arm/preconfigure: Regenerate.
3126 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3127 Stefan Liebler <stli@linux.vnet.ibm.com>
3129 * config.make.in (enable-lock-elision): New Makefile variable.
3130 * configure.ac: Likewise.
3131 * configure: Regenerate.
3132 * sysdeps/s390/configure.ac:
3133 Add check for gcc transactions support.
3134 * sysdeps/s390/configure: Regenerate.
3135 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3136 Build elision files if enabled.
3137 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3138 Add lock elision support for s390.
3139 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3140 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3141 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3142 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3143 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3144 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3145 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3147 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3149 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3151 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3153 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3154 (__lll_timedlock_elision, __lll_lock_elision)
3155 (__lll_unlock_elision, __lll_trylock_elision)
3156 (lll_timedlock_elision, lll_lock_elision)
3157 (lll_unlock_elision, lll_trylock_elision): Add.
3158 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3159 (pthread_mutex_t): Add lock elision support for s390.
3161 2014-05-14 Wilco <wdijkstr@arm.com>
3163 * sysdeps/arm/fclrexcpt.c: Cleanup.
3164 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3165 * sysdeps/arm/feenablxcpt.c: Cleanup.
3166 * sysdeps/arm/fegetenv.c: Cleanup.
3167 * sysdeps/arm/fegetexcept.c: Cleanup.
3168 * sysdeps/arm/fegetround.c: Cleanup.
3169 * sysdeps/arm/feholdexcpt.c: Cleanup.
3170 * sysdeps/arm/fesetenv.c: Cleanup.
3171 * sysdeps/arm/fesetround.c: Cleanup.
3172 * sysdeps/arm/feupdateenv.c: Cleanup.
3173 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3174 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3175 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3176 * sysdeps/arm/ftestexcept.c: Cleanup.
3177 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3178 * sysdeps/arm/setfpucw.c: Cleanup.
3180 2014-05-09 Will Newton <will.newton@linaro.org>
3182 * sysdeps/arm/armv7/strcmp.S: New file.
3183 * NEWS: Mention addition of ARMv7 optimized strcmp.
3185 2014-05-08 Roland McGrath <roland@hack.frob.com>
3187 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3188 look for %.ac rather than %.in.
3190 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3191 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3192 * sysdeps/mach/hurd/configure: Regenerated.
3193 * sysdeps/unix/sysv/linux/configure: Regenerated.
3195 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3197 2014-05-07 Steve Ellcey <sellcey@mips.com>
3200 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3204 2014-05-07 Andreas Schwab <schwab@suse.de>
3206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3207 when skipping over non-matching result from nscd.
3209 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3212 * nptl/sockperf.c (client): Check socket return value.
3215 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3216 nscd security class.
3218 2014-05-06 Roland McGrath <roland@hack.frob.com>
3220 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3221 * sysdeps/arm/unwind.h: ... here.
3223 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3226 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3229 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3231 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3232 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3233 multiarch strncpy for PPC64.
3234 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3235 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3237 multiarch optimizations.
3238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3239 (__libc_ifunc_impl_list): Likewise.
3240 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3241 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3242 multiarch stpncpy for PPC64.
3243 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3244 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3246 2014-05-06 Andreas Schwab <schwab@suse.de>
3249 * gmon/mcount.c (_MCOUNT_DECL): Use
3250 atomic_compare_and_exchange_bool_acq instead of
3251 catomic_compare_and_exchange_bool_acq.
3253 2014-05-05 Roland McGrath <roland@hack.frob.com>
3255 * elf/Makefile (others, install-bin): Remove pldd.
3256 (pldd-modules): Variable removed.
3257 ($(objpfx)pldd): Target removed.
3258 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3259 (others, install-bin): Append pldd here.
3260 ($(objpfx)pldd): New target.
3262 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3263 to 0, so the first #if test emitted later doesn't see it undefined.
3264 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3265 * sysdeps/gnu/errlist.c: Regenerated.
3267 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3269 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3270 [libc_hidden_builtin_def]: Define to empty value.
3271 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3272 [libc_hidden_builtin_def]: Likewise.
3273 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3274 [libc_hidden_builtin_def]: Likewise.
3275 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3276 [libc_hidden_builtin_def]: Likewise.
3277 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3278 __redirect_memcpy and define ifunc as default hidden symbol.
3279 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3280 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3282 2014-05-04 Adam Conrad <adconrad@0c3.net>
3284 * locale/iso-4217.def: Reintroduce XDR currency.
3286 2014-05-04 Allan McRae <allan@archlinux.org>
3288 * po/eo.po: Update Esperanto translation from translation project.
3290 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3292 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3293 and FEATURE_INDEX_MAX to 1.
3294 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3296 2014-05-01 Steve Ellcey <sellcey@mips.com>
3298 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3299 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3300 * iconvdata/big5.c (ONE_DIRECTION): Define.
3301 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3302 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3303 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3304 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3305 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3306 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3307 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3308 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3309 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3310 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3311 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3312 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3313 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3314 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3315 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3316 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3317 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3318 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3319 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3320 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3321 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3322 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3323 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3324 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3325 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3326 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3327 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3328 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3329 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3330 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3331 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3332 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3333 * iconvdata/johab.c (ONE_DIRECTION): Define.
3334 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3335 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3336 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3337 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3338 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3339 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3340 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3341 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3342 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3343 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3345 2014-05-01 Roland McGrath <roland@hack.frob.com>
3347 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3348 (_IO_JUMPS_OFFSET): Define to 0.
3350 * nptl/sysdeps/pthread/bits/libc-lock.h
3351 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3352 (__libc_lock_define_initialized_recursive): Always define using
3353 initializer. Modern compilers treat uninitialized (implicit zero) and
3354 explicit zero initializers the same (i.e. put the datum in bss).
3356 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3358 * nscd/nscd-client.h: Include <string.h>.
3360 2014-05-01 David S. Miller <davem@davemloft.net>
3363 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3364 multiple zero bytes exist at the end of a string.
3365 Reported by Aurelien Jarno <aurelien@aurel32.net>
3367 * string/test-strcmp.c (check): Add explicit test for situations where
3368 there are multiple zero bytes after the first.
3370 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3373 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3374 when compiling wprintf.
3375 * stdio-common/tstdiomisc.c (t3): New function.
3378 2014-05-01 Steve Ellcey <sellcey@mips.com>
3380 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3381 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3382 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3383 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3385 2014-05-01 Steve Ellcey <sellcey@mips.com>
3387 * stdlib/longlong.h: Updated from GCC.
3389 2014-05-01 Will Newton <will.newton@linaro.org>
3390 Bernard Ogden <bernie.ogden@linaro.org>
3392 * NEWS: Update fixed bug list.
3395 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3397 2014-04-30 David S. Miller <davem@davemloft.net>
3399 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3400 (libc_feholdexcept_setround_sparc_ctx): New function.
3401 (libc_fesetenv_sparc_ctx): Likewise.
3402 (libc_feupdateenv_sparc_ctx): Likewise.
3403 (libc_feholdsetround_sparc_ctx): Likewise.
3404 (libc_feholdexcept_setround_ctx): Define.
3405 (libc_feholdexcept_setroundf_ctx): Likewise.
3406 (libc_feholdexcept_setroundl_ctx): Likewise.
3407 (libc_fesetenv_ctx): Likewise.
3408 (libc_fesetenvf_ctx): Likewise.
3409 (libc_fesetenvl_ctx): Likewise.
3410 (libc_feupdateenv_ctx): Likewise.
3411 (libc_feupdateenvf_ctx): Likewise.
3412 (libc_feupdateenvl_ctx): Likewise.
3413 (libc_feresetround_ctx): Likewise.
3414 (libc_feresetroundf_ctx): Likewise.
3415 (libc_feresetroundl_ctx): Likewise.
3416 (libc_feholdsetround_ctx): Likewise.
3417 (libc_feholdsetroundf_ctx): Likewise.
3418 (libc_feholdsetroundl_ctx): Likewise.
3420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3421 with __USE_GNU instead of XOPEN cpp guards.
3423 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3426 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3427 with XOPEN cpp guards.
3429 2014-04-30 Julian Brown <julian@codesourcery.com>
3432 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3435 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3438 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3440 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3441 * sysdeps/unix/sysv/linux/configure: Regenerated.
3442 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3443 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3444 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3445 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3446 * README: Update reference to required Linux kernel version.
3447 * manual/install.texi (Linux): Update reference to required Linux
3448 kernel headers version.
3449 * INSTALL: Regenerated.
3451 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3453 [POSIX] (limits.h): Likewise.
3454 [POSIX] (math.h): Likewise.
3455 [POSIX] (sys/wait.h): Likewise.
3456 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3458 [POSIX] (stddef.h): Do not allow header inclusion.
3460 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3464 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3466 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3467 Return immediately after lll_futex_wake.
3469 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3474 (datahead_init_pos): Call datahead_init_common early.
3475 (datahead_init_neg): Likewise.
3477 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3478 datahead_init_neg): New functions.
3479 * nscd/aicache.c (addhstaiX): Use them.
3480 * nscd/grpcache.c (cache_addgr): Likewise.
3481 * nscd/hstcache.c (cache_addhst): Likewise.
3482 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3483 * nscd/netgroupcache.c (do_notfound): Likewise.
3484 (addgetnetgrentX): Likewise.
3485 (addinnetgrX): Likewise.
3486 * nscd/pwdcache.c (cache_addpw): Likewise.
3487 * nscd/servicescache.c (cache_addserv): Likewise.
3489 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3490 Atsushi Onoe <atsushi@onoe.org>
3495 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3496 one response is valid.
3497 * resolv/res_send.c (send_dg): Check for validity of other
3498 response if the current response is a referral.
3500 2014-04-29 Steve Ellcey <sellcey@mips.com>
3502 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3504 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3507 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3508 Always divide by positive zero when computing -Inf result.
3509 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3510 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3512 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3515 FPSCR if value do not change.
3516 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3517 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3518 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3519 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3520 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3521 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3524 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3526 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3527 * sysdeps/unix/sysv/linux/hppa: Move directory from
3528 ports/systeps/unix/sysv/linux/hppa.
3529 * README: Update listing for hppa-*-linux-gnu.
3531 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3534 * manual/stdio.texi (Hook functions): Fix types of stream hook
3537 * socket/sys/socket.h: Fix typo in comment.
3539 2014-04-28 Wilco <wdijkstr@arm.com>
3541 * sysdeps/arm/fenv_private.h: New file.
3542 * sysdeps/arm/math_private.h: New file.
3543 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3545 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3547 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3549 (La_x86_64_retval): Likewise.
3551 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3553 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3554 fpsr if value didn't change.
3555 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3556 to fpcr if value didn't change.
3557 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3558 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3559 fpsr or fpcr if value didn't change.
3560 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3561 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3562 fpcr if value didn't change.
3563 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3564 to fpsr if value didn't change.
3566 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3568 * nptl/tst-sem3.c: Use test-skeleton.c
3569 (main): Rename to do_test. Use return instead of
3571 * nptl/tst-sem4.c: Use test-skeleton.c
3572 (main): Rename to do_test.
3574 2014-04-22 David S. Miller <davem@davemloft.net>
3576 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3577 (struct sigaction): New struct member __glibc_reserved0, change
3578 type of sa_flags to int.
3580 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3582 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3583 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3585 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3587 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3588 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3590 2014-04-22 Will Newton <will.newton@linaro.org>
3591 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3593 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3594 (__longjmp): Add longjmp and longjmp_target SystemTap
3596 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3597 (__sigsetjmp): Add setjmp SystemTap probe.
3599 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3601 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3604 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3606 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3608 * sysdeps/powerpc/fpu/fenv_private.h
3609 (libc_feholdexcept_setroundl_ctx): Define to
3610 libc_feholdexcept_setround_ppc_ctx.
3611 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3612 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3613 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3614 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3616 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3618 * sysdeps/aarch64/math-tests.h: New file.
3620 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3622 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3625 Check and set bit_AVX2_Usable.
3626 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3628 (bit_AVX2): Likewise.
3629 (index_AVX2_Usable): Likewise.
3630 (CPUID_AVX2): Likewise.
3631 (HAS_AVX2): Likewise.
3633 2014-04-17 Will Newton <will.newton@linaro.org>
3635 * manual/setjmp.texi (System V contexts): Add note that
3636 calling setcontext on a context created by a call to a
3637 signal handler is undefined. Update text to note that
3638 setcontext from a signal handler is possible but not
3642 * stdlib/tst-setcontext.c: Include signal.h.
3643 (main): Check that the signal stack before and
3644 after swapcontext is the same.
3646 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3647 Re-implement to restore registers in user code and avoid
3648 rt_sigreturn system call.
3650 2014-04-17 Wilco <wdijkstr@arm.com>
3652 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3653 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3654 * math/test-fenv.c: Skip exception trap tests on targets which only
3655 support non-stop mode.
3657 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3658 Wilco Dijkstra <wilco.dijkstra@arm.com>
3660 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3661 (libc_feholdsetround_aarch64_ctx)
3662 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3663 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3664 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3665 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3666 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3667 (libc_feresetround_noexl_ctx): Define.
3669 2014-04-16 Richard Henderson <rth@redhat.com>
3671 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3673 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3676 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3677 const from the non-libc, non-ldso copy.
3679 * sysdeps/alpha/libm-test-ulps: Regenerate.
3681 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3682 Wilco Dijkstra <wilco.dijkstra@arm.com>
3684 * sysdeps/aarch64/fpu/math_private.h: New file.
3686 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3688 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3690 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3692 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3693 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3695 Intel MPX bound registers before _dl_profile_fixup.
3696 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3697 registers after _dl_profile_fixup. Save and restore bound
3698 registers bnd0/bnd1 when calling _dl_call_pltexit.
3699 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3700 (LR_BND_OFFSET): Likewise.
3701 (LRV_BND0_OFFSET): Likewise.
3702 (LRV_BND1_OFFSET): Likewise.
3704 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3706 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3708 * sysdeps/mach/hurd/i386/tls.h: ... here.
3709 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3710 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3713 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3715 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3717 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3719 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3721 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3724 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3725 * sysdeps/s390/configure: Regenerate.
3728 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3729 Set round-to-nearest internally to reduce error accumulation.
3731 2014-04-16 Alan Modra <amodra@gmail.com>
3735 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3736 * math/libm-test.inc (frexp_test_data): Add tests.
3737 * NEWS: Update fixed bug list.
3739 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3741 * benchtests/Makefile: Depend on libraries in build directory.
3742 (bench-math): Separate out math tests.
3743 (bench-pthread): Separate out pthread tests.
3744 (bench): Include math and pthread tests.
3746 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3749 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3750 _dl_debug_initialize.
3752 * configure.ac: Remove SELinux header check.
3753 * configure: Regenerate.
3754 * nscd/selinux.c (perms): Array of const char* to permission names.
3755 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3756 default policy. Call string_to_security_class and string_to_av_perm to
3757 translate strings. Enforce default policy and call avs_has_perm with
3758 results of translated strings.
3760 2014-04-13 David S. Miller <davem@davemloft.net>
3762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3764 2014-04-12 Allan McRae <allan@archlinux.org>
3767 * manual/string.texi (Collation Functions): Fix qsort argument
3769 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3771 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3773 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3774 Make the test a no-op if there are no exceptions defined.
3776 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3778 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3779 enable-hardcoded-path-in-tests
3781 2014-04-11 Will Newton <will.newton@linaro.org>
3783 * benchtests/Makefile (extra-objs): Add json-lib.o.
3784 (bench-func): Tidy up JSON output.
3785 * benchtests/bench-skeleton.c: Include json-lib.h.
3786 (main): Use JSON library functions to do output of
3788 * benchtests/bench-timing-type.c (main): Output the
3789 timing type simply, leaving formatting to the user.
3790 * benchtests/json-lib.c: New file.
3791 * benchtests/json-lib.h: Likewise.
3793 2014-04-11 Torvald Riegel <triegel@redhat.com>
3796 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3797 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3798 memory barriers. Add comments.
3799 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3800 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3801 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3802 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3803 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3804 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3806 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3808 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3809 * sysdeps/s390/s390-64/configure.ac: ... this ...
3810 * sysdeps/s390/configure.ac: ... to here.
3811 * sysdeps/s390/s390-32/configure: Delete file.
3812 * sysdeps/s390/s390-64/configure: Delete file.
3813 * sysdeps/s390/configure: Regenerate.
3815 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3817 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3819 2014-04-11 Will Newton <will.newton@linaro.org>
3821 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3822 to zero if it is not defined elsewhere. (mtrim): Test
3823 the value of MALLOC_DEBUG with #if rather than #ifdef.
3825 2014-04-10 Torvald Riegel <triegel@redhat.com>
3827 * benchtests/pthread_once-inputs: New file.
3828 * benchtests/pthread_once-source.c: New file.
3829 * benchtests/README: Update documentation.
3831 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3832 H.J. Lu <hongjiu.lu@intel.com>
3834 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3835 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3836 * sysdeps/x86_64/configure: Regenerated.
3837 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3839 (REGISTER_SAVE_RAX): Likewise.
3840 (REGISTER_SAVE_RCX): Likewise.
3841 (REGISTER_SAVE_RDX): Likewise.
3842 (REGISTER_SAVE_RSI): Likewise.
3843 (REGISTER_SAVE_RDI): Likewise.
3844 (REGISTER_SAVE_R8): Likewise.
3845 (REGISTER_SAVE_R9): Likewise.
3846 (REGISTER_SAVE_BND0): Likewise.
3847 (REGISTER_SAVE_BND1): Likewise.
3848 (REGISTER_SAVE_BND2): Likewise.
3849 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3850 bound registers when calling _dl_fixup.
3852 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3854 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3855 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3857 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3858 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3859 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3860 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3861 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3862 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3863 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3865 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3868 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3869 pathconf(_PC_NAME_MAX).
3871 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3873 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3875 (__PTHREAD_SPINS): Move definition to ...
3876 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3877 (__PTHREAD_SPINS): ... here.
3878 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3879 (__PTHREAD_SPIN): Likewise.
3880 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3881 (__PTHREAD_SPIN): Likewise.
3882 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3883 (__PTHREAD_SPIN): Likewise.
3884 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3885 (__PTHREAD_SPIN): Likewise.
3886 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3887 (__PTHREAD_SPIN): Likewise.
3888 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3889 (__PTHREAD_SPIN): Likewise.
3890 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3891 (__PTHREAD_SPIN): Likewise.
3892 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3893 (__PTHREAD_SPIN): Likewise.
3894 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3895 (__PTHREAD_SPIN): Likewise.
3896 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3897 (__PTHREAD_SPIN): Likewise.
3898 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3899 (__PTHREAD_SPIN): Likewise.
3900 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3901 (__PTHREAD_SPIN): Likewise.
3903 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3904 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3905 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3906 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3908 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3909 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3910 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3911 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3913 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3914 strlen symbol for non multi-arch builds.
3915 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3916 missing hidden_def and weak_alias.
3918 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3920 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3922 2014-04-07 Will Newton <will.newton@linaro.org>
3924 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3925 and contents. [!_LIBC] Remove #ifndef and contents.
3926 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3927 * string/memccpy.c (__memccpy): Use ANSI prototype.
3928 * string/memfrob.c (memfrob): Likewise.
3929 * string/strcoll.c (STRCOLL): Likewise.
3930 * string/strlen.c (strlen): Likewise.
3931 * string/strtok.c (STRTOK): Likewise.
3932 * string/strcat.c: Remove unused #include of memcopy.h.
3933 (strcat): Use ANSI prototype.
3934 * string/strchr.c: Remove unused #include of memcopy.h.
3935 (strchr): Use ANSI prototype.
3936 * string/strcmp.c: Remove unused #include of memcopy.h.
3937 (strcmp): Use ANSI prototype.
3938 * string/strcpy.c: Remove unused #include of memcopy.h.
3939 (strcpy): Use ANSI prototype.
3941 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3944 * config.make.in (config-extra-cppflags): Set it from
3945 libc_extra_cppflags.
3946 * configure.ac (libc_extra_cflags): Make it accumulate over
3947 configure fragments.
3948 (libc_extra_cppflags): New flag.
3949 * configure. Regenerate.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3951 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3952 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3956 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3957 result for FE_DOWNWARD rounding mode.
3958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3962 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3964 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3965 in function argument name.
3967 2014-04-03 David Svoboda <svoboda@cert.org>
3970 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3973 2014-04-03 Roland McGrath <roland@hack.frob.com>
3975 * elf/dl-unmap-segments.h: New file.
3976 * sysdeps/generic/ldsodefs.h
3977 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3978 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3979 * elf/dl-fptr.c: Likewise.
3980 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3981 * sysdeps/aarch64/tlsdesc.c: Likewise.
3982 * sysdeps/arm/tlsdesc.c: Likewise.
3983 * sysdeps/i386/tlsdesc.c: Likewise.
3984 * sysdeps/tile/dl-runtime.c: Likewise.
3985 * sysdeps/x86_64/tlsdesc.c: Likewise.
3986 * elf/dl-load.h: New file.
3987 * elf/dl-load.c: Include it.
3988 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3989 Macros moved to dl-load.h.
3990 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3991 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3992 Use _dl_unmap_segments in place of __munmap.
3993 Break out segment-mapping loop into ...
3994 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3996 2014-04-03 Will Newton <will.newton@linaro.org>
3998 * elf/dl-lookup.c (do_lookup_x): Remove comment
3999 referring to nested function and move variable
4000 declarations down to before first use.
4002 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4006 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4008 * math/s_catanf.c (__catanf): Likewise.
4009 * math/s_catanh.c (__catanh): Likewise.
4010 * math/s_catanhf.c (__catanhf): Likewise.
4011 * math/s_catanhl.c (__catanhl): Likewise.
4012 * math/s_catanl.c (__catanl): Likewise.
4013 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4014 by positive zero when computing -Inf result.
4015 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4016 (catanh_test): Likewise.
4017 * sysdeps/i386/fpu/libm-test-ulps: Update.
4018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4022 instead of using underflowing value in computing result.
4023 * math/s_clog10.c (__clog10): Likewise.
4024 * math/s_clog10f.c (__clog10f): Likewise.
4025 * math/s_clog10l.c (__clog10l): Likewise.
4026 * math/s_clogf.c (__clogf): Likewise.
4027 * math/s_clogl.c (__clogl): Likewise.
4028 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4029 (clog10_test): Likewise.
4030 * sysdeps/i386/fpu/libm-test-ulps: Update.
4031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4033 2014-04-02 Alan Modra <amodra@gmail.com>
4036 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4037 output when value is near a power of two. Use int64_t for lx and
4038 remove casts. Use decimal rather than hex exponent constants.
4039 Don't use long double multiplication when double will suffice.
4040 * math/libm-test.inc (nextafter_test_data): Add tests.
4041 * NEWS: Add 16739 and 16786 to bug list.
4043 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4045 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4047 2014-04-01 Will Newton <will.newton@linaro.org>
4049 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4050 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4052 2014-04-01 Florian Weimer <fweimer@redhat.com>
4055 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4056 * nptl/tst-setuid2.c: New file.
4057 * nptl/Makefile (xtests): Add tst-setuid2.
4059 2014-04-01 Alan Modra <amodra@gmail.com>
4062 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4064 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4068 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4069 set errno as appropriate.
4070 * math/w_scalbf.c (__scalbf): Likewise.
4071 * math/w_scalbl.c (__scalbl): Likewise.
4072 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4073 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4074 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4078 * math/w_atan2.c: Include <errno.h>.
4079 (__atan2): Set errno for result underflowing to zero.
4080 * math/w_atan2f.c: Include <errno.h>.
4081 (__atan2f): Set errno for result underflowing to zero.
4082 * math/w_atan2l.c: Include <errno.h>.
4083 (__atan2l): Set errno for result underflowing to zero.
4084 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4086 * math/auto-libm-test-out: Regenerated.
4088 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4090 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4091 Encode instruction correctly in little endian.
4092 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4094 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4096 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4098 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4101 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4104 * sysdeps/unix/sysv/linux/kernel-features.h
4105 [__sparc__ && !__arch64__ && !__sparc_v9__]
4106 (__ASSUME_SET_ROBUST_LIST): Do not define.
4107 [__sparc__ && !__arch64__ && !__sparc_v9__]
4108 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4109 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4111 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4112 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4113 (__ASSUME_REQUEUE_PI): Likewise.
4114 (__ASSUME_SET_ROBUST_LIST): Likewise.
4115 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4116 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4119 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4121 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4123 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4125 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4126 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4128 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4129 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4133 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4134 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4135 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4137 2014-03-31 Will Newton <will.newton@linaro.org>
4139 * benchtests/Makefile (bench): Add ffs and ffsll to list
4141 * benchtests/ffs-inputs: New file.
4142 * benchtests/ffsll-inputs: Likewise.
4144 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4147 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4148 too large before casting to int.
4149 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4150 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4151 * math/libm-test.inc (scalb_test_data): Add more tests.
4153 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4155 * benchtests/Makefile (DETAILED_OPT): New make option.
4156 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4158 * benchtests/bench-skeleton.c: Include stdbool.h.
4159 (main): Store and print timings per input.
4160 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4161 member to each argument value.
4162 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4163 (_print_arg_data): Initialize per-input timing to 0.
4165 * benchtests/Makefile (timing-type): New binary.
4166 (bench-clean): Also remove bench-timing-type.
4167 (bench): New target for timing-type.
4168 (bench-func): Print output in JSON format.
4169 * benchtests/bench-skeleton.c (main): Print output in JSON
4171 * benchtests/bench-timing-type.c: New file.
4172 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4173 (TIMING_PRINT_STATS): Remove.
4174 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4177 * benchtests/bench-modf.c: Remove.
4178 * benchtests/modf-inputs: New inputs file.
4180 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4183 * math/s_clog10.c (M_PI_LOG10E): New macro.
4184 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4185 imaginary parts are 0.
4186 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4187 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4188 imaginary parts are 0.
4189 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4190 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4191 imaginary parts are 0.
4192 * math/libm-test.inc (clog10_test_data): Update expected results
4193 for when real and imaginary parts are 0.
4195 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4197 * elf/dl-load.c: Finish conversion of __builtin_expect into
4200 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4203 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4204 1+x for argument with exponent below -67.
4205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4207 * math/auto-libm-test-in: Add more tests of exp.
4208 * math/auto-libm-test-out: Regenerated.
4210 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4213 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4214 (nscd_getnetgrent): Use it.
4217 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4220 2014-03-27 Andi Kleen <ak@linux.intel.com>
4222 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4223 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4224 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4225 (lll_robust_unlock): Remove out of line section. Use cfi
4227 (LLL_STUB_UNWIND_INFO*): Remove.
4228 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4229 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4230 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4231 (lll_robust_unlock): Remove out of line section. Use cfi
4233 (LLL_STUB_UNWIND_INFO*): Remove.
4235 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4238 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4241 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4243 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4245 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4248 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4250 * math/test-fenv-preserve.c: New file.
4251 * math/Makefile (tests): Add test-fenv-preserve.
4253 2014-03-26 Will Newton <will.newton@linaro.org>
4255 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4257 2014-03-25 Roland McGrath <roland@hack.frob.com>
4259 * scripts/versionlist.awk: Partition the version sets and emit all
4260 GLIBC_* (sorted) before all others (sorted).
4262 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4264 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4265 GLIBC_2.2.5 version.
4267 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4272 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4277 2014-03-25 Andreas Schwab <schwab@suse.de>
4279 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4280 label to be used after in6ailist is initialized.
4282 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4284 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4285 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4287 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4291 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4293 (fp_formats): Update initializers.
4294 (init_fp_formats): Initialize new field.
4295 (output_for_one_input_case): Allow underflow for results up to
4297 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4298 * math/auto-libm-test-in: Don't mark some underflows from asin and
4300 * math/auto-libm-test-out: Regenerated.
4301 * sysdeps/i386/fpu/libm-test-ulps: Update.
4302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4304 2014-03-25 Andreas Schwab <schwab@suse.de>
4306 * libio/Makefile (tst-ftell-partial-wide-ENV)
4307 (tst-ftell-active-handler-ENV): Define.
4309 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4311 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4313 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4315 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4317 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4319 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4320 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4321 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4323 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4326 * elf/dl-load.c (open_verify): Add mode parameter.
4327 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4328 (open_path): Change from boolean 'secure' to complete flag 'mode'
4329 (_dl_map_object): Adjust.
4330 * elf/Makefile (tests): Add tst-dlopen-aout.
4331 * elf/tst-dlopen-aout.c: New test.
4333 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4336 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4337 (struct stat): Rename member pad0 to __glibc_reserved0.
4340 * sysdeps/s390/s390-32/bits/wordsize.h
4341 (__WORDSIZE32_SIZE_ULONG): New define.
4342 * sysdeps/s390/s390-64/bits/wordsize.h
4343 (__WORDSIZE32_SIZE_ULONG): Likewise.
4344 * sysdeps/generic/stdint.h (SIZE_MAX):
4345 Define as UL if __WORDSIZE32_SIZE_ULONG.
4348 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4349 (__glibc_reserved0): New variable.
4350 (sa_flags): Change type to int.
4352 * posix/Makefile (before-compile): Use += before-compile instead
4355 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4356 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4358 2014-03-20 Andreas Schwab <schwab@suse.de>
4361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4362 non-matching result from nscd.
4364 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4366 * scripts/bench.py: Moved to ...
4367 * benchtests/scripts/bench.py: ... here.
4368 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4370 2014-03-24 Andreas Schwab <schwab@suse.de>
4373 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4374 alloca_account and account alloca use for struct in6ailist.
4376 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4379 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4380 rounding mode to recompute results that overflow to infinity or
4382 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4384 * math/auto-libm-test-out: Regenerated.
4385 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4386 (ccosh_test): Likewise.
4387 (csin_test_data): Use plus_oflow.
4388 (csin_test): Use ALL_RM_TEST.
4389 (csinh_test_data): Use plus_oflow.
4390 (csinh_test): Use ALL_RM_TEST.
4391 * sysdeps/i386/fpu/libm-test-ulps: Update.
4392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4394 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4397 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4398 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4401 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4403 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4404 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4405 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4408 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4409 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4411 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4412 * sysdeps/i386/fpu/libm-test-ulps: Update.
4413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4415 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4417 * scripts/bench.pl: Remove file.
4418 * scripts/bench.py: New benchmark script.
4419 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4420 * benchtests/README: Mention python dependency.
4421 * scripts/pylintrc: New file.
4422 * scripts/pylint: New file.
4424 * bits/mathdef.h: Use #ifdef instead of #if.
4425 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4426 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4427 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4428 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4429 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4430 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4432 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4433 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4435 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4437 and strpbrk-ppc64 objects.
4438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4439 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4440 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4441 multiarch strpbrk for POWER7.
4442 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4443 multiarch strpbrk for PPC64.
4444 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4446 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4449 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4451 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4452 (atan_test): Likewise.
4453 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4454 (atanh_test): Use ALL_RM_TEST.
4455 (atan2_test_data): Likewise.
4456 (cabs_test): Likewise.
4457 (cacosh_test): Likewise.
4458 (carg_test): Likewise.
4459 (casin_test): Likewise.
4460 (casinh_test): Likewise.
4461 (cbrt_test): Likewise.
4462 (csqrt_test): Likewise.
4463 (erf_test): Likewise.
4464 (erfc_test): Likewise.
4465 (pow10_test): Likewise.
4466 (exp2_test): Likewise.
4467 (hypot_test): Likewise.
4468 (j0_test): Likewise.
4469 (j1_test): Likewise.
4470 (lgamma_test): Likewise.
4471 (gamma_test): Likewise.
4472 (sincos_test): Likewise.
4473 (tanh_test): Likewise.
4474 (y0_test): Likewise.
4475 (y1_test): Likewise.
4476 * sysdeps/i386/fpu/libm-test-ulps: Update.
4477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4479 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4481 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4483 and strcspn-ppc64 objects.
4484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4485 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4486 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4487 multiarch strcspn for POWER7.
4488 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4489 multiarch strcspn for PPC64.
4490 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4492 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4495 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4497 * math/gen-libm-test.pl (generate_testfile): Expect only function
4498 name as argument to AUTO_TESTS_* and pass results for all rounding
4499 modes to parse_args.
4500 (parse_auto_input): Separate inputs of automatic tests from
4501 outputs before storing in %auto_tests.
4502 * math/libm-test.inc (acos_test_data): Update call to
4504 (acos_test): Use ALL_RM_TEST.
4505 (acos_tonearest_test_data): Remove.
4506 (acos_test_tonearest): Likewise.
4507 (acos_towardzero_test_data): Likewise.
4508 (acos_test_towardzero): Likewise.
4509 (acos_downward_test_data): Likewise.
4510 (acos_test_downward): Likewise.
4511 (acos_upward_test_data): Likewise.
4512 (acos_test_upward): Likewise.
4513 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4514 (asin_test_data): Likewise.
4515 (asin_test): Use ALL_RM_TEST.
4516 (asin_tonearest_test_data): Remove.
4517 (asin_test_tonearest): Likewise.
4518 (asin_towardzero_test_data): Likewise.
4519 (asin_test_towardzero): Likewise.
4520 (asin_downward_test_data): Likewise.
4521 (asin_test_downward): Likewise.
4522 (asin_upward_test_data): Likewise.
4523 (asin_test_upward): Likewise.
4524 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4525 (atan_test_data): Likewise.
4526 (atanh_test_data): Likewise.
4527 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4528 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4529 (carg_test_data): Likewise.
4530 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4531 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4532 (ccosh_test_data): Likewise.
4533 (cexp_test_data): Likewise.
4534 (clog_test_data): Likewise.
4535 (clog10_test_data): Likewise.
4536 (cos_test_data): Update call to AUTO_TESTS_f_f.
4537 (cos_test): Use ALL_RM_TEST.
4538 (cos_tonearest_test_data): Remove.
4539 (cos_test_tonearest): Likewise.
4540 (cos_towardzero_test_data): Likewise.
4541 (cos_test_towardzero): Likewise.
4542 (cos_downward_test_data): Likewise.
4543 (cos_test_downward): Likewise.
4544 (cos_upward_test_data): Likewise.
4545 (cos_test_upward): Likewise.
4546 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4547 (cosh_test): Use ALL_RM_TEST.
4548 (cosh_tonearest_test_data): Remove.
4549 (cosh_test_tonearest): Likewise.
4550 (cosh_towardzero_test_data): Likewise.
4551 (cosh_test_towardzero): Likewise.
4552 (cosh_downward_test_data): Likewise.
4553 (cosh_test_downward): Likewise.
4554 (cosh_upward_test_data): Likewise.
4555 (cosh_test_upward): Likewise.
4556 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4557 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4558 (ctan_test_data): Likewise.
4559 (ctan_test): Use ALL_RM_TEST.
4560 (ctan_tonearest_test_data): Remove.
4561 (ctan_test_tonearest): Likewise.
4562 (ctan_towardzero_test_data): Likewise.
4563 (ctan_test_towardzero): Likewise.
4564 (ctan_downward_test_data): Likewise.
4565 (ctan_test_downward): Likewise.
4566 (ctan_upward_test_data): Likewise.
4567 (ctan_test_upward): Likewise.
4568 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4569 (ctanh_test): Use ALL_RM_TEST.
4570 (ctanh_tonearest_test_data): Remove.
4571 (ctanh_test_tonearest): Likewise.
4572 (ctanh_towardzero_test_data): Likewise.
4573 (ctanh_test_towardzero): Likewise.
4574 (ctanh_downward_test_data): Likewise.
4575 (ctanh_test_downward): Likewise.
4576 (ctanh_upward_test_data): Likewise.
4577 (ctanh_test_upward): Likewise.
4578 (erf_test_data): Update call to AUTO_TESTS_f_f.
4579 (erfc_test_data): Likewise.
4580 (exp_test_data): Likewise.
4581 (exp_test): Use ALL_RM_TEST.
4582 (exp_tonearest_test_data): Remove.
4583 (exp_test_tonearest): Likewise.
4584 (exp_towardzero_test_data): Likewise.
4585 (exp_test_towardzero): Likewise.
4586 (exp_downward_test_data): Likewise.
4587 (exp_test_downward): Likewise.
4588 (exp_upward_test_data): Likewise.
4589 (exp_test_upward): Likewise.
4590 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4591 (exp10_test): Use ALL_RM_TEST.
4592 (exp10_tonearest_test_data): Remove.
4593 (exp10_test_tonearest): Likewise.
4594 (exp10_towardzero_test_data): Likewise.
4595 (exp10_test_towardzero): Likewise.
4596 (exp10_downward_test_data): Likewise.
4597 (exp10_test_downward): Likewise.
4598 (exp10_upward_test_data): Likewise.
4599 (exp10_test_upward): Likewise.
4600 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4601 (expm1_test_data): Likewise.
4602 (expm1_test): Use ALL_RM_TEST.
4603 (expm1_tonearest_test_data): Remove.
4604 (expm1_test_tonearest): Likewise.
4605 (expm1_towardzero_test_data): Likewise.
4606 (expm1_test_towardzero): Likewise.
4607 (expm1_downward_test_data): Likewise.
4608 (expm1_test_downward): Likewise.
4609 (expm1_upward_test_data): Likewise.
4610 (expm1_test_upward): Likewise.
4611 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4612 (fma_test): Use ALL_RM_TEST.
4613 (fma_towardzero_test_data): Remove.
4614 (fma_test_towardzero): Likewise.
4615 (fma_downward_test_data): Likewise.
4616 (fma_test_downward): Likewise.
4617 (fma_upward_test_data): Likewise.
4618 (fma_test_upward): Likewise.
4619 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4620 (j0_test_data): Update call to AUTO_TESTS_f_f.
4621 (j1_test_data): Likewise.
4622 (jn_test_data): Update call to AUTO_TESTS_if_f.
4623 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4624 (log_test_data): Update call to AUTO_TESTS_f_f.
4625 (log10_test_data): Likewise.
4626 (log1p_test_data): Likewise.
4627 (log2_test_data): Likewise.
4628 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4629 (pow_tonearest_test_data): Likewise.
4630 (sin_test_data): Update call to AUTO_TESTS_f_f.
4631 (sin_test): Use ALL_RM_TEST.
4632 (sin_tonearest_test_data): Remove.
4633 (sin_test_tonearest): Likewise.
4634 (sin_towardzero_test_data): Likewise.
4635 (sin_test_towardzero): Likewise.
4636 (sin_downward_test_data): Likewise.
4637 (sin_test_downward): Likewise.
4638 (sin_upward_test_data): Likewise.
4639 (sin_test_upward): Likewise.
4640 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4641 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4642 (sinh_test): Use ALL_RM_TEST.
4643 (sinh_tonearest_test_data): Remove.
4644 (sinh_test_tonearest): Likewise.
4645 (sinh_towardzero_test_data): Likewise.
4646 (sinh_test_towardzero): Likewise.
4647 (sinh_downward_test_data): Likewise.
4648 (sinh_test_downward): Likewise.
4649 (sinh_upward_test_data): Likewise.
4650 (sinh_test_upward): Likewise.
4651 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4652 (sqrt_test): Use ALL_RM_TEST.
4653 (sqrt_tonearest_test_data): Remove.
4654 (sqrt_test_tonearest): Likewise.
4655 (sqrt_towardzero_test_data): Likewise.
4656 (sqrt_test_towardzero): Likewise.
4657 (sqrt_downward_test_data): Likewise.
4658 (sqrt_test_downward): Likewise.
4659 (sqrt_upward_test_data): Likewise.
4660 (sqrt_test_upward): Likewise.
4661 (tan_test_data): Update call to AUTO_TESTS_f_f.
4662 (tan_test): Use ALL_RM_TEST.
4663 (tan_tonearest_test_data): Remove.
4664 (tan_test_tonearest): Likewise.
4665 (tan_towardzero_test_data): Likewise.
4666 (tan_test_towardzero): Likewise.
4667 (tan_downward_test_data): Likewise.
4668 (tan_test_downward): Likewise.
4669 (tan_upward_test_data): Likewise.
4670 (tan_test_upward): Likewise.
4671 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4672 (tgamma_test_data): Likewise.
4673 (y0_test_data): Likewise.
4674 (y1_test_data): Likewise.
4675 (yn_test_data): Update call to AUTO_TESTS_if_f.
4676 (main): Do not call removed functions.
4678 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4680 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4681 (ldexp_test_data): Remove.
4682 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4684 (scalb_test): Use ALL_RM_TEST.
4686 2014-03-19 Andreas Schwab <schwab@suse.de>
4688 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4690 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4693 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4694 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4695 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4696 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4697 (__ASSUME_PREADV): Undefine.
4698 (__ASSUME_PWRITEV): Likewise.
4700 2014-03-18 Roland McGrath <roland@hack.frob.com>
4702 * bits/mman-linux.h: Add comment about non-Linux use.
4703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4704 bits/mman-linux.h resting place.
4706 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4707 * bits/mman-linux.h: ... here.
4709 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711 * conform/conformtest.pl: Add standard definition when calling C
4712 preprocessor on data files.
4713 (checknamespace): Remove unused variable.
4715 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4717 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4718 minus_oflow, plus_uflow and minus_uflow in expected results.
4719 * math/libm-test.inc (scalbn_test_data): Add more tests of
4720 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4722 (scalbn_test): Use ALL_RM_TEST.
4723 (scalbln_test_data): Add more tests of negative arguments. Use
4724 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4725 (scalbln_test): Use ALL_RM_TEST.
4727 2014-03-18 Roland McGrath <roland@hack.frob.com>
4729 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4731 2014-03-18 Will Newton <will.newton@linaro.org>
4733 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4736 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4738 * Makerules [!subdir] (check-abi): Exit with error status if a
4741 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4743 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4744 for rint. Include results for all rounding modes.
4745 (nearbyint_test): Use ALL_RM_TEST.
4746 (rint_test_data): Include all tests used for nearbyint.
4748 2014-03-17 Will Newton <will.newton@linaro.org>
4750 * nptl/sysdeps/pthread/pthread.h: Revert previous
4753 * sysdeps/generic/ldsodefs.h: Revert previous
4756 * libio/genops.c: Revert previous change.
4757 * libio/libioP.h: Likewise.
4758 * stdio-common/vfprintf.c: Likewise.
4760 * sysdeps/generic/math_private.h: Revert previous
4763 * sysdeps/generic/math_private.h: Check whether
4764 HAVE_RM_CTX is defined with #ifdef rather
4767 * argp/argp-fmtstream.h: Check whether
4768 __STRICT_ANSI__ is defined with #ifdef rather
4770 * argp/argp.h: Likewise.
4772 * libio/genops.c: Check whether
4773 _IO_JUMPS_OFFSET is defined with #ifdef rather
4775 * libio/libioP.h: Likewise.
4776 * stdio-common/vfprintf.c: Likewise.
4778 * sysdeps/generic/ldsodefs.h: Check whether
4779 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4782 * nptl/sysdeps/pthread/pthread.h: Check
4783 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4786 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4788 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4790 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4794 * libio/fileops.c (_IO_file_open): Seek to end of file but
4795 don't cache the offset.
4796 (get_file_offset): Remove function.
4797 (do_ftell): Use cached offset when available.
4798 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4799 don't cache the offset.
4800 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4802 (do_one_test): Call it.
4803 (do_ftell_test): Fix up expected old offset for a+ mode.
4804 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4807 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4808 up test status with function return status.
4809 (do_write_test): Likewise.
4810 (do_append_test): Likewise.
4812 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4813 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4816 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4818 * math/gen-libm-test.pl (parse_args): Handle results specified for
4819 each rounding mode separately.
4820 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4821 tests and results from lrint_tonearest_test_data,
4822 lrint_towardzero_test_data, lrint_downward_test_data and
4823 lrint_upward_test_data.
4824 (lrint_test): Use ALL_RM_TEST.
4825 (lrint_tonearest_test_data): Remove.
4826 (lrint_test_tonearest): Likewise.
4827 (lrint_towardzero_test_data): Likewise.
4828 (lrint_test_towardzero): Likewise.
4829 (lrint_downward_test_data): Likewise.
4830 (lrint_test_downward): Likewise.
4831 (lrint_upward_test_data): Likewise.
4832 (lrint_test_upward): Likewise.
4833 (llrint_test_data): Merge in per-rounding-mode tests and results
4834 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4835 llrint_downward_test_data and llrint_upward_test_data.
4836 (llrint_test): Use ALL_RM_TEST.
4837 (llrint_tonearest_test_data): Remove.
4838 (llrint_test_tonearest): Likewise.
4839 (llrint_towardzero_test_data): Likewise.
4840 (llrint_test_towardzero): Likewise.
4841 (llrint_downward_test_data): Likewise.
4842 (llrint_test_downward): Likewise.
4843 (llrint_upward_test_data): Likewise.
4844 (llrint_test_upward): Likewise.
4845 (rint_test_data): Merge in per-rounding-mode tests and results
4846 from rint_tonearest_test_data, rint_towardzero_test_data,
4847 rint_downward_test_data and rint_upward_test_data. Add
4848 per-rounding-mode results for tests not in those arrays.
4849 (rint_test): Use ALL_RM_TEST.
4850 (rint_tonearest_test_data): Remove.
4851 (rint_test_tonearest): Likewise.
4852 (rint_towardzero_test_data): Likewise.
4853 (rint_test_towardzero): Likewise.
4854 (rint_downward_test_data): Likewise.
4855 (rint_test_downward): Likewise.
4856 (rint_upward_test_data): Likewise.
4857 (rint_test_upward): Likewise.
4858 (main): Don't call removed functions.
4860 2014-03-14 Roland McGrath <roland@hack.frob.com>
4862 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4863 "Compiled on ..." crapola. It is anti-useful.
4865 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4867 * scripts/evaluate-test.sh: Handle fourth argument to determine
4868 whether test run should stop on failure.
4869 * Makeconfig (stop-on-test-failure): New variable.
4870 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4871 $(stop-on-test-failure).
4872 * Makefile (tests): Give a summary of results from testing and
4873 exit with failure status if they include an ERROR or FAIL.
4875 * manual/install.texi (Configuring and compiling): Mention
4876 stop-on-test-failure=y.
4877 * INSTALL: Regenerated.
4879 2014-03-14 Roland McGrath <roland@hack.frob.com>
4881 * scripts/versionlist.awk: New file.
4882 * Makerules [$(build-shared) = yes]
4883 (postclean-generated): Add Versions.def, not Versions.def.v and
4885 ($(common-objpfx)Versions.def.v.i): Target removed.
4886 ($(common-objpfx)Versions.def): New target.
4887 ($(common-objpfx)Versions.all): Depend on that rather that
4888 $(common-objpfx)Versions.def.v.
4889 * Versions.def: File removed.
4891 * Makeconfig (+gccwarn): Add -Wundef.
4892 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4893 a dl-sysdep.h breaking its contract.
4894 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4895 * include/stackinfo.h: New file.
4896 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4897 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4898 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4899 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4900 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4901 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4902 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4903 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4904 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4905 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4906 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4907 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4908 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4909 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4910 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4912 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4915 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4917 * math/libm-test.inc (round_test_data): Add more tests.
4920 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4922 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4925 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4927 * math/libm-test.inc (ceil_test_data): Add more tests.
4929 * math/libm-test.inc (trunc_test_data): Add more tests related to
4932 2014-03-14 Roland McGrath <roland@hack.frob.com>
4934 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4935 with #if rather than #ifdef.
4936 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4938 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4940 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4941 first. Disable AVX-512 GCC support if assembler doesn't support
4943 * sysdeps/x86_64/configure: Regenerated.
4945 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4947 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4948 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4949 (__old_pthread_attr_setstack): Likewise.
4950 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4951 [!_STACK_GROWS_DOWN]: Likewise.
4953 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4955 * config.make.in (have-bash2): Delete.
4956 * configure.ac (libc_cv_have_bash2): Delete.
4957 * configure: Regenerate.
4958 * elf/Makefile (common-ldd-rewrite): Rename to ...
4959 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4960 (sh-ldd-rewrite): Delete.
4961 (bash-ldd-rewrite): Delete.
4962 (have-bash2): Delete checks.
4963 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4966 * config.make.in (have-ksh): Delete.
4968 * configure.ac (libc_cv_have_ksh): Delete.
4969 * configure: Regenerate.
4971 * elf/Makefile: Delete $(have-ksh) check.
4972 ($(objpfx)sotruss): Change KSH to BASH.
4973 * elf/sotruss.ksh: Rename to ...
4974 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4975 function style to match POSIX. Drop ksh vim mode setting.
4977 * manual/time.texi (Specifying the Time Zone with TZ): Change
4978 Tuesday to Thursday.
4980 * debug/tst-longjmp_chk2.c: Update header comment.
4981 (stackoverflow_handler): Add comment. Call assert on pass value.
4983 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4985 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4986 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4987 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4988 (La_x86_64_vector): Add zmm.
4989 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4990 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4991 ($(objpfx)tst-audit10): New target.
4992 ($(objpfx)tst-audit10.out): Likewise.
4993 (tst-audit10-ENV): New.
4994 (AVX512-CFLAGS): Likewise.
4995 (CFLAGS-tst-audit10.c): Likewise.
4996 (CFLAGS-tst-auditmod10a.c): Likewise.
4997 (CFLAGS-tst-auditmod10b.c): Likewise.
4998 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4999 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5000 * sysdeps/x86_64/configure: Regenerated.
5001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5002 AVX-512 zmm register support.
5003 (_dl_x86_64_save_sse): Likewise.
5004 (_dl_x86_64_restore_sse): Likewise.
5005 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5006 size vector registers.
5007 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5008 (ZMM_SIZE): Likewise.
5009 * sysdeps/x86_64/tst-audit10.c: New file.
5010 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5011 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5013 2014-03-13 Roland McGrath <roland@hack.frob.com>
5015 * configure.ac (HAVE_EHDR_START): New check.
5016 * configure: Regenerated.
5017 * config.h.in (HAVE_EHDR_START): New #undef.
5018 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5019 assuming the lowest-addressed segment maps the start of the file.
5021 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5023 * INSTALL: Regenerated.
5025 2014-03-13 Will Newton <will.newton@linaro.org>
5027 * manual/setjmp.texi (System V contexts): Improve
5028 clarity and grammar of documentation.
5030 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5033 * elf/Makefile (tests): Add tst-pie2.
5034 (tests-pie): Add tst-pie2.
5035 * elf/tst-pie2.c: New file.
5036 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5038 * elf/rtld.c (map_doit): Load executable as lt_executable.
5039 (dl_main): Likewise.
5041 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5045 (__ASSUME_PSELECT): Undefine.
5047 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5050 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5051 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5053 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5054 selector for static builds.
5056 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5059 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5062 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5065 IFUNC selector for static builds.
5067 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5069 * sysdeps/mips/math_private.h [__mips_hard_float]
5070 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5071 libc_feresetround_mips_ctx.
5072 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5073 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5074 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5077 * math/s_nextafter.c (__nextafter): Do not return value from
5078 overflowing computation.
5079 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5080 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5081 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5083 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5085 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5086 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5088 2014-03-11 Roland McGrath <roland@hack.frob.com>
5090 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5091 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5092 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5093 the new mov targetting sp.
5095 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5098 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5099 Define it for static builds as well.
5100 (NO_BZERO_IMPL): Likewise.
5102 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5104 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5105 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5106 multiarch strspn for PPC64.
5107 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5108 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5110 (__libc_ifunc_impl_list): Likewise.
5111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5112 multiarch optimizations
5113 * string/strspn.c (strspn): Using macro to redefine symbol name.
5115 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5116 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5118 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5119 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5120 multiarch strncat for PPC64.
5121 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5122 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5124 (__libc_ifunc_impl_list): Likewise.
5125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5126 multiarch optimizations
5128 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5131 * nscd/nscd.service: Make service type forking.
5133 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5136 sign in non default rounding modes.
5137 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5139 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5141 * math/libm-test.inc (ALL_RM_TEST): New macro.
5142 (ceil_test): Use ALL_RM_TEST.
5143 (cimag_test): Likewise.
5144 (conj_test): Likewise.
5145 (copysign_test): Likewise.
5146 (cproj_test): Likewise.
5147 (creal_test): Likewise.
5148 (fabs_test): Likewise.
5149 (floor_test): Likewise.
5150 (fmax_test): Likewise.
5151 (fmin_test): Likewise.
5152 (fmod_test): Likewise.
5153 (fpclassify_test): Likewise.
5154 (frexp_test): Likewise.
5155 (ilogb_test): Likewise.
5156 (isfinite_test): Likewise.
5157 (finite_test): Likewise.
5158 (isgreater_test): Likewise.
5159 (isgreaterequal_test): Likewise.
5160 (isinf_test): Likewise.
5161 (isless_test): Likewise.
5162 (islessequal_test): Likewise.
5163 (islessgreater_test): Likewise.
5164 (isnan_test): Likewise.
5165 (isnormal_test): Likewise.
5166 (issignaling_test): Likewise.
5167 (isunordered_test): Likewise.
5168 (logb_test): Likewise.
5169 (logb_downward_test_data): Remove.
5170 (logb_test_downward): Likewise.
5171 (lround_test): Use ALL_RM_TEST.
5172 (llround_test): Likewise.
5173 (modf_test): Likewise.
5174 (nexttoward_test): Likewise.
5175 (remainder_test): Likewise.
5176 (drem_test): Likewise.
5177 (remainder_tonearest_test_data): Likewise.
5178 (remainder_test_tonearest): Likewise.
5179 (drem_test_tonearest): Likewise.
5180 (remainder_towardzero_test_data): Likewise.
5181 (remainder_test_towardzero): Likewise.
5182 (drem_test_towardzero): Likewise.
5183 (remainder_downward_test_data): Likewise.
5184 (remainder_test_downward): Likewise.
5185 (drem_test_downward): Likewise.
5186 (remainder_upward_test_data): Likewise.
5187 (remainder_test_upward): Likewise.
5188 (drem_test_upward): Likewise.
5189 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5190 (round_test): Use ALL_RM_TEST.
5191 (signbit_test): Likewise.
5192 (trunc_test): Likewise.
5193 (significand_test): Likewise.
5194 (main): Don't call removed functions.
5196 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5199 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5201 (ILL_ILLOPN): Likewise.
5202 (ILL_ILLADR): Likewise.
5203 (ILL_ILLTRP): Likewise.
5204 (ILL_PRVOPC): Likewise.
5205 (ILL_PRVREG): Likewise.
5206 (ILL_COPROC): Likewise.
5207 (ILL_BADSTK): Likewise.
5208 (FPE_INTDIV): Likewise.
5209 (FPE_INTOVF): Likewise.
5210 (FPE_FLTDIV): Likewise.
5211 (FPE_FLTOVF): Likewise.
5212 (FPE_FLTUND): Likewise.
5213 (FPE_FLTRES): Likewise.
5214 (FPE_FLTINV): Likewise.
5215 (FPE_FLTSUB): Likewise.
5216 (SEGV_MAPERR): Likewise.
5217 (SEGV_ACCERR): Likewise.
5218 (BUS_ADRALN): Likewise.
5219 (BUS_ADRERR): Likewise.
5220 (BUS_OBJERR): Likewise.
5221 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5222 (TRAP_TRACE): Likewise.
5223 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5225 (CLD_KILLED): Likewise.
5226 (CLD_DUMPED): Likewise.
5227 (CLD_TRAPPED): Likewise.
5228 (CLD_STOPPED): Likewise.
5229 (CLD_CONTINUED): Likewise.
5230 (POLL_IN): Likewise.
5231 (POLL_OUT): Likewise.
5232 (POLL_MSG): Likewise.
5233 (POLL_ERR): Likewise.
5234 (POLL_PRI): Likewise.
5235 (POLL_HUP): Likewise.
5236 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5238 (ILL_ILLOPN): Likewise.
5239 (ILL_ILLADR): Likewise.
5240 (ILL_ILLTRP): Likewise.
5241 (ILL_PRVOPC): Likewise.
5242 (ILL_PRVREG): Likewise.
5243 (ILL_COPROC): Likewise.
5244 (ILL_BADSTK): Likewise.
5245 (FPE_INTDIV): Likewise.
5246 (FPE_INTOVF): Likewise.
5247 (FPE_FLTDIV): Likewise.
5248 (FPE_FLTOVF): Likewise.
5249 (FPE_FLTUND): Likewise.
5250 (FPE_FLTRES): Likewise.
5251 (FPE_FLTINV): Likewise.
5252 (FPE_FLTSUB): Likewise.
5253 (SEGV_MAPERR): Likewise.
5254 (SEGV_ACCERR): Likewise.
5255 (BUS_ADRALN): Likewise.
5256 (BUS_ADRERR): Likewise.
5257 (BUS_OBJERR): Likewise.
5258 (BUS_MCEERR_AR): Likewise.
5259 (BUS_MCEERR_AO): Likewise.
5260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5261 (TRAP_TRACE): Likewise.
5262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5264 (CLD_KILLED): Likewise.
5265 (CLD_DUMPED): Likewise.
5266 (CLD_TRAPPED): Likewise.
5267 (CLD_STOPPED): Likewise.
5268 (CLD_CONTINUED): Likewise.
5269 (POLL_IN): Likewise.
5270 (POLL_OUT): Likewise.
5271 (POLL_MSG): Likewise.
5272 (POLL_ERR): Likewise.
5273 (POLL_PRI): Likewise.
5274 (POLL_HUP): Likewise.
5275 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5276 (ILL_ILLOPN): Likewise.
5277 (ILL_ILLADR): Likewise.
5278 (ILL_ILLTRP): Likewise.
5279 (ILL_PRVOPC): Likewise.
5280 (ILL_PRVREG): Likewise.
5281 (ILL_COPROC): Likewise.
5282 (ILL_BADSTK): Likewise.
5283 (FPE_INTDIV): Likewise.
5284 (FPE_INTOVF): Likewise.
5285 (FPE_FLTDIV): Likewise.
5286 (FPE_FLTOVF): Likewise.
5287 (FPE_FLTUND): Likewise.
5288 (FPE_FLTRES): Likewise.
5289 (FPE_FLTINV): Likewise.
5290 (FPE_FLTSUB): Likewise.
5291 (SEGV_MAPERR): Likewise.
5292 (SEGV_ACCERR): Likewise.
5293 (BUS_ADRALN): Likewise.
5294 (BUS_ADRERR): Likewise.
5295 (BUS_OBJERR): Likewise.
5296 (BUS_MCEERR_AR): Likewise.
5297 (BUS_MCEERR_AO): Likewise.
5298 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5299 (TRAP_TRACE): Likewise.
5300 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5302 (CLD_KILLED): Likewise.
5303 (CLD_DUMPED): Likewise.
5304 (CLD_TRAPPED): Likewise.
5305 (CLD_STOPPED): Likewise.
5306 (CLD_CONTINUED): Likewise.
5307 (POLL_IN): Likewise.
5308 (POLL_OUT): Likewise.
5309 (POLL_MSG): Likewise.
5310 (POLL_ERR): Likewise.
5311 (POLL_PRI): Likewise.
5312 (POLL_HUP): Likewise.
5313 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5315 (ILL_ILLOPN): Likewise.
5316 (ILL_ILLADR): Likewise.
5317 (ILL_ILLTRP): Likewise.
5318 (ILL_PRVOPC): Likewise.
5319 (ILL_PRVREG): Likewise.
5320 (ILL_COPROC): Likewise.
5321 (ILL_BADSTK): Likewise.
5322 (ILL_BADIADDR): Likewise.
5323 (ILL_BREAK): Likewise.
5324 (FPE_INTDIV): Likewise.
5325 (FPE_INTOVF): Likewise.
5326 (FPE_FLTDIV): Likewise.
5327 (FPE_FLTOVF): Likewise.
5328 (FPE_FLTUND): Likewise.
5329 (FPE_FLTRES): Likewise.
5330 (FPE_FLTINV): Likewise.
5331 (FPE_FLTSUB): Likewise.
5332 (FPE_DECOVF): Likewise.
5333 (FPE_DECDIV): Likewise.
5334 (FPE_DECERR): Likewise.
5335 (FPE_INVASC): Likewise.
5336 (FPE_INVDEC): Likewise.
5337 (SEGV_MAPERR): Likewise.
5338 (SEGV_ACCERR): Likewise.
5339 (SEGV_PSTKOVF): Likewise.
5340 (BUS_ADRALN): Likewise.
5341 (BUS_ADRERR): Likewise.
5342 (BUS_OBJERR): Likewise.
5343 (BUS_MCEERR_AR): Likewise.
5344 (BUS_MCEERR_AO): Likewise.
5345 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5346 (TRAP_TRACE): Likewise.
5347 (TRAP_BRANCH): Likewise.
5348 (TRAP_HWBKPT): Likewise.
5349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5351 (CLD_KILLED): Likewise.
5352 (CLD_DUMPED): Likewise.
5353 (CLD_TRAPPED): Likewise.
5354 (CLD_STOPPED): Likewise.
5355 (CLD_CONTINUED): Likewise.
5356 (POLL_IN): Likewise.
5357 (POLL_OUT): Likewise.
5358 (POLL_MSG): Likewise.
5359 (POLL_ERR): Likewise.
5360 (POLL_PRI): Likewise.
5361 (POLL_HUP): Likewise.
5362 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5363 (ILL_ILLOPN): Likewise.
5364 (ILL_ILLADR): Likewise.
5365 (ILL_ILLTRP): Likewise.
5366 (ILL_PRVOPC): Likewise.
5367 (ILL_PRVREG): Likewise.
5368 (ILL_COPROC): Likewise.
5369 (ILL_BADSTK): Likewise.
5370 (FPE_INTDIV): Likewise.
5371 (FPE_INTOVF): Likewise.
5372 (FPE_FLTDIV): Likewise.
5373 (FPE_FLTOVF): Likewise.
5374 (FPE_FLTUND): Likewise.
5375 (FPE_FLTRES): Likewise.
5376 (FPE_FLTINV): Likewise.
5377 (FPE_FLTSUB): Likewise.
5378 (SEGV_MAPERR): Likewise.
5379 (SEGV_ACCERR): Likewise.
5380 (BUS_ADRALN): Likewise.
5381 (BUS_ADRERR): Likewise.
5382 (BUS_OBJERR): Likewise.
5383 (BUS_MCEERR_AR): Likewise.
5384 (BUS_MCEERR_AO): Likewise.
5385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5386 (TRAP_TRACE): Likewise.
5387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5389 (CLD_KILLED): Likewise.
5390 (CLD_DUMPED): Likewise.
5391 (CLD_TRAPPED): Likewise.
5392 (CLD_STOPPED): Likewise.
5393 (CLD_CONTINUED): Likewise.
5394 (POLL_IN): Likewise.
5395 (POLL_OUT): Likewise.
5396 (POLL_MSG): Likewise.
5397 (POLL_ERR): Likewise.
5398 (POLL_PRI): Likewise.
5399 (POLL_HUP): Likewise.
5400 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5401 (ILL_ILLOPN): Likewise.
5402 (ILL_ILLADR): Likewise.
5403 (ILL_ILLTRP): Likewise.
5404 (ILL_PRVOPC): Likewise.
5405 (ILL_PRVREG): Likewise.
5406 (ILL_COPROC): Likewise.
5407 (ILL_BADSTK): Likewise.
5408 (FPE_INTDIV): Likewise.
5409 (FPE_INTOVF): Likewise.
5410 (FPE_FLTDIV): Likewise.
5411 (FPE_FLTOVF): Likewise.
5412 (FPE_FLTUND): Likewise.
5413 (FPE_FLTRES): Likewise.
5414 (FPE_FLTINV): Likewise.
5415 (FPE_FLTSUB): Likewise.
5416 (SEGV_MAPERR): Likewise.
5417 (SEGV_ACCERR): Likewise.
5418 (BUS_ADRALN): Likewise.
5419 (BUS_ADRERR): Likewise.
5420 (BUS_OBJERR): Likewise.
5421 (BUS_MCEERR_AR): Likewise.
5422 (BUS_MCEERR_AO): Likewise.
5423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5424 (TRAP_TRACE): Likewise.
5425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5427 (CLD_KILLED): Likewise.
5428 (CLD_DUMPED): Likewise.
5429 (CLD_TRAPPED): Likewise.
5430 (CLD_STOPPED): Likewise.
5431 (CLD_CONTINUED): Likewise.
5432 (POLL_IN): Likewise.
5433 (POLL_OUT): Likewise.
5434 (POLL_MSG): Likewise.
5435 (POLL_ERR): Likewise.
5436 (POLL_PRI): Likewise.
5437 (POLL_HUP): Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5439 (ILL_ILLOPN): Likewise.
5440 (ILL_ILLADR): Likewise.
5441 (ILL_ILLTRP): Likewise.
5442 (ILL_PRVOPC): Likewise.
5443 (ILL_PRVREG): Likewise.
5444 (ILL_COPROC): Likewise.
5445 (ILL_BADSTK): Likewise.
5446 (FPE_INTDIV): Likewise.
5447 (FPE_INTOVF): Likewise.
5448 (FPE_FLTDIV): Likewise.
5449 (FPE_FLTOVF): Likewise.
5450 (FPE_FLTUND): Likewise.
5451 (FPE_FLTRES): Likewise.
5452 (FPE_FLTINV): Likewise.
5453 (FPE_FLTSUB): Likewise.
5454 (SEGV_MAPERR): Likewise.
5455 (SEGV_ACCERR): Likewise.
5456 (BUS_ADRALN): Likewise.
5457 (BUS_ADRERR): Likewise.
5458 (BUS_OBJERR): Likewise.
5459 (BUS_MCEERR_AR): Likewise.
5460 (BUS_MCEERR_AO): Likewise.
5461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5462 (TRAP_TRACE): Likewise.
5463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5465 (CLD_KILLED): Likewise.
5466 (CLD_DUMPED): Likewise.
5467 (CLD_TRAPPED): Likewise.
5468 (CLD_STOPPED): Likewise.
5469 (CLD_CONTINUED): Likewise.
5470 (POLL_IN): Likewise.
5471 (POLL_OUT): Likewise.
5472 (POLL_MSG): Likewise.
5473 (POLL_ERR): Likewise.
5474 (POLL_PRI): Likewise.
5475 (POLL_HUP): Likewise.
5476 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5477 (ILL_ILLOPN): Likewise.
5478 (ILL_ILLADR): Likewise.
5479 (ILL_ILLTRP): Likewise.
5480 (ILL_PRVOPC): Likewise.
5481 (ILL_PRVREG): Likewise.
5482 (ILL_COPROC): Likewise.
5483 (ILL_BADSTK): Likewise.
5484 (ILL_DBLFLT): Likewise.
5485 (ILL_HARDWALL): Likewise.
5486 (FPE_INTDIV): Likewise.
5487 (FPE_INTOVF): Likewise.
5488 (FPE_FLTDIV): Likewise.
5489 (FPE_FLTOVF): Likewise.
5490 (FPE_FLTUND): Likewise.
5491 (FPE_FLTRES): Likewise.
5492 (FPE_FLTINV): Likewise.
5493 (FPE_FLTSUB): Likewise.
5494 (SEGV_MAPERR): Likewise.
5495 (SEGV_ACCERR): Likewise.
5496 (BUS_ADRALN): Likewise.
5497 (BUS_ADRERR): Likewise.
5498 (BUS_OBJERR): Likewise.
5499 (BUS_MCEERR_AR): Likewise.
5500 (BUS_MCEERR_AO): Likewise.
5501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5502 (TRAP_TRACE): Likewise.
5503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5505 (CLD_KILLED): Likewise.
5506 (CLD_DUMPED): Likewise.
5507 (CLD_TRAPPED): Likewise.
5508 (CLD_STOPPED): Likewise.
5509 (CLD_CONTINUED): Likewise.
5510 (POLL_IN): Likewise.
5511 (POLL_OUT): Likewise.
5512 (POLL_MSG): Likewise.
5513 (POLL_ERR): Likewise.
5514 (POLL_PRI): Likewise.
5515 (POLL_HUP): Likewise.
5516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5517 (ILL_ILLOPN): Likewise.
5518 (ILL_ILLADR): Likewise.
5519 (ILL_ILLTRP): Likewise.
5520 (ILL_PRVOPC): Likewise.
5521 (ILL_PRVREG): Likewise.
5522 (ILL_COPROC): Likewise.
5523 (ILL_BADSTK): Likewise.
5524 (FPE_INTDIV): Likewise.
5525 (FPE_INTOVF): Likewise.
5526 (FPE_FLTDIV): Likewise.
5527 (FPE_FLTOVF): Likewise.
5528 (FPE_FLTUND): Likewise.
5529 (FPE_FLTRES): Likewise.
5530 (FPE_FLTINV): Likewise.
5531 (FPE_FLTSUB): Likewise.
5532 (SEGV_MAPERR): Likewise.
5533 (SEGV_ACCERR): Likewise.
5534 (BUS_ADRALN): Likewise.
5535 (BUS_ADRERR): Likewise.
5536 (BUS_OBJERR): Likewise.
5537 (BUS_MCEERR_AR): Likewise.
5538 (BUS_MCEERR_AO): Likewise.
5539 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5540 (TRAP_TRACE): Likewise.
5541 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5543 (CLD_KILLED): Likewise.
5544 (CLD_DUMPED): Likewise.
5545 (CLD_TRAPPED): Likewise.
5546 (CLD_STOPPED): Likewise.
5547 (CLD_CONTINUED): Likewise.
5548 (POLL_IN): Likewise.
5549 (POLL_OUT): Likewise.
5550 (POLL_MSG): Likewise.
5551 (POLL_ERR): Likewise.
5552 (POLL_PRI): Likewise.
5553 (POLL_HUP): Likewise.
5554 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5555 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5558 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5559 before #include of <time.h>.
5560 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5561 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5562 (test-xfail-UNIX98/sched.h/conform): Likewise.
5564 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5566 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5567 error absence of trapping exception support.
5568 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5570 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5572 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5573 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5574 * timezone/Makefile (testdata): Move definition above include of
5576 (test-zones): New variable.
5577 (tests-special): Add zone files.
5578 (build-testdata): Use $(evaluate-test).
5580 * elf/Makefile (tests-special): Rename tests to end with .out.
5581 ($(objpfx)noload-mem): Likewise.
5582 ($(objpfx)tst-leaks1-mem): Likewise.
5583 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5584 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5585 $(objpfx)test-iconvconfig.out.
5586 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5587 set -e inside subshell and redirect output to file.
5588 * iconvdata/Makefile (generated): Rename tests to end with .out.
5590 (tests-special): Rename tests to end with .out.
5591 ($(objpfx)mtrace-tst-loading): Likewise.
5592 * intl/Makefile (generated): Likewise.
5593 (tests-special): Likewise.
5594 ($(objpfx)mtrace-tst-gettext): Likewise.
5595 * misc/Makefile (generated): Likewise.
5596 (tests-special): Likewise.
5597 ($(objpfx)tst-error1-mem): Likewise.
5598 * nptl/Makefile (tests-special): Likewise.
5599 ($(objpfx)tst-stack3-mem): Likewise.
5600 (generated): Likewise.
5601 * posix/Makefile (generated): Likewise.
5602 (tests-special): Likewise.
5603 (xtests-special): Likewise.
5604 ($(objpfx)tst-fnmatch-mem): Likewise.
5605 ($(objpfx)bug-regex2-mem): Likewise.
5606 ($(objpfx)bug-regex14-mem): Likewise.
5607 ($(objpfx)bug-regex21-mem): Likewise.
5608 ($(objpfx)bug-regex31-mem): Likewise.
5609 ($(objpfx)tst-vfork3-mem): Likewise.
5610 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5611 ($(objpfx)tst-pcre-mem): Likewise.
5612 ($(objpfx)tst-boost-mem): Likewise.
5613 ($(objpfx)bug-ga2-mem): Likewise.
5614 ($(objpfx)bug-glob2-mem): Likewise.
5615 * resolv/Makefile (generate): Likewise.
5616 (tests-special): Likewise.
5617 (xtests-special): Likewise.
5618 (generated): Likewise.
5619 ($(objpfx)mtrace-tst-leaks): Likewise.
5620 ($(objpfx)mtrace-tst-leaks2): Likewise.
5622 * scripts/merge-test-results.sh: New file.
5623 * Makefile (tests-special-notdir): New variable.
5624 (tests): Run merge-test-results.sh.
5626 * Rules (tests-special-notdir): New variable.
5627 (xtests-special-notdir): Likewise.
5628 (tests): Run merge-test-results.sh
5631 * Makeconfig (test-xfail-name): New variable.
5632 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5633 compute variable name for expected failures.
5634 * conform/Makefile (conformtest-headers-data): New variable.
5635 (conformtest-standards): Likewise.
5636 (conformtest-headers-ISO): Likewise.
5637 (conformtest-headers-ISO99): Likewise.
5638 (conformtest-headers-ISO11): Likewise.
5639 (conformtest-headers-POSIX): Likewise.
5640 (conformtest-headers-XPG3): Likewise.
5641 (conformtest-headers-XPG4): Likewise.
5642 (conformtest-headers-UNIX98): Likewise.
5643 (conformtest-headers-XOPEN2K): Likewise.
5644 (conformtest-headers-POSIX2008): Likewise.
5645 (conformtest-headers-XOPEN2K8): Likewise.
5646 (conformtest-header-list-base): Likewise.
5647 (conformtest-header-list-tests): Likewise.
5648 (conformtest-header-base): Likewise.
5649 (conformtest-header-tests): Likewise.
5650 (tests-special): Add $(conformtest-header-list-tests). If
5651 [$(fast-check) && !$(cross-compiling)], add
5652 $(conformtest-header-tests) instead of
5653 $(objpfx)run-conformtest.out.
5654 (generated): Add $(conformtest-header-list-base). If
5655 [$(fast-check) && !$(cross-compiling)], add
5656 $(conformtest-header-base). Remove previous setting.
5657 ($(conformtest-header-list-tests)): New target.
5658 (test-xfail-run-conformtest): Remove variable.
5659 ($(objpfx)run-conformtest.out): Remove target.
5660 (test-xfail-ISO11/complex.h/conform): New variable.
5661 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5662 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5663 (test-xfail-XPG3/varargs.h/conform): Likewise.
5664 (test-xfail-XPG4/varargs.h/conform): Likewise.
5665 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5666 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5667 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5668 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5669 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5670 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5671 (test-xfail-XPG3/ftw.h/conform): Likewise.
5672 (test-xfail-XPG3/grp.h/conform): Likewise.
5673 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5674 (test-xfail-XPG3/limits.h/conform): Likewise.
5675 (test-xfail-XPG3/pwd.h/conform): Likewise.
5676 (test-xfail-XPG3/search.h/conform): Likewise.
5677 (test-xfail-XPG3/signal.h/conform): Likewise.
5678 (test-xfail-XPG3/stdio.h/conform): Likewise.
5679 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5680 (test-xfail-XPG3/string.h/conform): Likewise.
5681 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5682 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5683 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5684 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5685 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5686 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5687 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5688 (test-xfail-XPG3/termios.h/conform): Likewise.
5689 (test-xfail-XPG3/time.h/conform): Likewise.
5690 (test-xfail-XPG3/unistd.h/conform): Likewise.
5691 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5692 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5693 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5694 (test-xfail-XPG4/netdb.h/conform): Likewise.
5695 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5696 (test-xfail-XPG4/signal.h/conform): Likewise.
5697 (test-xfail-XPG4/stdio.h/conform): Likewise.
5698 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5699 (test-xfail-XPG4/stropts.h/conform): Likewise.
5700 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5701 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5702 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5703 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5704 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5705 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5706 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5707 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5708 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5709 (test-xfail-XPG4/termios.h/conform): Likewise.
5710 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5711 (test-xfail-XPG4/unistd.h/conform): Likewise.
5712 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5713 (test-xfail-POSIX/sched.h/conform): Likewise.
5714 (test-xfail-POSIX/signal.h/conform): Likewise.
5715 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5716 (test-xfail-POSIX/tar.h/conform): Likewise.
5717 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5718 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5719 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5720 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5721 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5722 (test-xfail-UNIX98/sched.h/conform): Likewise.
5723 (test-xfail-UNIX98/signal.h/conform): Likewise.
5724 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5725 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5726 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5727 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5728 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5729 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5730 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5731 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5732 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5733 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5734 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5735 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5736 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5737 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5738 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5739 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5740 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5741 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5742 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5743 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5744 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5745 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5746 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5747 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5748 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5749 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5750 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5751 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5752 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5753 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5754 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5755 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5756 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5757 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5758 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5759 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5760 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5761 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5762 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5763 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5764 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5765 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5766 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5767 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5768 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5769 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5770 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5771 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5772 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5773 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5774 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5775 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5776 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5777 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5778 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5779 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5780 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5781 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5782 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5783 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5784 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5785 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5786 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5787 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5788 (conformtest-cc-flags): Likewise.
5789 ($(conformtest-header-tests): New target.
5790 * conform/check-header-lists.sh: New file.
5791 * conform/run-conformtest.sh: Remove.
5793 * conform/conformtest.pl: Allow ' and \ in values given for
5795 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5797 [POSIX] (sys/types.h): Likewise.
5798 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5800 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5802 * conform/data/signal.h-data (SIGIO): Remove expectation.
5803 [XPG3] (SIGBUS): Do not expect.
5804 [POSIX || XPG3] (SIGPOLL): Likewise.
5805 [POSIX || XPG3] (SIGPROF): Likewise.
5806 [POSIX || XPG3] (SIGSYS): Likewise.
5807 [XPG3] (SIGTRAP): Likewise.
5808 [POSIX || XPG3] (SIGURG): Likewise.
5809 [POSIX || XPG3] (SIGVTALRM): Likewise.
5810 [POSIX || XPG3] (SIGXCPU): Likewise.
5811 [POSIX || XPG3] (SIGXFSZ): Likewise.
5812 [POSIX] (SA_SIGINFO): Expect.
5813 [XPG3] (siginfo_t): Do not expect type or contents.
5814 [POSIX] (si_pid): Do not expect element.
5815 [POSIX] (si_uid): Likewise.
5816 [POSIX] (si_addr): Likewise.
5817 [POSIX] (si_status): Likewise.
5818 [POSIX] (si_band): Likewise.
5819 [XPG4] (si_value): Likewise.
5820 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5821 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5822 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5823 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5824 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5825 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5826 [POSIX || XPG3] (ILL_COPROC): Likewise.
5827 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5828 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5829 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5830 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5831 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5832 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5833 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5834 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5835 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5836 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5837 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5838 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5839 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5840 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5841 [POSIX || XPG3] (CLD_EXITED): Likewise.
5842 [POSIX || XPG3] (CLD_KILLED): Likewise.
5843 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5844 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5845 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5846 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5847 [POSIX || XPG3] (POLL_IN): Likewise.
5848 [POSIX || XPG3] (POLL_OUT): Likewise.
5849 [POSIX || XPG3] (POLL_MSG): Likewise.
5850 [POSIX || XPG3] (POLL_ERR): Likewise.
5851 [POSIX || XPG3] (POLL_PRI): Likewise.
5852 [POSIX || XPG3] (POLL_HUP): Likewise.
5853 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5854 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5855 (SIG*): Do not allow.
5856 [XPG3] (si_*): Likewise.
5857 [XPG3] (SI_*): Likewise.
5858 [XPG3 || XPG4] (sigev_*): Likewise.
5859 [XPG3 || XPG4] (SIGEV_*): Likewise.
5860 [XPG3 || XPG4] (sival_*): Likewise.
5861 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5862 [POSIX || XPG3] (BUS_*): Likewise.
5863 [POSIX || XPG3] (CLD_*): Likewise.
5864 [POSIX || XPG3] (FPE_*): Likewise.
5865 [POSIX || XPG3] (ILL_*): Likewise.
5866 [POSIX || XPG3] (POLL_*): Likewise.
5867 [POSIX || XPG3] (SEGV_*): Likewise.
5868 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5869 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5870 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5871 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5872 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5873 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5874 Specify type and value.
5875 (TVERSLEN): Likewise.
5876 (REGTYPE): Likewise.
5877 (AREGTYPE): Likewise.
5878 (LNKTYPE): Likewise.
5879 (SYMTYPE): Likewise.
5880 (CHRTYPE): Likewise.
5881 (BLKTYPE): Likewise.
5882 (DIRTYPE): Likewise.
5883 (FIFOTYPE): Likewise.
5884 (CONTTYPE): Likewise.
5889 (TUWRITE): Likewise.
5892 (TGWRITE): Likewise.
5895 (TOWRITE): Likewise.
5897 [POSIX] (TSVTX): Expect constant.
5899 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5901 * Makefile (tests): Change dependencies to ....
5902 (tests-special): ... additions to this variable.
5903 (tests): Depend on $(tests-special).
5904 * Makerules (check-abi-list): New variable.
5905 (check-abi): Depend on $(check-abi-list).
5906 [$(subdir) = elf] (tests-special): Add
5907 $(objpfx)check-abi-libc.out.
5908 [$(build-shared) = yes && subdir] (tests-special): Add
5910 [$(build-shared) = yes && subdir] (tests): Do not depend on
5912 * Rules (tests): Depend on $(tests-special).
5913 (xtests): Depend on $(xtests-special).
5914 * catgets/Makefile (tests): Change dependencies to ....
5915 (tests-special): ... additions to this variable.
5916 * conform/Makefile (tests): Change dependencies to ....
5917 (tests-special): ... additions to this variable.
5918 * elf/Makefile (tests): Change dependencies to ....
5919 (tests-special): ... additions to this variable.
5920 * grp/Makefile (tests): Change dependencies to ....
5921 (tests-special): ... additions to this variable.
5922 * iconv/Makefile (xtests): Change dependencies to ....
5923 (xtests-special): ... additions to this variable.
5924 * iconvdata/Makefile (tests): Change dependencies to ....
5925 (tests-special): ... additions to this variable.
5926 * intl/Makefile (tests): Change dependencies to ....
5927 (tests-special): ... additions to this variable. Also add
5928 $(objpfx)tst-gettext.out.
5929 * io/Makefile (tests): Change dependencies to ....
5930 (tests-special): ... additions to this variable.
5931 * libio/Makefile (tests): Change dependencies to ....
5932 (tests-special): ... additions to this variable.
5933 * malloc/Makefile (tests): Change dependencies to ....
5934 (tests-special): ... additions to this variable.
5935 * misc/Makefile (tests): Change dependencies to ....
5936 (tests-special): ... additions to this variable.
5937 * nptl/Makefile (tests): Change dependencies to ....
5938 (tests-special): ... additions to this variable.
5939 * nptl_db/Makefile (tests): Change dependencies to ....
5940 (tests-special): ... additions to this variable.
5941 * posix/Makefile (tests): Change dependencies to ....
5942 (tests-special): ... additions to this variable.
5943 (xtests): Change dependencies to ....
5944 (xtests-special): ... additions to this variable.
5945 * resolv/Makefile (tests): Change dependencies to ....
5946 (tests-special): ... additions to this variable.
5947 (xtests): Change dependencies to ....
5948 (xtests-special): ... additions to this variable.
5949 * stdio-common/Makefile (tests): Change dependencies to ....
5950 (tests-special): ... additions to this variable.
5951 (do-tst-unbputc): Remove target.
5952 (do-tst-printf): Likewise.
5953 * stdlib/Makefile (tests): Change dependencies to ....
5954 (tests-special): ... additions to this variable.
5955 * string/Makefile (tests): Change dependencies to ....
5956 (tests-special): ... additions to this variable.
5957 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5958 (tests-special): ... additions to this variable.
5960 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5962 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5964 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5965 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5967 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5968 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5969 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5970 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5971 * conform/data/libgen.h-data [XPG3]: Likewise.
5972 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5973 * conform/data/ndbm.h-data [XPG3]: Likewise.
5974 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5975 * conform/data/netdb.h-data [XPG3]: Likewise.
5976 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5977 * conform/data/poll.h-data [XPG3]: Likewise.
5978 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5979 * conform/data/strings.h-data [XPG3]: Likewise.
5980 * conform/data/stropts.h-data [XPG3]: Likewise.
5981 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5982 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5983 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5985 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5986 * conform/data/sys/time.h-data [XPG3]: Likewise.
5987 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5988 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5989 * conform/data/sys/un.h-data [XPG3]: Likewise.
5990 * conform/data/syslog.h-data [XPG3]: Likewise.
5991 * conform/data/ucontext.h-data [XPG3]: Likewise.
5992 * conform/data/utmpx.h-data [XPG3]: Likewise.
5993 * conform/data/varargs.h-data [UNIX98]: Enable file.
5995 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5997 * math/libm-test.inc (struct test_f_f_data): Move expected results
5998 into structure for each rounding mode.
5999 (struct test_ff_f_data): Likewise.
6000 (struct test_ff_f_data_nexttoward): Likewise.
6001 (struct test_fi_f_data): Likewise.
6002 (struct test_fl_f_data): Likewise.
6003 (struct test_if_f_data): Likewise.
6004 (struct test_fff_f_data): Likewise.
6005 (struct test_c_f_data): Likewise.
6006 (struct test_f_f1_data): Likewise.
6007 (struct test_fF_f1_data): Likewise.
6008 (struct test_ffI_f1_data): Likewise.
6009 (struct test_c_c_data): Likewise.
6010 (struct test_cc_c_data): Likewise.
6011 (struct test_f_i_data): Likewise.
6012 (struct test_ff_i_data): Likewise.
6013 (struct test_f_l_data): Likewise.
6014 (struct test_f_L_data): Likewise.
6015 (struct test_fFF_11_data): Likewise.
6017 (RM_FE_DOWNWARD): Likewise.
6018 (RM_FE_TONEAREST): Likewise.
6019 (RM_FE_TOWARDZERO): Likewise.
6020 (RM_FE_UPWARD): Likewise.
6021 (RUN_TEST_LOOP_f_f): Update references to expected results.
6022 (RUN_TEST_LOOP_2_f): Likewise.
6023 (RUN_TEST_LOOP_fff_f): Likewise.
6024 (RUN_TEST_LOOP_c_f): Likewise.
6025 (RUN_TEST_LOOP_f_f1): Likewise.
6026 (RUN_TEST_LOOP_fF_f1): Likewise.
6027 (RUN_TEST_LOOP_fI_f1): Likewise.
6028 (RUN_TEST_LOOP_ffI_f1): Likewise.
6029 (RUN_TEST_LOOP_c_c): Likewise.
6030 (RUN_TEST_LOOP_cc_c): Likewise.
6031 (RUN_TEST_LOOP_f_i): Likewise.
6032 (RUN_TEST_LOOP_f_i_tg): Likewise.
6033 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6034 (RUN_TEST_LOOP_f_b): Likewise.
6035 (RUN_TEST_LOOP_f_b_tg): Likewise.
6036 (RUN_TEST_LOOP_f_l): Likewise.
6037 (RUN_TEST_LOOP_f_L): Likewise.
6038 (RUN_TEST_LOOP_fFF_11): Likewise.
6039 * math/gen-libm-test.pl (parse_args): Output four copies of
6040 expected results for each test.
6042 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6043 (__ASSUME_UTIMES): Remove.
6044 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6045 (__ASSUME_UTIMES): Likewise.
6047 * math/gen-auto-libm-tests.c: Update comment on output format.
6048 (output_for_one_input_case): Generate before-rounding and
6049 after-rounding information as conditions on output flags not
6050 floating-point format.
6051 * math/auto-libm-test-out: Regenerated.
6052 * math/gen-libm-test.pl (cond_value): New function.
6053 (or_cond_value): Use cond_value.
6054 (generate_testfile): Handle conditional exceptions.
6056 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6058 * math/libm-test.inc (max_valid_error): New variable.
6059 (init_max_error): Take new argument specifying whether function
6060 results are exactly determined. Set max_valid_error and bound
6061 other variables for errors based on this argument.
6062 (set_max_error): Do not record results above max_valid_error.
6063 (check_float_internal): Only accept errors of up to 0.5ulps if
6064 also at most max_valid_error.
6065 (START): Take new argument EXACT and pass it to init_max_error.
6066 (acos_test): Update call to START.
6067 (acos_test_tonearest): Likewise.
6068 (acos_test_towardzero): Likewise.
6069 (acos_test_downward): Likewise.
6070 (acos_test_upward): Likewise.
6071 (acosh_test): Likewise.
6072 (asin_test): Likewise.
6073 (asin_test_tonearest): Likewise.
6074 (asin_test_towardzero): Likewise.
6075 (asin_test_downward): Likewise.
6076 (asin_test_upward): Likewise.
6077 (asinh_test): Likewise.
6078 (atan_test): Likewise.
6079 (atanh_test): Likewise.
6080 (atan2_test): Likewise.
6081 (cabs_test): Likewise.
6082 (cacos_test): Likewise.
6083 (cacosh_test): Likewise.
6084 (carg_test): Likewise.
6085 (casin_test): Likewise.
6086 (casinh_test): Likewise.
6087 (catan_test): Likewise.
6088 (catanh_test): Likewise.
6089 (cbrt_test): Likewise.
6090 (ccos_test): Likewise.
6091 (ccosh_test): Likewise.
6092 (ceil_test): Likewise.
6093 (cexp_test): Likewise.
6094 (cimag_test): Likewise.
6095 (clog_test): Likewise.
6096 (clog10_test): Likewise.
6097 (conj_test): Likewise.
6098 (copysign_test): Likewise.
6099 (cos_test): Likewise.
6100 (cos_test_tonearest): Likewise.
6101 (cos_test_towardzero): Likewise.
6102 (cos_test_downward): Likewise.
6103 (cos_test_upward): Likewise.
6104 (cosh_test): Likewise.
6105 (cosh_test_tonearest): Likewise.
6106 (cosh_test_towardzero): Likewise.
6107 (cosh_test_downward): Likewise.
6108 (cosh_test_upward): Likewise.
6109 (cpow_test): Likewise.
6110 (cproj_test): Likewise.
6111 (creal_test): Likewise.
6112 (csin_test): Likewise.
6113 (csinh_test): Likewise.
6114 (csqrt_test): Likewise.
6115 (ctan_test): Likewise.
6116 (ctan_test_tonearest): Likewise.
6117 (ctan_test_towardzero): Likewise.
6118 (ctan_test_downward): Likewise.
6119 (ctan_test_upward): Likewise.
6120 (ctanh_test): Likewise.
6121 (ctanh_test_tonearest): Likewise.
6122 (ctanh_test_towardzero): Likewise.
6123 (ctanh_test_downward): Likewise.
6124 (ctanh_test_upward): Likewise.
6125 (erf_test): Likewise.
6126 (erfc_test): Likewise.
6127 (exp_test): Likewise.
6128 (exp_test_tonearest): Likewise.
6129 (exp_test_towardzero): Likewise.
6130 (exp_test_downward): Likewise.
6131 (exp_test_upward): Likewise.
6132 (exp10_test): Likewise.
6133 (exp10_test_tonearest): Likewise.
6134 (exp10_test_towardzero): Likewise.
6135 (exp10_test_downward): Likewise.
6136 (exp10_test_upward): Likewise.
6137 (pow10_test): Likewise.
6138 (exp2_test): Likewise.
6139 (expm1_test): Likewise.
6140 (expm1_test_tonearest): Likewise.
6141 (expm1_test_towardzero): Likewise.
6142 (expm1_test_downward): Likewise.
6143 (expm1_test_upward): Likewise.
6144 (fabs_test): Likewise.
6145 (fdim_test): Likewise.
6146 (floor_test): Likewise.
6147 (fma_test): Likewise.
6148 (fma_test_towardzero): Likewise.
6149 (fma_test_downward): Likewise.
6150 (fma_test_upward): Likewise.
6151 (fmax_test): Likewise.
6152 (fmin_test): Likewise.
6153 (fmod_test): Likewise.
6154 (fpclassify_test): Likewise.
6155 (frexp_test): Likewise.
6156 (hypot_test): Likewise.
6157 (ilogb_test): Likewise.
6158 (isfinite_test): Likewise.
6159 (finite_test): Likewise.
6160 (isgreater_test): Likewise.
6161 (isgreaterequal_test): Likewise.
6162 (isinf_test): Likewise.
6163 (isless_test): Likewise.
6164 (islessequal_test): Likewise.
6165 (islessgreater_test): Likewise.
6166 (isnan_test): Likewise.
6167 (isnormal_test): Likewise.
6168 (issignaling_test): Likewise.
6169 (isunordered_test): Likewise.
6170 (j0_test): Likewise.
6171 (j1_test): Likewise.
6172 (jn_test): Likewise.
6173 (ldexp_test): Likewise.
6174 (lgamma_test): Likewise.
6175 (gamma_test): Likewise.
6176 (lrint_test): Likewise.
6177 (lrint_test_tonearest): Likewise.
6178 (lrint_test_towardzero): Likewise.
6179 (lrint_test_downward): Likewise.
6180 (lrint_test_upward): Likewise.
6181 (llrint_test): Likewise.
6182 (llrint_test_tonearest): Likewise.
6183 (llrint_test_towardzero): Likewise.
6184 (llrint_test_downward): Likewise.
6185 (llrint_test_upward): Likewise.
6186 (log_test): Likewise.
6187 (log10_test): Likewise.
6188 (log1p_test): Likewise.
6189 (log2_test): Likewise.
6190 (logb_test): Likewise.
6191 (logb_test_downward): Likewise.
6192 (lround_test): Likewise.
6193 (llround_test): Likewise.
6194 (modf_test): Likewise.
6195 (nearbyint_test): Likewise.
6196 (nextafter_test): Likewise.
6197 (nexttoward_test): Likewise.
6198 (pow_test): Likewise.
6199 (pow_test_tonearest): Likewise.
6200 (pow_test_towardzero): Likewise.
6201 (pow_test_downward): Likewise.
6202 (pow_test_upward): Likewise.
6203 (remainder_test): Likewise.
6204 (drem_test): Likewise.
6205 (remainder_test_tonearest): Likewise.
6206 (drem_test_tonearest): Likewise.
6207 (remainder_test_towardzero): Likewise.
6208 (drem_test_towardzero): Likewise.
6209 (remainder_test_downward): Likewise.
6210 (drem_test_downward): Likewise.
6211 (remainder_test_upward): Likewise.
6212 (drem_test_upward): Likewise.
6213 (remquo_test): Likewise.
6214 (rint_test): Likewise.
6215 (rint_test_tonearest): Likewise.
6216 (rint_test_towardzero): Likewise.
6217 (rint_test_downward): Likewise.
6218 (rint_test_upward): Likewise.
6219 (round_test): Likewise.
6220 (scalb_test): Likewise.
6221 (scalbn_test): Likewise.
6222 (scalbln_test): Likewise.
6223 (signbit_test): Likewise.
6224 (sin_test): Likewise.
6225 (sin_test_tonearest): Likewise.
6226 (sin_test_towardzero): Likewise.
6227 (sin_test_downward): Likewise.
6228 (sin_test_upward): Likewise.
6229 (sincos_test): Likewise.
6230 (sinh_test): Likewise.
6231 (sinh_test_tonearest): Likewise.
6232 (sinh_test_towardzero): Likewise.
6233 (sinh_test_downward): Likewise.
6234 (sinh_test_upward): Likewise.
6235 (sqrt_test): Likewise.
6236 (sqrt_test_tonearest): Likewise.
6237 (sqrt_test_towardzero): Likewise.
6238 (sqrt_test_downward): Likewise.
6239 (sqrt_test_upward): Likewise.
6240 (tan_test): Likewise.
6241 (tan_test_tonearest): Likewise.
6242 (tan_test_towardzero): Likewise.
6243 (tan_test_downward): Likewise.
6244 (tan_test_upward): Likewise.
6245 (tanh_test): Likewise.
6246 (tgamma_test): Likewise.
6247 (trunc_test): Likewise.
6248 (y0_test): Likewise.
6249 (y1_test): Likewise.
6250 (yn_test): Likewise.
6251 (significand_test): Likewise.
6253 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6254 individual tests in comment.
6255 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6256 (prev_max_error): New variable.
6257 (prev_real_max_error): Likewise.
6258 (prev_imag_max_error): Likewise.
6259 (compare_ulp_data): Don't refer to test names in comment.
6260 (find_test_ulps): Remove function.
6261 (find_function_ulps): Likewise.
6262 (find_complex_function_ulps): Likewise.
6263 (init_max_error): Take function name as argument. Look up ulps
6265 (print_ulps): Remove function.
6266 (print_max_error): Use prev_max_error instead of calling
6268 (print_complex_max_error): Use prev_real_max_error and
6269 prev_imag_max_error instead of calling find_complex_function_ulps.
6270 (check_float_internal): Take max_ulp parameter instead of calling
6271 find_test_ulps. Don't call print_ulps.
6272 (check_float): Update call to check_float_internal.
6273 (check_complex): Update calls to check_float_internal.
6274 (START): Pass argument to init_max_error.
6275 * math/gen-libm-test.pl (%results): Don't include "kind"
6277 (parse_ulps): Don't handle ulps of individual tests.
6278 (print_ulps_file): Likewise.
6279 (output_ulps): Likewise.
6280 * math/README.libm-test: Update.
6281 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6283 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6284 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6285 * sysdeps/arm/libm-test-ulps: Likewise.
6286 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6287 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6288 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6289 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6290 * sysdeps/microblaze/libm-test-ulps: Likewise.
6291 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6292 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6294 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6295 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6296 * sysdeps/sh/libm-test-ulps: Likewise.
6297 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6298 * sysdeps/tile/libm-test-ulps: Likewise.
6299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6301 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6303 * math/libm-test.inc (print_complex_max_error): Check separately
6304 whether real and imaginary errors are within allowed range and
6305 pass 0 to print_complex_function_ulps instead of value within
6308 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6310 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6312 (get_handles_fopen): Likewise.
6313 (do_write_test): Likewise.
6315 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6317 * libio/fileops.c (do_ftell): Use cached offset when
6319 * libio/iofwide.c (do_ftell_wide): Likewise.
6320 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6322 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6325 * libio/libioP.h (get_file_offset): New function.
6326 * libio/fileops.c (get_file_offset): Likewise.
6327 (do_ftell): Likewise.
6328 (_IO_new_file_seekoff): Split out ftell logic.
6329 * libio/wfileops.c (do_ftell_wide): Likewise.
6330 (_IO_wfile_seekoff): Split out ftell logic.
6331 * libio/tst-ftell-active-handler.c: New test case.
6332 * libio/Makefile (tests): Add it.
6334 2014-03-03 Roland McGrath <roland@hack.frob.com>
6336 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6337 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6339 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6342 * nscd/connections.c (nscd_init): Call do_exit.
6343 (start_threads): Call do_exit and notify_parent.
6344 (begin_drop_privileges): Call do_exit.
6345 (finish_drop_privileges): Likewise.
6346 * nscd/selinux.c (preserve_capabilities): Likewise.
6347 (install_real_capabilities): Likewise.
6348 (nscd_selinux_enabled): Likewise.
6349 (avc_create_thread): Likewise.
6350 (avc_alloc_lock): Likewise.
6351 (nscd_avc_init): Likewise.
6352 * nscd/nscd.c (parent_fd): New static variable.
6353 (main): Create a pipe between parent and child processes.
6354 Skip closing parent_fd.
6355 (monitor_child): New function.
6356 (do_exit): Likewise.
6357 (notify_parent): Likewise.
6358 * nscd/nscd.h (notify_parent): Likewise.
6359 (do_exit): Likewise.
6361 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6363 * malloc/malloc.c (__libc_calloc): Revert last change.
6365 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6369 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6371 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6375 (__libc_ifunc_impl_list): Likewise.
6376 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6377 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6378 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6379 * string/strrchr.c: Define STRRCHR.
6381 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6383 * benchtest/bench-strtok.c (simple_strtok): Delete.
6384 (strtok_string): Use as benchmark.
6385 * string/strtok (STRTOK): New macro.
6387 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6389 * manual/threads.texi: Add header and standard comments to all
6392 * elf/dl-lookup.c (check_match): New function.
6393 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6394 (do_lookup_x): Remove nested function check_match. Use non-nested
6395 function check_match.
6397 2014-02-28 Roland McGrath <roland@hack.frob.com>
6399 * csu/Makefile (generated, before-compile): Use += rather than =.
6400 * catgets/Makefile (generated, generated-dirs): Likewise.
6401 * debug/Makefile (generated): Likewise.
6402 * dlfcn/Makefile (generated): Likewise.
6403 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6404 * iconvdata/Makefile (before-compile, generated): Likewise.
6405 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6406 * libio/Makefile (generated): Likewise.
6407 * malloc/Makefile (generated): Likewise.
6408 * manual/Makefile (generated, generated-dirs): Likewise.
6409 * misc/Makefile (generated): Likewise.
6410 * posix/Makefile (generated): Likewise.
6411 * resolv/Makefile (generated): Likewise.
6412 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6413 * timezone/Makefile (generated, generated-dirs): Likewise.
6415 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6417 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6420 power8 implementation.
6421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6422 file: POWER8 llround ifunc implementation.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6424 (__lllround): Add POWER8 implementation.
6425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6426 POWER8 llround implementation.
6428 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6429 power8 implementation.
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6431 file: POWER8 llrint ifunc implementation.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6433 Add POWER8 implementation.
6434 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6435 POWER8 llrint implementation.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6438 power8 implementation.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6440 file: POWER8 finite ifunc implementation.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6442 Add POWER8 implementation.
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6445 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6446 POWER8 finite implementation.
6447 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6450 power8 implementation.
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6452 file: POWER8 isinf ifunc implementation.
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6454 POWER8 implementation.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6458 isinf implementation.
6459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6461 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6462 (INIT_ARCH): Add hwcap2 initialization.
6463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6464 power8 implementation.
6465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6466 file: POWER8 isnan ifunc implementation.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6468 POWER8 implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6471 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6472 isnan implementation.
6473 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6475 2014-02-27 Joey Ye <joey.ye@arm.com>
6477 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6478 (_FP_NANFRAC_Q): Set to zero.
6480 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6483 * math/auto-libm-test-in: New test inputs.
6484 * math/auto-libm-test-out: Regenerate.
6485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6488 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6490 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6492 * scripts/evaluate-test.sh: Take new argument indicating whether
6493 failure is expected.
6494 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6495 indicating whether failure is expected.
6496 * conform/Makefile (test-xfail-run-conformtest): New variable.
6497 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6499 * posix/Makefile (test-xfail-annexc): New variable.
6500 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6502 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6504 * argp/Makefile: Include Makeconfig immediately after defining
6506 * assert/Makefile: Likewise.
6507 * benchtests/Makefile: Likewise.
6508 * catgets/Makefile: Likewise.
6509 * conform/Makefile: Likewise.
6510 * crypt/Makefile: Likewise.
6511 * csu/Makefile: Likewise.
6512 (all): Remove target.
6513 * ctype/Makefile: Include Makeconfig immediately after defining
6515 * debug/Makefile: Likewise.
6516 * dirent/Makefile: Likewise.
6517 * dlfcn/Makefile: Likewise.
6518 * gmon/Makefile: Likewise.
6519 * gnulib/Makefile: Likewise.
6520 * grp/Makefile: Likewise.
6521 * gshadow/Makefile: Likewise.
6522 * hesiod/Makefile: Likewise.
6523 * hurd/Makefile: Likewise.
6524 (all): Remove target.
6525 * iconvdata/Makefile: Include Makeconfig immediately after
6527 * inet/Makefile: Likewise.
6528 * intl/Makefile: Likewise.
6529 * io/Makefile: Likewise.
6530 * libio/Makefile: Likewise.
6531 (all): Remove target.
6532 * locale/Makefile: Include Makeconfig immediately after defining
6534 * login/Makefile: Likewise.
6535 * mach/Makefile: Likewise.
6536 (all): Remove target.
6537 * malloc/Makefile: Include Makeconfig immediately after defining
6539 (all): Remove target.
6540 * manual/Makefile: Include Makeconfig immediately after defining
6542 * math/Makefile: Likewise.
6543 * misc/Makefile: Likewise.
6544 * nis/Makefile: Likewise.
6545 * nss/Makefile: Likewise.
6546 * po/Makefile: Likewise.
6547 (all): Remove target.
6548 * posix/Makefile: Include Makeconfig immediately after defining
6550 * pwd/Makefile: Likewise.
6551 * resolv/Makefile: Likewise.
6552 * resource/Makefile: Likewise.
6553 * rt/Makefile: Likewise.
6554 * setjmp/Makefile: Likewise.
6555 * shadow/Makefile: Likewise.
6556 * signal/Makefile: Likewise.
6557 * socket/Makefile: Likewise.
6558 * soft-fp/Makefile: Likewise.
6559 * stdio-common/Makefile: Likewise.
6560 * stdlib/Makefile: Likewise.
6561 * streams/Makefile: Likewise.
6562 * string/Makefile: Likewise.
6563 * sunrpc/Makefile: Likewise.
6564 (all): Remove target.
6565 * sysvipc/Makefile: Include Makeconfig immediately after defining
6567 * termios/Makefile: Likewise.
6568 * time/Makefile: Likewise.
6569 * timezone/Makefile: Likewise.
6570 (all): Remove target.
6571 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6573 * wctype/Makefile: Likewise.
6575 2014-02-26 Steve Ellcey <sellcey@mips.com>
6577 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6578 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6579 (libc_feholdexcept_setround_mips): Ditto.
6580 (libc_feholdsetround): New.
6581 (libc_feholdsetroundf): New.
6582 (libc_feholdsetroundl): New.
6583 (libc_feupdateenv_test_mips): New.
6584 (libc_feupdateenv_test): New.
6585 (libc_feupdateenv_testf): New.
6586 (libc_feupdateenv_testl): New.
6587 (libc_feresetround): New.
6588 (libc_feresetroundf): New.
6589 (libc_feresetroundl): New.
6590 (libc_fetestexcept_mips): New.
6591 (libc_fetestexcept): New.
6592 (libc_fetestexceptf): New.
6593 (libc_fetestexceptl): New.
6595 (libc_feholdexcept_setround_mips_ctx): New.
6596 (libc_feholdexcept_setround_ctx): New.
6597 (libc_feholdexcept_setroundf_ctx): New.
6598 (libc_feholdexcept_setroundl_ctx): New.
6599 (libc_fesetenv_mips_ctx): New.
6600 (libc_fesetenv_ctx): New.
6601 (libc_fesetenv_ctxf): New.
6602 (libc_fesetenv_ctxl): New.
6603 (libc_feupdateenv_mips_ctx): New.
6604 (libc_feupdateenv_ctx): New.
6605 (libc_feupdateenvf_ctx): New.
6606 (libc_feupdateenvl_ctx): New.
6607 (libc_feholdsetround_mips_ctx): New.
6608 (libc_feholdsetround_ctx): New.
6609 (libc_feholdsetroundf_ctx): New.
6610 (libc_feholdsetroundl_ctx): New.
6611 (libc_feresetround_mips_ctx): New.
6612 (libc_feresetround_ctx): New.
6613 (libc_feresetroundf_ctx): New.
6614 (libc_feresetroundl_ctx): New.
6616 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6618 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6620 * manual/ipc.texi: New file.
6621 * manual/Makefile (chapters): Add ipc.
6622 * manual/job.texi: Add "Inter-Process Communication" to next.
6623 * manual/process.texi: Add "Inter-Process Communication" to prev.
6625 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6629 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6631 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6633 * manual/arith.texi: Fix spaces after sentences.
6634 * manual/charset.texi: Likewise.
6635 * manual/errno.texi: Likewise.
6636 * manual/install.texi: Likewise.
6637 * manual/llio.texi: Likewise.
6638 * manual/locale.texi: Likewise.
6639 * manual/maint.texi: Likewise.
6640 * manual/math.texi: Likewise.
6641 * manual/memory.texi: Likewise.
6642 * manual/message.texi: Likewise.
6643 * manual/probes.texi: Likewise.
6644 * manual/resource.texi: Likewise.
6645 * manual/signal.texi: Likewise.
6646 * manual/socket.texi: Likewise.
6647 * manual/stdio.texi: Likewise.
6648 * manual/string.texi: Likewise.
6649 * manual/time.texi: Likewise.
6650 * manual/users.texi: Likewise.
6652 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6655 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6656 _DEFAULT_SOURCE is defined.
6658 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6659 Carlos O'Donell <carlos@redhat.com>
6662 * elf/dl-tls.c (_dl_count_modids): New function.
6663 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6664 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6665 audit library and increment generation counter.
6666 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6667 * elf/tst-audit9.c: New file.
6668 * elf/tst-auditmod9a.c: New file.
6669 * elf/tst-auditmod9b.c: New file.
6670 * elf/Makefile: Add rules to build and run tst-audit9.
6672 2014-02-25 Florian Weimer <fweimer@redhat.com>
6675 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6677 2014-02-25 Will Newton <will.newton@linaro.org>
6679 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6680 (__longjmp): Restore sp and lr before restoring callee
6681 saved registers. Add longjmp and longjmp_target
6682 SystemTap probe point.
6683 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6684 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6685 Define to zero to match jmpbuf layout.
6686 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6687 (__sigsetjmp): Save sp and lr before saving callee
6688 saved registers. Add setjmp SystemTap probe point.
6690 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6692 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6694 2014-02-24 Andreas Schwab <schwab@suse.de>
6697 * elf/pldd.c (wait_for_ptrace_stop): New function.
6698 (main): Call it after attaching.
6700 2014-02-22 Roland McGrath <roland@hack.frob.com>
6702 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6703 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6704 Versions files is now verboten.
6705 * hurd/Versions (libc: GLIBC_2.0):
6706 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6707 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6708 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6709 * mach/Versions: Likewise.
6711 * csu/Versions: Remove unused %include.
6712 * resolv/Versions: Likewise.
6714 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6716 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6717 ($(objpfx)check-local-headers.out): Likewise.
6718 ($(objpfx)begin-end-check.out): Likewise.
6719 * Makerules (check-abi-%.out): Likewise.
6720 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6721 ($(objpfx)test2.cat): Likewise.
6722 ($(objpfx)de/libc.cat): Likewise.
6723 ($(objpfx)test-gencat.out): Likewise.
6724 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6725 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6726 ($(objpfx)noload-mem): Likewise.
6727 ($(objpfx)tst-pathopt.out): Likewise.
6728 ($(objpfx)tst-rtld-load-self.out): Likewise.
6729 ($(objpfx)tst-array1-cmp.out): Likewise.
6730 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6731 ($(objpfx)tst-array2-cmp.out): Likewise.
6732 ($(objpfx)tst-array3-cmp.out): Likewise.
6733 ($(objpfx)tst-array4-cmp.out): Likewise.
6734 ($(objpfx)tst-array5-cmp.out): Likewise.
6735 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6736 ($(objpfx)check-textrel.out): Likewise.
6737 ($(objpfx)check-execstack.out): Likewise.
6738 ($(objpfx)check-localplt.out): Likewise.
6739 ($(objpfx)order2-cmp.out): Likewise.
6740 ($(objpfx)tst-leaks1-mem): Likewise.
6741 ($(objpfx)tst-leaks1-static-mem): Likewise.
6742 ($(objpfx)tst-initorder-cmp.out): Likewise.
6743 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6744 ($(objpfx)tst-unused-dep.out): Likewise.
6745 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6746 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6747 * iconv/Makefile (test-iconvconfig): Likewise.
6748 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6749 ($(objpfx)iconv-test.out): Likewise.
6750 ($(objpfx)tst-tables.out): Likewise.
6751 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6752 ($(objpfx)tst-gettext.out): Likewise.
6753 ($(objpfx)tst-translit.out): Likewise.
6754 ($(objpfx)tst-gettext2.out): Likewise.
6755 ($(objpfx)tst-gettext4.out): Likewise.
6756 ($(objpfx)tst-gettext6.out): Likewise.
6757 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6758 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6759 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6760 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6761 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6762 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6763 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6764 ($(objpfx)wordexp-tst.out): Likewise.
6765 ($(objpfx)annexc.out): Likewise.
6766 ($(objpfx)tst-fnmatch-mem): Likewise.
6767 ($(objpfx)bug-regex2-mem): Likewise.
6768 ($(objpfx)bug-regex14-mem): Likewise.
6769 ($(objpfx)bug-regex21-mem): Likewise.
6770 ($(objpfx)bug-regex31-mem): Likewise.
6771 ($(objpfx)tst-vfork3-mem): Likewise.
6772 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6773 ($(objpfx)tst-pcre-mem): Likewise.
6774 ($(objpfx)tst-boost-mem): Likewise.
6775 ($(objpfx)tst-getconf.out): Likewise.
6776 ($(objpfx)bug-ga2-mem): Likewise.
6777 ($(objpfx)bug-glob2-mem): Likewise.
6778 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6779 ($(objpfx)mtrace-tst-leaks2): Likewise.
6780 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6781 ($(objpfx)tst-printf.out): Likewise.
6782 ($(objpfx)tst-setvbuf1.out): Likewise.
6783 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6784 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6785 ($(objpfx)tst-fmtmsg.out): Likewise.
6786 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6787 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6789 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6790 * bits/sigaction.h [__USE_MISC]: Likewise.
6791 * bits/waitstatus.h: Update #endif comments.
6792 * ctype/ctype.h: Likewise.
6793 * dirent/dirent.h: Likewise.
6794 [__USE_MISC]: Remove redundant conditionals.
6795 * grp/grp.h: Update #endif comments.
6796 [__USE_GNU]: Remove redundant conditionals.
6797 [__USE_MISC]: Likewise.
6798 * inet/netinet/in.h [__USE_GNU]: Likewise.
6799 * io/sys/stat.h [__USE_MISC]: Likewise.
6800 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6801 * libio/bits/stdio.h: Update #endif comments.
6802 [__USE_MISC]: Remove redundant conditionals.
6803 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6804 * libio/stdio.h: Update #endif comments.
6805 [__USE_MISC]: Remove redundant conditionals.
6806 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6807 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6808 * math/math.h: Update #else and #endif comments.
6809 [__USE_MISC]: Remove redundant conditionals.
6810 * misc/sys/uio.h: Update #endif comments.
6811 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6812 * posix/glob.h [__USE_MISC]: Likewise.
6813 * posix/sys/types.h: Update #endif comments.
6814 [__USE_MISC]: Remove redundant conditionals.
6815 * posix/sys/wait.h: Update #endif comments.
6816 [__USE_MISC]: Remove redundant conditionals.
6817 * posix/unistd.h: Update #endif comments.
6818 [__USE_MISC]: Remove redundant conditionals.
6819 * pwd/pwd.h [__USE_GNU]: Likewise.
6820 [__USE_MISC]: Likewise.
6821 * resolv/netdb.h [__USE_GNU]: Likewise.
6822 * signal/signal.h: Update #endif comments.
6823 [__USE_MISC]: Remove redundant conditionals.
6824 * stdlib/stdlib.h: Update #else and #endif comments.
6825 [__USE_MISC]: Remove redundant conditionals.
6826 [__USE_GNU]: Likewise.
6827 * string/bits/string2.h [__USE_MISC]: Likewise.
6828 * string/string.h: Update #endif comments.
6829 [__USE_MISC]: Remove redundant conditionals.
6830 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6832 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6833 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6834 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6836 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6840 [__USE_MISC]: Remove redundant conditionals.
6841 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6842 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6843 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6844 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6845 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6847 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6848 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6850 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6851 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6853 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6855 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6856 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6858 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6860 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6861 * sysdeps/x86/bits/string.h: Update #endif comments.
6862 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6864 * time/sys/time.h: Update #endif comments.
6865 * time/time.h: Likewise.
6866 [__USE_MISC]: Remove redundant conditionals.
6868 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6871 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6873 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6875 * Versions.def (librt): Add GLIBC_2.17.
6877 2014-02-21 Adam Conrad <adconrad@0c3.net>
6879 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6880 synonym for _SYS_AUXV_H to allow direct inclusion.
6881 * sysdeps/sparc/bits/hwcap.h: Likewise.
6882 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6883 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6884 * sysdeps/sparc/sysdep.h: Likewise.
6886 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6888 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6890 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6892 * benchtests/bench-strrchr.c: Print length instead of position.
6894 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6897 * sysdeps/unix/sysv/linux/kernel-features.h
6898 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6899 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6900 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6901 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6903 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6904 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6905 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6906 (__ASSUME_SENDMMSG): Define instead of using previous
6907 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6908 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6909 (__ASSUME_SENDMMSG_SYSCALL): Define.
6910 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6911 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6913 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6914 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6916 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6917 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6919 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6920 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6921 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6922 [__ASSUME_SENDMMSG]: Change conditionals to
6923 [__ASSUME_SENDMMSG_SOCKETCALL].
6924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6925 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6927 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6928 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6930 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6931 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6932 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6933 [!__ASSUME_SENDMMSG]: Change conditional to
6934 [!__ASSUME_SENDMMSG_SOCKETCALL].
6935 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6936 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6940 * sysdeps/unix/sysv/linux/kernel-features.h
6941 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6942 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6943 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6944 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6945 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6946 [__i386__ || __sparc__]
6947 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6948 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6949 (__ASSUME_RECVMMSG): Define instead of using previous
6950 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6951 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6952 (__ASSUME_RECVMMSG_SYSCALL): Define.
6953 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6954 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6956 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6959 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6962 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6963 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6964 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6965 [__ASSUME_RECVMMSG]: Change condition to
6966 [__ASSUME_RECVMMSG_SOCKETCALL].
6967 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6968 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6970 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6974 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6975 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6976 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6977 [!__ASSUME_RECVMMSG]: Change condition to
6978 [!__ASSUME_RECVMMSG_SOCKETCALL].
6979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6980 (__ASSUME_RECVMMSG_SYSCALL): Define.
6983 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6984 __powerpc__ || __s390__ || __sh__ || __sparc__]
6985 (__ASSUME_SOCKETCALL): Define.
6986 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6987 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6988 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6989 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6990 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6991 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6992 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6993 (__ASSUME_ACCEPT4): Define instead of using previous
6994 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6995 __powerpc__ || __sparc__ || __s390__)] condition.
6996 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6997 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6998 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6999 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7000 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7001 [!__ASSUME_ACCEPT4]: Change condition to
7002 [!__ASSUME_ACCEPT4_SOCKETCALL].
7003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7004 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7005 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7007 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7008 __ASSUME_ACCEPT4_SYSCALL.
7009 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7010 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7011 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7012 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7013 __ASSUME_ACCEPT4_SYSCALL.
7014 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7015 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7016 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7017 [__ASSUME_ACCEPT4]: Change condition to
7018 [__ASSUME_ACCEPT4_SOCKETCALL].
7019 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7020 (__ASSUME_SOCKETCALL): Define.
7021 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7022 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7023 (__ASSUME_SOCKETCALL): Define.
7024 (__ASSUME_ACCEPT4): Remove.
7025 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7027 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7028 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7030 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7031 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7033 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7035 (HWCAP_ARM_LPAE): Likewise.
7036 (HWCAP_ARM_EVTSTRM): Likewise.
7037 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7038 Add vpfd32, lpae and evtstrm.
7039 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7042 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7044 * math/auto-libm-test-in: Add tests of clog10.
7045 * math/auto-libm-test-out: Regenerated.
7046 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7047 * sysdeps/i386/fpu/libm-test-ulps: Update.
7048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7050 2014-02-18 Andreas Schwab <schwab@suse.de>
7053 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7054 Store non-zero if the second buffer was newly allocated.
7055 (send_dg): Likewise.
7056 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7057 to send_vc and send_dg.
7058 (res_nsend): Pass NULL for ansp2_malloced.
7059 * resolv/res_query.c (__libc_res_nquery): Add parameter
7060 answerp2_malloced and pass it down to __libc_res_nsend.
7061 (res_nquery): Pass additional NULL to __libc_res_nquery.
7062 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7063 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7064 second answer buffer if answerp2_malloced was set.
7065 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7066 (__libc_res_nquerydomain): Add parameter
7067 answerp2_malloced and pass it down to __libc_res_nquery.
7068 (res_nquerydomain): Pass additional NULL to
7069 __libc_res_nquerydomain.
7070 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7071 additional NULL to __libc_res_nsend and __libc_res_nquery.
7072 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7073 additional NULL to __libc_res_nsearch.
7074 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7075 parameter of __libc_res_nsearch to check for separately allocated
7077 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7079 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7080 additional NULL to __libc_res_nquery.
7081 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7083 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7084 * include/resolv.h: Update prototypes of __libc_res_nquery,
7085 __libc_res_nsearch, __libc_res_nsend.
7087 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7089 * math/auto-libm-test-in: Add tests of fma.
7090 * math/auto-libm-test-out: Regenerated.
7091 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7092 (fma_towardzero_test_data): Likewise.
7093 (fma_downward_test_data): Likewise.
7094 (fma_upward_test_data): Likewise.
7095 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7097 (rounding_modes): Add values for new field.
7098 (func_calc_method): Add value mpfr_fff_f.
7099 (func_calc_desc): Add mpfr_fff_f union field.
7100 (test_function): Add field exact_args.
7101 (FUNC): Add macro argument EXACT_ARGS.
7102 (FUNC_mpfr_f_f): Update call to FUNC.
7103 (FUNC_mpfr_f_f): Likewise.
7104 (FUNC_mpfr_ff_f): Likewise.
7105 (FUNC_mpfr_if_f): Likewise.
7106 (FUNC_mpc_c_f): Likewise.
7107 (FUNC_mpc_c_c): Likewise.
7108 (test_functions): Add fma. Update calls to FUNC.
7109 (handle_input_arg): Add argument exact_args.
7110 (add_test): Update call to handle_input_arg.
7111 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7112 (output_for_one_input_case): Update call to calc_generic_results.
7113 Recalculate exact zero results in each rounding mode.
7115 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7116 non-negative before setting low bit.
7117 * math/auto-libm-test-in: Mark one asin test possibly having
7119 * math/auto-libm-test-out: Regenerated.
7120 * sysdeps/i386/fpu/libm-test-ulps: Update.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7123 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7125 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7126 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7127 ports/sysdeps/unix/sysv/linux/microblaze.
7128 * README: Add missing listing for microblaze*-*-linux-gnu.
7130 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7132 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7133 * sysdeps/unix/sysv/linux/ia64: Move directory from
7134 ports/sysdeps/unix/sysv/linux/ia64.
7135 * README: Update listing for ia64-*-linux-gnu.
7137 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7138 Joseph Myers <joseph@codesourcery.com>
7140 * Makeconfig (test-name): New variable.
7141 (evaluate-test): Likewise.
7142 * Makerules (do-test-clean): Remove .test-result files.
7143 (common-mostlyclean): Likewise.
7144 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7145 * scripts/evaluate-test.sh: New file.
7147 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7149 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7150 separate $(objpfx)tst-fopenloc-cmp.out and
7151 $(objpfx)tst-fopenloc-mem.out targets.
7152 (tests): Update dependencies.
7153 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7154 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7155 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7156 (tst-rxspencer-no-utf8-ARGS): New variable.
7157 (tst-rxspencer-no-utf8-ENV): Likewise.
7158 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7159 instead of $(objpfx)tst-rxspencer-mem.
7160 ($(objpfx)tst-rxspencer-mem): Change target to
7161 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7162 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7163 * posix/tst-rxspencer-no-utf8.c: New file.
7165 * elf/Makefile ($(objpfx)order.out): Remove rule.
7166 [$(run-built-tests) = yes] (tests): Depend on
7167 $(objpfx)order-cmp.out.
7168 ($(objpfx)order-cmp.out): New rule.
7169 [$(run-built-tests) = yes] (tests): Depend on
7170 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7171 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7172 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7173 $(objpfx)tst-array5-static-cmp.out.
7174 ($(objpfx)tst-array1.out): Remove rule.
7175 ($(objpfx)tst-array1-cmp.out): New rule.
7176 ($(objpfx)tst-array1-static.out): Remove rule.
7177 ($(objpfx)tst-array1-static-cmp.out): New rule.
7178 ($(objpfx)tst-array2.out): Remove rule.
7179 ($(objpfx)tst-array2-cmp.out): New rule.
7180 ($(objpfx)tst-array3.out): Remove rule.
7181 ($(objpfx)tst-array3-cmp.out): New rule.
7182 ($(objpfx)tst-array4.out): Remove rule.
7183 ($(objpfx)tst-array4-cmp.out): New rule.
7184 ($(objpfx)tst-array5.out): Remove rule.
7185 ($(objpfx)tst-array5-cmp.out): New rule.
7186 ($(objpfx)tst-array5-static.out): Remove rule.
7187 ($(objpfx)tst-array5-static-cmp.out): New rule.
7188 [$(run-built-tests) = yes] (tests): Depend on
7189 $(objpfx)order2-cmp.out.
7190 ($(objpfx)order2.out): Remove rule.
7191 ($(objpfx)order2-cmp.out): New rule.
7192 ($(objpfx)tst-initorder.out): Remove rule.
7193 [$(run-built-tests) = yes] (tests): Depend on
7194 $(objpfx)tst-initorder-cmp.out.
7195 ($(objpfx)tst-initorder-cmp.out): New rule.
7196 ($(objpfx)tst-initorder2.out): Remove rule.
7197 [$(run-built-tests) = yes] (tests): Depend on
7198 $(objpfx)tst-initorder2-cmp.out.
7199 ($(objpfx)tst-initorder2-cmp.out): New rule.
7200 [$(run-built-tests) = yes] (tests): Depend on
7201 $(objpfx)tst-unused-dep-cmp.out.
7202 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7203 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7204 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7205 on $(objpfx)tst-setvbuf1-cmp.out.
7206 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7207 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7208 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7209 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7210 ($(objpfx)tst-svc.out): Remove rule.
7211 ($(objpfx)tst-svc-cmp.out): New rule.
7213 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7215 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7216 * ctype/ctype.h [__USE_MISC]: Likewise.
7217 * dirent/dirent.h [__USE_MISC]: Likewise.
7218 * grp/grp.h [__USE_MISC]: Likewise.
7219 * io/fcntl.h [__USE_MISC]: Likewise.
7220 * io/sys/stat.h [__USE_MISC]: Likewise.
7221 * libio/stdio.h [__USE_MISC]: Likewise.
7222 * posix/unistd.h [__USE_MISC]: Likewise.
7223 * pwd/pwd.h [__USE_MISC]: Likewise.
7224 * stdlib.h [__USE_MISC]: Likewise.
7225 * string/bits/string2.h [__USE_MISC]: Likewise.
7226 * string/string.h [__USE_MISC]: Likewise.
7227 * time/time.h [__USE_MISC]: Likewise.
7229 2014-02-13 Andreas Schwab <schwab@suse.de>
7232 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7233 second answer buffer if it was separately allocated.
7235 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7237 * sysdeps/mips/math-tests.h: Include <features.h>.
7238 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7239 (ROUNDING_TESTS_long_double): Do not define.
7240 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7241 (EXCEPTION_TESTS_long_double): Likewise.
7242 * sysdeps/mips/mips64/libm-test-ulps: Update.
7244 * include/features.h (__USE_BSD): Remove macro definitions.
7245 (__USE_SVID): Likewise.
7246 (_BSD_SOURCE): Likewise.
7247 (_SVID_SOURCE): Likewise.
7248 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7249 from definition of _DEFAULT_SOURCE.
7250 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7252 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7253 * bits/mman.h [__USE_BSD]: Likewise.
7254 * bits/termios.h [__USE_BSD]: Likewise.
7255 * bits/waitstatus.h [__USE_BSD]: Likewise.
7256 * ctype/ctype.h [__USE_SVID]: Likewise.
7257 * dirent/dirent.h [__USE_BSD]: Likewise.
7258 * grp/grp.h [__USE_SVID]: Likewise.
7259 [__USE_BSD]: Likewise.
7260 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7261 * io/fcntl.h [__USE_BSD]: Likewise.
7262 * io/ftw.h [__USE_BSD]: Likewise.
7263 * io/sys/stat.h [__USE_BSD]: Likewise.
7264 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7265 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7266 * libio/stdio.h [__USE_SVID]: Likewise.
7267 [__USE_BSD]: Likewise.
7268 * math/math.h [__USE_SVID]: Likewise.
7269 [__USE_BSD]: Likewise.
7270 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7271 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7272 * misc/search.h [__USE_SVID]: Likewise.
7273 * misc/sys/mman.h [__USE_BSD]: Likewise.
7274 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7275 * misc/sys/uio.h [__USE_BSD]: Likewise.
7276 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7277 * posix/glob.h [__USE_BSD]: Likewise.
7278 * posix/regex.h [__USE_BSD]: Likewise.
7279 * posix/sys/types.h [__USE_BSD]: Likewise.
7280 [__USE_SVID]: Likewise.
7281 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7282 * posix/sys/wait.h [__USE_BSD]: Likewise.
7283 [__USE_SVID]: Likewise.
7284 * posix/unistd.h [__USE_BSD]: Likewise.
7285 [__USE_SVID]: Likewise.
7286 * pwd/pwd.h [__USE_SVID]: Likewise.
7287 * resolv/netdb.h [__USE_BSD]: Likewise.
7288 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7289 * signal/signal.h [__USE_BSD]: Likewise.
7290 [__USE_SVID]: Likewise.
7291 * socket/sys/socket.h [__USE_BSD]: Likewise.
7292 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7293 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7294 [__USE_SVID]: Likewise.
7295 * string/bits/string2.h [__USE_BSD]: Likewise.
7296 [__USE_SVID]: Likewise.
7297 * string/bits/string3.h [__USE_BSD]: Likewise.
7298 * string/endian.h [__USE_BSD]: Likewise.
7299 * string/string.h [__USE_SVID]: Likewise.
7300 [__USE_BSD]: Likewise.
7301 * string/strings.h [__USE_BSD]: Likewise.
7302 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7303 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7304 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7305 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7306 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7307 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7311 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7312 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7314 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7315 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7317 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7319 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7320 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7325 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7326 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7327 * termios/termios.h [__USE_BSD]: Likewise.
7328 * time/sys/time.h [__USE_BSD]: Likewise.
7329 * time/time.h [__USE_BSD]: Likewise.
7330 [__USE_SVID]: Likewise.
7332 * Makefile (subdir_targets): Remove subdir_lint.out.
7334 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7335 (do-tst-printf): Likewise.
7336 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7337 $(objpfx)tst-printf.out.
7339 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7341 * Makerules (check-abi-%): Change target to
7342 $(objpfx)check-abi-%.out.
7343 (check-abi target): Update dependencies.
7344 (check-abi-pattern variable): Redirect output of diff to $@.
7345 (check-abi variable): Likewise.
7346 * elf/Makefile (check-abi): Update dependencies.
7348 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7350 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7351 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7353 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7354 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7355 value has largest subnormal exponent.
7356 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7357 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7358 * sysdeps/aarch64/soft-fp/sfp-machine.h
7359 (_FP_TININESS_AFTER_ROUNDING): New macro.
7360 * sysdeps/alpha/soft-fp/sfp-machine.h
7361 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7362 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7364 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7365 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7366 * sysdeps/mips/soft-fp/sfp-machine.h
7367 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7368 * sysdeps/powerpc/soft-fp/sfp-machine.h
7369 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7370 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7372 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7373 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7374 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7375 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7376 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7379 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7382 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7385 2014-02-12 Richard Henderson <rth@redhat.com>
7387 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7388 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7389 * sysdeps/unix/sysv/linux/alpha: Move directory from
7390 ports/sysdeps/unix/sysv/linux/alpha.
7391 * README: Update listing for alpha-*-linux-gnu.
7393 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7395 * include/features.h: Update comment documenting feature test
7397 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7399 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7400 (_SVID_SOURCE): Likewise.
7401 (_DEFAULT_SOURCE): Update description of default features.
7402 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7404 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7405 (S_ISVTX): Likewise.
7406 * manual/math.texi (Mathematical Constants): Likewise.
7407 * manual/signal.texi (Interrupted Primitives): Likewise.
7408 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7409 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7410 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7411 Don't refer to _SVID_SOURCE in warning text.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7415 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7417 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7418 * sysdeps/mips/dl-lookup.c: Remove.
7419 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7421 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7424 * math/auto-libm-test-in: Add testcase for expl.
7425 * math/auto-libm-test-out: Regenerate.
7426 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7427 calculation of unsafe.
7428 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7430 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7432 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7433 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7434 ports/sysdeps/unix/sysv/linux/aarch64.
7435 * README: Update listing for aarch64*-*-linux-gnu.
7437 2014-02-11 Will Newton <will.newton@linaro.org>
7439 * manual/probes.texi (Mathematical Function Probes): Use
7440 "triggered" instead of "hit".
7442 * manual/probes.texi (Internal Probes): Add documentation
7443 of setjmp, longjmp and longjmp_target probes.
7445 * include/stap-probe.h: Add comment about probe argument
7448 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7449 definition. (tr_where, tr_freehook, tr_mallochook,
7450 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7452 2014-02-11 David S. Miller <davem@davemloft.net>
7454 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7455 processing int_tests.
7457 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7459 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7460 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7461 * sysdeps/unix/sysv/linux/mips: Move directory from
7462 ports/sysdeps/unix/sysv/linux/mips.
7463 * README: Update listing for mips-*-linux-gnu and
7466 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7468 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7469 * sysdeps/unix/sysv/linux/m68k: Move directory from
7470 ports/sysdeps/unix/sysv/linux/m68k.
7471 * README: Update listing for m68k-*-linux-gnu.
7473 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7475 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7476 * sysdeps/unix/sysv/linux/generic: Move directory from
7477 ports/sysdeps/unix/sysv/linux/generic.
7478 * sysdeps/unix/sysv/linux/tile: Move directory from
7479 ports/sysdeps/unix/sysv/linux/tile.
7480 * README: Update listing for tile*-*-linux-gnu.
7482 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7484 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7486 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7487 * catgets/open_catalog.c (__open_catalog): Likewise.
7488 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7489 * debug/confstr_chk.c: Likewise.
7490 * debug/fread_chk.c (__fread_chk): Likewise.
7491 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7492 * debug/getgroups_chk.c: Likewise.
7493 * debug/mbsnrtowcs_chk.c: Likewise.
7494 * debug/mbsrtowcs_chk.c: Likewise.
7495 * debug/mbstowcs_chk.c: Likewise.
7496 * debug/memcpy_chk.c: Likewise.
7497 * debug/memmove_chk.c: Likewise.
7498 * debug/mempcpy_chk.c: Likewise.
7499 * debug/memset_chk.c: Likewise.
7500 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7501 * debug/strcat_chk.c (__strcat_chk): Likewise.
7502 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7503 * debug/strncat_chk.c (__strncat_chk): Likewise.
7504 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7505 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7506 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7507 * debug/wcpncpy_chk.c: Likewise.
7508 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7509 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7510 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7511 * debug/wcsncpy_chk.c: Likewise.
7512 * debug/wcsnrtombs_chk.c: Likewise.
7513 * debug/wcsrtombs_chk.c: Likewise.
7514 * debug/wcstombs_chk.c: Likewise.
7515 * debug/wmemcpy_chk.c: Likewise.
7516 * debug/wmemmove_chk.c: Likewise.
7517 * debug/wmempcpy_chk.c: Likewise.
7518 * debug/wmemset_chk.c: Likewise.
7519 * dirent/scandirat.c (SCANDIRAT): Likewise.
7520 * dlfcn/dladdr1.c (dladdr1): Likewise.
7521 * dlfcn/dladdr.c (dladdr): Likewise.
7522 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7523 * dlfcn/dlerror.c (__dlerror): Likewise.
7524 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7525 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7526 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7527 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7528 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7529 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7530 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7531 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7533 * elf/dl-conflict.c: Likewise.
7534 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7535 * elf/dl-dst.h: Likewise.
7536 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7537 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7538 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7539 * elf/dl-init.c (call_init, _dl_init): Likewise.
7540 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7541 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7542 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7544 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7546 * elf/dl-minimal.c (__libc_memalign): Likewise.
7547 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7548 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7549 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7550 * elf/dl-sym.c (do_sym): Likewise.
7551 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7552 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7553 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7554 * elf/dl-writev.h (_dl_writev): Likewise.
7555 * elf/ldconfig.c (search_dir): Likewise.
7556 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7557 (dl_main): Likewise.
7558 * elf/setup-vdso.h (setup_vdso): Likewise.
7559 * grp/compat-initgroups.c (compat_call): Likewise.
7560 * grp/fgetgrent.c (fgetgrent): Likewise.
7561 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7562 * grp/putgrent.c (putgrent): Likewise.
7563 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7565 * hurd/hurdinit.c: Likewise.
7566 * iconvdata/8bit-gap.c (struct): Likewise.
7567 * iconvdata/ansi_x3.110.c : Likewise.
7568 * iconvdata/big5.c : Likewise.
7569 * iconvdata/big5hkscs.c : Likewise.
7570 * iconvdata/cp1255.c: Likewise.
7571 * iconvdata/cp1258.c : Likewise.
7572 * iconvdata/cp932.c : Likewise.
7573 * iconvdata/euc-cn.c: Likewise.
7574 * iconvdata/euc-jisx0213.c : Likewise.
7575 * iconvdata/euc-jp.c: Likewise.
7576 * iconvdata/euc-jp-ms.c : Likewise.
7577 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7578 * iconvdata/gb18030.c : Likewise.
7579 * iconvdata/gbbig5.c (const): Likewise.
7580 * iconvdata/gbgbk.c: Likewise.
7581 * iconvdata/gbk.c : Likewise.
7582 * iconvdata/ibm1364.c : Likewise.
7583 * iconvdata/ibm930.c : Likewise.
7584 * iconvdata/ibm932.c: Likewise.
7585 * iconvdata/ibm933.c : Likewise.
7586 * iconvdata/ibm935.c : Likewise.
7587 * iconvdata/ibm937.c : Likewise.
7588 * iconvdata/ibm939.c : Likewise.
7589 * iconvdata/ibm943.c: Likewise.
7590 * iconvdata/iso_11548-1.c: Likewise.
7591 * iconvdata/iso-2022-cn.c : Likewise.
7592 * iconvdata/iso-2022-cn-ext.c : Likewise.
7593 * iconvdata/iso-2022-jp-3.c: Likewise.
7594 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7595 * iconvdata/iso-2022-kr.c : Likewise.
7596 * iconvdata/iso646.c (gconv_end): Likewise.
7597 * iconvdata/iso_6937-2.c : Likewise.
7598 * iconvdata/iso_6937.c : Likewise.
7599 * iconvdata/iso8859-1.c: Likewise.
7600 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7601 * iconvdata/shift_jisx0213.c : Likewise.
7602 * iconvdata/sjis.c : Likewise.
7603 * iconvdata/t.61.c : Likewise.
7604 * iconvdata/tcvn5712-1.c : Likewise.
7605 * iconvdata/tscii.c: Likewise.
7606 * iconvdata/uhc.c : Likewise.
7607 * iconvdata/unicode.c (gconv_end): Likewise.
7608 * iconvdata/utf-16.c (gconv_end): Likewise.
7609 * iconvdata/utf-32.c (gconv_end): Likewise.
7610 * iconvdata/utf-7.c (base64): Likewise.
7611 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7612 * iconv/gconv_close.c (__gconv_close): Likewise.
7613 * iconv/gconv_open.c (__gconv_open): Likewise.
7614 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7615 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7616 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7617 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7618 (ucs4le_internal_loop_single): Likewise.
7619 * iconv/iconv.c (iconv): Likewise.
7620 * iconv/iconv_close.c: Likewise.
7621 * iconv/loop.c (SINGLE): Likewise.
7622 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7623 * include/atomic.h: Likewise.
7624 * inet/inet6_option.c (option_alloc): Likewise.
7625 * intl/bindtextdom.c (set_binding_values): Likewise.
7626 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7627 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7628 * intl/localealias.c (read_alias_file): Likewise.
7629 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7630 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7631 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7632 * libio/fmemopen.c (fmemopen): Likewise.
7633 * libio/iofgets.c (_IO_fgets): Likewise.
7634 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7635 * libio/iofgetws.c (fgetws): Likewise.
7636 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7637 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7638 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7639 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7640 * locale/findlocale.c (_nl_find_locale): Likewise.
7641 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7642 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7644 * locale/setlocale.c (setlocale): Likewise.
7645 * login/programs/pt_chown.c (main): Likewise.
7646 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7647 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7648 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7649 (mmap, mmap64, mremap, munmap): Likewise.
7650 * math/e_exp2l.c: Likewise.
7651 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7652 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7653 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7654 * math/s_catan.c (__catan): Likewise.
7655 * math/s_catanf.c (__catanf): Likewise.
7656 * math/s_catanh.c (__catanh): Likewise.
7657 * math/s_catanhf.c (__catanhf): Likewise.
7658 * math/s_catanhl.c (__catanhl): Likewise.
7659 * math/s_catanl.c (__catanl): Likewise.
7660 * math/s_ccosh.c (__ccosh): Likewise.
7661 * math/s_ccoshf.c (__ccoshf): Likewise.
7662 * math/s_ccoshl.c (__ccoshl): Likewise.
7663 * math/s_cexp.c (__cexp): Likewise.
7664 * math/s_cexpf.c (__cexpf): Likewise.
7665 * math/s_cexpl.c (__cexpl): Likewise.
7666 * math/s_clog10.c (__clog10): Likewise.
7667 * math/s_clog10f.c (__clog10f): Likewise.
7668 * math/s_clog10l.c (__clog10l): Likewise.
7669 * math/s_clog.c (__clog): Likewise.
7670 * math/s_clogf.c (__clogf): Likewise.
7671 * math/s_clogl.c (__clogl): Likewise.
7672 * math/s_csin.c (__csin): Likewise.
7673 * math/s_csinf.c (__csinf): Likewise.
7674 * math/s_csinh.c (__csinh): Likewise.
7675 * math/s_csinhf.c (__csinhf): Likewise.
7676 * math/s_csinhl.c (__csinhl): Likewise.
7677 * math/s_csinl.c (__csinl): Likewise.
7678 * math/s_csqrt.c (__csqrt): Likewise.
7679 * math/s_csqrtf.c (__csqrtf): Likewise.
7680 * math/s_csqrtl.c (__csqrtl): Likewise.
7681 * math/s_ctan.c (__ctan): Likewise.
7682 * math/s_ctanf.c (__ctanf): Likewise.
7683 * math/s_ctanh.c (__ctanh): Likewise.
7684 * math/s_ctanhf.c (__ctanhf): Likewise.
7685 * math/s_ctanhl.c (__ctanhl): Likewise.
7686 * math/s_ctanl.c (__ctanl): Likewise.
7687 * math/w_pow.c: Likewise.
7688 * math/w_powf.c: Likewise.
7689 * math/w_powl.c: Likewise.
7690 * math/w_scalb.c (sysv_scalb): Likewise.
7691 * math/w_scalbf.c (sysv_scalbf): Likewise.
7692 * math/w_scalbl.c (sysv_scalbl): Likewise.
7693 * misc/error.c (error_tail): Likewise.
7694 * misc/pselect.c (__pselect): Likewise.
7695 * nis/nis_callback.c (__nis_create_callback): Likewise.
7696 * nis/nis_call.c (__nisfind_server): Likewise.
7697 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7698 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7699 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7700 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7701 * nis/nis_lookup.c (nis_lookup): Likewise.
7702 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7703 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7704 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7705 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7706 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7707 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7708 * nis/nss_compat/compat-initgroups.c (add_group)
7709 (internal_getgrent_r): Likewise.
7710 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7711 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7712 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7713 (internal_getspnam_r): Likewise.
7714 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7715 (_nss_nis_getaliasbyname_r): Likewise.
7716 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7717 (_nss_nis_getntohost_r): Likewise.
7718 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7719 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7720 (_nss_nis_getgrgid_r): Likewise.
7721 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7722 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7723 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7724 (_nss_nis_gethostbyname4_r): Likewise.
7725 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7726 (initgroups_netid): Likewise.
7727 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7728 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7729 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7730 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7731 (_nss_nis_getprotobynumber_r): Likewise.
7732 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7733 (_nss_nis_getsecretkey): Likewise.
7734 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7735 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7736 (_nss_nis_getpwuid_r): Likewise.
7737 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7738 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7739 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7740 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7741 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7742 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7743 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7745 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7746 (_nss_nisplus_getntohost_r): Likewise.
7747 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7748 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7749 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7750 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7752 * nis/nss_nisplus/nisplus-initgroups.c
7753 (_nss_nisplus_initgroups_dyn): Likewise.
7754 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7755 (_nss_nisplus_getnetbyaddr_r): Likewise.
7756 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7757 (_nss_nisplus_getprotobynumber_r): Likewise.
7758 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7759 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7760 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7762 * nis/nss_nisplus/nisplus-service.c
7763 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7764 (_nss_nisplus_getservbyport_r): Likewise.
7765 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7766 (_nss_nisplus_getspnam_r): Likewise.
7767 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7769 * nscd/aicache.c (addhstaiX): Likewise.
7770 * nscd/cache.c (cache_search, prune_cache): Likewise.
7771 * nscd/connections.c (register_traced_file, send_ro_fd)
7772 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7773 (main_loop_epoll): Likewise.
7774 * nscd/grpcache.c (addgrbyX): Likewise.
7775 * nscd/hstcache.c (addhstbyX): Likewise.
7776 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7777 * nscd/mem.c (gc, mempool_alloc): Likewise.
7778 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7779 (addinnetgrX): Likewise.
7780 * nscd/nscd-client.h (__nscd_acquire_maplock)
7781 (__nscd_drop_map_ref): Likewise.
7782 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7783 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7784 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7786 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7787 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7788 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7789 (__nscd_get_map_ref): Likewise.
7790 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7791 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7793 * nscd/pwdcache.c (addpwbyX): Likewise.
7794 * nscd/selinux.c (preserve_capabilities): Likewise.
7795 * nscd/servicescache.c (addservbyX): Likewise.
7796 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7797 * posix/fnmatch.c (fnmatch): Likewise.
7798 * posix/getopt.c (_getopt_internal_r): Likewise.
7799 * posix/glob.c (glob, glob_in_dir): Likewise.
7800 * posix/wordexp.c (exec_comm_child): Likewise.
7801 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7802 (getanswer_r, gaih_getanswer_slice): Likewise.
7803 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7804 * resolv/res_init.c: Likewise.
7805 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7806 * resolv/res_query.c (__libc_res_nquery): Likewise.
7807 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7809 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7810 * stdio-common/perror.c (perror): Likewise.
7811 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7812 * stdio-common/tmpnam.c (tmpnam): Likewise.
7813 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7814 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7815 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7817 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7818 * stdlib/putenv.c (putenv): Likewise.
7819 * stdlib/setenv.c (__add_to_environ): Likewise.
7820 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7821 * stdlib/strtol_l.c (INTERNAL): Likewise.
7822 * string/memmem.c (memmem): Likewise.
7823 * string/strerror.c (strerror): Likewise.
7824 * string/strnlen.c (__strnlen): Likewise.
7825 * string/test-memmem.c (simple_memmem): Likewise.
7826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7827 * sunrpc/pm_getport.c (__get_socket): Likewise.
7828 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7829 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7830 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7831 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7833 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7834 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7836 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7837 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7838 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7840 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7842 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7843 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7845 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7846 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7848 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7849 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7850 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7851 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7852 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7853 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7855 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7857 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7859 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7861 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7862 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7863 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7864 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7865 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7874 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7876 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7878 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7880 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7882 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7884 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7886 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7887 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7888 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7889 * sysdeps/posix/sleep.c: Likewise.
7890 * sysdeps/posix/tempname.c: Likewise.
7891 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7892 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7894 * sysdeps/powerpc/powerpc32/dl-machine.h
7895 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7896 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7897 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7898 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7899 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7901 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7902 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7903 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7904 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7905 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7906 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7907 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7908 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7909 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7910 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7912 (elf_machine_lazy_rel): Likewise.
7913 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7914 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7915 (elf_machine_lazy_rel): Likewise.
7916 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7917 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7918 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7919 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7920 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7921 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7922 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7925 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7926 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7927 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7928 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7929 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7930 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7931 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7932 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7934 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7935 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7937 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7938 (__posix_fallocate64_l64): Likewise.
7939 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7940 (posix_fallocate): Likewise.
7941 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7944 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7945 (getifaddrs_internal): Likewise.
7946 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7947 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7948 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7949 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7950 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7951 (__posix_fallocate64_l64): Likewise.
7952 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7954 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7955 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7956 (__get_clockfreq): Likewise.
7957 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7958 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7959 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7962 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7963 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7964 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7966 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7967 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7968 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7969 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7970 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7971 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7972 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7974 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7975 (posix_fallocate): Likewise.
7976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7977 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7978 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7979 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7980 (elf_machine_rela, elf_machine_rela_relative)
7981 (elf_machine_lazy_rel): Likewise.
7982 * time/asctime.c (asctime_internal): Likewise.
7983 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7984 * time/tzset.c (__tzset_parse_tz): Likewise.
7985 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7986 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7987 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7988 * wcsmbs/wcsmbsload.h: Likewise.
7991 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7993 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7994 (arena_get2): Remove THREAD_STATS conditionals.
7995 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7996 (__malloc_stats, int): Likewise.
7998 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8000 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8001 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8003 * manual/setjmp.texi: Fix typos/grammar errors.
8005 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8006 Only return early when n is <= 0. Delete unused return statement.
8008 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8009 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8010 * debug/tst-longjmp_chk3.c: New file.
8012 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8013 (test_main): Replace code with set_fortify_handler call.
8014 * debug/test-strcpy_chk.c: Likewise.
8015 * debug/tst-chk1.c: Likewise.
8016 * debug/tst-longjmp_chk.c: Likewise.
8017 * test-skeleton.c: Include fcntl.h & paths.h
8018 (set_fortify_handler): Define.
8020 * debug/tst-longjmp_chk.c: Add header comment and include
8022 (do_test): Mark static.
8023 (TEST_FUNCTION): Define.
8025 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8026 (IP_PMTUDISC_INTERFACE): Likewise.
8027 (IP_MULTICAST_IF): Likewise.
8028 (IP_MULTICAST_TTL): Likewise.
8029 (IP_MULTICAST_LOOP): Likewise.
8030 (IP_ADD_MEMBERSHIP): Likewise.
8031 (IP_DROP_MEMBERSHIP): Likewise.
8032 (IP_UNBLOCK_SOURCE): Likewise.
8033 (IP_BLOCK_SOURCE): Likewise.
8034 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8035 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8036 (IP_MSFILTER): Likewise.
8037 (MCAST_JOIN_GROUP): Likewise.
8038 (MCAST_BLOCK_SOURCE): Likewise.
8039 (MCAST_UNBLOCK_SOURCE): Likewise.
8040 (MCAST_LEAVE_GROUP): Likewise.
8041 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8042 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8043 (MCAST_MSFILTER): Likewise.
8044 (IP_MULTICAST_ALL): Likewise.
8045 (IP_UNICAST_IF): Likewise.
8047 * timezone/Makefile: Delete $(have-ksh) check.
8048 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8049 * timezone/tzselect.ksh: Add +x mode bits.
8051 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8052 (ANON_INODE_FS_MAGIC): Likewise.
8053 (BDEVFS_MAGIC): Likewise.
8054 (BINFMTFS_MAGIC): Likewise.
8055 (BTRFS_TEST_MAGIC): Likewise.
8056 (CRAMFS_MAGIC_WEND): Likewise.
8057 (DEBUGFS_MAGIC): Likewise.
8058 (ECRYPTFS_SUPER_MAGIC): Likewise.
8059 (EXT3_SUPER_MAGIC): Likewise.
8060 (EXT4_SUPER_MAGIC): Likewise.
8061 (FUTEXFS_SUPER_MAGIC): Likewise.
8062 (HOSTFS_SUPER_MAGIC): Likewise.
8063 (HUGETLBFS_MAGIC): Likewise.
8064 (MINIX3_SUPER_MAGIC): Likewise.
8065 (MTD_INODE_FS_MAGIC): Likewise.
8066 (NILFS_SUPER_MAGIC): Likewise.
8067 (OPENPROM_SUPER_MAGIC): Likewise.
8068 (PIPEFS_MAGIC): Likewise.
8069 (PSTOREFS_MAGIC): Likewise.
8070 (QNX6_SUPER_MAGIC): Likewise.
8071 (RAMFS_MAGIC): Likewise.
8072 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8073 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8074 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8075 (SECURITYFS_MAGIC): Likewise.
8076 (SELINUX_MAGIC): Likewise.
8077 (SMACK_MAGIC): Likewise.
8078 (SOCKFS_MAGIC): Likewise.
8079 (SQUASHFS_MAGIC): Likewise.
8080 (STACK_END_MAGIC): Likewise.
8081 (TMPFS_MAGIC): Likewise.
8082 (USBDEVICE_SUPER_MAGIC): Likewise.
8083 (V9FS_MAGIC): Likewise.
8084 (XENFS_SUPER_MAGIC): Likewise.
8085 (CRAMFS_MAGIC): Fix typo in comment.
8086 (EXT2_SUPER_MAGIC): Update comment.
8087 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8089 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8091 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8092 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8093 * sysdeps/unix/sysv/linux/arm: Move directory from
8094 ports/sysdeps/unix/sysv/linux/arm.
8095 * README: Update listing for arm-*-linux-gnueabi.
8097 * README: Remove mention of am33.
8099 2014-02-07 Roland McGrath <roland@hack.frob.com>
8101 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8102 than the comma operator, to avoid "rhs of comma has no effect"
8104 (__sigfillset, __sigandset, __sigorset): Likewise.
8105 * include/signal.h (__sigemptyset): Likewise.
8106 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8108 2014-02-07 Allan McRae <allan@archlinux.org>
8110 * version.h (RELEASE): Set to "development".
8111 (VERSION): Set to "2.19.90"
8112 * NEWS: Add 2.20 section.
8114 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8117 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8119 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8121 * manual/contrib.texi: Update entry for Carlos O'Donell,
8122 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8124 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8126 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8128 * sysdeps/unix/sysv/linux/kernel-features.h
8129 [__LINUX_KERNEL_VERSION >= 0x020621]
8130 (__ASSUME_PROC_PID_TASK_COMM): Define.
8132 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8135 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8136 conversion when destination buffer does not have enough space.
8137 * libio/tst-ftell-partial-wide.c: New test case.
8138 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8140 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8141 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8142 Leonard and Allan McRae.
8144 2014-02-04 David S. Miller <davem@davemloft.net>
8146 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8149 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8178 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8180 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8181 * shlib-versions: Likewise.
8183 2014-02-04 Roland McGrath <roland@hack.frob.com>
8184 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8186 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8187 (abilist-pattern): New variable, set to %-le.abilist.
8189 * Makerules (abilist-pattern): New variable.
8190 (vpath): Use $(abilist-pattern) in place of %.abilist.
8191 (check-abi-% pattern rule): Likewise.
8192 (check-abi, update-abi): Likewise.
8194 2014-02-04 Eric Wong <normalperson@yhbt.net>
8196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8198 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8200 * manual/startup.texi: Add next, previous, and top entries for
8201 the `Program Arguments' and `Environment Variables' nodes.
8203 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8205 * manual/macros.texi: Add comments before MTASC-safety macros.
8207 * manual/users.texi: Document MTASC-safety properties.
8209 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8210 (pthread_getspecific, pthread_setspecific): Format with
8211 @deftypefun, and add @safety note.
8212 * manual/signal.texi: Move comments that analyze the above
8213 functions to their home place.
8215 2014-02-03 Allan McRae <allan@archlinux.org>
8217 * po/sl.po: Update Slovenian translation from translation project.
8219 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8221 * manual/time.texi (timegm): Add missing blank after @c.
8222 Reported by Joseph Myers <joseph@codesourcery.com>.
8224 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8226 * manual/check-safety.sh: New.
8227 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8229 * manual/terminal.texi: Document MTASC-safety properties.
8231 * manual/filesys.texi: Document MTASC-safety properties.
8233 * manual/errno.texi: Document MTASC-safety properties.
8235 * manual/intro.texi: Document safety identifiers and
8238 * manual/string.texi (wcstok): Fix prototype.
8239 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8241 * manual/time.texi: Document MTASC-safety properties.
8243 * manual/string.texi: Document MTASC-safety properties.
8245 * manual/threads.texi: Document MTASC-safety properties.
8247 * manual/stdio.texi: Document MTASC-safety properties.
8249 * manual/syslog.texi: Document MTASC-safety properties.
8251 * manual/sysinfo.texi: Document MTASC-safety properties.
8253 * manual/startup.texi: Document MTASC-safety properties.
8255 * manual/socket.texi: Document MTASC-safety properties.
8257 * manual/signal.texi: Document MTASC-safety properties.
8259 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8261 * manual/setjmp.texi: Document MTASC-safety properties.
8263 * manual/search.texi: Document MTASC-safety properties.
8265 * manual/resource.texi: Document MTASC-safety properties.
8267 * manual/process.texi: Document MTASC-safety properties.
8269 * manual/platform.texi: Document MTASC-safety properties.
8271 * manual/pipe.texi: Document MTASC-safety properties.
8273 * manual/pattern.texi: Document MTASC-safety properties.
8275 * manual/message.texi: Document MTASC-safety properties.
8278 * manual/memory.texi: Document MTASC-safety properties.
8280 * manual/math.texi: Document MTASC-safety properties.
8282 * manual/locale.texi: Document MTASC-safety properties.
8284 * manual/llio.texi: Document MTASC-safety properties.
8286 * manual/libdl.texi: New.
8288 * manual/lang.texi: Document MTASC-safety properties.
8290 * manual/job.texi: Document MTASC-safety properties.
8292 * manual/getopt.texi: Document MTASC-safety properties.
8294 * manual/ctype.texi: Document MTASC-safety properties.
8296 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8299 * csu/libc-tls.c (static_map): Remove variable.
8300 (__libc_setup_tls): Use main executable's link map for TLS data.
8301 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8302 casing for LM_ID_BASE and GL(dl_nns).
8303 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8304 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8305 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8306 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8307 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8309 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8312 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8314 * manual/debug.texi: Document MTASC-safety properties.
8316 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8319 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8320 of __x86_64__ when disabling x87 inline functions.
8322 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8324 * manual/charset.texi: Document MTASC-safety properties.
8326 * manual/crypt.texi: Document MTASC-safety properties.
8328 * manual/conf.texi: Document MTASC-safety properties.
8330 * manual/arith.texi: Document MTASC-safety properties.
8332 * manual/argp.texi: Document MTASC-safety properties.
8334 * manual/macros.texi: Introduce macros to document multi
8335 thread, asynchronous signal and asynchronous cancellation
8337 * manual/intro.texi: Introduce the properties themselves.
8339 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8341 * sysdeps/sh/sh4/Makefile: New file.
8343 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8345 * math/gen-libm-test.pl ($srcdir): New variable.
8346 ($auto_input): Use it.
8348 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8351 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8352 access beyond array bounds when parsing netgroups file.
8354 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8355 the old buffer before realloc.
8357 2014-01-27 Allan McRae <allan@archlinux.org>
8359 * po/fr.po: Update French translation from translation project.
8361 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8363 * sysdeps/sh/libm-test-ulps: Regenerate.
8365 2014-01-24 David S. Miller <davem@davemloft.net>
8367 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8369 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8371 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8372 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8374 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8377 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8378 string pointers after reallocation.
8380 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8382 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8383 __SH4A__ instead of __SH_FPU_ANY__.
8385 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8387 * sysdeps/sh/fpu_control.h: New file.
8388 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8389 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8390 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8391 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8392 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8393 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8394 * sysdeps/sh/sys/ucontext.h: Remove.
8395 * sysdeps/sh/sys: Remove directory.
8397 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8399 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8400 s390/sys/ucontext.h.
8401 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8402 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8404 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8407 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8409 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8413 Adjust the vDSO correctly for internal calls.
8414 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8416 2014-01-20 Allan McRae <allan@archlinux.org>
8418 * po/ca.po: Update Catalan translation from translation project.
8420 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8422 * sysdeps/s390/sotruss-lib.c: New file.
8424 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8427 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8428 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8429 local calls issues by not having a PLT stub required for IFUNC calls.
8430 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8432 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8434 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8435 * math/test-fpucw-static.c: Likewise.
8437 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8440 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8442 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8444 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8445 implementation for powerpc.
8447 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8450 * sysdeps/posix/system.c (__libc_system): Do not enable
8451 asynchronous cancellation.
8453 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8456 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8457 handling only for numbers special also in the IEEE case.
8459 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8461 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8463 2014-01-11 Allan McRae <allan@archlinux.org>
8465 * po/bg.po: Update Bulgarian translation from translation project.
8467 * po/de.po: Update German translation from translation project.
8469 2014-01-10 Roland McGrath <roland@hack.frob.com>
8471 * sysdeps/generic/gcc-compat.h: New file.
8473 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8475 * benchtests/asin-inputs: Correct slow inputs.
8476 * benchtests/acos-inputs: Likewise.
8478 2014-01-10 Allan McRae <allan@archlinux.org>
8480 * po:sv.po: Update Swedish translation from translation project.
8482 * po/vi.po: Update Vietnamese translation from translation project.
8484 * po/eo.po: Update Esperanto translation from translation project.
8486 * po/cs.po: Update Czech translation from translation project.
8488 * po/nl.po: Update Dutch translation from translation project.
8490 * po/pl.po: Update Polish translation from translation project.
8492 * po/ru.po: Update Russian translation from translation project.
8494 * po/uk.po: Update Ukrainian translation from translation project.
8496 2014-01-08 Brooks Moses <bmoses@google.com>
8498 * elf/dl-load.c: Fix comment typo.
8500 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8502 * po/header.pot: Rename to...
8503 * po/pot.header: ... this.
8504 * po/Makefile: Use pot.header.
8506 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8507 Maxim Kuvyrkov <maxim@kugelworks.com>
8510 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8511 SRC and DEST against LEN.
8513 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8516 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8518 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8520 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8524 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8528 for large positive arguments.
8530 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8532 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8534 * math/auto-libm-test-in: Mark various tests with
8535 xfail-rounding:ldbl-128ibm.
8536 * math/auto-libm-test-out: Regenerated.
8539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8540 Increase overflow threshold.
8542 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8545 * stdio-common/vfprintf.c: Check for integer overflow.
8547 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8549 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8550 the first argument and return value of __tls_get_addr_internal.
8552 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8554 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8555 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8557 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8559 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8560 * sysdeps/s390/rtld-global-offsets.sym: New file.
8561 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8563 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8564 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8565 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8567 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8574 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8575 halfs of GPRs for high_gprs contexts.
8576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8577 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8581 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8583 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8584 for high GPRs (uc_high_gprs) and for future extensions
8586 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8587 for future extensions (__reserved).
8588 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8590 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8591 SC_HIGHGPRS offset definition.
8592 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8593 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8595 * Versions.def: Add GLIBC_2.19 for libpthread.
8596 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8597 siglongjmp for libpthread with GLIBC_2.19 symver.
8598 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8599 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8600 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8601 * sysdeps/s390/__longjmp.c: New file.
8602 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8603 * sysdeps/s390/longjmp.c: New file.
8604 * sysdeps/s390/setjmp.S: New file.
8605 * sysdeps/s390/sigjmp.S: New file.
8606 * sysdeps/s390/v1-longjmp.c: New file.
8607 * sysdeps/s390/v1-setjmp.h: New file.
8608 * sysdeps/s390/v1-sigjmp.c: New file.
8609 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8610 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8612 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8613 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8614 versioned symbols for ____longjmp_chk.
8615 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8625 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8626 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8627 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8628 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8629 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8630 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8631 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8632 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8633 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8634 * sysdeps/s390/rtld-__longjmp.c: New file.
8635 * sysdeps/s390/rtld-setjmp.S: New file.
8637 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8641 Return -__logl (x) for small positive arguments without evaluating
8644 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8646 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8648 (__ptrace_peeksiginfo_args): ... this.
8649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8650 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8651 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8653 2014-01-06 Allan McRae <allan@archlinux.org>
8655 * inet/netinet/in.h: Fix typo in comment.
8657 2014-01-05 Andreas Jaeger <aj@suse.de>
8659 * sysdeps/i386/fpu/libm-test-ulps: Update.
8661 2014-01-05 Allan McRae <allan@archlinux.org>
8663 * po/libc.pot: Regenerated.
8665 * malloc/memusagestat.c: Fix gettext call formatting.
8667 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8669 * nscd/nscd.c: Improve usage() output.
8671 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8673 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8674 * sysdeps/unix/sysv/linux/configure: Regenerated.
8675 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8676 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8678 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8682 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8684 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8687 extra tokens at end of #undef directive.
8688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8689 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8690 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8692 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8694 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8696 * math/auto-libm-test-in: Mark various tests with
8697 xfail-rounding:ldbl-128ibm.
8698 * math/auto-libm-test-out: Regenerated.
8700 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8703 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8704 numbers with subnormal high part when calculating exponent.
8707 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8711 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8713 (__ieee754_acoshl): Use __log1pl not __log1p.
8715 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8717 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8718 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8719 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8720 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8721 (reused_arena, arena_get2): Convert to GNU style.
8722 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8723 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8724 (memalign_check, __malloc_set_state): Likewise.
8725 * malloc/mallocbug.c (main): Likewise.
8726 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8727 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8728 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8729 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8730 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8731 (__posix_memalign, malloc_info): Likewise.
8732 * malloc/malloc.h: Likewise.
8733 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8734 (mallochook, memalignhook, reallochook, mabort): Likewise.
8735 * malloc/mcheck.h: Likewise.
8736 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8737 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8738 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8739 * malloc/morecore.c (__default_morecore): Likewise.
8740 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8741 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8742 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8743 (print_and_abort): Likewise.
8744 * malloc/obstack.h: Likewise.
8745 * malloc/set-freeres.c (__libc_freeres): Likewise.
8746 * malloc/tst-mallocstate.c (main): Likewise.
8747 * malloc/tst-mtrace.c (main): Likewise.
8748 * malloc/tst-realloc.c (do_test): Likewise.
8750 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8753 * nscd/netgroupcache.c (do_notfound): New function.
8754 (addgetnetgrentX): Use it.
8757 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8758 NSS_STATUS_NOTFOUND.
8760 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8765 2014-01-01 Allan McRae <allan@archlinux.org>
8767 * scripts/update-copyrights: Update configure input file suffix.
8769 * NEWS: Update copyright year.
8770 * catgets/gencat.c: Likewise.
8771 * csu/version.c: Likewise.
8772 * debug/catchsegv.sh: Likewise.
8773 * debug/pcprofiledump.c: Likewise.
8774 * debug/xtrace.sh: Likewise.
8775 * elf/ldconfig.c: Likewise.
8776 * elf/ldd.bash.in: Likewise.
8777 * elf/pldd.c: Likewise.
8778 * elf/sotruss.ksh: Likewise.
8779 * elf/sprof.c: Likewise.
8780 * iconv/iconv_prog.c: Likewise.
8781 * iconv/iconvconfig.c: Likewise.
8782 * locale/programs/locale.c: Likewise.
8783 * locale/programs/localedef.c: Likewise.
8784 * login/programs/pt_chown.c: Likewise.
8785 * malloc/memusage.sh: Likewise.
8786 * malloc/memusagestat.c: Likewise.
8787 * malloc/mtrace.pl: Likewise.
8788 * manual/libc.texinfo: Likewise.
8789 * nscd/nscd.c: Likewise.
8790 * nss/getent.c: Likewise.
8791 * nss/makedb.c: Likewise.
8792 * posix/getconf.c: Likewise.
8793 * scripts/test-installation.pl: Likewise.
8795 * All files with FSF copyright notices: Update copyright dates
8796 using scripts/update-copyrights.
8797 * intl/plural.c: Regenerated.
8798 * locale/programs/charmap-kw.h: Likewise.
8799 * locale/programs/locfile-kw.h: Likewise.
8801 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8803 * sysdeps/unix/sysv/linux/configure: Regenerated.
8804 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8805 the linux/fanotify.h header.
8806 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8807 HAVE_LINUX_FANOTIFY_H is defined.
8809 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8811 * benchtests/cos-inputs: New inputs.
8812 * benchtests/sin-inputs: Likewise.
8814 * benchtests/atan-inputs: New inputs. Fix name of multiple
8815 precision fallback inputs.
8817 * benchtests/atanh-inputs: New inputs.
8818 * benchtests/tanh-inputs: Likewise.
8820 * benchtests/acosh-inputs: New inputs.
8821 * benchtests/asinh-inputs: Likewise.
8823 * benchtests/cosh-inputs: New inputs.
8824 * benchtests/sinh-inputs: Likewise.
8826 * benchtests/acos-inputs: Add more inputs.
8827 * benchtests/asin-inputs: Likewise.
8829 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8832 * manual/arith.texi: Fix spelling.
8833 * manual/charset.texi: Likewise.
8834 * manual/errno.texi: Likewise.
8835 * manual/filesys.texi: Likewise.
8836 * manual/lang.texi: Likewise.
8837 * manual/llio.texi: Likewise.
8838 * manual/locale.texi: Likewise.
8839 * manual/message.texi: Likewise.
8840 * manual/resource.texi: Likewise.
8841 * manual/search.texi: Likewise.
8842 * manual/setjmp.texi: Likewise.
8843 * manual/stdio.texi: Likewise.
8844 * manual/string.texi: Likewise.
8845 * manual/sysinfo.texi: Likewise.
8846 * manual/time.texi: Likewise.
8848 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8850 * po/sl.po: New file.
8852 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8854 * .gitignore: Add core/.gdbinit/.gdb_history.
8856 2013-12-27 Allan McRae <allan@archlinux.org>
8859 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8860 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8862 2013-12-24 Brooks Moses <bmoses@google.com>
8864 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8865 all compilers that claim C++98 compliance, not just GCC.
8866 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8869 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8871 * NEWS: Restore accidentally deleted bug-fix entries.
8873 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8874 Ondřej Bílka <neleai@seznam.cz>
8877 * malloc/malloc.c (_int_free): Perform sanity check only if we
8880 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8883 * manual/stdio.texi (String Input Conversions): Clarify that character
8884 classes are not supported.
8886 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8890 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8893 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8894 Calculate results for small negative arguments directly rather
8895 than using reflection formula with special underflow handling.
8897 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8898 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8899 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8900 (fchflags): Likewise.
8902 (setlogin): Likewise.
8903 (sigaltstack): Likewise.
8906 (sigsetmask): Likewise.
8908 (waitpid): Likewise.
8909 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8910 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8912 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8913 * sysdeps/unix/bsd/Makefile: ... here.
8914 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8915 * sysdeps/unix/bsd/Versions: ... here.
8916 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8917 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8918 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8919 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8920 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8921 * sysdeps/unix/bsd/sigblock.c: ... here.
8922 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8923 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8924 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8925 * sysdeps/unix/bsd/sigvec.c: ... here.
8926 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8927 * sysdeps/unix/bsd/tcdrain.c: ... here.
8928 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8929 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8930 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8931 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8932 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8933 * sysdeps/unix/bsd/wait.c: ... here.
8934 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8935 * sysdeps/unix/bsd/wait3.c: ... here.
8936 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8937 * sysdeps/unix/bsd/waitpid.c: ... here.
8939 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8942 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8943 round-to-nearest for [!USE_AS_EXPM1L].
8944 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8945 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8946 more tests of exp and exp10. Expect some exp10 tests to miss
8947 exceptions or fail in directed rounding modes.
8948 * math/auto-libm-test-out: Regenerated.
8949 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8950 (exp10_test_tonearest): New function.
8951 (exp10_towardzero_test_data): New array.
8952 (exp10_test_towardzero): New function.
8953 (exp10_downward_test_data): New array.
8954 (exp10_test_downward): New function.
8955 (exp10_upward_test_data): New array.
8956 (exp10_test_upward): New function.
8957 (main): Call the new functions.
8958 * sysdeps/i386/fpu/libm-test-ulps: Update.
8959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8961 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8963 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8964 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8965 * math/auto-libm-test-out: Regenerated.
8966 * math/libm-test.inc (acosh_test_data): Add more tests.
8967 (atanh_test_data): Likewise.
8968 (ceil_test_data): Likewise.
8969 (copysign_test_data): Likewise.
8970 * sysdeps/i386/fpu/libm-test-ulps: Update.
8971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8973 * timezone/checktab.awk: Update from tzcode 2013i.
8974 * timezone/private.h: Likewise.
8975 * timezone/scheck.c: Likewise.
8976 * timezone/tzfile.h: Likewise.
8977 * timezone/tzselect.ksh: Likewise.
8978 * timezone/zdump.c: Likewise.
8979 * timezone/zic.c: Likewise.
8981 * math/auto-libm-test-in: Add tests of cpow.
8982 * math/auto-libm-test-out: Regenerated.
8983 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8986 (func_calc_desc): Add mpc_cc_c union field.
8987 (test_functions): Add cpow.
8988 (special_fill_2pi): New function.
8989 (special_real_inputs): Add 2pi.
8990 (calc_generic_results): Handle mpc_cc_c.
8991 * sysdeps/i386/fpu/libm-test-ulps: Update.
8992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8995 csqrt, ctan and ctanh.
8996 * math/auto-libm-test-out: Regenerated.
8997 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8998 (TEST_COND_x86): Likewise.
8999 (ccos_test_data): Use AUTO_TESTS_c_c.
9000 (ccosh_test_data): Likewise.
9001 (cexp_test_data): Likewise.
9002 (clog_test_data): Likewise.
9003 (csqrt_test_data): Likewise.
9004 (ctan_test_data): Likewise.
9005 (ctan_tonearest_test_data): Likewise.
9006 (ctan_towardzero_test_data): Likewise.
9007 (ctan_downward_test_data): Likewise.
9008 (ctan_upward_test_data): Likewise.
9009 (ctanh_test_data): Likewise.
9010 (ctanh_tonearest_test_data): Likewise.
9011 (ctanh_towardzero_test_data): Likewise.
9012 (ctanh_downward_test_data): Likewise.
9013 (ctanh_upward_test_data): Likewise.
9014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9016 (func_calc_desc): Add mpc_c_c union field.
9017 (FUNC_mpc_c_c): New macro.
9018 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9019 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9021 (special_fill_min_subnorm_p120): New function.
9022 (special_real_inputs): Add min_subnorm_p120.
9023 (calc_generic_results): Handle mpc_c_c.
9024 * sysdeps/i386/fpu/libm-test-ulps: Update.
9025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9027 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9029 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9030 (do_sin_slow): New functions.
9031 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9032 (cslow2, csloww1, csloww2): Use the new functions.
9034 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9035 Use M to change sign of result instead of X. Assume X is
9037 (csloww1): Likewise.
9041 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9048 (sloww1): Don't adjust sign of DX.
9049 (csloww1): Likewise.
9050 (sloww2): Use X directly and don't adjust sign of DX.
9051 (csloww2): Likewise.
9053 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9055 * math/auto-libm-test-in: Add tests of cabs and carg.
9056 * math/auto-libm-test-out: Regenerated.
9057 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9058 (carg_test_data): Likewise.
9059 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9061 (func_calc_desc): Add mpc_c_f union field.
9062 (test_functions): Add cabs and carg.
9063 (calc_generic_results): Handle mpc_c_f.
9065 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9066 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9067 as a macro and a compat symbol.
9068 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9069 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9070 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9071 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9072 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9073 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9075 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9077 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9079 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9081 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9083 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9085 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9086 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9089 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9093 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9095 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9096 trailing whitespace removed.
9097 * scripts/config.guess: Update to version 2013-11-29.
9098 * scripts/config.sub: Update to version 2013-10-01.
9100 * math/auto-libm-test-in: Add tests of sincos.
9101 * math/auto-libm-test-out: Regenerated.
9102 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9103 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9105 (func_calc_desc): Add mpfr_f_11 union field.
9106 (test_functions): Add sincos.
9107 (calc_generic_results): Handle mpfr_f_11.
9108 * sysdeps/i386/fpu/libm-test-ulps: Update.
9109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9111 2013-12-19 Andreas Schwab <schwab@suse.de>
9113 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9117 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9119 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9121 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9122 * sysdeps/i386/fpu/libm-test-ulps: Update.
9123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9127 round-to-nearest mode when using frndint.
9128 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9129 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9130 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9132 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9134 * math/auto-libm-test-out: Regenerated.
9135 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9136 (TEST_COND_x86): Likewise.
9137 (expm1_tonearest_test_data): New array.
9138 (expm1_test_tonearest): New function.
9139 (expm1_towardzero_test_data): New array.
9140 (expm1_test_towardzero): New function.
9141 (expm1_downward_test_data): New array.
9142 (expm1_test_downward): New function.
9143 (expm1_upward_test_data): New array.
9144 (expm1_test_upward): New function.
9145 (main): Run the new test functions.
9146 * sysdeps/i386/fpu/libm-test-ulps: Update.
9147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9149 * include/features.h: Update comment documenting feature test
9150 macros. Mention _DEFAULT_SOURCE in comment.
9151 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9152 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9153 _BSD_SOURCE and _SVID_SOURCE.
9154 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9155 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9156 !_SVID_SOURCE]: Likewise.
9157 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9158 (__USE_POSIX_IMPLICITLY): Define.
9159 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9160 (_POSIX_SOURCE): Undefine and redefine.
9161 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9162 (_POSIX_C_SOURCE): Likewise.
9163 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9164 (Feature Test Macros): Update documentation of default features.
9166 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9168 * benchtests/Makefile: Add bench-strtok.
9169 * benchtests/bench-strtok.c: New file: strtok benchtest.
9171 2013-12-19 Allan McRae <allan@archlinux.org>
9173 * manual/install.texi: Suppress menu for plain text output.
9174 * INSTALL: Regenerated.
9176 2013-12-18 Brooks Moses <bmoses@google.com>
9179 * misc/getauxval.c: Include errno.h.
9180 (__getauxval): Set errno to ENOENT if the requested type is not
9182 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9183 don't declare with __attribute_const__.
9184 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9185 * manual/startup.texi: Document that getauxval sets errno.
9187 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9189 * math/auto-libm-test-in: Add tests of jn and yn.
9190 * math/auto-libm-test-out: Regenerated.
9191 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9192 (yn_test_data): Likewise.
9193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9195 (func_calc_desc): Add mpfr_if_f union field.
9196 (FUNC_mpfr_if_f): New macro.
9197 (test_functions): Add jn and yn.
9198 (calc_generic_results): Assert type of second input for
9199 mpfr_ff_f. Handle mpfr_if_f.
9200 (output_for_one_input_case): Disable all checking for arguments
9201 fitting floating-point types in case of an integer argument.
9202 * sysdeps/i386/fpu/libm-test-ulps: Update.
9203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9206 Don't expect fegetround reference in libm.so.
9208 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9210 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9211 $(config-cflags-nofma).
9213 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9215 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9216 * math/auto-libm-test-out: Regenerated.
9219 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9220 to determine exponent and adjust argument to have exponent of -1.
9221 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9223 * math/auto-libm-test-out: Regenerated.
9224 * sysdeps/i386/fpu/libm-test-ulps: Update.
9225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9229 * manual/probes.texi: Remove cases when per-thread arenas are
9232 2013-12-18 Andreas Schwab <schwab@suse.de>
9234 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9235 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9236 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9237 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9238 * sysdeps/i386/i686/multiarch/Makefile: Update.
9239 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9241 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9243 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9244 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9246 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9249 Support TZ transition times < 00:00:00.
9250 This is needed for version-3 tz-format files; it supports time
9251 stamps past 2037 for America/Godthab (the only entry in the tz
9252 database for which this change is relevant).
9253 * manual/time.texi (TZ Variable): Document transition times
9254 from -167:59:59 through -00:00:01.
9255 * time/tzset.c (tz_rule): Time of day is now signed.
9256 (__tzset_parse_tz): Parse negative time of day.
9258 Document TZ transition times >= 25:00:00.
9259 * manual/time.texi (TZ Variable): Document transition times from
9260 25:00:00 through 167:59:59. These are already supported, and this
9261 support will help with version-3 tz-format files.
9263 * manual/time.texi (TZ Variable): Modernize North America example
9264 to reflect current (i.e., 2007-and-later) daylight saving rules.
9266 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9268 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9270 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9271 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9274 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9275 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9276 * sysdeps/unix/bsd/clock.c: Likewise.
9277 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9278 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9279 * sysdeps/unix/bsd/init-posix.c: Likewise.
9280 * sysdeps/unix/bsd/poll.c: Likewise.
9281 * sysdeps/unix/bsd/ptsname.c: Likewise.
9282 * sysdeps/unix/bsd/seekdir.c: Likewise.
9283 * sysdeps/unix/bsd/setegid.c: Likewise.
9284 * sysdeps/unix/bsd/seteuid.c: Likewise.
9285 * sysdeps/unix/bsd/setgid.c: Likewise.
9286 * sysdeps/unix/bsd/setrgid.c: Likewise.
9287 * sysdeps/unix/bsd/setruid.c: Likewise.
9288 * sysdeps/unix/bsd/setsid.c: Likewise.
9289 * sysdeps/unix/bsd/setuid.c: Likewise.
9290 * sysdeps/unix/bsd/sigaction.c: Likewise.
9291 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9292 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9293 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9294 * sysdeps/unix/bsd/telldir.c: Likewise.
9295 * sysdeps/unix/bsd/times.c: Likewise.
9296 * sysdeps/unix/bsd/usleep.c: Likewise.
9298 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9299 ($(objpfx)libbsd-compat.a): Remove rule.
9301 * include/features.h (__FAVOR_BSD): Do not define.
9302 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9303 features conflicting with POSIX.
9304 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9305 (_BSD_SOURCE): Remove description of not being a subset of other
9306 feature test macros.
9307 * manual/job.texi (getpgrp): Do not document BSD version.
9308 (getpgid): Do not document by reference to BSD getpgrp.
9309 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9310 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9311 * signal/signal.h [__FAVOR_BSD]: Likewise.
9312 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9313 instead of making contents conditional on [__FAVOR_BSD].
9314 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9316 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9320 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9323 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9324 values below 2**-450, not 2**-500.
9325 * math/auto-libm-test-in: Don't allow spurious underflow from
9327 * math/auto-libm-test-out: Regenerated.
9331 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9332 values of ha and hb and sort them after adjusting subnormal
9334 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9336 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9337 values of ea and eb and sort them after adjusting subnormal
9339 * math/auto-libm-test-in: Do not expect some hypot tests of
9340 subnormals to fail. Add more hypot tests.
9341 * math/auto-libm-test-out: Regenerated.
9343 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9346 * sysdeps/sh/s_fma.c: New file.
9347 * sysdeps/sh/s_fmaf.c: New file.
9348 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9350 * sysdeps/sh/Implies: Add sh/soft-fp.
9352 2013-12-16 Roland McGrath <roland@hack.frob.com>
9354 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9355 level of indirection to members `objname', `errstring', `malloced'.
9356 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9357 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9358 it as the __longjmp argument (just pass 1 instead).
9359 (_dl_catch_error): Initialize C with argument pointers and address of
9360 volatile local ERRCODE rather than copying values out of C at return.
9362 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9364 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9365 * math/auto-libm-test-out: Regenerated.
9366 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9367 (hypot_test_data): Likewise.
9368 (pow_test_data): Likewise.
9369 (pow_tonearest_test_data): Likewise.
9370 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9372 (func_calc_desc): Add mpfr_ff_f union field.
9373 (FUNC_mpfr_ff_f): New macro.
9374 (test_functions): Add atan2, hypot and pow.
9375 (special_fill_min): New function.
9376 (special_fill_minus_min): Likewise.
9377 (special_fill_min_subnorm): Likewise.
9378 (special_fill_minus_min_subnorm): Likewise.
9379 (special_real_inputs): Add min, -min, min_subnorm and
9381 (calc_generic_results): Handle mpfr_ff_f.
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385 2013-12-16 Will Newton <will.newton@linaro.org>
9387 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9388 (Aligned Memory Blocks): Add documentation for aligned_alloc
9389 and suggest it as an alternative to posix_memalign.
9390 (Hooks for Malloc): Document __memalign_hook is also called
9391 for aligned_alloc. (Summary of Malloc): Add summary for
9392 aligned alloc. Document __memalign_hook is also called
9395 2013-12-16 Will Newton <will.newton@linaro.org>
9397 * manual/memory.texi (Malloc Examples): Clarify default
9398 alignment documentation. Suggest posix_memalign rather
9399 than memalign or valloc.
9400 (Aligned Memory Blocks): Remove suggestion to use memalign
9401 or valloc. Remove obsolete comment about BSD.
9402 Document memalign errno values and mark the function obsolete.
9403 Document posix_memalign returned error codes. Mark valloc
9404 as obsolete. (Hooks for Malloc): __memalign_hook is also
9405 called for posix_memalign and valloc.
9406 (Summary of Malloc): Add posix_memalign to function summary.
9407 __memalign_hook is also called for posix_memalign and valloc.
9409 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9415 (sloww): Use mynumber union. Expand ternary operator into
9417 (cslow): use mynumber union.
9419 2013-12-16 Allan McRae <allan@archlinux.org>
9421 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9422 * configure: Regenerated.
9424 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9427 * configure.ac: Added --enable-maintainer-mode. Check for
9428 autoconf when enabled.
9429 * configure: Regenerated.
9431 * nscd/nscd.service: New file.
9432 * nscd/nscd.tmpfiles: New file.
9434 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9437 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9438 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9439 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9440 (strstr): Add __strstr_sse2_unaligned ifunc.
9441 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9442 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9443 (strcasestr): Remove __strcasestr_sse42 ifunc.
9444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9445 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9448 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9450 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9451 * sysdeps/sh/bits/fenv.h: ... here.
9452 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9454 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9456 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9459 hypotf multiarch implementations.
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9463 multiarch hypot for PPC64.
9464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9467 multiarch hypotf for PPC64.
9469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9470 modff multiarch implementations.
9471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9474 multiarch modf for PPC64.
9475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9478 multiarch modff for PPC64.
9480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9481 and logl multiarch implementations.
9482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9485 multiarch logb for PPC64.
9486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9489 multiarch logb for PPC64.
9490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9493 multiarch logb for PPC64.
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9496 isinff multiarch implementation.
9497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9501 multiarch isinf for PPC64.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9505 multiarch isinff for PPC64.
9507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9508 finitef multiarch implementation.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9513 multiarch finite for PPC64.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9517 multiarch finitef for PPC64.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9520 lrint multiarch implementation.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9525 multiarch llrint for PPC64.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9527 multiarch lrint for PPC64.
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9530 copysignf multiarch implementation.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9536 multiarch copysign for PPC64.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9538 multiarch copysignf for PPC64.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9541 multiarch implementation.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9550 multiarch llround for PPC64.
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9552 multiarch trunc for PPC64.
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9554 multiarch truncf for PPC64.
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9557 multiarch implementation.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9566 multiarch llround for PPC64.
9567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9568 multiarch round for PPC64.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9570 multiarch roundf for PPC64.
9572 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9573 multiarch implementation.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9582 multiarch llround for PPC64.
9583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9584 multiarch floor for PPC64.
9585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9586 multiarch floorf for PPC64.
9588 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9589 multiarch implementation.
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9598 multiarch llround for PPC64.
9599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9600 multiarch ceil for PPC64.
9601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9602 multiarch ceilf for PPC64.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9605 multiarch implementation.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9613 multiarch llround for PPC64.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9615 multiarch lround for PPC64.
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9618 multiarch implementation.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9626 multiarch isnan for PPC64.
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9628 multiarch isnanf for PPC64.
9630 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9631 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9632 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9633 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9634 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9637 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9638 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9643 multiarch implementations.
9644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9645 (__libc_ifunc_impl_list): Likewise.
9646 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9647 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9649 multiarch stpcpy for PPC64.
9651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9652 multiarch implementations.
9653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9654 (__libc_ifunc_impl_list): Likewise.
9655 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9656 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9657 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9658 multiarch strcpy for PPC64.
9660 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9661 redefine function name.
9662 (_wordcopy_fwd_dest_aligned): Likewise.
9663 (_wordcopy_bwd_aligned): Likewise.
9664 (_wordcopy_bwd_dest_aligned): Likewise.
9665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9666 multiarch implementations.
9667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9668 (__libc_ifunc_impl_list): Likewise.
9669 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9670 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9671 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9673 multiarch wcscpy for PPC64.
9675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9676 multiarch implementations.
9677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9678 (__libc_ifunc_impl_list): Likewise.
9679 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9680 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9681 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9683 multiarch wcscpy for PPC64.
9685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9686 multiarch implementations.
9687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9688 (__libc_ifunc_impl_list): Likewise.
9689 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9690 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9691 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9692 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9693 multiarch wcsrchr for PPC64.
9695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9696 multiarch implementations.
9697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9698 (__libc_ifunc_impl_list): Likewise.
9699 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9700 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9701 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9703 multiarch wcschr for PPC64.
9705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9706 multiarch implementations.
9707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9708 (__libc_ifunc_impl_list): Likewise.
9709 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9712 multiarch strchrnul for PPC64.
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9717 (__libc_ifunc_impl_list): Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9719 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9721 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9727 (__libc_ifunc_impl_list): Likewise.
9728 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9729 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9731 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9735 multiarch implementations.
9736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9737 (__libc_ifunc_impl_list): Likewise.
9738 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9739 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9740 strncasecmp for PPC64.
9741 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9742 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9743 multiarch strncasecmp_l for PPC64.
9745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9746 multiarch implementations.
9747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9748 (__libc_ifunc_impl_list): Likewise.
9749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9751 multiarch strcasecmp for PPC64.
9752 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9754 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9755 multiarch strcasecmp_l for PPC64.
9757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9760 (__libc_ifunc_impl_list): Likewise.
9761 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9762 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9763 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9769 (__libc_ifunc_impl_list): Likewise.
9770 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9771 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9772 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9778 (__libc_ifunc_impl_list): Likewise.
9779 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9780 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9781 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9782 rawmemrchr for PPC64.
9784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9787 (__libc_ifunc_impl_list): Likewise.
9788 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9789 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9790 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9796 (__libc_ifunc_impl_list): Likewise.
9797 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9798 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9799 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9805 (__libc_ifunc_impl_list): Likewise.
9806 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9807 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9811 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9812 avoid cretion of __bzero symbol.
9813 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9815 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9817 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9820 multiarch implementations.
9821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9822 (__libc_ifunc_impl_list): Likewise.
9823 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9828 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9830 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9831 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9832 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9834 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9836 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9840 (__libc_ifunc_impl_list): Likewise.
9841 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9842 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9848 multiarch for POWER/PPC64.
9849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9850 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9851 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9855 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9860 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9861 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9862 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9863 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9864 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9865 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9866 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9867 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9868 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9869 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9870 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9871 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9872 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9873 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9874 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9883 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9885 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9887 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9889 * benchtests/Makefile (bench): Add exp2 and log2.
9890 (LDLIBS-bench-exp2): Add -lm.
9891 (LDLIBS-bench-log2): Likewise.
9892 * benchtests/exp2-inputs: New inputs file.
9893 * benchtests/log2-inputs: New inputs file.
9894 * benchtests/log-inputs: Add new inputs.
9895 * benchtests/tan-inputs: Likewise.
9897 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9901 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9902 (csloww2): ... from here.
9904 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9905 instead of structures.
9906 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9907 (POLYNOMIAL): Likewise.
9908 (TAYLOR_SLOW): Likewise.
9916 (bsloww1): Likewise.
9917 (bsloww2): Likewise.
9920 (csloww1): Likewise.
9921 (csloww2): Likewise.
9923 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9925 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9926 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9927 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9928 * malloc/hooks.c (realloc_check): Likewise.
9930 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9931 * malloc/arena.c: Remove PER_THREAD conditional.
9932 [!PER_THREAD]: Remove code.
9933 (ptmalloc_unlock_all2): Likewise.
9934 (ptmalloc_init): Likewise.
9935 (_int_new_arena): Likewise.
9936 (arena_get2): Likewise.
9937 * malloc/hooks.c (__malloc_get_state): Likewise.
9938 (__malloc_set_state): Likewise.
9939 * malloc/malloc.c: Likewise.
9940 (struct malloc_state): Likewise.
9941 (struct malloc_par): Likewise.
9942 (__libc_realloc): Likewise.
9943 (__libc_mallopt): Likewise.
9945 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9947 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9949 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9951 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9952 macro to a function. Check for zero perturb_byte.
9953 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9955 * malloc/malloc.c: (force_reg): Remove.
9956 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9957 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9958 force_reg by atomic_forced_read.
9959 * malloc/arena.c (ptmalloc_init): Likewise.
9960 * malloc/hooks.c (top_check): Likewise.
9962 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9966 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9970 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9972 * math/auto-libm-test-in: Add tests of lgamma.
9973 * math/auto-libm-test-out: Regenerated.
9974 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9975 (M_LOG_2_SQRT_PIl): Likewise.
9976 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9977 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9979 (func_calc_desc): Add mpfr_f_f1 union field.
9988 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9989 (test_functions): Add lgamma.
9990 (calc_generic_results): Handle mpfr_f_f1.
9991 * sysdeps/i386/fpu/libm-test-ulps: Update.
9992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9994 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9996 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9997 __mpn_add_n for PowerPC64/POWER7.
9998 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9999 __mpn_sub_n for PowerPC64/POWER7.
10001 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10002 __mpn_addmul_1 for PowerPC64.
10003 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10004 __mpn_submul_1 for PowerPC64.
10005 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10007 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10010 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10013 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10015 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10017 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10019 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10020 add multiarch folders.
10021 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10022 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10023 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10024 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10025 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10026 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10027 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10028 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10029 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10030 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10031 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10040 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10046 multiarch __ieee754_hypot for PowerPC32.
10047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10052 multiarch __ieee754_hypotf for PowerPC32.
10054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10055 long_double_symbol only if __logbl is defined.
10056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10057 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10059 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10061 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10063 path for implementation.
10064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10067 logb, and logbl multiarch implementations for PowerPC32.
10068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10073 multiarch logb for PowerPC32.
10074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10079 multiarch logbf for PowerPC32.
10080 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10084 multiarch logbl implementation for PowerPC32.
10086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10087 and modff multiarch implementations.
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10093 multiarch modf for PowerPC32.
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10099 multiarch modff for PowerPC32.
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10102 and lrintf multiarch implementations.
10103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10108 multiarch lrint for PowerPC32.
10109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10110 file: multiarch lrintf for PowerPC32.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10113 and lroundf multiarch implementations.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10121 multiarch lround for PowerPC32.
10122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10123 file: multiarch lroundf for PowerPC32.
10125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10126 copysign and copysignf multiarch implementations.
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10132 file: multiarch copysign for PowerPC32.
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10134 file: multiarch copysignf for PowerPC32.
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10137 and truncf multiarch implementations.
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10143 multiarch trunc for PowerPC32.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10149 multiarch truncf for PowerPC32.
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10152 and roundf multiarch implementations.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10158 multiarch round for PowerPC32.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10164 multiarch roundf for PowerPC32.
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10167 and floorf multiarch implementations.
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10173 multiarch floor for PowerPC32.
10174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10179 multiarch floorf for PowerPC32.
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10182 and ceilf multiarch implementations.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10188 multiarch ceil for PowerPC32.
10189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10194 multiarch ceilf for PowerPC32.
10196 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10198 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10199 FINITEF is defined.
10200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10201 and finitef multiarch implementations.
10202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10207 multiarch finite for PowerPC32.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10211 file: multiarch finitef for PowerPC32.
10213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10214 and isinff multiarch implementations.
10215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10220 multiarch isinf for PowerPC32.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10224 multiarch isinff for PowerPC32.
10226 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10227 alias when __isnan is defined.
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10229 and isnanf multiarch implementations.
10230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10239 multiarch isnan for PowerPC32.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10245 multiarch isnanf for PowerPC32.
10247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10248 and sqrtf multiarch implementations.
10249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10254 multiarch sqrt for PowerPC32.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10260 multiarch sqrtf for PowerPC32.
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10263 and llroundf multiarch implementations.
10264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10271 file: multiarch llround for PowerPC32.
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10273 file: multiarch llroundf for PowerPC32.
10275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10276 multiarch PowerPC32 fpu implementations.
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10282 multiarch llrint for PowerPC32.
10283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10292 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10294 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10296 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10298 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10299 multiarch wordcopy for PPC32.
10300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10303 (__libc_ifunc_impl_list): Likewise.
10304 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10305 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10306 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10307 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10308 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10309 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10311 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10312 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10319 multiarch wcscpy for PPC32.
10320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10323 (__libc_ifunc_impl_list): Likewise.
10324 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10325 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10326 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10327 sysdeps/powerpc/power6/wcscpy.c.
10329 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10337 multiarch wcsrchr for PPC32.
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10341 (__libc_ifunc_impl_list): Likewise.
10342 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10343 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10344 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10345 sysdeps/powerpc/power6/wcsrchr.c.
10347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10353 multiarch wcschr for PPc32.
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10357 (__libc_ifunc_impl_list): Likewise.
10358 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10359 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10360 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10361 sysdeps/powerpc/power6/wcschr.c.
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10364 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10367 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10368 file: multiarch strchr for PPC32.
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10372 (__libc_ifunc_impl_list): Likewise.
10374 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10376 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10381 multiarch strchrnul for PPC32.
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10385 (__libc_ifunc_impl_list): Likewise.
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10390 multiarch strncasecmp for PPC32.
10391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10394 multiarch strncasecmp_l for PPC32.
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10396 strncasecmp multiarch objects.
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10398 (__libc_ifunc_impl_list): Likewise.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10403 multiarch strncasecmp for PPC32.
10404 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10407 multiarch strcasecmp_l for PPC32.
10408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10411 (__libc_ifunc_impl_list): Likewise.
10413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10418 multiarch strncmp for PPC32.
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10422 (__libc_ifunc_impl_list): Likewise.
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10425 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10428 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10432 (__libc_ifunc_impl_list): Likewise.
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10436 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10438 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10442 (__libc_ifunc_impl_list): Likewise.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10448 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10449 multiarch rawmemchr for PPC32.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10453 (__libc_ifunc_impl_list): Likewise.
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10457 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10460 file: memrchr multiarch for PPC32.
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10464 (__libc_ifunc_impl_list): Likewise.
10466 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10469 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10471 multiarch memchr for PPC32.
10472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10475 (__libc_ifunc_impl_list): Likewise.
10477 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10480 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10482 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10483 file: multiarch mempcpy for PPC32.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10487 (__libc_ifunc_impl_list): Likewise.
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10493 multiarch bzero for PPC32.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10499 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10500 file: multiarch memset for PPC32.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10503 memset multiarch objects.
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10505 (__libc_ifunc_impl_list): Likewise.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10516 (__libc_ifunc_impl_list): Likewise.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10527 multiarch memcpy for PPC32.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10531 (__libc_ifunc_impl_list): Likewise.
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10534 support multiarch for POWER/PPC32.
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10539 Implies file to make multiarch folder appers before the fpu and
10540 default folder for power4 configuration.
10542 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10544 * scripts/bench.pl: Append volatile keyword to type.
10546 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10548 * sysdeps/sh/sotruss-lib.c: New file.
10549 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10551 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10555 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10558 * math/w_tgamma.c: Include <errno.h>.
10559 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10560 * math/w_tgammaf.c: Include <errno.h>.
10561 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10562 * math/w_tgammal.c: Include <errno.h>.
10563 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10564 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10565 underflow. Add more tgamma tests.
10566 * math/auto-libm-test-out: Regenerated.
10567 * sysdeps/i386/fpu/libm-test-ulps: Update.
10568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10570 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10571 sin, sinh, tan, tanh, tgamma, y0 and y1.
10572 * math/auto-libm-test-out: Regenerated.
10573 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10574 (TEST_COND_x86): Likewise.
10575 (M_E2l): Remove macro.
10577 (M_2_SQRT_PIl): Likewise.
10578 (M_SQRT_PIl): Likewise.
10579 (M_1_DIV_El): Likewise.
10580 (log_test_data): Use AUTO_TESTS_f_f.
10581 (log10_test_data): Likewise.
10582 (log1p_test_data): Likewise.
10583 (log2_test_data): Likewise.
10584 (sin_test_data): Likewise.
10585 (sin_tonearest_test_data): Likewise.
10586 (sin_towardzero_test_data): Likewise.
10587 (sin_downward_test_data): Likewise.
10588 (sin_upward_test_data): Likewise.
10589 (sinh_test_data): Likewise.
10590 (sinh_tonearest_test_data): Likewise.
10591 (sinh_towardzero_test_data): Likewise.
10592 (sinh_downward_test_data): Likewise.
10593 (sinh_upward_test_data): Likewise.
10594 (tan_test_data): Likewise.
10595 (tan_tonearest_test_data): Likewise.
10596 (tan_towardzero_test_data): Likewise.
10597 (tan_downward_test_data): Likewise.
10598 (tan_upward_test_data): Likewise.
10599 (tanh_test_data): Likewise.
10600 (tgamma_test_data): Likewise.
10601 (y0_test_data): Likewise.
10602 (y1_test_data): Likewise.
10603 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10604 (special_real_inputs): Add pi/4.
10605 * sysdeps/i386/fpu/libm-test-ulps: Update.
10606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10608 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10611 "longjmp_target" static probes.
10612 (__longjmp): Rename to __longjmp_symbol.
10613 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10614 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10615 on which longjmp to generate.
10616 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10619 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10620 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10621 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10622 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10623 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10624 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10626 __longjmp_symbol based on which __longjmp to generate.
10627 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10629 (setjmp): Rename to setjmp_symbol.
10630 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10631 (_setjmp): Rename to _setjmp_symbol.
10632 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10633 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10634 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10635 which setjmp to generate.
10636 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10637 "longjmp_target" static probes.
10639 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10641 * benchtests/README: Add note about output arguments.
10642 * benchtests/bench-sincos.c: Remove file.
10643 * benchtests/sincos-inputs: New file.
10644 * scripts/bench.pl: Identify output arguments and define
10645 static variables for them.
10647 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10650 * Makefile (INSTALL): Add install-plain.texi as the primary
10652 * manual/install-plain.texi: New file.
10653 * manual/install.texi: Include node directive only for
10654 non-plaintext output.
10656 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10658 * stdlib/longlong.h: Update from GCC.
10662 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10663 * math/w_j0f.c (y0f): Likewise.
10664 * math/w_j0l.c (__y0l): Likewise.
10665 * math/w_j1.c (y1): Likewise.
10666 * math/w_j1f.c (y1f): Likewise.
10667 * math/w_j1l.c (__y1l): Likewise
10668 * math/w_jn.c (yn): Likewise.
10669 * math/w_jnf.c (ynf): Likewise.
10670 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10671 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10672 value for Bessel function domain errors outside _SVID_ mode.
10673 Adjust sign of return value for yn (negative integer, 0).
10674 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10675 by zero in return for negative x and set sign appropriately for
10677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10678 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10679 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10680 expectations in error cases.
10681 (y1_test_data): Likewise.
10682 (yn_test_data): Likewise.
10683 * sysdeps/i386/fpu/libm-test-ulps: Update.
10684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10688 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10689 "64" to "64-v1". Add "64-v2".
10690 (abi-64-options): Rename to ...
10691 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10692 (abi-64-condition): Rename to ...
10693 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10694 (abi-64-ld-soname): Rename to ...
10695 (abi-64-v1-ld-soname): ... this.
10696 (abi-64-v2-options): Define.
10697 (abi-64-v2-condition): Likewise.
10698 (abi-64-v2-ld-soname): Likewise.
10699 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10700 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10705 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10706 Alan Modra <amodra@gmail.com>
10708 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10709 New versions for use with the ELFv2 ABI.
10710 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10711 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10713 (struct La_ppc64v2_retval): Likewise.
10714 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10715 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10716 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10717 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10718 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10719 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10720 Do not save or restore CR.
10721 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10722 (_dl_profile_resolve): Do no save or restore CR. Support extended
10723 return values for ELFv2 ABI. Fix location of FPR return registers.
10724 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10725 updated values for _CALL_ELF == 2.
10726 (La_regs, La_retval, int_retval): Likewise.
10728 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10730 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10731 (FRAME_MIN_SIZE_PARM): Likewise.
10732 (FRAME_BACKCHAIN): Likewise.
10733 (FRAME_CR_SAVE): Likewise.
10734 (FRAME_LR_SAVE): Likewise.
10735 (FRAME_TOC_SAVE): Likewise.
10736 (FRAME_PARM_SAVE): Likewise.
10737 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10738 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10739 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10740 (call_mcount_parm_offset): New macro.
10741 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10742 (PROF): Use symbolic stack frame offsets.
10743 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10744 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10745 Redefine in terms of FRAME_MIN_SIZE.
10746 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10747 (_dl_profile_resolve): Likewise. Update comment.
10748 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10749 symbols stack frame offsets.
10750 (__sigsetjmp): Likewise.
10751 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10752 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10753 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10754 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10757 (FRAME_BACKCHAIN): Remove.
10758 (FRAME_CR_SAVE): Likewise.
10759 (FRAME_LR_SAVE): Likewise.
10760 (FRAME_COMPILER_DW): Likewise.
10761 (FRAME_LINKER_DW): Likewise.
10762 (FRAME_TOC_SAVE): Likewise.
10763 (FRAME_PARM_SAVE): Likewise.
10764 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10765 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10766 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10768 (CHECK_SP): Use symbolic stack frame offsets.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10770 zone" instead of caller's parameter save area for temp storage.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10772 Likewise. Also, use symbolic stack frame offsets.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10774 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10775 our own stack frame instead of the caller's.
10776 (__socket): Use symbolic stack frame offsets.
10778 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10779 Alan Modra <amodra@gmail.com>
10781 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10783 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10784 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10785 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10787 (elf_machine_fixup_plt): Call it.
10788 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10790 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10791 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10792 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10793 r2 before calling target.
10795 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10796 Alan Modra <amodra@gmail.com>
10798 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10799 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10800 versions of macros to support ELFv2 ABI.
10801 (LOCALENTRY): New macro.
10802 (ENTRY, EALIGN): Use it.
10803 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10804 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10805 fall through into ENTRY entry point.
10806 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10807 Only define if _CALL_ELF != 2.
10809 (elf_machine_matches_host): Verify ABI version matches.
10810 (RTLD_START): Use LOCALENTRY.
10811 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10812 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10813 (PLT_ENTRY_WORDS): New macro.
10814 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10815 (elf_machine_runtime_setup): Support ELFv2 ABI.
10816 (elf_machine_fixup_plt): Likewise.
10817 (elf_machine_plt_conflict): Likewise.
10818 (resolve_ifunc): Likewise.
10819 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10820 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10823 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10825 (makecontext): Support ELFv2 ABI.
10826 * elf/elf.h (EF_PPC64_ABI): Define.
10828 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10830 * sysdeps/powerpc/powerpc64/sysdep.h
10831 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10832 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10833 (ENTRY) [ASSEMBLER]: ... but instead here ...
10834 (EALIGN) [ASSEMBLER]: ... and here.
10835 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10836 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10837 (ENTRY_2) [!ASSEMBLER]: Use it.
10838 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10839 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10840 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10841 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10842 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10844 Use PPC64_LOAD_FUNCPTR.
10846 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10848 2013-12-04 Alan Modra <amodra@gmail.com>
10850 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10851 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10852 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10853 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10856 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10857 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10858 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10859 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10860 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10862 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10865 (__makecontext): Fix incorrect CFI when backtracing out of
10866 context created via makecontext.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10868 (__setcontext): Fix incorrect CFI during switch to new context.
10869 (__novec_setcontext): Likewise.
10871 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10874 * time/strptime_l.c (__strptime_internal): Allow modifiers
10876 * time/tst-strptime.c (day_tests): Add testcase.
10878 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10880 * scripts/bench.pl: Skip over blank lines.
10882 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10885 * manual/time.texi (Calendar Time): Clarify what timezone functions
10888 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10892 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10894 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10896 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10897 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10898 * debug/memset_chk.c (__memset_chk): Likewise.
10899 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10900 * debug/strncpy_chk.c: Likewise.
10902 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10906 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10907 (__ieee754_exp): For possibly underflowing results, check size of
10908 result and force underflow exception if required.
10909 * math/auto-libm-test-in: Add more tests of exp.
10910 * math/auto-libm-test-out: Regenerated.
10911 * sysdeps/i386/fpu/libm-test-ulps: Update.
10912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10915 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10916 * math/w_exp2f.c (__exp2f): Likewise.
10917 * math/w_exp2l.c (__exp2l): Likewise.
10918 * math/auto-libm-test-in: Do not allow missing errno on exp2
10920 * math/auto-libm-test-out: Regenerated.
10922 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10925 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10926 handle filename validation.
10927 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10930 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10933 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10934 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10935 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10937 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10938 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10939 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10941 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10943 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10944 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10945 Add more erfc tests.
10946 * math/auto-libm-test-out: Regenerated.
10947 * sysdeps/i386/fpu/libm-test-ulps: Update.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10951 exp2, expm1, j0 and j1.
10952 * math/auto-libm-test-out: Regenerated.
10953 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10954 (erfc_test_data): Likewise.
10955 (exp_test_data): Likewise.
10956 (exp_tonearest_test_data): Likewise.
10957 (exp_towardzero_test_data): Likewise.
10958 (exp_downward_test_data): Likewise.
10959 (exp_upward_test_data): Likewise.
10960 (exp10_test_data): Likewise.
10961 (exp2_test_data): Likewise.
10962 (expm1_test_data): Likewise.
10963 (j0_test_data): Likewise.
10964 (j1_test_data): Likewise.
10965 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10966 (input_flag_type): Add flag_xfail_rounding.
10967 (input_flags): Add xfail-rounding.
10968 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10969 (output_for_one_input_case): Handle flag_xfail_rounding.
10970 * sysdeps/i386/fpu/libm-test-ulps: Update.
10971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10973 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10976 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10979 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10982 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10983 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10984 (STAP_PROBE0): New macro.
10985 (STAP_PROBE1): Likewise.
10986 (STAP_PROBE2): Likewise.
10987 (STAP_PROBE3): Likewise.
10988 (STAP_PROBE4): Likewise.
10990 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10992 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10994 2013-12-02 Steve Ellcey <sellcey@mips.com>
10996 * benchtests/Makefile (bench): Add sqrt.
10997 (LDLIBS-bench-sqrt): New.
10998 * benchtests/sqrt-input: New.
11000 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11002 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11003 (GAIH_EAI): Likewise.
11004 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11005 (gaih_inet): Likewise.
11006 (getaddrinfo): Don't use GAIH_EAI.
11008 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11009 (struct gaih): Remove definition.
11011 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11013 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11014 Use HERRNOP directly.
11016 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11020 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11022 * math/gen-auto-libm-tests.c (test_functions): Add more
11023 single-argument functions.
11024 (special_fill_pi_2): New function.
11025 (special_fill_minus_pi_2): Likewise.
11026 (special_fill_pi_6): Likewise.
11027 (special_fill_minus_pi_6): Likewise.
11028 (special_fill_pi_3): Likewise.
11029 (special_fill_2pi_3): Likewise.
11030 (special_fill_e): Likewise.
11031 (special_fill_1_e): Likewise.
11032 (special_fill_e_minus_1): Likewise.
11033 (special_real_inputs): Add more special inputs.
11034 (output_for_one_input_case): Do not require ERANGE on underflow to
11035 zero if round-to-nearest result does not underflow to zero, unless
11036 exact results required.
11037 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11038 atan, atanh, cbrt, cos and cosh.
11039 * math/auto-libm-test-out: Regenerated.
11040 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11041 (acos_tonearest_test_data): Likewise.
11042 (acos_towardzero_test_data): Likewise.
11043 (acos_downward_test_data): Likewise.
11044 (acos_upward_test_data): Likewise.
11045 (acosh_test_data): Likewise.
11046 (asin_test_data): Likewise.
11047 (asin_tonearest_test_data): Likewise.
11048 (asin_towardzero_test_data): Likewise.
11049 (asin_upward_test_data): Likewise.
11050 (asinh_test_data): Likewise.
11051 (atan_test_data): Likewise.
11052 (atanh_test_data): Likewise.
11053 (cbrt_test_data): Likewise.
11054 (cos_test_data): Likewise.
11055 (cos_tonearest_test_data): Likewise.
11056 (cos_towardzero_test_data): Likewise.
11057 (cos_downward_test_data): Likewise.
11058 (cos_upward_test_data): Likewise.
11059 (cosh_test_data): Likewise.
11060 (cosh_tonearest_test_data): Likewise.
11061 (cosh_towardzero_test_data): Likewise.
11062 (cosh_downward_test_data): Likewise.
11063 (cosh_upward_test_data): Likewise.
11064 * sysdeps/i386/fpu/libm-test-ulps: Update.
11065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11067 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11070 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11071 * math/w_exp10f.c (__exp10f): Likewise.
11072 * math/w_exp10l.c (__exp10l): Likewise.
11073 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11074 errno settings in existing tests.
11077 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11078 precision control set to double precision.
11079 * sysdeps/i386/fpu/w_sqrt.c: New file.
11080 * math/auto-libm-test-in: Add more tests.
11081 * math/auto-libm-test-out: Update.
11083 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11084 (sqrt_test_tonearest): New function.
11085 (sqrt_towardzero_test_data): New variable.
11086 (sqrt_test_towardzero): New function.
11087 (sqrt_downward_test_data): New variable.
11088 (sqrt_test_downward): New function.
11089 (sqrt_upward_test_data): New variable.
11090 (sqrt_test_upward): New function.
11091 (main): Call the new functions.
11093 * math/gen-auto-libm-tests.c: New file.
11094 * math/auto-libm-test-in: Likewise.
11095 * math/auto-libm-test-out: New generated file.
11096 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11098 (%beautify): Add generated representations of zero.
11099 (top level): Set $auto_input and call parse_auto_input.
11100 (beautify): Remove trailing "f" from hex float constants.
11101 (parse_args): Handle XFAIL_TEST.
11102 (convert_condition): New function.
11103 (or_value): Likewise.
11104 (or_cond_value): Likewise.
11105 (generate_testfile): Handle AUTO_TESTS_* lines.
11106 (parse_auto_input): New function.
11107 * math/libm-test.inc (XFAIL_TEST): New macro.
11108 (ERRNO_UNCHANGED): Update value.
11109 (ERRNO_EDOM): Likewise.
11110 (ERRNO_ERANGE): Likewise.
11111 (IGNORE_RESULT): Likewise.
11112 (TEST_COND_flt_32): New macro.
11113 (TEST_COND_dbl_64): Likewise.
11114 (TEST_COND_ldbl_96_intel): Likewise.
11115 (TEST_COND_ldbl_96_m68k): Likewise.
11116 (TEST_COND_ldbl_128): Likewise.
11117 (TEST_COND_ldbl_128ibm): Likewise.
11118 (TEST_COND_long32): Likewise.
11119 (TEST_COND_long64): Likewise.
11120 (TEST_COND_before_rounding): Likewise.
11121 (TEST_COND_after_rounding): Likewise.
11122 (enable_test): Handle XFAIL_TEST flag.
11123 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11124 with finite results.
11125 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11126 auto-libm-test-out.
11128 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11132 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11133 __tls_get_addr_internal instead of __tls_get_offset in order to
11134 avoid GOT pointer dependency. Make rtld export
11135 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11136 __tls_get_addr since we are a __tls_get_offset platform.
11137 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11138 GOT pointer being set up before.
11139 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11141 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11143 * manual/math.texi (Errors in Math Functions): Document accuracy
11147 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11148 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11164 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11165 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11166 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11167 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11168 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11170 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11172 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11174 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11175 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11176 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11177 atomic-feupdateenv and flt-rounds.
11178 * sysdeps/powerpc/nofpu/Versions (libc): Add
11179 __atomic_feholdexcept, __atomic_feclearexcept,
11180 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11182 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11183 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11184 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11189 * manual/arith.texi (FP Exceptions): Document that exceptions may
11190 not be raised when matherr is used.
11191 (Math Error Reporting): Document overflow in directed rounding
11192 modes. Document that errno may not be set when finite values are
11193 returned on overflow. Document intent to set errno on underflow
11194 only for underflow to zero.
11197 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11198 round-to-nearest then adjust result for other rounding modes.
11199 * include/fenv.h (fegetround): Use libm_hidden_proto.
11200 * math/fegetround.c (fegetround): Use libm_hidden_def.
11201 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11202 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11203 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11206 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11207 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11208 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11209 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11211 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11214 * nss/Versions (libnss_files): Add
11215 _nss_files_gethostbyname3_r.
11216 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11218 (HOST_DB_LOOKUP): Remove macro.
11219 (_nss_files_gethostbyname_r): Implement function without the
11220 HOST_DB_LOOKUP macro.
11221 (_nss_files_gethostbyname2_r): Likewise.
11223 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11225 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11227 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11229 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11230 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11233 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11236 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11237 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11238 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11239 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11240 __fe_nomask_env_priv and attribute_hidden.
11241 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11242 (libc_feupdateenv_test_ppc): Likewise.
11243 (libc_feresetround_ppc): Likewise.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11245 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11246 compat_symbol macro.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11248 (__fe_nomask_env): Likewise.
11249 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11251 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11253 * string/Makefile: Remove ifunc tests.
11254 * string/test-string.h: Define TEST_IFUNC.
11255 * string/test-bcopy-ifunc.c: Remove.
11256 * string/test-bzero-ifunc.c: Likewise.
11257 * string/test-memccpy-ifunc.c: Likewise.
11258 * string/test-memchr-ifunc.c: Likewise.
11259 * string/test-memcmp-ifunc.c: Likewise.
11260 * string/test-memcpy-ifunc.c: Likewise.
11261 * string/test-memmem-ifunc.c: Likewise.
11262 * string/test-memmove-ifunc.c: Likewise.
11263 * string/test-mempcpy-ifunc.c: Likewise.
11264 * string/test-memrchr-ifunc.c: Likewise.
11265 * string/test-memset-ifunc.c: Likewise.
11266 * string/test-rawmemchr-ifunc.c: Likewise.
11267 * string/test-stpcpy-ifunc.c: Likewise.
11268 * string/test-stpncpy-ifunc.c: Likewise.
11269 * string/test-strcasecmp-ifunc.c: Likewise.
11270 * string/test-strcasestr-ifunc.c: Likewise.
11271 * string/test-strcat-ifunc.c: Likewise.
11272 * string/test-strchr-ifunc.c: Likewise.
11273 * string/test-strchrnul-ifunc.c: Likewise.
11274 * string/test-strcmp-ifunc.c: Likewise.
11275 * string/test-strcpy-ifunc.c: Likewise.
11276 * string/test-strcspn-ifunc.c: Likewise.
11277 * string/test-strlen-ifunc.c: Likewise.
11278 * string/test-strncasecmp-ifunc.c: Likewise.
11279 * string/test-strncat-ifunc.c: Likewise.
11280 * string/test-strncmp-ifunc.c: Likewise.
11281 * string/test-strncpy-ifunc.c: Likewise.
11282 * string/test-strnlen-ifunc.c: Likewise.
11283 * string/test-strpbrk-ifunc.c: Likewise.
11284 * string/test-strrchr-ifunc.c: Likewise.
11285 * string/test-strspn-ifunc.c: Likewise.
11286 * string/test-strstr-ifunc.c: Likewise.
11288 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11290 * benchtests/Makefile: Remove ifunc tests.
11291 * benchtests/bench-string.h: Define TEST_IFUNC.
11292 * benchtests/bench-bcopy-ifunc.c: Remove.
11293 * benchtests/bench-bzero-ifunc.c: Likewise.
11294 * benchtests/bench-memccpy-ifunc.c: Likewise.
11295 * benchtests/bench-memchr-ifunc.c: Likewise.
11296 * benchtests/bench-memcmp-ifunc.c: Likewise.
11297 * benchtests/bench-memcpy-ifunc.c: Likewise.
11298 * benchtests/bench-memmem-ifunc.c: Likewise.
11299 * benchtests/bench-memmove-ifunc.c: Likewise.
11300 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11301 * benchtests/bench-memrchr-ifunc.c: Likewise.
11302 * benchtests/bench-memset-ifunc.c: Likewise.
11303 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11304 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11305 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11306 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11307 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11308 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11309 * benchtests/bench-strcat-ifunc.c: Likewise.
11310 * benchtests/bench-strchr-ifunc.c: Likewise.
11311 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11312 * benchtests/bench-strcmp-ifunc.c: Likewise.
11313 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11314 * benchtests/bench-strcpy-ifunc.c: Likewise.
11315 * benchtests/bench-strcspn-ifunc.c: Likewise.
11316 * benchtests/bench-strlen-ifunc.c: Likewise.
11317 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11318 * benchtests/bench-strncat-ifunc.c: Likewise.
11319 * benchtests/bench-strncmp-ifunc.c: Likewise.
11320 * benchtests/bench-strncpy-ifunc.c: Likewise.
11321 * benchtests/bench-strnlen-ifunc.c: Likewise.
11322 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11323 * benchtests/bench-strrchr-ifunc.c: Likewise.
11324 * benchtests/bench-strsep-ifunc.c: Likewise.
11325 * benchtests/bench-strspn-ifunc.c: Likewise.
11326 * benchtests/bench-strstr-ifunc.c: Likewise.
11328 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11330 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11332 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11334 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11335 * rt/aio.h: Likewise.
11336 * sysdeps/gnu/bits/utmp.h: Likewise.
11337 * sysdeps/gnu/bits/utmpx.h: Likewise.
11338 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11339 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11340 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11341 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11342 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11343 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11344 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11345 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11346 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11347 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11349 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11350 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11352 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11353 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11354 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11355 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11356 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11357 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11358 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11359 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11362 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11364 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11365 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11366 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11369 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11370 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11373 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11374 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11375 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11376 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11377 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11378 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11379 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11381 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11384 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11385 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11387 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11389 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11390 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11393 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11396 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11397 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11398 (__fesetround): Remove define.
11399 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11400 rounding and exceptions handling.
11401 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11402 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11403 (__fe_nomask_env): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11405 __fegetround instead of fegetround.
11406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11409 2013-11-21 Roland McGrath <roland@hack.frob.com>
11411 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11414 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11416 2013-11-21 Meador Inge <meadori@codesourcery.com>
11419 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11420 (encrypt_r): Likewise.
11421 * malloc/obstack.h (obstack_free): Likewise.
11422 * posix/unistd.h (encrypt): Likewise.
11424 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11426 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11427 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11428 DL_CALL_DT_FINI() that call the functions directly.
11429 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11430 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11431 * elf/dl-fini.c: Likewise.
11433 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11435 * malloc/hooks.c (memalign_check): Add alignment rounding.
11436 * malloc/malloc.c (_mid_memalign): New function.
11437 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11438 Implement by calling _mid_memalign.
11439 * manual/probes.texi (Memory Allocation Probes): Remove
11440 memory_valloc_retry and memory_pvalloc_retry.
11442 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11444 * locale/programs/locarchive.c (open_archive): Add const
11445 qualifier to ARCHIVEFNAME and copy default fname to
11449 * libio/tst-widetext.input: Rename Oriya to Odia.
11450 * locale/iso-639.def: Likewise.
11452 * manual/probes.texi (Mathematical Function Probes): Add
11453 documentation for sin, cos, asin and acos probes.
11454 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11455 (__sin32): Add slowasin probe.
11456 (__cos32): Add slowacos probe.
11457 (__mpsin): Add slowsin probe.
11458 (__mpcos): Add slowcos probe.
11460 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11463 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11464 thread-local __sim_exceptions_thread and global
11465 __sim_exceptions_global.
11466 (__sim_disabled_exceptions): Change to thread-local
11467 __sim_disabled_exceptions_thread and global
11468 __sim_disabled_exceptions_global.
11469 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11470 and global __sim_round_mode_global.
11471 (__simulate_exceptions): Use thread-local floating-point state and
11472 set global state from it as needed.
11473 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11474 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11475 __sim_round_mode_thread.
11476 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11477 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11478 and global __sim_exceptions_global.
11479 (__sim_disabled_exceptions): Change to thread-local
11480 __sim_disabled_exceptions_thread and global
11481 __sim_disabled_exceptions_global.
11482 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11483 and global __sim_round_mode_global.
11484 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11485 (SIM_SET_GLOBAL): Likewise.
11486 * sysdeps/powerpc/soft-fp/sfp-machine.h
11487 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11488 __sim_round_mode_thread.
11489 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11490 __sim_disabled_exceptions_thread.
11491 (__sim_exceptions): Change to __sim_exceptions_thread.
11492 (__sim_disabled_exceptions): Change to
11493 __sim_disabled_exceptions_thread.
11494 (__sim_round_mode): Change to __sim_round_mode_thread.
11495 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11496 thread-local floating-point state and set global state from it as
11498 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11499 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11500 (__sim_disabled_exceptions): Remove extern declaration.
11501 (feenableexcept): Use thread-local floating-point state and set
11502 global state from it as needed.
11503 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11504 extern declaration.
11505 (__sim_disabled_exceptions): Likewise.
11506 (__sim_round_mode): Likewise.
11507 (__fegetenv): Use thread-local floating-point state.
11508 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11509 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11510 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11511 floating-point state and set global state from it as needed.
11512 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11513 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11514 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11516 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11517 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11519 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11520 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11521 Use __sim_round_mode_thread.
11522 * math/test-fenv-tls.c: New file.
11523 * math/Makefile (tests): Add test-fenv-tls.
11524 ($(objpfx)test-fenv-tls): Depend on
11525 $(common-objpfx)nptl/libpthread.so.
11527 2013-11-19 Andreas Schwab <schwab@suse.de>
11529 * locale/programs/locale.c (show_info): Decode wordarray elements.
11530 * locale/categories.def (LC_MONETARY): Add element for
11531 _NL_MONETARY_CRNCYSTR.
11532 * locale/C-monetary.c (conversion_rate): New variable.
11533 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11536 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11538 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11539 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11541 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11543 * elf/Makefile (tst-auxv): New test.
11544 * elf/tst-auxv.c: New
11545 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11547 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11549 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11550 (hidden_proto): Caller changed.
11551 (hidden_tls_proto): New macro.
11552 (libc_hidden_tls_proto): Likewise.
11553 (rtld_hidden_tls_proto): Likewise.
11554 (libm_hidden_tls_proto): Likewise.
11555 (libresolv_hidden_tls_proto): Likewise.
11556 (librt_hidden_tls_proto): Likewise.
11557 (libdl_hidden_tls_proto): Likewise.
11558 (libnss_files_hidden_tls_proto): Likewise.
11559 (libnsl_hidden_tls_proto): Likewise.
11560 (libnss_nisplus_hidden_tls_proto): Likewise.
11561 (libutil_hidden_tls_proto): Likewise.
11563 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11566 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11567 (decompose_rpath): Defer expansion to fillin_rpath.
11568 (_dl_init_paths): Pass linkmap to fillin_rpath.
11570 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11572 * benchtests/Makefile: Add strsep.
11573 * benchtests/bench-strsep.c: New file: strsep benchtest.
11574 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11576 2013-11-18 Andreas Schwab <schwab@suse.de>
11578 * locale/programs/locale.c (show_info) [case byte]: Check for
11579 '\377' instead of '\177'.
11580 * locale/C-monetary.c (not_available): Always use "\377".
11581 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11582 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11583 detect unavailable sign_posn locale elements.
11584 * locale/localeconv.c (__localeconv): For grouping and
11585 mon_grouping handle "\177" and "\377" like no grouping.
11586 (INT_ELEM): New macro. Use it to set all numeric members.
11587 * locale/programs/ld-monetary.c (monetary_read)
11588 <tok_mon_grouping>: Normalize single -1 to the empty string.
11589 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11592 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11595 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11596 when we match (nil).
11597 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11599 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11601 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11602 (NO_TEST_INLINE): Update value.
11603 (ERRNO_UNCHANGED): Likewise.
11604 (ERRNO_EDOM): Likewise.
11605 (ERRNO_ERANGE): Likewise.
11606 (IGNORE_RESULT): Likewise.
11607 (check_float_internal): Check signs of NaN results if
11608 TEST_NAN_SIGN used.
11609 (check_complex): Pass TEST_NAN_SIGN flag through to second
11610 check_float_internal call.
11611 (copysign_test_data): Add tests with quiet NaNs as second
11612 argument. Use TEST_NAN_SIGN.
11613 (fabs_test_data): Add test of negative quiet NaN argument. Use
11615 (signbit_test_data): Add tests of quiet NaN argument.
11616 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11618 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11620 (parse_args): Handle function results specified as IGNORE.
11621 * math/libm-test.inc (IGNORE_RESULT): New macro.
11622 (check_float_internal): Do not check numerical result if flag
11624 (check_complex): Pass through IGNORE_RESULT to second
11625 check_float_internal call.
11626 (check_int): Do not check numerical result if flag IGNORE_RESULT
11628 (check_long): Likewise.
11629 (check_bool): Likewise.
11630 (check_longlong): Likewise.
11631 (lrint_test_data): Add tests of infinite and NaN arguments.
11632 (lrint_tonearest_test_data): Likewise.
11633 (lrint_towardzero_test_data): Likewise.
11634 (lrint_downward_test_data): Likewise.
11635 (lrint_upward_test_data): Likewise.
11636 (llrint_test_data): Likewise.
11637 (llrint_tonearest_test_data): Likewise.
11638 (llrint_towardzero_test_data): Likewise.
11639 (llrint_downward_test_data): Likewise.
11640 (llrint_upward_test_data): Likewise.
11641 (lround_test_data): Likewise.
11642 (llround_test_data): Likewise.
11644 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11645 (ERRNO_UNCHANGED): Update value.
11646 (ERRNO_EDOM): Likewise.
11647 (ERRNO_ERANGE): Likewise.
11648 (NO_TEST_INLINE_FLOAT): New macro.
11649 (NO_TEST_INLINE_DOUBLE): Likewise.
11650 (enable_test): New function.
11651 (RUN_TEST_f_f): Check enable_test before running test.
11652 (RUN_TEST_2_f): Likewise.
11653 (RUN_TEST_fff_f): Likewise.
11654 (RUN_TEST_c_f): Likewise.
11655 (RUN_TEST_f_f1): Likewise.
11656 (RUN_TEST_fF_f1): Likewise.
11657 (RUN_TEST_fI_f1): Likewise.
11658 (RUN_TEST_ffI_f1): Likewise.
11659 (RUN_TEST_c_c): Likewise.
11660 (RUN_TEST_cc_c): Likewise.
11661 (RUN_TEST_f_i): Likewise.
11662 (RUN_TEST_f_i_tg): Likewise.
11663 (RUN_TEST_ff_i_tg): Likewise.
11664 (RUN_TEST_f_b): Likewise.
11665 (RUN_TEST_f_b_tg): Likewise.
11666 (RUN_TEST_f_l): Likewise.
11667 (RUN_TEST_f_L): Likewise.
11668 (RUN_TEST_fFF_11): Likewise.
11669 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11671 (cosh_test_data): Likewise.
11672 (exp_test_data): Likewise.
11673 (expm1_test_data): Likewise.
11674 (hypot_test_data): Likewise.
11675 (pow_test_data): Likewise.
11676 (sinh_test_data): Likewise.
11677 (tanh_test_data): Likewise.
11678 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11681 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11682 tests with quiet NaN input and output.
11683 (acosh_test_data): Likewise.
11684 (asin_test_data): Likewise.
11685 (asinh_test_data): Likewise.
11686 (atan_test_data): Likewise.
11687 (atanh_test_data): Likewise.
11688 (atan2_test_data): Likewise.
11689 (cbrt_test_data): Likewise.
11690 (cos_test_data): Likewise.
11691 (cosh_test_data): Likewise.
11692 (erf_test_data): Likewise.
11693 (erfc_test_data): Likewise.
11694 (exp_test_data): Likewise.
11695 (exp10_test_data): Likewise.
11696 (exp2_test_data): Likewise.
11697 (expm1_test_data): Likewise.
11698 (hypot_test_data): Likewise.
11699 (j0_test_data): Likewise.
11700 (j1_test_data): Likewise.
11701 (jn_test_data): Likewise.
11702 (lgamma_test_data): Likewise.
11703 (log_test_data): Likewise.
11704 (log10_test_data): Likewise.
11705 (log1p_test_data): Likewise.
11706 (log2_test_data): Likewise.
11707 (pow_test_data): Likewise.
11708 (scalb_test_data): Likewise.
11709 (sin_test_data): Likewise.
11710 (sincos_test_data): Likewise.
11711 (sinh_test_data): Likewise.
11712 (tan_test_data): Likewise.
11713 (tanh_test_data): Likewise.
11714 (tgamma_test_data): Likewise.
11715 (y0_test_data): Likewise.
11716 (y1_test_data): Likewise.
11717 (yn_test_data): Likewise.
11720 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11721 argument being NaN and avoid computations with second argument in
11723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11724 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11725 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11727 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11729 * locale/iso-639.def: Add Chitwani Tharu (the).
11731 2013-11-14 Andreas Schwab <schwab@suse.de>
11733 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11734 word instead of empty string.
11736 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11739 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11741 (__fe_nomask_env): Likewise.
11743 2013-11-13 Steve Ellcey <sellcey@mips.com>
11745 * benchtests/bench-timing.h: Include time.h.
11747 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11750 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11752 * sysdeps/unix/sysv/linux/configure: Regenerated.
11754 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11757 * stdlib/strtod_l.c (round_and_return): Do not consider
11758 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11759 exponent one less than half the least subnormal exponent.
11760 * stdlib/test-strtod-round-data: Add more tests.
11761 * stdlib/tst-strtod-round.c (tests): Regenerated.
11763 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11766 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11767 (__fe_mask_env): Likewise.
11768 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11769 libm_hidden_proto and add function prototype.
11770 (__fe_mask_env): Add function prototype.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11772 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11774 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11776 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11778 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11780 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11781 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11783 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11785 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11786 of htab_find_slot().
11788 2013-11-11 David S. Miller <davem@davemloft.net>
11791 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11792 symbol in the non-vis3 case in static builds.
11793 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11794 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11795 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11796 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11798 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11801 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11804 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11806 * benchtests/Makefile: Add bench-strtod.
11807 * benchtests/bench-strtod.c: New file: strtod benchtest
11809 2013-11-11 Andreas Schwab <schwab@suse.de>
11812 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11813 terminating NUL in key length.
11815 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11817 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11818 Add artificial ODP entry for vDSO symbol for PPC64.
11819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11820 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11822 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11825 * nss/getent.c (services_keys): Recognize services starting with digit.
11827 2013-11-06 David S. Miller <davem@davemloft.net>
11830 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11831 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11833 2013-11-06 Will Newton <will.newton@linaro.org>
11835 * manual/memory.texi (Malloc Examples): Remove register
11836 keyword from examples.
11838 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11840 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11842 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11845 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11846 depending on [__GCC_IEC_559 > 0].
11847 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11848 depending on [__GCC_IEC_559_COMPLEX > 0].
11850 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11852 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11855 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11857 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11859 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11862 * malloc/malloc (malloc_info): Do not handle first bin as
11865 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11867 * locale/iso-639.def: Add Central Nahuatl (nhn).
11869 2013-11-01 Bruno Haible <bruno@clisp.org>
11872 * manual/math.texi (BSD Random): Specify range upper bound as
11875 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11877 * locale/iso-639.def: Add Meadow Mari (mhr).
11879 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11881 [BZ #14752], [BZ #15763]
11882 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11884 * rt/tst_shm.c: Add test for escaping directory.
11886 2013-10-31 Andreas Schwab <schwab@suse.de>
11889 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11890 followed by 'x' as part of digit sequence.
11891 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11893 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11896 * configure.ac: allow GNU Make 4.0 and greater.
11897 * configure: Regenerated.
11899 2013-10-30 Will Newton <will.newton@linaro.org>
11902 * malloc/hooks.c (memalign_check): Limit alignment to the
11903 maximum representable power of two.
11904 * malloc/malloc.c (__libc_memalign): Likewise.
11905 * malloc/tst-memalign.c (do_test): Add test for very
11906 large alignment values.
11907 * malloc/tst-posix_memalign.c (do_test): Likewise.
11909 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11912 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11913 (munmap_chunk): Likewise.
11914 (mremap_chunk): Likewise.
11916 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11919 * stdlib/div.c (div): Remove obsolete code.
11920 * stdlib/ldiv.c (ldiv): Likewise.
11921 * stdlib/lldiv.c (lldiv): Likewise.
11923 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11926 * nss/nss_files/files-XXX.c (get_contents_ret): New
11928 (get_contents): New function.
11929 (internal_getent): Use it. Expand size of LINEBUFLEN.
11931 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11933 * configure.in: Moved to ...
11934 * configure.ac: ... here. Change reference to configure.in
11936 * sysdeps/arm/preconfigure.ac: ... here.
11937 configure.in to configure.ac.
11938 * sysdeps/gnu/configure.in: Moved to ...
11939 * sysdeps/gnu/configure.ac: ... here.
11940 * sysdeps/i386/configure.in: Moved to ...
11941 * sysdeps/i386/configure.ac: ... here.
11942 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11943 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11944 * sysdeps/mach/configure.in: Moved to ...
11945 * sysdeps/mach/configure.ac: ... here.
11946 * sysdeps/mach/hurd/configure.in: Moved to ...
11947 * sysdeps/mach/hurd/configure.ac: ... here.
11948 * sysdeps/powerpc/configure.in: Moved to ...
11949 * sysdeps/powerpc/configure.ac: ... here.
11950 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11951 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11952 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11953 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11954 * sysdeps/s390/s390-32/configure.in: Moved to ...
11955 * sysdeps/s390/s390-32/configure.ac: ... here.
11956 * sysdeps/s390/s390-64/configure.in: Moved to ...
11957 * sysdeps/s390/s390-64/configure.ac: ... here.
11958 * sysdeps/sh/configure.in: Moved to ...
11959 * sysdeps/sh/configure.ac: ... here.
11960 * sysdeps/sparc/configure.in: Moved to ...
11961 * sysdeps/sparc/configure.ac: ... here.
11962 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11963 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11964 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11965 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11966 * sysdeps/x86_64/configure.in: Moved to ...
11967 * sysdeps/x86_64/configure.ac: ... here.
11968 * sysdeps/x86_64/preconfigure.in: Moved to ...
11969 * sysdeps/x86_64/preconfigure.ac: ... here.
11970 * aclocal.m4: Change reference to configure.in to configure.ac.
11971 * config.h.in: Likewise.
11972 * manual/install.texi: Likewise.
11973 * manual/maint.texi: Likewise.
11974 * Makefile: Likewise.
11975 * malloc/Makefile: Likewise.
11976 * nscd/Makefile: Likewise.
11977 * Makeconfig: Change reference to configure.in and
11978 preconfigure.in to configure.ac and preconfigure.ac
11980 * INSTALL: Regenerated.
11981 * configure: Likewise.
11982 * sysdeps/gnu/configure: Likewise.
11983 * sysdeps/i386/configure: Likewise.
11984 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11985 * sysdeps/mach/configure: Likewise.
11986 * sysdeps/mach/hurd/configure: Likewise.
11987 * sysdeps/powerpc/configure: Likewise.
11988 * sysdeps/powerpc/powerpc32/configure: Likewise.
11989 * sysdeps/powerpc/powerpc64/configure: Likewise.
11990 * sysdeps/s390/s390-32/configure: Likewise.
11991 * sysdeps/s390/s390-64/configure: Likewise.
11992 * sysdeps/sh/configure: Likewise.
11993 * sysdeps/sparc/configure: Likewise.
11994 * sysdeps/unix/sysv/linux/configure: Likewise.
11995 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11996 * sysdeps/x86_64/configure: Likewise.
11997 * sysdeps/x86_64/preconfigure: Likewise.
11999 2013-10-29 Andreas Schwab <schwab@suse.de>
12001 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12003 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12005 * benchtests/pow-inputs: Add new inputs.
12007 * benchtests/exp-inputs: Add new inputs.
12009 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12010 conditional check for return value.
12011 (__cos32): Likewise.
12013 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12015 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12016 to provide a boost for large inputs with word alignment.
12017 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12018 implementation based on optimized PPC64 strcpy.
12019 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12020 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12021 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12022 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12024 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12027 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12029 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12032 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12033 * time/tst-strptime.c (day_tests): Add testcase.
12035 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12038 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12040 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12043 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12044 MAP_FAILED on error.
12046 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12049 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12050 heap for large requests.
12052 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12055 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12056 result if the result has no associated interface.
12057 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12058 interface for all 127.X.Y.Z addresses.
12060 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12062 * locale/iso-639.def: Add Ligurian (lij)
12064 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12067 * sunrpc/rpc_main.c: Document rpcgen -5.
12069 2013-10-19 Michael Stahl <mstahl@redhat.com>
12071 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12073 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12076 * posix/glob.c: Match only directories when trailing slash is present.
12077 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12078 (main): Add testcase.
12080 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12083 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12085 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12087 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12088 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12089 AUTH_DES and cindex for FIPS 140-2.
12090 (DES Encryption): Add cindex FIPS 46-3.
12092 * locale/locarchive.h (struct locarhandle): Add fname.
12093 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12094 if an optional argument was specified to --list-archive,
12096 * locale/programs/locarchive.c (show_archive_content): Take new
12097 argument fname and pass it via ah.fname to open_archive.
12098 * locale/programs/localedef.h: Update decl.
12099 (open_archive): If AH->fname is non-null, open that file
12100 rather than the default file name, and don't ignore ENOENT.
12101 (create_archive): Set AH.fname to NULL.
12102 (delete_locales_from_archive): Likewise.
12103 (add_locales_to_archive): Likewise.
12104 * locale/programs/locfile.c (write_all_categories): Likewise.
12106 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12107 Aldy Hernandez <aldyh@redhat.com>
12109 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12110 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12111 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12113 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12114 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12117 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12120 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12121 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12122 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12123 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12125 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12127 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12129 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12131 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12132 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12134 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12135 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12136 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12137 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12139 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12140 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12141 * sysdeps/powerpc/preconfigure: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12144 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12145 Replace contents of file by #include of <fenv_libc.h>.
12146 * sysdeps/powerpc/soft-fp/sfp-machine.h
12147 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12149 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12153 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12162 Allow copysignl PLT reference to be missing.
12164 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12165 Joseph Myers <joseph@codesourcery.com
12168 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12170 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12172 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12174 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12175 * elf/tst-tls1.c: Likewise.
12176 * elf/tst-tls10.h: Likewise.
12177 * elf/tst-tls14.c: Likewise.
12178 * elf/tst-tls2.c: Likewise.
12179 * elf/tst-tls3.c: Likewise.
12180 * elf/tst-tls4.c: Likewise.
12181 * elf/tst-tls5.c: Likewise.
12182 * elf/tst-tls6.c: Likewise.
12183 * elf/tst-tls7.c: Likewise.
12184 * elf/tst-tls8.c: Likewise.
12185 * elf/tst-tls9.c: Likewise.
12186 * elf/tst-tlsmod1.c: Likewise.
12187 * elf/tst-tlsmod13.c: Likewise.
12188 * elf/tst-tlsmod13a.c: Likewise.
12189 * elf/tst-tlsmod14a.c: Likewise.
12190 * elf/tst-tlsmod16a.c: Likewise.
12191 * elf/tst-tlsmod16b.c: Likewise.
12192 * elf/tst-tlsmod2.c: Likewise.
12193 * elf/tst-tlsmod3.c: Likewise.
12194 * elf/tst-tlsmod4.c: Likewise.
12195 * elf/tst-tlsmod5.c: Likewise.
12196 * elf/tst-tlsmod6.c: Likewise.
12198 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12201 * malloc/malloc.c: remove checks for statistics.
12203 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12206 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12207 * inet/tst-network.c: Add testcase.
12209 2013-10-17 Andreas Schwab <schwab@suse.de>
12212 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12213 to determine canonical name.
12215 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12217 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12218 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12223 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12224 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12226 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12227 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12229 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12231 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12232 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12235 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12241 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12242 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12276 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12279 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12280 make result into a quiet NaN.
12282 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12284 * soft-fp/adddf3.c: Fix horizontal whitespace.
12285 * soft-fp/addsf3.c: Likewise.
12286 * soft-fp/addtf3.c: Likewise.
12287 * soft-fp/divdf3.c: Likewise.
12288 * soft-fp/divsf3.c: Likewise.
12289 * soft-fp/divtf3.c: Likewise.
12290 * soft-fp/double.h: Likewise.
12291 * soft-fp/eqdf2.c: Likewise.
12292 * soft-fp/eqsf2.c: Likewise.
12293 * soft-fp/eqtf2.c: Likewise.
12294 * soft-fp/extenddftf2.c: Likewise.
12295 * soft-fp/extended.h: Likewise.
12296 * soft-fp/extendsfdf2.c: Likewise.
12297 * soft-fp/extendsftf2.c: Likewise.
12298 * soft-fp/extendxftf2.c: Likewise.
12299 * soft-fp/fixdfdi.c: Likewise.
12300 * soft-fp/fixdfsi.c: Likewise.
12301 * soft-fp/fixdfti.c: Likewise.
12302 * soft-fp/fixsfdi.c: Likewise.
12303 * soft-fp/fixsfsi.c: Likewise.
12304 * soft-fp/fixsfti.c: Likewise.
12305 * soft-fp/fixtfdi.c: Likewise.
12306 * soft-fp/fixtfsi.c: Likewise.
12307 * soft-fp/fixtfti.c: Likewise.
12308 * soft-fp/fixunsdfdi.c: Likewise.
12309 * soft-fp/fixunsdfsi.c: Likewise.
12310 * soft-fp/fixunsdfti.c: Likewise.
12311 * soft-fp/fixunssfdi.c: Likewise.
12312 * soft-fp/fixunssfsi.c: Likewise.
12313 * soft-fp/fixunssfti.c: Likewise.
12314 * soft-fp/fixunstfdi.c: Likewise.
12315 * soft-fp/fixunstfsi.c: Likewise.
12316 * soft-fp/fixunstfti.c: Likewise.
12317 * soft-fp/floatdidf.c: Likewise.
12318 * soft-fp/floatdisf.c: Likewise.
12319 * soft-fp/floatditf.c: Likewise.
12320 * soft-fp/floatsidf.c: Likewise.
12321 * soft-fp/floatsisf.c: Likewise.
12322 * soft-fp/floatsitf.c: Likewise.
12323 * soft-fp/floattidf.c: Likewise.
12324 * soft-fp/floattisf.c: Likewise.
12325 * soft-fp/floattitf.c: Likewise.
12326 * soft-fp/floatundidf.c: Likewise.
12327 * soft-fp/floatundisf.c: Likewise.
12328 * soft-fp/floatunditf.c: Likewise.
12329 * soft-fp/floatunsidf.c: Likewise.
12330 * soft-fp/floatunsisf.c: Likewise.
12331 * soft-fp/floatunsitf.c: Likewise.
12332 * soft-fp/floatuntidf.c: Likewise.
12333 * soft-fp/floatuntisf.c: Likewise.
12334 * soft-fp/floatuntitf.c: Likewise.
12335 * soft-fp/fmadf4.c: Likewise.
12336 * soft-fp/fmasf4.c: Likewise.
12337 * soft-fp/fmatf4.c: Likewise.
12338 * soft-fp/gedf2.c: Likewise.
12339 * soft-fp/gesf2.c: Likewise.
12340 * soft-fp/getf2.c: Likewise.
12341 * soft-fp/ledf2.c: Likewise.
12342 * soft-fp/lesf2.c: Likewise.
12343 * soft-fp/letf2.c: Likewise.
12344 * soft-fp/muldf3.c: Likewise.
12345 * soft-fp/mulsf3.c: Likewise.
12346 * soft-fp/multf3.c: Likewise.
12347 * soft-fp/negdf2.c: Likewise.
12348 * soft-fp/negsf2.c: Likewise.
12349 * soft-fp/negtf2.c: Likewise.
12350 * soft-fp/op-1.h: Likewise.
12351 * soft-fp/op-2.h: Likewise.
12352 * soft-fp/op-4.h: Likewise.
12353 * soft-fp/op-8.h: Likewise.
12354 * soft-fp/op-common.h: Likewise.
12355 * soft-fp/quad.h: Likewise.
12356 * soft-fp/single.h: Likewise.
12357 * soft-fp/soft-fp.h: Likewise.
12358 * soft-fp/sqrtdf2.c: Likewise.
12359 * soft-fp/sqrtsf2.c: Likewise.
12360 * soft-fp/sqrttf2.c: Likewise.
12361 * soft-fp/subdf3.c: Likewise.
12362 * soft-fp/subsf3.c: Likewise.
12363 * soft-fp/subtf3.c: Likewise.
12364 * soft-fp/truncdfsf2.c: Likewise.
12365 * soft-fp/trunctfdf2.c: Likewise.
12366 * soft-fp/trunctfsf2.c: Likewise.
12367 * soft-fp/trunctfxf2.c: Likewise.
12368 * soft-fp/unorddf2.c: Likewise.
12369 * soft-fp/unordsf2.c: Likewise.
12370 * soft-fp/unordtf2.c: Likewise.
12372 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12374 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12375 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12377 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12379 * elf/dl-libc.c: Clear initfini list after freeing.
12381 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12383 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12384 * soft-fp/addsf3.c: Likewise.
12385 * soft-fp/addtf3.c: Likewise.
12386 * soft-fp/divdf3.c: Likewise.
12387 * soft-fp/divsf3.c: Likewise.
12388 * soft-fp/divtf3.c: Likewise.
12389 * soft-fp/double.h: Likewise.
12390 * soft-fp/eqdf2.c: Likewise.
12391 * soft-fp/eqsf2.c: Likewise.
12392 * soft-fp/eqtf2.c: Likewise.
12393 * soft-fp/extenddftf2.c: Likewise.
12394 * soft-fp/extended.h: Likewise.
12395 * soft-fp/extendsfdf2.c: Likewise.
12396 * soft-fp/extendsftf2.c: Likewise.
12397 * soft-fp/extendxftf2.c: Likewise.
12398 * soft-fp/fixdfdi.c: Likewise.
12399 * soft-fp/fixdfsi.c: Likewise.
12400 * soft-fp/fixdfti.c: Likewise.
12401 * soft-fp/fixsfdi.c: Likewise.
12402 * soft-fp/fixsfsi.c: Likewise.
12403 * soft-fp/fixsfti.c: Likewise.
12404 * soft-fp/fixtfdi.c: Likewise.
12405 * soft-fp/fixtfsi.c: Likewise.
12406 * soft-fp/fixtfti.c: Likewise.
12407 * soft-fp/fixunsdfdi.c: Likewise.
12408 * soft-fp/fixunsdfsi.c: Likewise.
12409 * soft-fp/fixunsdfti.c: Likewise.
12410 * soft-fp/fixunssfdi.c: Likewise.
12411 * soft-fp/fixunssfsi.c: Likewise.
12412 * soft-fp/fixunssfti.c: Likewise.
12413 * soft-fp/fixunstfdi.c: Likewise.
12414 * soft-fp/fixunstfsi.c: Likewise.
12415 * soft-fp/fixunstfti.c: Likewise.
12416 * soft-fp/floatdidf.c: Likewise.
12417 * soft-fp/floatdisf.c: Likewise.
12418 * soft-fp/floatditf.c: Likewise.
12419 * soft-fp/floatsidf.c: Likewise.
12420 * soft-fp/floatsisf.c: Likewise.
12421 * soft-fp/floatsitf.c: Likewise.
12422 * soft-fp/floattidf.c: Likewise.
12423 * soft-fp/floattisf.c: Likewise.
12424 * soft-fp/floattitf.c: Likewise.
12425 * soft-fp/floatundidf.c: Likewise.
12426 * soft-fp/floatundisf.c: Likewise.
12427 * soft-fp/floatunsidf.c: Likewise.
12428 * soft-fp/floatunsisf.c: Likewise.
12429 * soft-fp/floatuntidf.c: Likewise.
12430 * soft-fp/floatuntisf.c: Likewise.
12431 * soft-fp/floatuntitf.c: Likewise.
12432 * soft-fp/fmadf4.c: Likewise.
12433 * soft-fp/fmasf4.c: Likewise.
12434 * soft-fp/fmatf4.c: Likewise.
12435 * soft-fp/gedf2.c: Likewise.
12436 * soft-fp/gesf2.c: Likewise.
12437 * soft-fp/getf2.c: Likewise.
12438 * soft-fp/ledf2.c: Likewise.
12439 * soft-fp/lesf2.c: Likewise.
12440 * soft-fp/letf2.c: Likewise.
12441 * soft-fp/muldf3.c: Likewise.
12442 * soft-fp/mulsf3.c: Likewise.
12443 * soft-fp/multf3.c: Likewise.
12444 * soft-fp/negdf2.c: Likewise.
12445 * soft-fp/negsf2.c: Likewise.
12446 * soft-fp/negtf2.c: Likewise.
12447 * soft-fp/op-1.h: Likewise.
12448 * soft-fp/op-2.h: Likewise.
12449 * soft-fp/op-4.h: Likewise.
12450 * soft-fp/op-8.h: Likewise.
12451 * soft-fp/op-common.h: Likewise.
12452 * soft-fp/quad.h: Likewise.
12453 * soft-fp/single.h: Likewise.
12454 * soft-fp/soft-fp.h: Likewise.
12455 * soft-fp/sqrtdf2.c: Likewise.
12456 * soft-fp/sqrtsf2.c: Likewise.
12457 * soft-fp/sqrttf2.c: Likewise.
12458 * soft-fp/subdf3.c: Likewise.
12459 * soft-fp/subsf3.c: Likewise.
12460 * soft-fp/subtf3.c: Likewise.
12461 * soft-fp/truncdfsf2.c: Likewise.
12462 * soft-fp/trunctfdf2.c: Likewise.
12463 * soft-fp/trunctfsf2.c: Likewise.
12464 * soft-fp/trunctfxf2.c: Likewise.
12465 * soft-fp/unorddf2.c: Likewise.
12466 * soft-fp/unordsf2.c: Likewise.
12467 * soft-fp/unordtf2.c: Likewise.
12469 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12472 * misc/error.c (error_tail): Fix possible buffer overflow.
12474 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12477 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12480 2013-10-14 P. J. McDermott <pj@pehjota.net>
12483 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12484 testing pipefail option.
12486 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12488 * soft-fp/double.h: Indent preprocessor directives inside #if.
12489 * soft-fp/extended.h: Likewise.
12490 * soft-fp/op-2.h: Likewise.
12491 * soft-fp/op-4.h: Likewise.
12492 * soft-fp/op-common.h: Likewise.
12493 * soft-fp/quad.h: Likewise.
12494 * soft-fp/single.h: Likewise.
12495 * soft-fp/soft-fp.h: Likewise.
12497 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12499 * iconv/iconv_prog.c: Fix typos.
12500 * stdio-common/psiginfo-data.h: Likewise.
12502 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12505 * locale/setlocale.c: Fix typo.
12507 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12510 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12511 signaling NaN arguments.
12512 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12513 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12516 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12517 unordered operands.
12518 * soft-fp/gesf2.c (__gesf2): Likewise.
12519 * soft-fp/getf2.c (__getf2): Likewise.
12520 * soft-fp/ledf2.c (__ledf2): Likewise.
12521 * soft-fp/lesf2.c (__lesf2): Likewise.
12522 * soft-fp/letf2.c (__letf2): Likewise.
12524 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12525 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12526 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12527 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12528 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12529 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12530 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12531 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12532 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12533 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12534 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12535 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12536 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12537 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12538 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12539 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12540 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12541 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12542 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12543 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12544 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12545 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12546 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12547 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12548 * soft-fp/floattidf.c (__floattidf): Likewise.
12549 * soft-fp/floattisf.c (__floattisf): Likewise.
12550 * soft-fp/floattitf.c (__floattitf): Likewise.
12551 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12552 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12553 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12554 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12555 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12556 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12557 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12558 * soft-fp/gesf2.c (__gesf2): Likewise.
12559 * soft-fp/getf2.c (__getf2): Likewise.
12560 * soft-fp/ledf2.c (__ledf2): Likewise.
12561 * soft-fp/lesf2.c (__lesf2): Likewise.
12562 * soft-fp/letf2.c (__letf2): Likewise.
12564 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12565 Undefine and redefine.
12566 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12567 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12568 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12569 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12570 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12571 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12572 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12573 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12574 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12575 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12576 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12577 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12578 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12579 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12580 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12583 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12584 without decrementing exponent if mantissa >= that for the
12585 denominator, not >.
12586 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12587 denominator, not >. Decrement exponent in < case instead of
12588 incrementing in >= case.
12589 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12590 without decrementing exponent if mantissa >= that for the
12591 denominator, not >.
12593 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12594 computing saturated result for unsigned overflow.
12596 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12597 Jeff Law <law@redhat.com>
12599 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12600 (atan2Mp): Add systemtap probe marker.
12601 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12602 (__ieee754_log): Add systemtap probe marker.
12603 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12604 (atanMp): Add systemtap probe marker.
12605 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12606 (tanMp): Add systemtap probe marker.
12607 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12608 (__slowexp): Add systemtap probe marker.
12609 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12610 (__slowpow): Add systemtap probe marker.
12611 * manual/probes.texi: Document probes.
12613 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12616 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12618 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12620 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12621 written to buffer but not flushed.
12622 * libio/iofwrite_u.c: Likewise.
12623 * libio/iopadn.c: Return bytes returned even if EOF was
12625 * libio/iowpadn.c: Likewise.
12626 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12627 if _IO_padn does not write the whole buffer.
12628 [!COMPILE_WPRINTF] (PAD): Likewise.
12630 2013-10-10 David S. Miller <davem@davemloft.net>
12632 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12635 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12637 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12638 instead of FSF address.
12639 * soft-fp/fixdfti.c: Likewise.
12640 * soft-fp/fixsfti.c: Likewise.
12641 * soft-fp/fixtfti.c: Likewise.
12642 * soft-fp/fixunsdfti.c: Likewise.
12643 * soft-fp/fixunssfti.c: Likewise.
12644 * soft-fp/fixunstfti.c: Likewise.
12645 * soft-fp/floattidf.c: Likewise.
12646 * soft-fp/floattisf.c: Likewise.
12647 * soft-fp/floattitf.c: Likewise.
12648 * soft-fp/floatuntidf.c: Likewise.
12649 * soft-fp/floatuntisf.c: Likewise.
12650 * soft-fp/floatuntitf.c: Likewise.
12651 * soft-fp/trunctfxf2.c: Likewise.
12653 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12654 * soft-fp/fixdfti.c: Likewise.
12655 * soft-fp/fixsfti.c: Likewise.
12656 * soft-fp/fixtfti.c: Likewise.
12657 * soft-fp/fixunsdfti.c: Likewise.
12658 * soft-fp/fixunssfti.c: Likewise.
12659 * soft-fp/fixunstfti.c: Likewise.
12660 * soft-fp/floattidf.c: Likewise.
12661 * soft-fp/floattisf.c: Likewise.
12662 * soft-fp/floattitf.c: Likewise.
12663 * soft-fp/floatuntidf.c: Likewise.
12664 * soft-fp/floatuntisf.c: Likewise.
12665 * soft-fp/floatuntitf.c: Likewise.
12666 * soft-fp/trunctfxf2.c: Likewise.
12668 2013-10-10 David S. Miller <davem@davemloft.net>
12670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12672 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12674 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12675 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12676 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12683 for NaNs before doing comparisons on argument.
12684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12687 2013-10-10 Will Newton <will.newton@linaro.org>
12689 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12690 passed to _int_memalign does not overflow.
12692 2013-10-10 Torvald Riegel <triegel@redhat.com>
12694 * scripts/bench.pl: Add include-sources directive.
12695 * benchtests/README: Update documentation.
12697 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12699 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12700 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12701 instead of FP_INIT_ROUNDMODE.
12702 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12703 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12706 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12707 copy class of input value.
12708 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12709 not handle exceptions.
12710 * soft-fp/negsf2.c (__negsf2): Likewise.
12711 * soft-fp/negtf2.c (__negtf2): Likewise.
12712 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12714 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12716 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12717 semicolon. From Linux kernel.
12719 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12721 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12723 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12726 * manual/socket.texi: Added statement about buffer
12727 for gethostbyname2_r.
12729 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12731 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12732 Use .p2align directive instead, throughout.
12733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12734 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12735 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12738 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12739 * sysdeps/x86_64/strchr.S: Likewise.
12740 * sysdeps/x86_64/strrchr.S: Likewise.
12742 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12744 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12746 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12748 * sysdeps/generic/math_private.h (__mpsin1): Remove
12750 (__mpcos1): Likewise.
12751 (__mpsin): New argument __range_reduce.
12752 (__mpcos): Likewise.
12753 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12754 (slow): Use __mpsin and __mpcos.
12758 (sloww1): Likewise.
12759 (sloww2): Likewise.
12760 (bsloww): Likewise.
12761 (bsloww1): Likewise.
12762 (bsloww2): Likewise.
12763 (cslow2): Likewise.
12764 (csloww): Likewise.
12765 (csloww1): Likewise.
12766 (csloww2): Likewise.
12767 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12768 range_reduce. Merge in __mpsin1.
12769 (__mpcos): Likewise.
12770 (__mpsin1): Remove.
12771 (__mpcos1): Likewise.
12773 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12775 * locale/loadlocale.c (_nl_intern_locale_data): Use
12777 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12778 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12779 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12780 obstack data is appropriately aligned.
12781 (obstack_int32_grow_fast): Likewise.
12782 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12783 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12784 (add_locale_uint32_array): Likewise.
12786 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12788 * benchtests/Makefile: Remove ARGLIST and RET variables.
12789 ($(objpfx)bench-%.c): Pass only function name to the script.
12790 * benchtests/README: Update documentation.
12791 * benchtests/acos-inputs: Add new directives.
12792 * benchtests/acosh-inputs: Likewise.
12793 * benchtests/asin-inputs: Likewise.
12794 * benchtests/asinh-inputs: Likewise.
12795 * benchtests/atan-inputs: Likewise.
12796 * benchtests/atanh-inputs: Likewise.
12797 * benchtests/cos-inputs: Likewise.
12798 * benchtests/cosh-inputs: Likewise.
12799 * benchtests/exp-inputs: Likewise.
12800 * benchtests/log-inputs: Likewise.
12801 * benchtests/pow-inputs: Likewise.
12802 * benchtests/rint-inputs: Likewise.
12803 * benchtests/sin-inputs: Likewise.
12804 * benchtests/sinh-inputs: Likewise.
12805 * benchtests/tan-inputs: Likewise.
12806 * benchtests/tanh-inputs: Likewise.
12807 * scripts/bench.pl: Add support for new directives.
12809 2013-10-07 Alan Modra <amodra@gmail.com>
12811 * README: Fix careless merge.
12813 2013-10-05 Alan Modra <amodra@gmail.com>
12815 * NEWS: Mention powerpc64le support and bugs fixed.
12816 * README: Both big-endian and little-endian powerpc64 supported.
12818 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12820 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12821 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12822 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12823 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12825 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12827 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12830 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12833 Move -mhard-float appending from
12834 ports/sysdeps/powerpc/powerpc32/Makefile.
12835 [$(with-fp) = yes] (ASFLAGS): Likewise.
12836 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12837 * sysdeps/powerpc/nofpu: Move directory from
12838 ports/sysdeps/powerpc/nofpu.
12839 * sysdeps/powerpc/soft-fp: Move directory from
12840 ports/sysdeps/powerpc/soft-fp.
12841 * sysdeps/powerpc/powerpc32/405: Move directory from
12842 ports/sysdeps/powerpc/powerpc32/405.
12843 * sysdeps/powerpc/powerpc32/440: Move directory from
12844 ports/sysdeps/powerpc/powerpc32/440.
12845 * sysdeps/powerpc/powerpc32/464: Move directory from
12846 ports/sysdeps/powerpc/powerpc32/464.
12847 * sysdeps/powerpc/powerpc32/476: Move directory from
12848 ports/sysdeps/powerpc/powerpc32/476.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12850 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12852 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12854 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12856 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12858 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12859 * README: Update for powerpc-*-linux-gnu software floating point
12862 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12863 case to powerpc/powerpc32*.
12864 * sysdeps/unix/sysv/linux/configure: Regenerated.
12866 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12867 (_FPU_MASK_OM): Define as 0x04.
12868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12876 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12879 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12882 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12883 and setcontext_e500.
12885 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12887 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12889 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12891 * manual/threads.texi (Default Thread Attributes): Fix typo.
12893 2013-10-04 Will Newton <will.newton@linaro.org>
12895 * malloc/Makefile: Add tst-memalign.
12896 * malloc/tst-memalign.c: New file.
12898 * malloc/tst-posix_memalign.c: Add comments.
12899 (do_test): Add comments and call free on all potentially
12900 allocated pointers. Add space after cast.
12902 * malloc/tst-pvalloc.c: Add comments.
12903 (do_test): Add comments and call free on all potentially
12904 allocated pointers. Remove duplicate check for NULL pointer.
12905 Add space after cast.
12907 * malloc/tst-valloc.c: Add comments.
12908 (do_test): Add comments and call free on all potentially
12909 allocated pointers. Remove duplicate check for NULL pointer.
12910 Add space after cast.
12912 2013-10-04 Alan Modra <amodra@gmail.com>
12914 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12915 Use stdint types in rather than __attribute__((mode())).
12916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12918 2013-10-04 Alan Modra <amodra@gmail.com>
12920 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12921 Correct handling of unaligned relocs for little-endian.
12922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12924 2013-10-04 Alan Modra <amodra@gmail.com>
12926 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12927 * configure: Regenerate.
12928 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12929 * shlib-versions: Likewise.
12931 2013-10-04 Alan Modra <amodra@gmail.com>
12933 * string/tester.c (test_memrchr): Increment reported test cycle.
12935 2013-10-04 Alan Modra <amodra@gmail.com>
12937 * string/test-memcpy.c (do_one_test): When reporting errors, print
12938 string address and don't overrun end of string.
12940 2013-10-04 Alan Modra <amodra@gmail.com>
12942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12943 insrdi. Make better use of reg selection to speed exit slightly.
12944 Schedule entry path a little better. Remove useless "are we done"
12945 checks on entry to main loop. Handle wrapping around zero address.
12946 Correct main loop count. Handle single left-over word from main
12947 loop inline rather than by using loop_small. Remove extra word
12948 case in loop_small caused by wrong loop count. Add little-endian
12950 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12951 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12954 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12955 support. Avoid rlwimi.
12956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12958 2013-10-04 Alan Modra <amodra@gmail.com>
12960 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12961 insrdi. Formatting.
12962 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12963 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12964 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12965 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12966 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12967 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12969 2013-10-04 Alan Modra <amodra@gmail.com>
12971 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12974 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12975 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12976 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12977 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12978 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12979 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12980 use of regs. Use power7 mtocrf. Tidy function tails.
12982 2013-10-04 Alan Modra <amodra@gmail.com>
12984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12985 Formatting. Consistently use rXXX register defines or rN defines.
12986 Use early exit labels that avoid restoring unused non-volatile regs.
12987 Make cr field use more consistent with rWORDn compares. Rename
12988 regs used as shift registers for unaligned loop, using rN defines
12989 for short lifetime/multiple use regs.
12990 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12991 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12992 addi 1,1,64 to pop stack frame. Simplify return value code.
12993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12995 2013-10-04 Alan Modra <amodra@gmail.com>
12997 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12998 support. Correct typos, formatting. Optimize tail. Use insrdi
12999 rather than rlwimi.
13000 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13001 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13002 little-endian support. Correct typos.
13003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13004 rather than rlwimi.
13005 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13006 in loop and entry code to keep "and." results.
13007 (strchr): Add little-endian support. Comment. Move cntlzd
13009 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13011 2013-10-04 Alan Modra <amodra@gmail.com>
13013 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13014 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13015 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13016 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13018 2013-10-04 Alan Modra <amodra@gmail.com>
13020 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13021 (rTMP): Define as r11.
13022 (strcmp): Add little-endian support. Optimise tail.
13023 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13024 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13025 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13027 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13031 2013-10-04 Alan Modra <amodra@gmail.com>
13033 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13034 little-endian support. Remove unnecessary "are we done" tests.
13035 Handle "s" wrapping around zero and extremely large "size".
13036 Correct main loop count. Handle single left-over word from main
13037 loop inline rather than by using small_loop. Correct comments.
13038 Delete "zero" tail, use "end_max" instead.
13039 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13041 2013-10-04 Alan Modra <amodra@gmail.com>
13043 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13044 support. Don't branch over align.
13045 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13046 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13047 support. Rearrange tmp reg use to suit. Comment.
13048 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13050 2013-10-04 Alan Modra <amodra@gmail.com>
13052 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13054 2013-10-04 Alan Modra <amodra@gmail.com>
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13057 conditional form of branch and link when obtaining pc.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13060 2013-10-04 Alan Modra <amodra@gmail.com>
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13067 2013-10-04 Alan Modra <amodra@gmail.com>
13069 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13070 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13071 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13072 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13073 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13074 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13075 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13076 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13077 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13078 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13080 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13081 Alistair Popple <alistair@ozlabs.au.ibm.com>
13082 Alan Modra <amodra@gmail.com>
13085 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13086 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13087 _dl_hwcap access for little-endian.
13088 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13089 destroy vmx regs when saving unaligned.
13090 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13091 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13092 destroy vmx regs when saving unaligned.
13094 2013-10-04 Alan Modra <amodra@gmail.com>
13096 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13097 Don't use a union to pack hi/low value.
13099 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13101 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13103 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13105 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13106 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13107 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13109 2013-10-04 Alan Modra <amodra@gmail.com>
13111 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13112 constants to usual value for .cst8 section, and remove redundant
13114 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13115 constant for 0x1p52. Load little-endian words of double from
13116 correct stack offsets.
13118 2013-10-04 Alan Modra <amodra@gmail.com>
13120 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13121 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13122 words of double from correct stack offsets.
13123 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13124 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13125 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13126 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13128 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13130 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13131 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13132 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13135 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13136 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13137 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13138 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13139 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13141 2013-10-04 Alan Modra <amodra@gmail.com>
13143 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13144 64-bit int/double union.
13145 (_FPU_SETCW): Likewise.
13146 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13147 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13149 2013-10-04 Alan Modra <amodra@gmail.com>
13151 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13152 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13154 2013-10-04 Alan Modra <amodra@gmail.com>
13156 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13157 use vector int constants.
13158 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13160 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13162 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13163 array with long long.
13164 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13165 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13166 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13167 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13168 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13169 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13170 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13171 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13172 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13173 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13174 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13175 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13176 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13178 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13180 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13181 (__signbit): Likewise. Correct for little-endian.
13182 (__signbitl): Call __signbit.
13183 (lrint): Correct for little-endian.
13184 (lrintf): Call lrint.
13186 2013-10-04 Alan Modra <amodra@gmail.com>
13188 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13189 union 32-bit int array member with 64-bit int array.
13190 (t515, tm256): Double rather than long double.
13191 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13193 2013-10-04 Alan Modra <amodra@gmail.com>
13195 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13197 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13199 version of math_ldbl.h.
13201 2013-10-04 Alan Modra <amodra@gmail.com>
13203 [BZ #15734], [BZ #15735]
13204 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13205 all uses of ieee875 long double macros and unions. Simplify test
13206 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13207 ldbl_extract_mantissa value for ix,iy exponents. Properly
13208 normalize after ldbl_extract_mantissa, and don't add hidden bit
13209 already handled. Don't treat low word of ieee854 mantissa like
13210 low word of IBM long double and mask off bit when testing for
13212 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13213 all uses of ieee875 long double macros and unions. Simplify tests
13214 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13215 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13216 two1022, instead use their values. Recognise that tests for large
13217 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13218 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13219 Rewrite all uses of ieee875 long double macros and unions. Simplify
13220 test for 0.0L and nan. Correct negation.
13221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13222 ieee875 long double macros and unions. Correct output for large
13223 magnitude x. Correct absolute value calculation.
13224 (__erfcl): Likewise.
13225 * math/libm-test.inc: Add tests for errors discovered in IBM long
13226 double versions of fmodl, remainderl, erfl and erfcl.
13228 2013-10-04 Alan Modra <amodra@gmail.com>
13230 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13231 all uses of ieee854 long double macros and unions. Simplify tests
13232 for long doubles that are fully specified by the high double.
13233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13235 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13236 Remove dead code too.
13237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13238 (__ieee754_ynl): Likewise.
13239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13242 Remove dead code too.
13243 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13244 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13245 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13248 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13253 Comment on variable precision.
13254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13261 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13263 2013-10-04 Alan Modra <amodra@gmail.com>
13265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13266 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13267 all uses of ieee854 long double macros and unions.
13268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13271 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13272 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13281 Simplify sign and nan test too.
13282 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13283 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13287 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13290 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13297 2013-10-04 Alan Modra <amodra@gmail.com>
13299 * stdio-common/printf_size.c (__printf_size): Don't use
13300 union ieee854_long_double in fpnum union.
13301 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13302 signbit macro to retrieve sign from long double.
13303 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13304 retrieve sign from long double.
13305 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13306 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13307 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13308 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13309 * math/test-misc.c (main): Don't use union ieee854_long_double.
13311 2013-10-04 Alan Modra <amodra@gmail.com>
13314 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13315 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13316 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13317 calculation. Remove unnecessary test for denormal exponent.
13318 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13319 Correct handling of denormals. Avoid undefined shift behaviour.
13320 Correct normalisation of low mantissa when low double is denormal.
13321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13322 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13323 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13324 Correct normalisation of low mantissa. Test for overflow of high
13325 mantissa and normalise.
13326 (ldbl_nearbyint): Use more readable constant for two52.
13327 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13328 (__mpn_construct_long_double): Fix test for overflow of high
13329 mantissa and correct normalisation. Avoid undefined shift.
13331 2013-10-04 Alan Modra <amodra@gmail.com>
13333 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13334 (union ibm_extended_long_double): Define as an array of ieee754_double.
13335 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13337 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13338 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13347 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13349 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13350 page size instead of calling getpagesize.
13352 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13353 (LOCFILE_ALIGN_MASK): Likewise.
13354 (LOCFILE_ALIGN_UP): Likewise.
13355 (LOCFILE_ALIGNED_P): Likewise.
13356 * locale/programs/ld-collate.c (collate_output): Use the new
13357 macros instead of __alignof__ (int32_t).
13358 * locale/weight.h (findidx): Likewise.
13360 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13363 * manual/string.texi: Fix strncat and wcsncat.
13365 2013-10-03 Brooks Moses <bmoses@google.com>
13368 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13369 * Makerules: ...here, and adjust associated comments.
13371 2013-10-02 Will Newton <will.newton@linaro.org>
13373 * malloc/Makefile: Add tst-pvalloc.
13374 * malloc/tst-pvalloc.c: New file.
13376 2013-10-02 Will Newton <will.newton@linaro.org>
13378 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13379 improve test coverage.
13381 2013-10-02 Will Newton <will.newton@linaro.org>
13383 * malloc/Makefile: Add tst-posix_memalign.
13384 * malloc/tst-posix_memalign.c: New file.
13386 2013-10-01 Eric Blake <eblake@redhat.com>
13388 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13389 Use __THROWNL rather than __THROW on static functions.
13391 2013-09-30 Petr Machata <pmachata@redhat.com>
13393 * elf/elf.h (R_AARCH64_ABS16): New macro.
13394 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13395 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13396 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13397 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13398 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13399 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13400 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13401 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13402 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13403 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13404 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13405 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13406 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13407 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13408 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13409 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13410 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13411 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13412 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13413 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13414 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13415 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13416 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13417 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13418 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13419 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13420 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13421 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13422 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13423 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13424 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13425 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13426 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13427 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13428 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13429 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13430 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13431 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13432 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13433 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13434 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13435 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13436 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13437 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13438 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13439 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13440 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13441 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13442 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13443 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13444 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13445 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13446 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13447 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13448 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13449 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13450 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13451 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13452 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13453 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13454 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13455 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13456 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13457 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13458 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13459 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13460 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13461 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13462 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13463 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13464 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13465 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13466 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13467 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13468 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13469 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13470 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13471 (R_AARCH64_TLSDESC_LDR): Likewise.
13472 (R_AARCH64_TLSDESC_ADD): Likewise.
13473 (R_AARCH64_TLSDESC_CALL): Likewise.
13475 2013-09-30 Andreas Schwab <schwab@suse.de>
13478 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13479 the nss database lookup.
13480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13483 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13485 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13487 2013-09-28 P. J. McDermott <pj@pehjota.net>
13489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13490 ${Bash-specific parameter/pattern/string} parameter expansion.
13491 * sysdeps/unix/make-syscalls.sh: Likewise.
13493 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13495 * sysdeps/sh/stackguard-macros.h: New file.
13497 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13501 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13502 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13504 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13506 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13508 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13509 Fix thread ID register.
13511 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13513 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13514 [POSIX || UNIX98]: Require rather than permitting all symbols from
13516 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13517 element of struct sched_param.
13518 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13519 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13520 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13521 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13524 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13526 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13527 argument calculation.
13529 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13531 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13533 [POSIX] (pthread_attr_t): Do not require type.
13534 [POSIX] (pthread_cond_t): Likewise.
13535 [POSIX] (pthread_condattr_t): Likewise.
13536 [POSIX] (pthread_key_t): Likewise.
13537 [POSIX] (pthread_mutex_t): Likewise.
13538 [POSIX] (pthread_mutexattr_t): Likewise.
13539 [POSIX] (pthread_once_t): Likewise.
13540 [POSIX] (pthread_t): Likewise.
13541 [POSIX-based standards] (pthread_atfork): Expect function.
13543 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13544 Richard Sandiford <richard@codesourcery.com>
13546 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13547 (swap_endianness_p): New extern variable.
13548 (set_big_endian): New inline function.
13549 (maybe_swap_uint32): Likewise.
13550 (maybe_swap_uint32_array): Likewise.
13551 (maybe_swap_uint32_obstack): Likewise.
13552 * locale/programs/locfile.c: Include <stdbool.h>.
13553 (swap_endianness_p): New variable.
13554 (add_locale_uint32): Call maybe_swap_uint32.
13555 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13556 (write_locale_data): Call maybe_swap_uint32_array.
13557 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13559 (obstack_int32_grow_fast): Likewise.
13560 (output_weightwc): Call maybe_swap_uint32_obstack.
13561 (collate_output): Likewise.
13562 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13563 (OPT_LITTLE_ENDIAN): Likewise.
13564 (options): Add --little-endian and --big-endian options.
13565 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13566 * locale/programs/locarchive.c: Include "locfile.h".
13570 (create_archive): Use the new macros to access fields of
13571 structures directly mapped from or written to locale archives.
13572 (oldlocrecentcmp): Likewise.
13573 (enlarge_archive): Likewise.
13574 (insert_name): Likewise.
13575 (add_alias): Likewise.
13576 (add_locale): Likewise.
13577 (delete_locales_from_archive): Likewise.
13578 (show_archive_content): Likewise.
13579 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13582 2013-09-24 Roland McGrath <roland@hack.frob.com>
13584 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13585 http://www.gnu.org/doc/freemanuals.texi.
13586 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13588 2013-09-24 Will Newton <will.newton@linaro.org>
13590 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13593 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13595 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13598 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13600 * manual/threads.texi (POSIX Threads): Fix a typo.
13602 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13605 * string/tst-strcoll-overflow.c: New test case.
13606 * string/Makefile (xtests): Add tst-strcoll-overflow.
13607 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13608 cache if string sizes may cause integer overflow.
13611 * string/strcoll_l.c (coll_seq): New members rule, idx,
13612 save_idx and back_us.
13613 (get_next_seq_nocache): New function.
13614 (do_compare_nocache): New function.
13615 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13618 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13621 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13622 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13623 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13626 * elf/Makefile (tests): Add tst-ptrguard1.
13627 (tests-static): Add tst-ptrguard1-static.
13628 (tst-ptrguard1-ARGS): Define.
13629 (tst-ptrguard1-static-ARGS): Define.
13630 * elf/tst-ptrguard1.c: New file.
13631 * elf/tst-ptrguard1-static.c: New file.
13632 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13633 * sysdeps/i386/stackguard-macros.h: Likewise.
13634 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13635 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13636 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13637 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13638 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13639 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13641 2013-09-23 Hector Marco <hecmargi@upv.es>
13642 Ismael Ripoll <iripoll@disca.upv.es>
13643 Carlos O'Donell <carlos@redhat.com>
13646 * sysdeps/generic/stackguard-macros.h: Define
13647 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13648 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13649 Define __pointer_chk_guard_local.
13650 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13651 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13653 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13656 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13658 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13660 * include/string.h (__ffs): Declare as hidden.
13661 * string/ffs.c (__ffs): Define as hidden.
13662 * sysdeps/i386/ffs.c (__ffs): Likewise.
13663 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13664 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13665 * sysdeps/s390/ffs.c (__ffs): Likewise.
13666 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13668 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13670 * NEWS: Mention malloc probes.
13672 * malloc/arena.c (new_heap): New memory_heap_new probe.
13673 (grow_heap): New memory_heap_more probe.
13674 (shrink_heap): New memory_heap_less probe.
13675 (heap_trim): New memory_heap_free probe.
13676 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13677 (systrim): New memory_sbrk_less probe.
13678 * manual/probes.texi: Document them.
13680 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13681 * manual/probes.texi: Document it.
13683 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13684 (__libc_realloc): Add memory_realloc_retry probe.
13685 (__libc_memalign): Add memory_memalign_retry probe.
13686 (__libc_valloc): Add memory_valloc_retry probe.
13687 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13688 (__libc_calloc): Add memory_calloc_retry probe.
13689 * manual/probes.texi: Document them.
13691 * malloc/arena.c (get_free_list): Add probe
13692 memory_arena_reuse_free_list.
13693 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13694 and memory_arena_reuse.
13695 (arena_get2) [!PER_THREAD]: Likewise.
13696 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13697 memory_arena_reuse_realloc.
13698 * manual/probes.texi: Document them.
13700 * malloc/malloc.c (__libc_free): Add
13701 memory_mallopt_free_dyn_thresholds probe.
13702 (__libc_mallopt): Add multiple memory_mallopt probes.
13703 * manual/probes.texi: Document them.
13705 * malloc/malloc.c: Include stap-probe.h.
13706 (__libc_mallopt): Add memory_mallopt probe.
13707 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13708 * manual/probes.texi: New.
13709 * manual/Makefile (chapters): Add probes.
13710 * manual/threads.texi: Set next node.
13712 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13714 [BZ #15963, #13985]
13715 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13716 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13717 Add `Chinese' to `nan' entry name.
13719 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13721 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13722 (POLYNOMIAL): Likewise.
13723 (TAYLOR_SINCOS): Likewise.
13724 (TAYLOR_SLOW): Likewise.
13725 (__sin): Use TAYLOR_SINCOS.
13727 (slow): Use TAYLOR_SLOW.
13729 (bsloww): Likewise.
13730 (csloww): Likewise.
13732 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13734 * stdlib/strtod_l.c: Fix buffer overrun.
13736 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13738 * benchtests/Makefile (bench): Add sincos.
13739 * benchtests/bench-sincos.c: New file.
13741 * math/libm-test.inc (cos_test_data): New test inputs.
13742 (sin_test_data): Likewise.
13744 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13750 (sloww1): Likewise.
13751 (sloww2): Likewise.
13752 (bsloww1): Likewise.
13753 (bsloww2): Likewise.
13754 (cslow2): Likewise.
13755 (csloww1): Likewise.
13756 (csloww2): Likewise.
13758 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13763 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13767 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13769 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13770 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13771 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13772 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13773 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13774 * elf/cache.c (print_entry): Handle the new cache flags.
13776 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13777 Aldy Hernandez <aldyh@redhat.com>
13779 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13780 Change condition to [_SOFT_FLOAT].
13781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13793 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13796 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13799 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13801 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13802 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13803 (__longjmp): Use LOAD_GP to load saved GPRs.
13804 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13805 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13806 (__sigsetjmp): Use SAVE_GP to save GPRs.
13808 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13809 Do not append -msoft-float.
13810 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13812 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13814 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13816 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13819 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13820 (_FPU_GETCW): Use initial "__" on variable and field names but not
13821 on macro parameter name.
13822 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13823 parentheses around reference to macro parameter.
13825 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13827 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13829 (ctype_startup): Use uint32_t in cast and sizeof for
13832 2013-09-11 Jia Liu <proljc@gmail.com>
13834 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13836 [__FreeBSD__]: Likewise.
13838 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13840 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13841 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13842 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13843 (strchr): Remove __strchr_sse42 ifunc selection.
13844 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13845 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13847 2013-09-11 Will Newton <will.newton@linaro.org>
13849 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13850 parameter to RES. Remove hardcoded 1000 value.
13851 * benchtests/bench-skeleton.c (main): Pass RES parameter
13852 to TIMING_INIT and multiply result by 1000.
13854 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13858 2013-09-11 Andreas Schwab <schwab@suse.de>
13860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13862 (O_TMPFILE) [__USE_GNU]: Define.
13863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13866 2013-09-11 Will Newton <will.newton@linaro.org>
13869 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13872 2013-09-11 Will Newton <will.newton@linaro.org>
13875 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13878 2013-09-11 Will Newton <will.newton@linaro.org>
13881 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13884 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13886 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13887 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13892 2013-09-10 Allan McRae <allan@archlinux.org>
13895 * manual/arith.texi (Parsing of Floats): Clarify
13899 * manual/install.texi (Running make install): Mention
13901 * INSTALL: Regenerated.
13903 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13905 * csu/init-first.c (_init): Remove the !SHARED condition around
13906 FPU control word initialization.
13907 * elf/dl-support.c (_dl_fpu_control): New variable.
13908 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13909 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13910 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13911 * math/test-fpucw-static.c: New file.
13912 * math/test-fpucw-ieee.c: New file.
13913 * math/test-fpucw-ieee-static.c: New file.
13914 * math/Makefile (tests): Add `test-fpucw-ieee' and
13916 (tests-static): New variable.
13917 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13919 [($(build-shared),yes)]
13920 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13922 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13925 2013-09-09 Allan McRae <allan@archlinux.org>
13928 * manual/string.texi (Collation Functions): Fix typo in
13930 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13933 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13936 * libio/memstream.c (open_memstream): Fix memory leak.
13937 * libio/wmemstream.c (open_wmemstream): Likewise.
13940 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13942 2013-09-09 Will Newton <will.newton@linaro.org>
13944 * malloc/Makefile: Add tst-realloc to tests.
13945 * malloc/tst-realloc.c: New file.
13947 2013-09-09 Allan McRae <allan@archlinux.org>
13950 * COPYING: Update from GNU website to fix FSF address.
13951 * COPYING.LIB: Likewise.
13953 2013-09-06 David S. Miller <davem@davemloft.net>
13955 * po/zh_TW.po: Update Chinese (traditional) translation from
13956 translation project.
13958 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13959 Joseph Myers <joseph@codesourcery.com>
13961 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13963 (obstack_chunk_alloc): New macro.
13964 (obstack_chunk_free): Likewise.
13965 (record_offset): New function.
13966 (init_locale_data): Likewise.
13967 (align_locale_data): Likewise.
13968 (add_locale_empty): Likewise.
13969 (add_locale_raw_data): Likewise.
13970 (add_locale_raw_obstack): Likewise.
13971 (add_locale_string): Likewise.
13972 (add_locale_wstring): Likewise.
13973 (add_locale_uint32): Likewise.
13974 (add_locale_uint32_array): Likewise.
13975 (add_locale_char): Likewise.
13976 (start_locale_structure): Likewise.
13977 (end_locale_structure): Likewise.
13978 (start_locale_prelude): Likewise.
13979 (end_locale_prelude): Likewise.
13980 (write_locale_data): Take locale_file structure rather than an
13982 * locale/programs/locfile.h: Include "obstack.h".
13983 (struct locale_file): Change to store locale file contents instead
13985 (init_locale_data): New prototype.
13986 (align_locale_data): Likewise.
13987 (add_locale_empty): Likewise.
13988 (add_locale_raw_data): Likewise.
13989 (add_locale_raw_obstack): Likewise.
13990 (add_locale_string): Likewise.
13991 (add_locale_wstring): Likewise.
13992 (add_locale_uint32): Likewise.
13993 (add_locale_uint32_array): Likewise.
13994 (add_locale_char): Likewise.
13995 (start_locale_structure): Likewise.
13996 (end_locale_structure): Likewise.
13997 (start_locale_prelude): Likewise.
13998 (end_locale_prelude): Likewise.
13999 (write_locale_data): Update prototype.
14000 * locale/programs/3level.h (struct TABLE): Remove result field.
14001 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14002 Use new locale_file interface.
14003 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14004 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14005 * locale/programs/ld-address.c (address_output): Use new
14006 locale_file interface.
14007 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14009 (collate_finish): Don't call collseq_table_finalize.
14010 (collate_output): Use new locale_file interface.
14011 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14013 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14014 (TABLE): Move defines earlier in file.
14015 (ELEMENT): Likewise.
14016 (DEFAULT): Likewise.
14017 (wctrans_table_add): Move macro and inline function earlier in
14019 (struct wctype_table): Move type earlier in file.
14020 (add_locale_wctype_table): New static prototype.
14021 (struct locale_ctype_t): Use logical types instead of struct iovec
14022 pointers for members.
14023 (ctype_output): Use new locale_file interface.
14024 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14025 new locale_file interface.
14026 (allocate_arrays): Update for use of new locale_file interface.
14027 * locale/programs/ld-identification.c (identification_output): Use
14028 new locale_file interface.
14029 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14030 * locale/programs/ld-messages.c (messages_output): Likewise.
14031 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14032 * locale/programs/ld-name.c (name_output): Likewise.
14033 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14034 * locale/programs/ld-paper.c (paper_output): Likewise.
14035 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14036 * locale/programs/ld-time.c (time_output): Likewise.
14038 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14040 * benchtests/Makefile: Add memrchr benchmark.
14041 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14042 benchmark as memrchr.
14043 * benchtests/bench-memrchr-ifunc.c: New file.
14044 * benchtests/bench-memrchr.c: New file.
14046 2013-09-06 Will Newton <will.newton@linaro.org>
14048 * benchtests/Makefile (string-bench): Add memcpy.
14050 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14051 Cong Wang <amwang@redhat.com>
14054 * sysdeps/unix/sysv/linux/bits/in.h
14055 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14056 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14057 before __USE_KERNEL_IPV6_DEFS uses.
14058 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14060 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14061 sockaddr_in6, or ipv6_mreq.
14063 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14065 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14066 memory access for final bytes in some large inputs.
14067 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14069 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14071 * string/test-memrchr.c: New file.
14072 * string/test-memrchr-ifunc.c: New file.
14073 * string/Makefile: Add new memrchr testcase.
14075 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14077 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14078 fanotify_init returns EPERM.
14080 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14082 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14084 (top level): Treat second token from macro or constant entries for
14085 allowed headers as allowed.
14086 * include/complex.h: Condition internal declarations on
14088 * include/fenv.h: Condition include of <stdbool.h> and internal
14089 declarations on [!_ISOMAC].
14091 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14094 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14096 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14098 * configure.in (--enable-versioning): Remove configure option.
14099 (libc_cv_asm_symver_directive): Remove configure test.
14100 (libc_cv_ld_version_script_option): Likewise.
14101 (VERSIONING): Remove variable and AC_SUBST.
14102 (DO_VERSIONING): Remove AC_DEFINE.
14103 * configure: Regenerated.
14104 * config.h.in (DO_VERSIONING): Remove macro.
14105 * Makerules [$(versioning) = yes]: Change conditionals to
14106 [$(build-shared) = yes].
14107 * config.make.in (versioning): Remove variable.
14108 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14109 [$(build-shared) = yes].
14110 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14111 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14112 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14113 [$(build-shared) = yes].
14114 * extra-lib.mk [$(versioning) = yes]: Likewise.
14115 * hurd/Makefile [$(versioning) = yes]: Likewise.
14116 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14118 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14120 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14121 [SHARED && !NO_HIDDEN].
14122 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14124 [SHARED && DO_VERSIONING]: Likewise..
14125 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14126 [$(build-shared) = yes].
14127 * manual/install.texi (--disable-versioning): Remove
14129 * INSTALL: Regenerated.
14130 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14132 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14133 [$(build-shared) = yes].
14134 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14135 * sysdeps/i386/i686/multiarch/strstr-c.c
14136 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14137 [SHARED && !NO_HIDDEN].
14138 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14139 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14140 * sysdeps/powerpc/powerpc32/dl-machine.c
14141 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14142 * sysdeps/powerpc/powerpc32/sysdep.h
14143 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14144 to [SHARED && PIC && !NO_HIDDEN].
14145 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14146 conditional to [SHARED].
14148 2013-09-04 Will Newton <will.newton@linaro.org>
14150 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14151 * benchtests/bench-string.h: Include bench-timing.h instead
14152 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14153 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14154 call to HP_TIMING_DIFF_INIT.
14155 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14156 instead of hp-timing.h macros.
14157 * benchtests/bench-memchr.c: Likewise.
14158 * benchtests/bench-memcmp.c: Likewise.
14159 * benchtests/bench-memcpy.c: Likewise.
14160 * benchtests/bench-memmem.c: Likewise.
14161 * benchtests/bench-memmove.c: Likewise.
14162 * benchtests/bench-memset.c: Likewise.
14163 * benchtests/bench-rawmemchr.c: Likewise.
14164 * benchtests/bench-strcasecmp.c: Likewise.
14165 * benchtests/bench-strcasestr.c: Likewise.
14166 * benchtests/bench-strcat.c: Likewise.
14167 * benchtests/bench-strchr.c: Likewise.
14168 * benchtests/bench-strcmp.c: Likewise.
14169 * benchtests/bench-strcpy.c: Likewise.
14170 * benchtests/bench-strcpy_chk.c: Likewise.
14171 * benchtests/bench-strlen.c: Likewise.
14172 * benchtests/bench-strncasecmp.c: Likewise.
14173 * benchtests/bench-strncat.c: Likewise.
14174 * benchtests/bench-strncmp.c: Likewise.
14175 * benchtests/bench-strncpy.c: Likewise.
14176 * benchtests/bench-strnlen.c: Likewise.
14177 * benchtests/bench-strpbrk.c: Likewise.
14178 * benchtests/bench-strrchr.c: Likewise.
14179 * benchtests/bench-strspn.c: Likewise.
14180 * benchtests/bench-strstr.c: Likewise.
14182 2013-09-04 Will Newton <will.newton@linaro.org>
14184 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14186 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14190 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14191 * math/libm-test.inc (lgamma_test_data): Add more tests.
14192 * sysdeps/i386/fpu/libm-test-ulps: Update.
14193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14195 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14197 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14201 Add strcmp-sse2-unaligned
14202 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14204 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14206 * Versions.def (libc): Add GLIBC_2.19.
14208 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14210 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14211 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14213 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14217 intermediate calculations in recurrence.
14218 (__ieee754_ynf): Likewise.
14219 * math/libm-test.inc (jn_test_data): Do not allow spurious
14220 underflow exception. Add more tests.
14221 (yn_test_data): Add more tests.
14222 * sysdeps/i386/fpu/libm-test-ulps: Update.
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14225 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14227 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14229 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14231 * csu/init-first.c: Fix then/than typos.
14232 * locale/programs/ld-collate.c: Likewise.
14233 * locale/programs/linereader.h: Likewise.
14234 * manual/charset.texi: Likewise.
14235 * manual/filesys.texi: Likewise.
14236 * manual/stdio.texi: Likewise.
14237 * manual/string.texi: Likewise.
14238 * stdlib/fmtmsg.c: Likewise.
14239 * sysdeps/i386/stpncpy.S: Likewise.
14240 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14241 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14242 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14243 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14245 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14247 * elf/dl-open.c: Fix typos.
14248 * iconvdata/gbbig5.c: Likewise.
14249 * iconvdata/iso-2022-jp.c: Likewise.
14250 * iconv/gconv_int.h: Likewise.
14251 * iconv/loop.c: Likewise.
14252 * nis/rpcsvc/nis.h: Likewise.
14253 * resolv/ns_name.c: Likewise.
14254 * stdio-common/vfscanf.c: Likewise.
14255 * streams/stropts.h: Likewise.
14256 * sunrpc/rpc_thread.c: Likewise.
14257 * sysdeps/i386/strpbrk.S: Likewise.
14258 * sysdeps/ieee754/k_standard.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14261 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14262 * sysdeps/mach/hurd/profil.c: Likewise.
14263 * sysdeps/s390/dl-procinfo.h: Likewise.
14264 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14265 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14266 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14267 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14270 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14272 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14275 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14277 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14278 aix specific files.
14279 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14282 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14285 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14288 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14289 Roland McGrath <roland@hack.frob.com>
14291 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14292 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14294 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14296 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14297 __executable_start symbol instead of _start.
14299 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14301 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14302 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14304 * sysdeps/gnu/ldsodefs.h: ... this new file.
14306 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14307 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14308 instead of ELFOSABI_LINUX.
14310 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14311 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14312 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14313 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14315 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14316 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14319 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14320 (ibm_extended_long_double): Add ieee_nan member.
14321 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14322 (do_test): New function.
14324 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14326 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14327 functions, renamed from truncdfsf_test, trunctfsf_test,
14329 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14331 (do_test): Run all these.
14333 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14335 * argp/argp-help.c: Fix typos.
14336 * argp/argp-parse.c: Likewise.
14337 * debug/backtracesyms.c: Likewise.
14338 * elf/elf.h: Likewise.
14339 * malloc/malloc.c: Likewise.
14340 * nis/nis_print.c: Likewise.
14341 * resolv/res_comp.c: Likewise.
14342 * stdlib/stdlib.h: Likewise.
14343 * sunrpc/clnt_tcp.c: Likewise.
14344 * sunrpc/clnt_udp.c: Likewise.
14345 * sunrpc/clnt_unix.c: Likewise.
14346 * sysdeps/unix/bsd/ptsname.c: Likewise.
14347 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14348 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14355 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14357 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14359 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14362 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14365 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14366 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14367 ($(objpfx)bug-dl-leaf): New rule.
14368 ($(objpfx)bug-dl-leaf.so): Likewise.
14369 ($(objpfx)bug-dl-leaf.out): Likewise.
14370 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14371 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14372 * dlfcn/bug-dl-leaf.c: New test.
14373 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14374 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14375 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14376 (dlclose): Likewise.
14377 (dlmopen): Likewise.
14379 2013-08-27 Roland McGrath <roland@hack.frob.com>
14381 * include/netdb.h [!_ISOMAC]:
14382 Don't include <tls.h>.
14383 (h_errno, __libc_h_errno): Move declaration and macros out of
14386 * include/resolv.h [_RESOLV_H_]:
14387 Don't include <tls.h>.
14388 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14389 * resolv/res_libc.c: Don't include <tls.h>.
14390 (_res): Use __attribute__ ((nocommon)) in place of
14391 __attribute__ ((section (".bss"))).
14393 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14394 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14396 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14398 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14399 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14401 * resolv/res_mkquery.c: Include <sys/time.h>.
14403 * inet/ifreq.c: Moved to ...
14404 * sysdeps/unix/ifreq.c: ... here.
14405 * inet/ifreq.c: New file, true stub version.
14407 * socket/sa_len.c: New file.
14408 * socket/Makefile (aux): Add it.
14409 * sysdeps/unix/sysv/linux/Makefile
14410 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14411 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14412 and #include <socket/sa_len.c>.
14413 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14414 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14416 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14417 * bits/socket.h: ... here.
14419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14420 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14421 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14423 2013-08-27 Andreas Schwab <schwab@suse.de>
14426 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14427 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14428 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14429 * string/test-strcasecmp.c (test_main): Run tests in several
14431 * string/test-strncasecmp.c (test_main): Likewise.
14433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14434 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14435 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14437 (__strncasecmp_ssse3) [PIC]: Likewise.
14439 2013-08-26 Roland McGrath <roland@hack.frob.com>
14441 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14443 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14444 instead of explicitly declaring xdecrypt.
14445 * nis/nss_nis/nis-publickey.c: Likewise.
14447 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14450 * nscd/aicache.c: Include res_hconf.h.
14451 (addhstaiX): Initialize res_hconf.
14453 2013-08-26 Andreas Schwab <schwab@suse.de>
14455 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14456 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14458 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14460 * nscd/aicache.c (addhstaiX): Fix indentation.
14462 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14464 * configure.ac: Quote $build_pt_chown test.
14465 * configure: Regenerated.
14467 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14470 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14471 * math/s_cexpf.c (__cexpf): Likewise.
14472 * math/s_cexpl.c (__cexpl): Likewise.
14473 * math/libm-test.inc (cexp_test_data): Correct expected return
14474 value for NaN + i0. Add another test.
14476 2013-08-22 David S. Miller <davem@davemloft.net>
14478 * po/ca.po: Update Catalan translation from translation project.
14479 * po/uk.po: Add Ukrainian translations from translation project.
14481 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14484 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14485 is infinite, not alongside NaN test.
14486 * math/s_fdimf.c (__fdimf): Likewise.
14487 * math/s_fdiml.c (__fdiml): Likewise.
14488 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14489 errno is unchanged.
14491 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14493 * argp/argp-help.c: Fix typos.
14494 * crypt/speeds.c: Likewise.
14495 * csu/check_fds.c: Likewise.
14496 * elf/dl-load.c: Likewise.
14497 * elf/dl-open.c: Likewise.
14498 * elf/reldep3.c: Likewise.
14499 * elf/reldep.c: Likewise.
14500 * elf/sprof.c: Likewise.
14501 * iconv/iconv_charmap.c: Likewise.
14502 * iconv/skeleton.c: Likewise.
14503 * iconv/strtab.c: Likewise.
14504 * io/lockf64.c: Likewise.
14505 * libio/libioP.h: Likewise.
14506 * resolv/gai_notify.c: Likewise.
14507 * resolv/ns_name.c: Likewise.
14508 * resolv/ns_samedomain.c: Likewise.
14509 * resolv/res_send.c: Likewise.
14510 * stdlib/random.c: Likewise.
14511 * sunrpc/rpc/xdr.h: Likewise.
14512 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14513 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14514 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14515 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14516 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14517 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14520 * sysdeps/mach/hurd/check_fds.c: Likewise.
14521 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14522 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14523 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14525 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14526 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14527 * sysdeps/pthread/aio_notify.c: Likewise.
14528 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14529 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14530 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14532 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14534 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14536 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14537 version if bit_Slow_SSE4_2 is set.
14538 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14541 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14544 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14545 trampoline stack frame information.
14546 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14547 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14548 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14549 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14550 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14551 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14552 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14553 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14555 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14556 interrupting a syscall and set with option SA_SIGINFO.
14558 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14561 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14562 argument is infinite.
14563 * math/s_cprojf.c (__cprojf): Likewise.
14564 * math/s_cprojl.c (__cprojl): Likewise.
14565 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14566 * math/libm-test.inc (cproj_test_data): Add more tests.
14568 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14570 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14571 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14572 size. Use __ffs to determine corresponding shift.
14574 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14575 Roland McGrath <roland@hack.frob.com>
14577 * Makefile (INSTALL): Remove trailing blank lines from output of
14580 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14582 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14583 Align 32 bit compat elf_greg to 8 bytes.
14585 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14587 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14589 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14591 * string/strcoll_l.c (coll_seq): New structure.
14592 (get_next_seq_cached): New function.
14593 (get_next_seq): New function.
14594 (do_compare): New function.
14595 (STRCOLL): Use GNU style definition. Simplify implementation
14596 by using get_next_seq, get_next_seq_cached and do_compare.
14598 2013-08-16 Florian Weimer <fweimer@redhat.com>
14602 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14604 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14606 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14607 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14608 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14610 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14611 GETDENTS_64BIT_ALIGNED.
14612 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14613 * manual/filesys.texi (Reading/Closing Directory): Document
14614 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14616 * manual/conf.texi (Limits for Files): Add portability note to
14617 NAME_MAX, PATH_MAX.
14618 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14620 2013-08-13 Andreas Schwab <schwab@suse.de>
14623 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14625 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14626 LDBL_MAX_EXP >= 16384]: Add tests for it.
14628 2013-08-12 David S. Miller <davem@davemloft.net>
14630 * version.h (RELEASE): Set to "development".
14631 (VERSION): Set to "2.18.90".
14632 * NEWS: Add 2.19 section.
14634 2013-08-03 David S. Miller <davem@davemloft.net>
14636 * po/ko.po: Update Korean translation from translation project.
14638 2013-08-01 David S. Miller <davem@davemloft.net>
14640 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14641 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14644 2013-07-30 David S. Miller <davem@davemloft.net>
14646 * po/fr.po: Update French translation from translation project.
14648 2013-07-28 David S. Miller <davem@davemloft.net>
14650 * po/cs.po: Update Czech translation from translation project.
14652 * po/sv.po: Update Swedish translation from translation project.
14654 2013-07-27 David S. Miller <davem@davemloft.net>
14656 * po/eo.po: Update Esperanto translation from translation project.
14658 * po/vi.po: Update Vietnamese translation from translation project.
14660 * po/de.po: Update German translation from translation project.
14662 2013-07-26 David S. Miller <davem@davemloft.net>
14664 * po/bg.po: Update Bulgarian translation from translation project.
14666 * po/nl.po: Update Dutch translation from translation project.
14667 * po/pl.po: Update Polish translation from translation project.
14668 * po/ru.po: Update Russian translation from translation project.
14670 2013-07-24 David S. Miller <davem@davemloft.net>
14672 * po/libc.pot: Update.
14674 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14676 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14677 variable page size.
14678 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14679 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14680 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14682 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14684 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14686 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14687 Andreas Schwab <schwab@suse.de>
14688 Roland McGrath <roland@hack.frob.com>
14689 Joseph Myers <joseph@codesourcery.com>
14690 Carlos O'Donell <carlos@redhat.com>
14693 * config.h.in: Define HAVE_PT_CHOWN.
14694 * config.make.in (build-pt-chown): New variable.
14695 * configure.in (--enable-pt_chown): New configure option.
14696 * configure: Regenerate.
14697 * login/Makefile: Include Makeconfig. Build pt_chown only if
14698 build-pt-chown is enabled.
14699 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14700 pt_chown to fix pty ownership.
14701 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14703 * manual/install.texi (Configuring and compiling): Mention
14704 --enable-pt_chown. Add @findex for grantpt.
14705 * INSTALL: Regenerate.
14707 2013-07-20 David S. Miller <davem@davemloft.net>
14709 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14710 difference between 32-bit and 64-bit.
14712 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14715 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14716 Avoid system header dependency with -ffreestanding.
14717 ($(objpfx)bits/syscall%d): Likewise.
14719 2013-07-13 David S. Miller <davem@davemloft.net>
14721 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14722 underflows from atanl/atan2l due to bug 15319.
14723 (casinh_test_data): Likewise.
14725 2013-07-07 David S. Miller <davem@davemloft.net>
14727 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14729 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14731 * sysdeps/i386/fpu/libm-test-ulps: Update.
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14734 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14736 * configure.in (--enable-lock-elision): Fix message text.
14737 * INSTALL: Regenerate.
14738 * configure: Regenerate.
14740 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14744 2013-07-03 Andreas Jaeger <aj@suse.de>
14746 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14748 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14749 (ptrace_peeksiginfo_args): Add.
14750 (__ptrace_peeksiginfo_flags): Add.
14751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14755 2013-07-03 Allan McRae <allan@archlinux.org>
14757 * sysdeps/i386/fpu/libm-test-ulps: Update.
14759 2013-07-02 David S. Miller <davem@davemloft.net>
14761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14763 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14767 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14769 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14772 2013-07-02 Andi Kleen <ak@linux.intel.com>
14774 * config.h.in (ENABLE_LOCK_ELISION): Add.
14775 * configure.in (--enable-lock-elision): Add option.
14776 * manual/install.texi: Document --enable lock elision.
14777 * configure: Regenerate
14778 * INSTALL: Regenerate.
14780 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14782 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14783 SSE4.2 strcasecmp for libc.a.
14784 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14786 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14789 * soft-fp/op-common.h (_FP_FMA): New macro.
14790 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14791 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14792 (_FP_MUL_MEAT_1_imm): ... here.
14793 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14794 (_FP_MUL_MEAT_1_wide): ... here.
14795 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14796 (_FP_MUL_MEAT_1_hard): ... here.
14797 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14798 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14799 (_FP_MUL_MEAT_2_wide): ... here.
14800 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14801 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14802 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14803 (_FP_MUL_MEAT_2_gmp): ... here.
14804 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14805 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14806 (_FP_MUL_MEAT_4_wide): ... here.
14807 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14808 (_FP_MUL_MEAT_4_gmp): ... here.
14809 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14810 (_FP_WFRACBITS_DW_S): Likewise.
14811 (_FP_WFRACXBITS_DW_S): Likewise.
14812 (_FP_HIGHBIT_DW_S): Likewise.
14813 (FP_FMA_S): Likewise.
14814 (_FP_FRAC_HIGH_DW_S): Likewise.
14815 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14816 (_FP_WFRACBITS_DW_D): Likewise.
14817 (_FP_WFRACXBITS_DW_D): Likewise.
14818 (_FP_HIGHBIT_DW_D): Likewise.
14819 (FP_FMA_D): Likewise.
14820 (_FP_FRAC_HIGH_DW_D): Likewise.
14821 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14822 (_FP_WFRACBITS_DW_E): Likewise.
14823 (_FP_WFRACXBITS_DW_E): Likewise.
14824 (_FP_HIGHBIT_DW_E): Likewise.
14825 (FP_FMA_E): Likewise.
14826 (_FP_FRAC_HIGH_DW_E): Likewise.
14827 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14828 (_FP_WFRACBITS_DW_Q): Likewise.
14829 (_FP_WFRACXBITS_DW_Q): Likewise.
14830 (_FP_HIGHBIT_DW_Q): Likewise.
14831 (FP_FMA_Q): Likewise.
14832 (_FP_FRAC_HIGH_DW_Q): Likewise.
14833 * soft-fp/fmasf4.c: New file.
14834 * soft-fp/fmadf4.c: Likewise.
14835 * soft-fp/fmatf4.c: Likewise.
14837 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14840 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14842 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14844 (index_Slow_SSE4_2): Likewise.
14845 (index_Prefer_PMINUB_for_stringop): Likewise.
14846 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14847 bit_Slow_SSE4_2 is set.
14848 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14849 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14851 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14853 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14854 rtld_global._dl_hwcap2.
14855 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14857 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14858 POWER8 feature descriptions defined in _dl_hwcap2.
14859 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14860 string handling for POWER8 feature bits.
14861 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14862 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14863 _dl_powerpc_cap_flags.
14864 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14865 * sysdeps/powerpc/rtld-global-offsets.sym
14866 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14867 _dl_hwcap2 in the rtld_global_ro structure.
14869 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14871 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14872 hardware capabilities in support of AT_HWCAP2.
14873 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14874 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14876 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14877 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14878 explicitly the unknown a_type display mechanism is used.
14879 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14880 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14882 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14883 to macro prototype for AT_HWCAP2 support.
14884 * sysdeps/i386/dl-procinfo.h: Likewise.
14885 * sysdeps/s390/dl-procinfo.h: Likewise.
14886 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14887 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14888 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14889 return -1 for unknown a_type display fallback.
14890 * sysdeps/sparc/dl-procinfo.h: Likewise.
14891 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14892 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14894 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14896 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14897 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14899 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14902 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14903 mprotect making __stack_prot writable.
14905 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14906 Joseph Myers <joseph@codesourcery.com>
14908 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14909 as being properly aligned.
14911 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14913 * dlfcn/modstatic5.c: New file.
14914 * dlfcn/tststatic5.c: New file.
14915 * dlfcn/Makefile (tests): Add tststatic5.
14916 (tests-static): Likewise.
14917 (modules-names): Add modstatic5.
14918 (tststatic5-ENV): New variable.
14919 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14922 * elf/dl-support.c (_dl_main_map): New variable.
14923 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14924 (_dl_nns, _dl_load_adds): Set to 1.
14925 (_dl_initial_searchlist): Refer to _dl_main_map.
14926 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14927 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14928 call to _dl_get_origin.
14929 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14931 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14932 * dlfcn/modstatic3.c: New file.
14933 * dlfcn/tststatic3.c: New file.
14934 * dlfcn/tststatic4.c: New file.
14935 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14936 (tests-static): Likewise.
14937 (modules-names): Add modstatic3.
14938 (tststatic3-ENV, tststatic4-ENV): New variables.
14939 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14940 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14942 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14944 * configure.in (CC): Require GCC version 4.4 or later.
14945 * configure: Regenerated.
14946 * manual/install.texi (Tools for Compilation): Update GCC version
14948 * INSTALL: Regenerated.
14950 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14953 * string/test-memcmp.c (check2): New.
14954 (main): Call check2.
14956 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14958 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14961 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14963 (dl_open_worker) [!SHARED]: ... here.
14965 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14967 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14969 2013-06-25 Richard Henderson <rth@redhat.com>
14971 * locale/programs/locarchive.c: Include <libc-internal.h>
14973 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14975 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14976 trailing whitespace removed.
14978 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14981 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14982 * locale/programs/locarchive.c: Include libc-mmap.h.
14983 (prepare_address_space): Take two new outputs (the mmap base and len).
14984 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14986 (create_archive): Declare new mmap base and len values for
14987 prepare_address_space, and store the result in ah.
14988 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14989 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14990 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14991 Declare new mmap base and len values for
14992 prepare_address_space, and store the result in new_ah.
14993 (open_archive): Declare new mmap base and len values for
14994 prepare_address_space, and store the result in ah.
14995 (close_archive): If ah->mmap_base is not NULL, use that and
14996 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14997 * sysdeps/generic/libc-mmap.h: New file.
14999 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15001 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15002 (ALIGN_UP): Likewise.
15003 (PTR_ALIGN_DOWN): Likewise.
15004 (PTR_ALIGN_UP): Likewise.
15006 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15008 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15009 entry mapped to PPC_PLATFORM_POWER8.
15010 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15012 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15013 (_dl_string_platform): Add case for exporting platform position for
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15016 search path to sysdeps/powerpc/powerpc32/power8 directory.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15018 search path to sysdeps/powerpc/powerpc64/power8 directory.
15019 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15020 power7 directories.
15021 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15022 power7 directories.
15024 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15026 * INSTALL: Regenerate.
15028 * nscd/connections.c (nscd_init): Fix comment.
15030 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15032 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15035 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15036 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15038 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15040 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15042 (DL_DST_REQ_STATIC): Remove macro.
15044 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15047 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15048 with a shift of 0 bits.
15050 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15052 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15055 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15058 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15060 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15062 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15063 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15064 accepts -fno-tree-loop-distribute-patterns.
15065 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15066 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15068 * string/memset.c (memset): Likewise.
15069 * string/test-memmove.c (simple_memmove): Disable loop transformation
15071 * string/test-memset.c (simple_memset): Likewise.
15072 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15073 * benchtests/bench-memset.c (simple_memset): Likewise.
15074 * configure: Regenerated.
15076 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15078 * math/test-misc.c (main): Ignore fesetround failure when failures
15079 of subsequent rounding tests would be ignored.
15082 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15083 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15084 * math/fegetenv.c (__fegetenv): Return 0.
15085 * math/fegetexcept.c (fegetexcept): Return 0.
15086 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15088 * math/feholdexcpt.c (feholdexcept): Return 0.
15089 * math/fesetenv.c (__fesetenv): Return 0.
15090 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15091 argument FE_TONEAREST.
15092 * math/feupdateenv.c (__feupdateenv): Return 0.
15093 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15095 2013-06-18 Roland McGrath <roland@hack.frob.com>
15097 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15098 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15099 ($(objpfx)rtld-%.os rules): Use them.
15101 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15103 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15106 2013-06-17 Roland McGrath <roland@hack.frob.com>
15108 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15109 length of target pattern, then descending length of dependency pattern.
15110 * configure.in (AWK): Require gawk 3.1.2 or newer.
15111 * manual/install.texi (Tools for Compilation): Say that we do.
15112 * configure: Regenerated.
15114 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15115 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15116 * scripts/sysd-rules.awk: ... this new script.
15117 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15118 than a glob-style pattern.
15120 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15122 * math/test-misc.c (main): Do not treat incorrectly rounded
15123 conversions as failure unless ROUNDING_TESTS passes.
15125 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15128 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15129 restore exception state around main square root computation, then
15130 check for inexactness explicitly.
15132 * math/libm-test.inc (fma_test_data): Add another test.
15134 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15136 * manual/threads.texi (Non-POSIX Extensions): New document
15137 node. Document pthread_getattr_default_np and
15138 pthread_setattr_default_np.
15140 * Versions.def (libpthread): Add GLIBC_2.18.
15141 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15150 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15161 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15164 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15166 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15167 H.J. Lu <hjl.tools@gmail.com>
15170 * sysdeps/x86_64/rtld-memset.c: Remove file.
15171 * sysdeps/x86_64/rtld-memset.S: New file.
15173 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15175 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15176 (test_in_one_mode): Take arguments for whether the rounding mode
15177 is supported for each floating-point type.
15178 (do_test): Pass new arguments to test_in_one_mode using
15181 2013-06-13 Roland McGrath <roland@hack.frob.com>
15183 * posix/tst-waitid.c (do_test): Distinguish different instances of
15184 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15185 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15186 before entering the kernel for waitpid.
15188 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15190 * NEWS: Fix note on clock function precision. Text by Roland
15193 2013-06-13 Roland McGrath <roland@hack.frob.com>
15195 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15196 it into place only when and if the sanity check passes.
15198 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15200 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15201 output for whether conversion result is exact. Take argument
15202 indicating whether type is IBM long double.
15203 (round_for_all): Change need_exact field to ibm_ld.
15204 * stdlib/tst-strtod-round.c (struct exactness): New type.
15205 (struct test): Change bool ld_ok field to struct exactness exact.
15206 (TEST): Update all definitions for change to field.
15207 (tests): Regenerate array contents.
15208 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15209 field value. Check for IBM long double here.
15210 (do_test): Update calls to test_in_one_mode.
15212 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15215 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15216 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15218 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15221 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15222 generated by the compiler on loop optimizations.
15223 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15224 general definitions.
15226 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15228 * math/bug-nextafter.c: Include <math-tests.h>.
15229 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15231 * math/bug-nexttoward.c: Include <math-tests.h>.
15232 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15234 * math/test-misc.c: Include <math-tests.h>.
15235 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15238 2013-06-12 Andreas Jaeger <aj@suse.de>
15240 * po/ia.po: Update Interlingua translation from translation
15243 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15245 * include/fenv.h: Include stdbool.h.
15246 (struct rm_ctx): New structure.
15247 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15249 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15250 (SET_RESTORE_ROUNDF): Likewise.
15251 (SET_RESTORE_ROUNDL): Likewise.
15252 (SET_RESTORE_ROUND_NOEX): Likewise.
15253 (SET_RESTORE_ROUND_NOEXF): Likewise.
15254 (SET_RESTORE_ROUND_NOEXL): Likewise.
15255 (SET_RESTORE_ROUND_53BIT): Likewise.
15256 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15257 (libc_feresetround_noexf_ctx): Likewise.
15258 (libc_feresetround_noexl_ctx): Likewise.
15259 (libc_feholdsetround_53bit_ctx): Likewise.
15260 (libc_feresetround_53bit_ctx): Likewise.
15261 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15262 (libc_feholdexcept_setround_sse_ctx): New function.
15263 (libc_fesetenv_sse_ctx): Likewise.
15264 (libc_feupdateenv_sse_ctx): Likewise.
15265 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15266 (libc_feholdexcept_setround_387_ctx): Likewise.
15267 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15268 (libc_feholdsetround_387_prec_ctx): Likewise.
15269 (libc_feholdsetround_387_ctx): Likewise.
15270 (libc_feholdsetround_387_53bit_ctx): Likewise.
15271 (libc_feholdsetround_sse_ctx): Likewise.
15272 (libc_feresetround_sse_ctx): Likewise.
15273 (libc_feresetround_387_ctx): Likewise.
15274 (libc_feupdateenv_387_ctx): Likewise.
15275 (libc_feholdexcept_setroundf_ctx): Define macro.
15276 (libc_fesetenvf_ctx): Likewise.
15277 (libc_feupdateenvf_ctx): Likewise.
15278 (libc_feholdsetroundf_ctx): Likewise.
15279 (libc_feresetroundf_ctx): Likewise.
15280 (libc_feholdexcept_setround_ctx): Likewise.
15281 (libc_fesetenv_ctx): Likewise.
15282 (libc_feupdateenv_ctx): Likewise.
15283 (libc_feholdsetround_ctx): Likewise.
15284 (libc_feresetround_ctx): Likewise.
15285 (libc_feholdexcept_setroundl_ctx): Likewise.
15286 (libc_feupdateenvl_ctx): Likewise.
15287 (libc_feholdsetroundl_ctx): Likewise.
15288 (libc_feresetroundl_ctx): Likewise.
15289 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15290 (libc_feresetround_53bit_ctx): Likewise.
15292 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15294 * locale/iso-639.def: Convert to UTF-8.
15296 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15298 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15299 (EXCEPTION_TESTS_double): Likewise.
15300 (EXCEPTION_TESTS_long_double): Likewise.
15301 (EXCEPTION_TESTS): Likewise.
15302 * math/libm-test.inc (test_exceptions): Only test exceptions if
15303 EXCEPTION_TESTS (FLOAT).
15305 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15307 * benchtests/Makefile (string-bench): Add strcpy_chk and
15309 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15310 * benchtests/bench-stpcpy_chk.c: New file.
15311 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15312 * benchtests/bench-strcpy_chk.c: New file.
15313 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15315 (do_test): Likewise.
15317 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15319 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15320 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15321 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15322 with tabs where appropriate.
15323 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15325 [PPC_PLATFORM_PPC440]: Likewise.
15326 [PPC_PLATFORM_PPC464]: Likewise.
15327 [PPC_PLATFORM_PPC476]: Likewise.
15328 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15329 ppc464, and ppc476 platform strings merging from ports/
15332 2013-06-11 Andreas Schwab <schwab@suse.de>
15335 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15336 (from_ucs4_idx): Regenerate.
15337 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15338 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15339 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15340 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15341 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15342 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15343 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15344 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15345 from FROM_LOOP and TO_LOOP specific macros.
15346 (BODY): Handle combining characters.
15347 * iconvdata/BIG5HKSCS.irreversible: Update.
15348 * iconvdata/BIG5HKSCS.precomposed: New file.
15349 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15351 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15353 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15355 * include/sys/time.h: Fix indentation and add copyright header.
15357 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15358 (do_test): Likewise.
15359 * string/test-memchr.c (do_one_test): Likewise.
15360 (do_test): Likewise.
15361 * string/test-memcmp.c (do_one_test): Likewise.
15362 (do_test): Likewise.
15363 * string/test-memcpy.c (do_one_test): Likewise.
15364 (do_test): Likewise.
15365 * string/test-memmem.c (do_one_test): Likewise.
15366 (do_test): Likewise.
15367 (do_random_tests): Likewise.
15368 * string/test-memmove.c (do_one_test): Likewise.
15369 (do_test): Likewise.
15370 * string/test-memset.c (do_one_test): Likewise.
15371 (do_test): Likewise.
15372 * string/test-rawmemchr.c (do_one_test): Likewise.
15373 (do_test): Likewise.
15374 * string/test-strcasecmp.c (do_one_test): Likewise.
15375 (do_test): Likewise.
15376 * string/test-strcasestr.c (do_one_test): Likewise.
15377 (do_test): Likewise.
15378 * string/test-strcat.c (do_one_test): Likewise.
15379 (do_test): Likewise.
15380 * string/test-strchr.c (do_one_test): Likewise.
15381 (do_test): Likewise.
15382 * string/test-strcmp.c (do_one_test): Likewise.
15383 (do_test): Likewise.
15384 * string/test-strcpy.c (do_one_test): Likewise.
15385 (do_test): Likewise.
15386 * string/test-string.h: Likewise.
15387 (test_init): Likewise.
15388 * string/test-strlen.c (do_one_test): Likewise.
15389 (do_test): Likewise.
15390 * string/test-strncasecmp.c (do_one_test): Likewise.
15391 (do_test): Likewise.
15392 * string/test-strncat.c (do_one_test): Likewise.
15393 (do_test): Likewise.
15394 * string/test-strncmp.c (do_one_test): Likewise.
15395 (do_test_limit): Likewise.
15396 (do_test): Likewise.
15397 * string/test-strncpy.c (do_one_test): Likewise.
15398 (do_test): Likewise.
15399 * string/test-strnlen.c (do_one_test): Likewise.
15400 (do_test): Likewise.
15401 * string/test-strpbrk.c (do_one_test): Likewise.
15402 (do_test): Likewise.
15403 * string/test-strrchr.c (do_one_test): Likewise.
15404 (do_test): Likewise.
15405 * string/test-strspn.c (do_one_test): Likewise.
15406 (do_test): Likewise.
15407 * string/test-strstr.c (do_one_test): Likewise.
15408 (do_test): Likewise.
15410 * benchtests/Makefile (string-bench): Add string benchmarks.
15411 * benchtests/bench-bcopy-ifunc.c: New file.
15412 * benchtests/bench-bcopy.c: New file.
15413 * benchtests/bench-bzero-ifunc.c: New file.
15414 * benchtests/bench-bzero.c: New file.
15415 * benchtests/bench-memccpy-ifunc.c: New file.
15416 * benchtests/bench-memccpy.c: New file.
15417 * benchtests/bench-memchr-ifunc.c: New file.
15418 * benchtests/bench-memchr.c: New file.
15419 * benchtests/bench-memcmp-ifunc.c: New file.
15420 * benchtests/bench-memcmp.c: New file.
15421 * benchtests/bench-memmem-ifunc.c: New file.
15422 * benchtests/bench-memmem.c: New file.
15423 * benchtests/bench-memmove-ifunc.c: New file.
15424 * benchtests/bench-memmove.c: New file.
15425 * benchtests/bench-mempcpy-ifunc.c: New file.
15426 * benchtests/bench-mempcpy.c: New file.
15427 * benchtests/bench-memset-ifunc.c: New file.
15428 * benchtests/bench-memset.c: New file.
15429 * benchtests/bench-rawmemchr-ifunc.c: New file.
15430 * benchtests/bench-rawmemchr.c: New file.
15431 * benchtests/bench-stpcpy-ifunc.c: New file.
15432 * benchtests/bench-stpcpy.c: New file.
15433 * benchtests/bench-stpncpy-ifunc.c: New file.
15434 * benchtests/bench-stpncpy.c: New file.
15435 * benchtests/bench-strcasecmp-ifunc.c: New file.
15436 * benchtests/bench-strcasecmp.c: New file.
15437 * benchtests/bench-strcasestr-ifunc.c: New file.
15438 * benchtests/bench-strcasestr.c: New file.
15439 * benchtests/bench-strcat-ifunc.c: New file.
15440 * benchtests/bench-strcat.c: New file.
15441 * benchtests/bench-strchr-ifunc.c: New file.
15442 * benchtests/bench-strchr.c: New file.
15443 * benchtests/bench-strchrnul-ifunc.c: New file.
15444 * benchtests/bench-strchrnul.c: New file.
15445 * benchtests/bench-strcmp-ifunc.c: New file.
15446 * benchtests/bench-strcmp.c: New file.
15447 * benchtests/bench-strcpy-ifunc.c: New file.
15448 * benchtests/bench-strcpy.c: New file.
15449 * benchtests/bench-strcspn-ifunc.c: New file.
15450 * benchtests/bench-strcspn.c: New file.
15451 * benchtests/bench-strlen-ifunc.c: New file.
15452 * benchtests/bench-strlen.c: New file.
15453 * benchtests/bench-strncasecmp-ifunc.c: New file.
15454 * benchtests/bench-strncasecmp.c: New file.
15455 * benchtests/bench-strncat-ifunc.c: New file.
15456 * benchtests/bench-strncat.c: New file.
15457 * benchtests/bench-strncmp-ifunc.c: New file.
15458 * benchtests/bench-strncmp.c: New file.
15459 * benchtests/bench-strncpy-ifunc.c: New file.
15460 * benchtests/bench-strncpy.c: New file.
15461 * benchtests/bench-strnlen-ifunc.c: New file.
15462 * benchtests/bench-strnlen.c: New file.
15463 * benchtests/bench-strpbrk-ifunc.c: New file.
15464 * benchtests/bench-strpbrk.c: New file.
15465 * benchtests/bench-strrchr-ifunc.c: New file.
15466 * benchtests/bench-strrchr.c: New file.
15467 * benchtests/bench-strspn-ifunc.c: New file.
15468 * benchtests/bench-strspn.c: New file.
15469 * benchtests/bench-strstr-ifunc.c: New file.
15470 * benchtests/bench-strstr.c: New file.
15472 * benchtests/Makefile: Disable parallel execution of targets.
15473 (string-bench): Add memcpy.
15474 (benchset): New variable to store a list of benchmark sets.
15475 (bench-func): Renamed from bench.
15476 (bench-set): New target.
15477 (bench): Depend on bench-func and bench-set.
15478 * benchtests/README: Add section on benchmark sets.
15479 * benchtests/bench-memcpy-ifunc.c: New file.
15480 * benchtests/bench-memcpy.c: New file.
15481 * benchtests/bench-string.h: New file.
15483 2013-06-11 Andreas Schwab <schwab@suse.de>
15486 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15487 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15488 values in the triple.
15489 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15490 terminator in the group key.
15492 2013-06-11 Andreas Jaeger <aj@suse.de>
15494 * po/zh_TW.po: Update Chinese (traditional) translation from
15495 translation project.
15497 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15499 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15500 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15501 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15502 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15503 (clock_getcpuclockid): Likewise.
15504 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15505 Add weak_alias and libc_hidden_def.
15506 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15507 * rt/clock_gettime.c (clock_gettime): Rename to
15508 __clock_gettime. Add weak_alias and libc_hidden_def.
15509 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15510 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15511 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15512 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15513 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15515 * rt/clock_settime.c (clock_settime): Rename to
15516 __clock_settime. Add weak_alias and libc_hidden_def.
15517 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15519 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15521 * mach/err_boot.sub: Remove trailing whitespace.
15522 * mach/err_ipc.sub: Likewise.
15523 * mach/err_mach.sub: Likewise.
15525 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15526 (ROUNDING_TESTS_double): Likewise.
15527 (ROUNDING_TESTS_long_double): Likewise.
15528 (ROUNDING_TESTS): Likewise.
15529 * math/libm-test.inc: Include <math-tests.h>.
15530 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15531 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15532 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15533 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15535 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15537 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15540 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15542 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15543 otherwise empty TRANS lines.
15544 * sysdeps/gnu/errlist.c: Regenerated.
15546 * catgets/gencat.c (error_print): Use (void) in function
15548 * crypt/crypt_util.c (__init_des): Likewise.
15549 * crypt/speeds.c (Stop): Likewise.
15551 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15552 * inet/ruserpass.c (token): Likewise.
15553 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15554 * intl/localealias.c (extend_alias_table): Likewise.
15555 * intl/plural-exp.c (init_germanic_plural): Likewise.
15556 * libio/fcloseall.c (__fcloseall): Likewise.
15557 * libio/genops.c (_IO_flush_all): Likewise.
15558 (_IO_flush_all_linebuffered): Likewise.
15559 (_IO_cleanup): Likewise.
15560 (_IO_iter_begin): Likewise.
15561 (_IO_iter_end): Likewise.
15562 (_IO_list_lock): Likewise.
15563 (_IO_list_unlock): Likewise.
15564 (_IO_list_resetlock): Likewise.
15565 * libio/getchar.c (getchar): Likewise.
15566 * libio/getchar_u.c (getchar_unlocked): Likewise.
15567 * libio/getwchar.c (getwchar): Likewise.
15568 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15569 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15570 * login/getpt.c (__getpt): Likewise.
15571 * login/tst-utmp.c (main): Likewise.
15572 * malloc/hooks.c (__malloc_check_init): Likewise.
15573 * malloc/malloc.c (__malloc_stats): Likewise.
15574 * malloc/mtrace.c (tr_break): Likewise.
15575 (mtrace): Likewise.
15576 (muntrace): Likewise.
15577 * misc/fstab.c (endfsent): Likewise.
15578 * misc/getclktck.c (__getclktck): Likewise.
15579 * misc/getdtsz.c (__getdtablesize): Likewise.
15580 * misc/gethostid.c (gethostid): Likewise.
15581 * misc/getpagesize.c (__getpagesize): Likewise.
15582 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15583 (__get_nprocs): Likewise.
15584 (__get_phys_pages): Likewise.
15585 (__get_avphys_pages): Likewise.
15586 * misc/getttyent.c (getttyent): Likewise.
15587 (setttyent): Likewise.
15588 (endttyent): Likewise.
15589 * misc/getusershell.c (getusershell): Likewise.
15590 (endusershell): Likewise.
15591 (setusershell): Likewise.
15592 (initshells): Likewise.
15593 * misc/hsearch.c (__hdestroy): Likewise.
15594 * misc/sync.c (sync): Likewise.
15595 * misc/syslog.c (closelog_internal): Likewise.
15596 (closelog): Likewise.
15597 * misc/ttyslot.c (ttyslot): Likewise.
15598 * misc/vhangup.c (vhangup): Likewise.
15599 * posix/fork.c (__fork): Likewise.
15600 * posix/getegid.c (__getegid): Likewise.
15601 * posix/geteuid.c (__geteuid): Likewise.
15602 * posix/getgid.c (__getgid): Likewise.
15603 * posix/getpid.c (__getpid): Likewise.
15604 * posix/getppid.c (__getppid): Likewise.
15605 * posix/getuid.c (__getuid): Likewise.
15606 * posix/pause.c (pause): Likewise.
15607 * posix/setpgrp.c (setpgrp): Likewise.
15608 * posix/setsid.c (__setsid): Likewise.
15609 * posix/test-vfork.c (noop): Likewise.
15610 * resolv/gethnamaddr.c (_endhtent): Likewise.
15611 (_gethtent): Likewise.
15612 (ht_endhostent): Likewise.
15613 (gethostent): Likewise.
15614 (dns_service): Likewise.
15615 * stdlib/drand48.c (drand48): Likewise.
15616 * stdlib/lrand48.c (lrand48): Likewise.
15617 * stdlib/mrand48.c (mrand48): Likewise.
15618 * stdlib/rand.c (rand): Likewise.
15619 * stdlib/random.c (__random): Likewise.
15620 * stdlib/setenv.c (clearenv): Likewise.
15621 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15622 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15623 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15624 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15625 (__get_nprocs): Likewise.
15626 (__get_phys_pages): Likewise.
15627 (__get_avphys_pages): Likewise.
15628 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15629 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15630 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15631 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15632 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15633 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15634 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15635 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15636 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15637 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15638 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15639 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15640 * sysdeps/posix/clock.c (clock): Likewise.
15641 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15642 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15643 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15644 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15645 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15646 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15647 (__get_nprocs_conf): Likewise.
15648 (__get_phys_pages): Likewise.
15649 (__get_avphys_pages): Likewise.
15650 * time/clock.c (clock): Likewise.
15651 * time/tzset.c (__tzname_max): Likewise.
15653 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15655 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15656 (__bswap_32): Do not use "register".
15657 * crypt/crypt.c (_ufc_doit_r): Likewise.
15658 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15659 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15660 * gmon/gmon.c (__monstartup): Likewise.
15661 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15662 * hurd/hurdmalloc.c (more_memory): Likewise.
15663 (malloc): Likewise.
15665 (realloc): Likewise.
15666 (malloc_fork_prepare): Likewise.
15667 (malloc_fork_parent): Likewise.
15668 (malloc_fork_child): Likewise.
15669 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15670 (_svcauth_des): Likewise.
15671 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15672 * inet/inet_net.c (inet_network): Likewise.
15673 * inet/inet_netof.c (inet_netof): Likewise.
15674 * inet/rcmd.c (__validuser2_sa): Likewise.
15675 * io/fts.c (fts_open): Likewise.
15676 (fts_load): Likewise.
15677 (fts_close): Likewise.
15678 (fts_read): Likewise.
15679 (fts_children): Likewise.
15680 (fts_build): Likewise.
15681 (fts_stat): Likewise.
15682 (fts_sort): Likewise.
15683 (fts_alloc): Likewise.
15684 (fts_lfree): Likewise.
15685 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15686 (_IO_file_xsgetn): Likewise.
15687 (_IO_file_xsgetn_mmap): Likewise.
15688 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15689 (_IO_cookie_write): Likewise.
15690 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15691 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15692 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15693 * malloc/obstack.c (_obstack_begin): Likewise.
15694 (_obstack_begin_1): Likewise.
15695 (_obstack_newchunk): Likewise.
15696 (_obstack_allocated_p): Likewise.
15697 (obstack_free): Likewise.
15698 (_obstack_memory_used): Likewise.
15699 * misc/getttyent.c (getttynam): Likewise.
15700 (getttyent): Likewise.
15703 * misc/getusershell.c (initshells): Likewise.
15704 * misc/syslog.c (__vsyslog_chk): Likewise.
15705 * misc/ttyslot.c (ttyslot): Likewise.
15706 * nis/nis_hash.c (__nis_hash): Likewise.
15707 * posix/fnmatch_loop.c (FCT): Likewise.
15708 * posix/getconf.c (print_all): Likewise.
15710 * posix/getopt.c (exchange): Likewise.
15711 * posix/glob.c (globfree): Likewise.
15712 (prefix_array): Likewise.
15713 (__glob_pattern_type): Likewise.
15714 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15715 (NS_GET32): Likewise.
15716 (NS_PUT16): Likewise.
15717 (NS_PUT32): Likewise.
15718 * resolv/gethnamaddr.c (getanswer): Likewise.
15719 (gethostbyname2): Likewise.
15720 (gethostbyaddr): Likewise.
15721 (_gethtent): Likewise.
15722 (_gethtbyname2): Likewise.
15723 (_gethtbyaddr): Likewise.
15724 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15725 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15726 * resolv/res_init.c (__res_vinit): Likewise.
15727 (net_mask): Likewise.
15728 * resolv/res_mkquery.c (outchar): Likewise.
15730 * stdio-common/printf_fp.c (outchar): Likewise.
15732 * stdio-common/printf_fphex.c (outchar): Likewise.
15734 * stdio-common/printf_size.c (outchar): Likewise.
15736 * stdio-common/test_rdwr.c (main): Likewise.
15737 * stdio-common/tfformat.c (matches): Likewise.
15738 * stdio-common/vfprintf.c (outchar): Likewise.
15739 (printf_unknown): Likewise.
15740 (buffered_vfprintf): Likewise.
15741 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15742 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15743 (ReadFile): Likewise.
15744 * stdlib/qsort.c (SWAP): Likewise.
15745 (_quicksort): Likewise.
15746 * stdlib/setenv.c (__add_to_environ): Likewise.
15747 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15748 * stdlib/strtol_l.c (__strtol_l): Likewise.
15749 * stdlib/tst-strtod.c (main): Likewise.
15750 * stdlib/tst-strtol.c (main): Likewise.
15751 * stdlib/tst-strtoll.c (main): Likewise.
15752 * string/bits/string2.h (__strcmp_cc): Likewise.
15753 (__strcmp_cg): Likewise.
15754 (__strcspn_c1): Likewise.
15755 (__strcspn_c2): Likewise.
15756 (__strcspn_c3): Likewise.
15757 (__strspn_c1): Likewise.
15758 (__strspn_c2): Likewise.
15759 (__strspn_c3): Likewise.
15760 (__strsep_1c): Likewise.
15761 (__strsep_2c): Likewise.
15762 (__strsep_3c): Likewise.
15763 * string/memccpy.c (__memccpy): Likewise.
15764 * string/stpcpy.c (__stpcpy): Likewise.
15765 * string/strcmp.c (strcmp): Likewise.
15766 * string/strrchr.c (strrchr): Likewise.
15767 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15769 * sysdeps/mach/hurd/getcwd.c
15770 (_hurd_canonicalize_directory_name_internal): Likewise.
15771 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15772 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15773 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15774 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15775 Likewise, in both definitions.
15776 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15778 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15779 64] (__bswap_64): Likewise.
15780 * time/test_time.c (main): Likewise.
15781 * time/tzfile.c (__tzfile_read): Likewise.
15782 (__tzfile_compute): Likewise.
15783 * time/tzset.c (__tzset_parse_tz): Likewise.
15784 (tzset_internal): Likewise.
15785 (compute_change): Likewise.
15786 * wcsmbs/wcscat.c (__wcscat): Likewise.
15787 * wcsmbs/wcschr.c (wcschr): Likewise.
15788 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15789 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15790 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15791 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15792 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15793 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15794 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15795 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15796 * wcsmbs/wmemset.c (wmemset): Likewise.
15798 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15800 * scripts/config.guess: Update to version 2013-05-16.
15801 * scripts/config.sub: Update to version 2013-04-24.
15802 * scripts/install-sh: Update to version 2011-11-20.07.
15803 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15804 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15806 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15808 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15809 * elf/sln.c: Likewise.
15810 * hurd/hurd/ioctl.h: Likewise.
15811 * hurd/hurdmalloc.c: Likewise.
15812 * hurd/xattr.c: Likewise.
15813 * include/shlib-compat.h: Likewise.
15814 * inet/ruserpass.c: Likewise.
15815 * libio/iofgets_u.c: Likewise.
15816 * libio/iofgetws_u.c: Likewise.
15817 * locale/programs/ld-identification.c: Likewise.
15818 * locale/programs/ld-time.c: Likewise.
15819 * mach/msg-destroy.c: Likewise.
15820 * nss/nss_files/files-netgrp.c: Likewise.
15821 * resolv/res_data.c: Likewise.
15822 * soft-fp/op-1.h: Likewise.
15823 * soft-fp/op-2.h: Likewise.
15824 * soft-fp/op-4.h: Likewise.
15825 * soft-fp/op-common.h: Likewise.
15826 * stdio-common/printf_fphex.c: Likewise.
15827 * stdlib/strtod_l.c: Likewise.
15828 * sunrpc/rpc/clnt.h: Likewise.
15829 * sysdeps/generic/framestate.c: Likewise.
15830 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15831 * sysdeps/i386/bsd-setjmp.S: Likewise.
15832 * sysdeps/i386/__longjmp.S: Likewise.
15833 * sysdeps/i386/setjmp.S: Likewise.
15834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15835 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15839 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15842 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15843 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15844 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15845 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15846 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15847 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15848 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15849 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15850 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15851 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15852 * sysdeps/ieee754/support.c: Likewise.
15853 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15854 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15855 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15856 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15857 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15858 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15859 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15860 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15861 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15862 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15863 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15864 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15865 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15866 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15867 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15868 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15872 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15874 * posix/transbug.c: Remove executable mode.
15876 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15878 * crypt/speeds.c: Remove trailing whitespace.
15879 * dlfcn/default.c: Likewise.
15880 * elf/ifuncdep2.c: Likewise.
15881 * elf/ifuncmain1.c: Likewise.
15882 * elf/ifuncmain1vis.c: Likewise.
15883 * elf/testobj.h: Likewise.
15884 * elf/tst-stackguard1.c: Likewise.
15885 * gmon/sys/gmon.h: Likewise.
15886 * hurd/hurdmsg.c: Likewise.
15887 * hurd/new-fd.c: Likewise.
15888 * hurd/ports-get.c: Likewise.
15889 * iconvdata/ibm1008_420.c: Likewise.
15890 * inet/tst-getni1.c: Likewise.
15891 * inet/tst-getni2.c: Likewise.
15892 * libio/ioungetc.c: Likewise.
15893 * libio/wfiledoalloc.c: Likewise.
15894 * manual/libm-err-tab.pl: Likewise.
15895 * math/w_dremf.c: Likewise.
15896 * misc/ftruncate.c: Likewise.
15897 * posix/bug-glob2.c: Likewise.
15898 * posix/tst-pcre.c: Likewise.
15899 * posix/wait4.c: Likewise.
15900 * resolv/README: Likewise.
15901 * resolv/res_debug.h: Likewise.
15902 * resolv/tst-inet_ntop.c: Likewise.
15903 * setjmp/bug269-setjmp.c: Likewise.
15904 * soft-fp/extended.h: Likewise.
15905 * soft-fp/op-1.h: Likewise.
15906 * soft-fp/op-2.h: Likewise.
15907 * soft-fp/op-4.h: Likewise.
15908 * soft-fp/op-8.h: Likewise.
15909 * soft-fp/testit.c: Likewise.
15910 * stdio-common/bug16.c: Likewise.
15911 * stdlib/random.c: Likewise.
15912 * sunrpc/rpcsvc/rquota.x: Likewise.
15913 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15914 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15916 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15920 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15921 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15942 * sysdeps/ieee754/s_lib_version.c: Likewise.
15943 * sysdeps/mach/hurd/check_fds.c: Likewise.
15944 * sysdeps/mach/hurd/getsockname.c: Likewise.
15945 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15946 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15947 * sysdeps/powerpc/bits/link.h: Likewise.
15948 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15949 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15950 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15951 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15952 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15953 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15954 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15955 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15956 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15957 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15958 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15959 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15960 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15961 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15962 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15963 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15967 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15968 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15969 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15970 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15971 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15972 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15973 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15974 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15975 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15977 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15978 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15979 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15980 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15982 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15983 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15984 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15985 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15986 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15987 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15988 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15989 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15990 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15991 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15992 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15993 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15994 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15995 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15996 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15997 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16000 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16001 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16002 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16003 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16004 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16005 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16006 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16007 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16008 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16010 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16012 * sysdeps/powerpc/sysdep.h: Likewise.
16013 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16014 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16015 * sysdeps/sh/dl-trampoline.S: Likewise.
16016 * sysdeps/sh/memset.S: Likewise.
16017 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16018 * sysdeps/sh/strlen.S: Likewise.
16019 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16020 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16021 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16022 * sysdeps/sparc/sparc32/rem.S: Likewise.
16023 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16024 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16025 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16026 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16027 * sysdeps/sparc/sparc32/urem.S: Likewise.
16028 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16029 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16030 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16031 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16032 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16033 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16034 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16035 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16036 * sysdeps/unix/bsd/times.c: Likewise.
16037 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16038 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16042 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16043 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16044 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16045 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16046 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16047 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16048 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16049 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16050 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16051 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16052 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16053 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16054 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16055 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16056 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16057 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16058 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16059 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16060 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16061 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16062 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16063 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16064 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16065 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16066 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16067 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16068 * sysdeps/x86_64/strcspn.S: Likewise.
16070 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16072 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16073 generated file. Regenerate properly from gen-translit.pl.
16074 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16075 locale/C-translit.h.
16077 2013-06-05 Andreas Schwab <schwab@suse.de>
16080 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16081 week as 6 instead of -1.
16082 * time/tst-strptime.c (day_tests): Add test case.
16084 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16086 * sysdeps/generic/math_private.h
16087 (libc_feholdexcept_setround_53bit): Replace with
16088 libc_feholdsetround_53bit.
16089 (libc_feupdateenv_53bit): Replace with
16090 libc_feresetround_53bit.
16091 (SET_RESTORE_ROUND_53BIT): Adjust.
16093 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16095 * string/test-strchrnul.c: Add copyright header.
16097 * posix/tst-getaddrinfo4.c: Increase test timeout.
16099 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16102 * math/libm-test.inc (MAX_EXP): Remove
16104 (ulp): Use MIN_EXP - MANT_DIG.
16105 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16107 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16109 * po/be.po: Revert last change.
16110 * po/zh_CN.po: Likewise.
16111 * po/header.pot: Likewise.
16113 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16115 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16116 link-libc-deps to empty as target-specific variable.
16117 * Makerules (link-libc-args): New variable.
16118 (libc-for-link): Likewise.
16119 (link-libc-deps): Likewise.
16120 (lib%.so): Depend on $(link-libc-deps). Link with
16122 (build-module): Link with $(link-libc-args).
16123 (build-module-asneeded): Likewise.
16124 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16126 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16127 target-specific variable.
16128 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16129 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16130 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16132 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16134 ($(objpfx)libpcprofile.so): Likewise.
16135 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16137 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16138 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16139 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16141 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16142 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16143 * login/Makefile ($(objpfx)libutil.so): Likewise.
16144 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16145 * math/Makefile ($(objpfx)libm.so): Likewise.
16146 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16147 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16148 variable instead of depending directly on libc.
16149 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16150 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16152 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16154 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16155 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16156 ($(objpfx)libanl.so): Likewise.
16157 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16159 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16161 * sysdeps/i386/fpu/Makefile: Remove file.
16162 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16163 ($(objpfx)libm.so): Remove dependency on ld.so.
16165 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16168 * nis/yp_xdr.c (XDRMAXNAME): Define.
16169 (XDRMAXRECORD): Define.
16170 (xdr_domainname): Use XDRMAXNAME.
16171 (xdr_mapname): Likewise.
16172 (xdr_peername): Likewise.
16173 (xdr_keydat): Use XDRMAXRECORD.
16174 (xdr_valdat): Likewise.
16176 2013-05-30 Jeff Law <law@redhat.com>
16179 * manual/errno.texi (ESTALE): Update to account for more than
16180 just NFS file systems.
16181 * sysdeps/gnu/errlist.c: Regenerated.
16183 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16186 * elf/Makefile (tests): Add tst-null-argv.
16187 (modules-names): Add tst-null-argv-lib.
16188 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16189 (tst-null-argv-ENV): Set environment for tst-null-argv.
16190 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16191 (RTLD_PROGNAME): New macro.
16192 * elf/tst-null-argv.c: New test case.
16193 * elf/tst-null-argv-lib.c: Library for test case.
16194 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16195 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16196 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16197 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16198 * elf/dl-init.c (call_init): Likewise.
16199 (_dl_init): Likewise.
16200 * elf/dl-load.c (print_search_path): Likewise.
16201 (_dl_map_object): Likewise.
16202 * elf/dl-lookup.c (do_lookup_x): Likewise.
16203 (add_dependency): Likewise.
16204 (_dl_lookup_symbol_x): Likewise.
16205 (_dl_debug_bindings): Likewise.
16206 * elf/dl-open.c (_dl_show_scope): Likewise.
16207 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16208 * elf/dl-version.c (match_symbol): Likewise.
16209 (_dl_check_map_versions): Likewise.
16210 * elf/rtld.c (dl_main): Likewise.
16211 (print_unresolved): Use RTLD_PROGNAME.
16212 (print_missing_version): Likewise.
16213 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16214 (elf_machine_rela): Likewise.
16215 * sysdeps/powerpc/powerpc32/dl-machine.c
16216 (__process_machine_rela): Likewise.
16217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16221 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16223 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16228 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16230 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16232 * po/be.po: Add descriptive title.
16233 * po/zh_CN.po: Likewise.
16234 * po/header.pot: Likewise.
16236 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16238 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16240 (enlarge_archive): Likewise.
16242 2013-05-28 Ben North <ben@redfrontdoor.org>
16244 * manual/arith.texi (frexp): It is the magnitude of the return
16245 value which lies in [0.5, 1), not the return value itself.
16247 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16251 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16253 * stdio-common/bug26.c (main): Correct fscanf template.
16255 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16256 declare _dl_skip_args.
16258 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16261 * manual/platform.texi: Add missing @end deftypefun.
16263 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16266 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16267 bit of mantissa of 2^16382.
16268 * math/libm-test.inc (hypot_test_data): Add more tests.
16270 * math/libm-test.inc: Add drem and pow10 to list of tested
16272 (pow10_test): New function.
16273 (drem_test): Likewise.
16274 (drem_test_tonearest): Likewise.
16275 (drem_test_towardzero): Likewise.
16276 (drem_test_downward): Likewise.
16277 (drem_test_upward): Likewise.
16278 (main): Call the new functions.
16280 * math/libm-test.inc (finite_test_data): Remove.
16281 (finite_test): Run tests from isfinite_test_data.
16282 (gamma_test_data): Remove.
16283 (gamma_test): Run tests from lgamma_test_data.
16284 * sysdeps/i386/fpu/libm-test-ulps: Update.
16285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16287 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16289 * manual/platform.texi: Add PowerPC PPR function set documentation.
16290 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16293 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16295 * math/libm-test.inc (MAX_EXP): Define.
16297 (ulp): New function.
16298 (check_float_internal): Use ULPDIFF.
16299 (cpow_test): Disable failing test.
16300 (check_ulp): Test ulp() implemetnation.
16301 (main): Call check_ulp before starting tests.
16303 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16305 * math/gen-libm-test.pl (generate_testfile): Do not handle
16306 START_DATA and END_DATA.
16307 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16309 (acos_tonearest_test_data): Likewise.
16310 (acos_towardzero_test_data): Likewise.
16311 (acos_downward_test_data): Likewise.
16312 (acos_upward_test_data): Likewise.
16313 (acosh_test_data): Likewise.
16314 (asin_test_data): Likewise.
16315 (asin_tonearest_test_data): Likewise.
16316 (asin_towardzero_test_data): Likewise.
16317 (asin_downward_test_data): Likewise.
16318 (asin_upward_test_data): Likewise.
16319 (asinh_test_data): Likewise.
16320 (atan_test_data): Likewise.
16321 (atanh_test_data): Likewise.
16322 (atan2_test_data): Likewise.
16323 (cabs_test_data): Likewise.
16324 (cacos_test_data): Likewise.
16325 (cacosh_test_data): Likewise.
16326 (carg_test_data): Likewise.
16327 (casin_test_data): Likewise.
16328 (casinh_test_data): Likewise.
16329 (catan_test_data): Likewise.
16330 (catanh_test_data): Likewise.
16331 (cbrt_test_data): Likewise.
16332 (ccos_test_data): Likewise.
16333 (ccosh_test_data): Likewise.
16334 (ceil_test_data): Likewise.
16335 (cexp_test_data): Likewise.
16336 (cimag_test_data): Likewise.
16337 (clog_test_data): Likewise.
16338 (clog10_test_data): Likewise.
16339 (conj_test_data): Likewise.
16340 (copysign_test_data): Likewise.
16341 (cos_test_data): Likewise.
16342 (cos_tonearest_test_data): Likewise.
16343 (cos_towardzero_test_data): Likewise.
16344 (cos_downward_test_data): Likewise.
16345 (cos_upward_test_data): Likewise.
16346 (cosh_test_data): Likewise.
16347 (cosh_tonearest_test_data): Likewise.
16348 (cosh_towardzero_test_data): Likewise.
16349 (cosh_downward_test_data): Likewise.
16350 (cosh_upward_test_data): Likewise.
16351 (cpow_test_data): Likewise.
16352 (cproj_test_data): Likewise.
16353 (creal_test_data): Likewise.
16354 (csin_test_data): Likewise.
16355 (csinh_test_data): Likewise.
16356 (csqrt_test_data): Likewise.
16357 (ctan_test_data): Likewise.
16358 (ctan_tonearest_test_data): Likewise.
16359 (ctan_towardzero_test_data): Likewise.
16360 (ctan_downward_test_data): Likewise.
16361 (ctan_upward_test_data): Likewise.
16362 (ctanh_test_data): Likewise.
16363 (ctanh_tonearest_test_data): Likewise.
16364 (ctanh_towardzero_test_data): Likewise.
16365 (ctanh_downward_test_data): Likewise.
16366 (ctanh_upward_test_data): Likewise.
16367 (erf_test_data): Likewise.
16368 (erfc_test_data): Likewise.
16369 (exp_test_data): Likewise.
16370 (exp_tonearest_test_data): Likewise.
16371 (exp_towardzero_test_data): Likewise.
16372 (exp_downward_test_data): Likewise.
16373 (exp_upward_test_data): Likewise.
16374 (exp10_test_data): Likewise.
16375 (exp2_test_data): Likewise.
16376 (expm1_test_data): Likewise.
16377 (fabs_test_data): Likewise.
16378 (fdim_test_data): Likewise.
16379 (finite_test_data): Likewise.
16380 (floor_test_data): Likewise.
16381 (fma_test_data): Likewise.
16382 (fma_towardzero_test_data): Likewise.
16383 (fma_downward_test_data): Likewise.
16384 (fma_upward_test_data): Likewise.
16385 (fmax_test_data): Likewise.
16386 (fmin_test_data): Likewise.
16387 (fmod_test_data): Likewise.
16388 (fpclassify_test_data): Likewise.
16389 (frexp_test_data): Likewise.
16390 (gamma_test_data): Likewise.
16391 (hypot_test_data): Likewise.
16392 (ilogb_test_data): Likewise.
16393 (isfinite_test_data): Likewise.
16394 (isgreater_test_data): Likewise.
16395 (isgreaterequal_test_data): Likewise.
16396 (isinf_test_data): Likewise.
16397 (isless_test_data): Likewise.
16398 (islessequal_test_data): Likewise.
16399 (islessgreater_test_data): Likewise.
16400 (isnan_test_data): Likewise.
16401 (isnormal_test_data): Likewise.
16402 (issignaling_test_data): Likewise.
16403 (isunordered_test_data): Likewise.
16404 (j0_test_data): Likewise.
16405 (j1_test_data): Likewise.
16406 (jn_test_data): Likewise.
16407 (ldexp_test_data): Likewise.
16408 (lgamma_test_data): Likewise.
16409 (lrint_test_data): Likewise.
16410 (lrint_tonearest_test_data): Likewise.
16411 (lrint_towardzero_test_data): Likewise.
16412 (lrint_downward_test_data): Likewise.
16413 (lrint_upward_test_data): Likewise.
16414 (llrint_test_data): Likewise.
16415 (llrint_tonearest_test_data): Likewise.
16416 (llrint_towardzero_test_data): Likewise.
16417 (llrint_downward_test_data): Likewise.
16418 (llrint_upward_test_data): Likewise.
16419 (log_test_data): Likewise.
16420 (log10_test_data): Likewise.
16421 (log1p_test_data): Likewise.
16422 (log2_test_data): Likewise.
16423 (logb_test_data): Likewise.
16424 (logb_downward_test_data): Likewise.
16425 (lround_test_data): Likewise.
16426 (llround_test_data): Likewise.
16427 (modf_test_data): Likewise.
16428 (nearbyint_test_data): Likewise.
16429 (nextafter_test_data): Likewise.
16430 (nexttoward_test_data): Likewise.
16431 (pow_test_data): Likewise.
16432 (pow_tonearest_test_data): Likewise.
16433 (pow_towardzero_test_data): Likewise.
16434 (pow_downward_test_data): Likewise.
16435 (pow_upward_test_data): Likewise.
16436 (remainder_test_data): Likewise.
16437 (remainder_tonearest_test_data): Likewise.
16438 (remainder_towardzero_test_data): Likewise.
16439 (remainder_downward_test_data): Likewise.
16440 (remainder_upward_test_data): Likewise.
16441 (remquo_test_data): Likewise.
16442 (rint_test_data): Likewise.
16443 (rint_tonearest_test_data): Likewise.
16444 (rint_towardzero_test_data): Likewise.
16445 (rint_downward_test_data): Likewise.
16446 (rint_upward_test_data): Likewise.
16447 (round_test_data): Likewise.
16448 (scalb_test_data): Likewise.
16449 (scalbn_test_data): Likewise.
16450 (scalbln_test_data): Likewise.
16451 (signbit_test_data): Likewise.
16452 (sin_test_data): Likewise.
16453 (sin_tonearest_test_data): Likewise.
16454 (sin_towardzero_test_data): Likewise.
16455 (sin_downward_test_data): Likewise.
16456 (sin_upward_test_data): Likewise.
16457 (sincos_test_data): Likewise.
16458 (sinh_test_data): Likewise.
16459 (sinh_tonearest_test_data): Likewise.
16460 (sinh_towardzero_test_data): Likewise.
16461 (sinh_downward_test_data): Likewise.
16462 (sinh_upward_test_data): Likewise.
16463 (sqrt_test_data): Likewise.
16464 (tan_test_data): Likewise.
16465 (tan_tonearest_test_data): Likewise.
16466 (tan_towardzero_test_data): Likewise.
16467 (tan_downward_test_data): Likewise.
16468 (tan_upward_test_data): Likewise.
16469 (tanh_test_data): Likewise.
16470 (tgamma_test_data): Likewise.
16471 (trunc_test_data): Likewise.
16472 (y0_test_data): Likewise.
16473 (y1_test_data): Likewise.
16474 (yn_test_data): Likewise.
16475 (significand_test_data): Likewise.
16477 * math/gen-libm-test.pl (@functions): Remove variable.
16478 (generate_testfile): Don't handle START and END lines.
16479 * math/libm-test.inc (START): New macro.
16481 (END_COMPLEX): Likewise.
16482 (acos_test): Use END macro without arguments.
16483 (acos_test_tonearest): Likewise.
16484 (acos_test_towardzero): Likewise.
16485 (acos_test_downward): Likewise.
16486 (acos_test_upward): Likewise.
16487 (acosh_test): Likewise.
16488 (asin_test): Likewise.
16489 (asin_test_tonearest): Likewise.
16490 (asin_test_towardzero): Likewise.
16491 (asin_test_downward): Likewise.
16492 (asin_test_upward): Likewise.
16493 (asinh_test): Likewise.
16494 (atan_test): Likewise.
16495 (atanh_test): Likewise.
16496 (atan2_test): Likewise.
16497 (cabs_test): Likewise.
16498 (cacos_test): Use END_COMPLEX macro without arguments.
16499 (cacosh_test): Likewise.
16500 (carg_test): Use END macro without arguments.
16501 (casin_test): Use END_COMPLEX macro without arguments.
16502 (casinh_test): Likewise.
16503 (catan_test): Likewise.
16504 (catanh_test): Likewise.
16505 (cbrt_test): Use END macro without arguments.
16506 (ccos_test): Use END_COMPLEX macro without arguments.
16507 (ccosh_test): Likewise.
16508 (ceil_test): Use END macro without arguments.
16509 (cexp_test): Use END_COMPLEX macro without arguments.
16510 (cimag_test): Use END macro without arguments.
16511 (clog_test): Use END_COMPLEX macro without arguments.
16512 (clog10_test): Likewise.
16513 (conj_test): Likewise.
16514 (copysign_test): Use END macro without arguments.
16515 (cos_test): Likewise.
16516 (cos_test_tonearest): Likewise.
16517 (cos_test_towardzero): Likewise.
16518 (cos_test_downward): Likewise.
16519 (cos_test_upward): Likewise.
16520 (cosh_test): Likewise.
16521 (cosh_test_tonearest): Likewise.
16522 (cosh_test_towardzero): Likewise.
16523 (cosh_test_downward): Likewise.
16524 (cosh_test_upward): Likewise.
16525 (cpow_test): Use END_COMPLEX macro without arguments.
16526 (cproj_test): Likewise.
16527 (creal_test): Use END macro without arguments.
16528 (csin_test): Use END_COMPLEX macro without arguments.
16529 (csinh_test): Likewise.
16530 (csqrt_test): Likewise.
16531 (ctan_test): Likewise.
16532 (ctan_test_tonearest): Likewise.
16533 (ctan_test_towardzero): Likewise.
16534 (ctan_test_downward): Likewise.
16535 (ctan_test_upward): Likewise.
16536 (ctanh_test): Likewise.
16537 (ctanh_test_tonearest): Likewise.
16538 (ctanh_test_towardzero): Likewise.
16539 (ctanh_test_downward): Likewise.
16540 (ctanh_test_upward): Likewise.
16541 (erf_test): Use END macro without arguments.
16542 (erfc_test): Likewise.
16543 (exp_test): Likewise.
16544 (exp_test_tonearest): Likewise.
16545 (exp_test_towardzero): Likewise.
16546 (exp_test_downward): Likewise.
16547 (exp_test_upward): Likewise.
16548 (exp10_test): Likewise.
16549 (exp2_test): Likewise.
16550 (expm1_test): Likewise.
16551 (fabs_test): Likewise.
16552 (fdim_test): Likewise.
16553 (finite_test): Likewise.
16554 (floor_test): Likewise.
16555 (fma_test): Likewise.
16556 (fma_test_towardzero): Likewise.
16557 (fma_test_downward): Likewise.
16558 (fma_test_upward): Likewise.
16559 (fmax_test): Likewise.
16560 (fmin_test): Likewise.
16561 (fmod_test): Likewise.
16562 (fpclassify_test): Likewise.
16563 (frexp_test): Likewise.
16564 (gamma_test): Likewise.
16565 (hypot_test): Likewise.
16566 (ilogb_test): Likewise.
16567 (isfinite_test): Likewise.
16568 (isgreater_test): Likewise.
16569 (isgreaterequal_test): Likewise.
16570 (isinf_test): Likewise.
16571 (isless_test): Likewise.
16572 (islessequal_test): Likewise.
16573 (islessgreater_test): Likewise.
16574 (isnan_test): Likewise.
16575 (isnormal_test): Likewise.
16576 (issignaling_test): Likewise.
16577 (isunordered_test): Likewise.
16578 (j0_test): Likewise.
16579 (j1_test): Likewise.
16580 (jn_test): Likewise.
16581 (ldexp_test): Likewise.
16582 (lgamma_test): Likewise.
16583 (lrint_test): Likewise.
16584 (lrint_test_tonearest): Likewise.
16585 (lrint_test_towardzero): Likewise.
16586 (lrint_test_downward): Likewise.
16587 (lrint_test_upward): Likewise.
16588 (llrint_test): Likewise.
16589 (llrint_test_tonearest): Likewise.
16590 (llrint_test_towardzero): Likewise.
16591 (llrint_test_downward): Likewise.
16592 (llrint_test_upward): Likewise.
16593 (log_test): Likewise.
16594 (log10_test): Likewise.
16595 (log1p_test): Likewise.
16596 (log2_test): Likewise.
16597 (logb_test): Likewise.
16598 (logb_test_downward): Likewise.
16599 (lround_test): Likewise.
16600 (llround_test): Likewise.
16601 (modf_test): Likewise.
16602 (nearbyint_test): Likewise.
16603 (nextafter_test): Likewise.
16604 (nexttoward_test): Likewise.
16605 (pow_test): Likewise.
16606 (pow_test_tonearest): Likewise.
16607 (pow_test_towardzero): Likewise.
16608 (pow_test_downward): Likewise.
16609 (pow_test_upward): Likewise.
16610 (remainder_test): Likewise.
16611 (remainder_test_tonearest): Likewise.
16612 (remainder_test_towardzero): Likewise.
16613 (remainder_test_downward): Likewise.
16614 (remainder_test_upward): Likewise.
16615 (remquo_test): Likewise.
16616 (rint_test): Likewise.
16617 (rint_test_tonearest): Likewise.
16618 (rint_test_towardzero): Likewise.
16619 (rint_test_downward): Likewise.
16620 (rint_test_upward): Likewise.
16621 (round_test): Likewise.
16622 (scalb_test): Likewise.
16623 (scalbn_test): Likewise.
16624 (scalbln_test): Likewise.
16625 (signbit_test): Likewise.
16626 (sin_test): Likewise.
16627 (sin_test_tonearest): Likewise.
16628 (sin_test_towardzero): Likewise.
16629 (sin_test_downward): Likewise.
16630 (sin_test_upward): Likewise.
16631 (sincos_test): Likewise.
16632 (sinh_test): Likewise.
16633 (sinh_test_tonearest): Likewise.
16634 (sinh_test_towardzero): Likewise.
16635 (sinh_test_downward): Likewise.
16636 (sinh_test_upward): Likewise.
16637 (sqrt_test): Likewise.
16638 (tan_test): Likewise.
16639 (tan_test_tonearest): Likewise.
16640 (tan_test_towardzero): Likewise.
16641 (tan_test_downward): Likewise.
16642 (tan_test_upward): Likewise.
16643 (tanh_test): Likewise.
16644 (tgamma_test): Likewise.
16645 (trunc_test): Likewise.
16646 (y0_test): Likewise.
16647 (y1_test): Likewise.
16648 (yn_test): Likewise.
16649 (significand_test): Likewise.
16651 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16654 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16656 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16659 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16660 __ppc_mdoio and __ppc_mdoom.
16661 * manual/platform.texi: Document new functions __ppc_yield,
16662 __ppc_mdoio and __ppc_mdoom.
16664 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16666 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16667 (main): Mention "tls" pseudo-hwcap is legacy.
16668 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16670 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16672 * math/gen-libm-test.pl (parse_args): Output only string of
16673 arguments as text for test name, not full call or descriptions of
16674 tests for extra outputs.
16675 (generate_testfile): Do not pass function name to parse_args.
16676 Generate this_func variable from START.
16677 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16679 (struct test_ff_f_data): Likewise.
16680 (test_ff_f_data_nexttoward): Likewise.
16681 (struct test_fi_f_data): Likewise.
16682 (struct test_fl_f_data): Likewise.
16683 (struct test_if_f_data): Likewise.
16684 (struct test_fff_f_data): Likewise.
16685 (struct test_c_f_data): Likewise.
16686 (struct test_f_f1_data): Likewise. Remove field extra_name.
16687 (struct test_fF_f1_data): Likewise.
16688 (struct test_ffI_f1_data): Likewise.
16689 (struct test_c_c_data): Rename test_name field to arg_str.
16690 (struct test_cc_c_data): Likewise.
16691 (struct test_f_i_data): Likewise.
16692 (struct test_ff_i_data): Likewise.
16693 (struct test_f_l_data): Likewise.
16694 (struct test_f_L_data): Likewise.
16695 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16697 (COMMON_TEST_SETUP): New macro.
16698 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16699 (COMMON_TEST_CLEANUP): Likewise.
16700 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16701 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16703 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16704 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16706 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16707 (RUN_TEST_fff_f): Take argument string. Call new setup and
16709 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16710 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16712 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16713 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16715 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16716 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16718 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16719 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16721 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16722 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16724 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16725 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16727 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16728 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16730 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16731 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16733 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16734 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16736 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16737 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16739 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16740 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16742 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16743 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16745 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16746 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16748 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16749 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16751 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16752 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16754 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16756 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16758 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16759 to _sifields.sigfault.
16760 (si_addr_lsb): Define new macro.
16761 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16763 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16765 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16768 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16770 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16772 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16773 loading the domain.
16775 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16777 * math/gen-libm-test.pl (parse_args): Do not include expected
16778 result in test name.
16779 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16781 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16782 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16783 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16786 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16788 * benchtests/Makefile: Sort function entries.
16790 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16791 tanh, asinh, acosh, atanh.
16792 * benchtests/acos-inputs: New file.
16793 * benchtests/acosh-inputs: New file.
16794 * benchtests/asin-inputs: New file.
16795 * benchtests/asinh-inputs: New file.
16796 * benchtests/atanh-inputs: New file.
16797 * benchtests/cosh-inputs: New file.
16798 * benchtests/log-inputs: New file.
16799 * benchtests/sinh-inputs: New file.
16800 * benchtests/tanh-inputs: New file.
16802 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16805 * posix/tst-getaddrinfo4.c: New test.
16806 * posix/Makefile (tests): Add it.
16808 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16811 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16812 when no services were used.
16813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16814 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16816 2013-05-21 Andreas Schwab <schwab@suse.de>
16819 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16820 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16822 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16823 redundant variable declarations and reallocation of buffer when
16824 parsing as IPv6 address. Always set NSS status when called from
16825 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16826 buffer too small. Correct computation of needed size.
16827 * nss/Makefile (tests): Add test-digits-dots.
16828 * nss/test-digits-dots.c: New test.
16830 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16832 * benchtests/Makefile: Remove instructions for adding
16834 * benchtests/README: New file to explain how to execute and
16835 enhance the benchmark tests.
16837 2013-05-21 Andreas Schwab <schwab@suse.de>
16840 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16841 * setjmp/tst-sigsetjmp.c: New test.
16843 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16845 * sysdeps/x86_64/memset.S (memset): New implementation.
16846 (__bzero): Likewise.
16847 (__memset_tail): New function.
16849 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16851 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16852 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16853 __memcpy_sse2_unaligned ifunc selection.
16854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16855 Add memcpy-sse2-unaligned.S.
16856 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16857 Add: __memcpy_sse2_unaligned.
16859 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16862 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16863 math_force_eval before restoring floating-point envrionment.
16864 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16867 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16869 (__nearbyintl): Use math_force_eval before restoring
16870 floating-point environment.
16871 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16873 * math/gen-libm-test.pl (special_functions): Remove.
16874 (parse_args): Don't handle TEST_extra. Handle functions with no
16876 * math/libm-test.inc (struct test_sincos_data): Replace with
16877 struct test_fFF_11_data.
16878 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16879 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16880 (sincos_test_data): Change element type to struct
16881 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16882 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16883 RUN_TEST_LOOP_sincos.
16884 * math/README.libm-test: Don't mention special handling of
16885 individual functions.
16886 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16887 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16888 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16889 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16890 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16893 * math/gen-libm-test.pl (get_variable): Remove function.
16894 (parse_args): Don't show pointer parameters to call in test
16895 names. Use "extra output N" in test names for extra outputs
16896 rather than naming variables.
16898 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16901 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16902 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16903 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16905 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16907 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16910 * math/gen-libm-test.pl (@tests): Remove variable.
16911 ($count): Likewise.
16912 (new_test): Remove function.
16913 (show_exceptions): New function.
16914 (special_functions): Use show_exceptions instead of new_test.
16915 (parse_args): Likewise.
16916 (generate_testfile): Pass only function name in generated call to
16917 print_max_error or print_complex_max_error.
16918 (get_ulps): Do not handle complex tests specially.
16919 (output_test): Rename to ...
16920 (get_all_ulps_for_test): ... this. Return a string rather than
16921 printing to a file. Require ulps to be present.
16922 (output_ulps): Generate arrays rather than #defines.
16923 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16924 (struct ulp_data): New type.
16925 (BUILD_COMPLEX_ULP): Remove macro.
16926 (compare_ulp_data): New function.
16927 (find_ulps): Likewise.
16928 (find_test_ulps): Likewise.
16929 (find_function_ulps): Likewise.
16930 (find_complex_function_ulps): Likewise.
16931 (print_max_error): Determine allowed ulps using
16932 find_function_ulps.
16933 (print_complex_max_error): Determine allowed ulps using
16934 find_complex_function_ulps.
16935 (check_float_internal): Determine max ulps using find_test_ulps.
16936 (check_float): Do not take max_ulp parameter. Update call to
16937 check_float_internal.
16938 (check_complex): Likewise.
16939 (check_int): Do not take max_ulp parameter.
16940 (check_long): Likewise.
16941 (check_bool): Likewise.
16942 (check_longlong): Likewise.
16943 (struct test_f_f_data): Remove max_ulp field.
16944 (struct test_ff_f_data): Likewise.
16945 (struct test_ff_f_data_nexttoward): Likewise.
16946 (struct test_fi_f_data): Likewise.
16947 (struct test_fl_f_data): Likewise.
16948 (struct test_if_f_data): Likewise.
16949 (struct test_fff_f_data): Likewise.
16950 (struct test_c_f_data): Likewise.
16951 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16952 (struct test_fF_f1_data): Likewise.
16953 (struct test_ffI_f1_data): Likewise.
16954 (struct test_c_c_data): Remove max_ulp field.
16955 (struct test_cc_c_data): Likewise.
16956 (struct test_f_i_data): Likewise.
16957 (struct test_ff_i_data): Likewise.
16958 (struct test_f_l_data): Likewise.
16959 (struct test_f_L_data): Likewise.
16960 (struct test_sincos_data): Likewise.
16961 (RUN_TEST_f_f): Do not handle ulps.
16962 (RUN_TEST_LOOP_f_f): Likewise.
16963 (RUN_TEST_2_f): Likewise.
16964 (RUN_TEST_LOOP_2_f): Likewise.
16965 (RUN_TEST_fff_f): Likewise.
16966 (RUN_TEST_LOOP_fff_f): Likewise.
16967 (RUN_TEST_c_f): Likewise.
16968 (RUN_TEST_LOOP_c_f): Likewise.
16969 (RUN_TEST_f_f1): Likewise.
16970 (RUN_TEST_LOOP_f_f1): Likewise.
16971 (RUN_TEST_fF_f1): Likewise.
16972 (RUN_TEST_LOOP_fF_f1): Likewise.
16973 (RUN_TEST_fI_f1): Likewise.
16974 (RUN_TEST_LOOP_fI_f1): Likewise.
16975 (RUN_TEST_ffI_f1): Likewise.
16976 (RUN_TEST_LOOP_ffI_f1): Likewise.
16977 (RUN_TEST_c_c): Likewise.
16978 (RUN_TEST_LOOP_c_c): Likewise.
16979 (RUN_TEST_cc_c): Likewise.
16980 (RUN_TEST_LOOP_cc_c): Likewise.
16981 (RUN_TEST_f_i): Likewise.
16982 (RUN_TEST_LOOP_f_i): Likewise.
16983 (RUN_TEST_f_i_tg): Likewise.
16984 (RUN_TEST_LOOP_f_i_tg): Likewise.
16985 (RUN_TEST_ff_i_tg): Likewise.
16986 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16987 (RUN_TEST_f_b): Likewise.
16988 (RUN_TEST_LOOP_f_b): Likewise.
16989 (RUN_TEST_f_b_tg): Likewise.
16990 (RUN_TEST_LOOP_f_b_tg): Likewise.
16991 (RUN_TEST_f_l): Likewise.
16992 (RUN_TEST_LOOP_f_l): Likewise.
16993 (RUN_TEST_f_L): Likewise.
16994 (RUN_TEST_LOOP_f_L): Likewise.
16995 (RUN_TEST_sincos): Likewise.
16996 (RUN_TEST_LOOP_sincos): Likewise.
16998 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17002 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17003 main case of finite arguments, set rounding mode to FE_TONEAREST
17004 and discard exceptions.
17005 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17007 (remainder_tonearest_test_data): New variable.
17008 (remainder_test_tonearest): New function.
17009 (remainder_towardzero_test_data): New variable.
17010 (remainder_test_towardzero): New function.
17011 (remainder_downward_test_data): New variable.
17012 (remainder_test_downward): New function.
17013 (remainder_upward_test_data): New variable.
17014 (remainder_test_upward): New function.
17015 (main): Call the new test functions.
17017 * math/libm-test.inc (struct test_f_f1_data): Remove field
17019 (struct test_fF_f1_data): Likewise.
17020 (struct test_ffI_f1_data): Likewise.
17021 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17022 based on value of EXTRA_EXPECTED.
17023 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17024 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17025 EXTRA_VAR based on value of EXTRA_EXPECTED.
17026 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17027 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17028 EXTRA_VAR based on value of EXTRA_EXPECTED.
17029 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17030 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17031 EXTRA_VAR based on value of EXTRA_EXPECTED.
17032 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17033 * math/gen-libm-test.pl (parse_args): Don't output initializers
17034 for extra output values.
17036 * math/libm-test.inc (check_int): Expect result to be exactly
17037 equal to expected value and do not handle ulps.
17038 (check_long): Likewise.
17039 (check_longlong): Likewise.
17041 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17043 (cimag_test_data): Likewise.
17044 (conj_test_data): Likewise.
17045 (copysign_test_data): Likewise.
17046 (cproj_test_data): Likewise.
17047 (creal_test_data): Likewise.
17048 (fabs_test_data): Likewise.
17049 (fdim_test_data): Likewise.
17050 (finite_test_data): Likewise.
17051 (floor_test_data): Likewise.
17052 (fmax_test_data): Likewise.
17053 (fmin_test_data): Likewise.
17054 (fmod_test_data): Likewise.
17055 (fpclassify_test_data): Likewise.
17056 (frexp_test_data): Likewise.
17057 (ilogb_test_data): Likewise.
17058 (isfinite_test_data): Likewise.
17059 (isgreater_test_data): Likewise.
17060 (isgreaterequal_test_data): Likewise.
17061 (isinf_test_data): Likewise.
17062 (isless_test_data): Likewise.
17063 (islessequal_test_data): Likewise.
17064 (islessgreater_test_data): Likewise.
17065 (isnan_test_data): Likewise.
17066 (isnormal_test_data): Likewise.
17067 (issignaling_test_data): Likewise.
17068 (isunordered_test_data): Likewise.
17069 (ldexp_test_data): Likewise.
17070 (lrint_test_data): Likewise.
17071 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17072 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17073 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17074 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17075 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17076 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17078 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17079 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17080 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17081 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17083 (lrint_downward_test_data): Test for "inexact" exceptions.
17084 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17085 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17086 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17088 (lrint_upward_test_data): Test for "inexact" exceptions.
17089 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17091 (llrint_test_data): Test for "inexact" exceptions.
17092 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17093 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17094 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17095 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17096 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17097 (llrint_downward_test_data): Test for "inexact" exceptions.
17098 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17099 (llrint_upward_test_data): Test for "inexact" exceptions.
17100 (logb_test_data): Likewise.
17101 (logb_downward_test_data): Likewise.
17102 (nextafter_test_data): Likewise.
17103 (nexttoward_test_data): Likewise.
17104 (remainder_test_data): Likewise.
17105 (remquo_test_data): Likewise.
17106 (scalbn_test_data): Likewise.
17107 (scalbln_test_data): Likewise.
17108 (signbit_test_data): Likewise.
17109 (sqrt_test_data): Likewise.
17110 (significand_test_data): Likewise.
17112 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17115 * benchtests/bench-modf.c (struct args): Mark arg0 as
17117 * scripts/bench.pl: Mark members of struct args as volatile.
17119 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17122 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17123 negative infinity on POWER6 or lower.
17124 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17126 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17129 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17130 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17131 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17132 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17133 (_FP_SETQNAN): New macro.
17134 (_FP_SETQNAN_SEMIRAW): Likewise.
17135 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17136 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17137 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17138 (FP_EXTEND): Use _FP_FRAC_SNANP.
17139 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17140 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17147 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17149 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17150 with DIVIDE_BY_ZERO_EXCEPTION.
17151 (gamma_test_data): Likewise.
17152 (lgamma_test_data): Likewise.
17153 (log_test_data): Likewise.
17154 (log10_test_data): Likewise.
17155 (log2_test_data): Likewise.
17156 (tgamma_test_data): Likewise.
17158 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17159 (acos_test_tonearest): Likewise.
17160 (acos_test_towardzero): Likewise.
17161 (acos_test_downward): Likewise.
17162 (acos_test_upward): Likewise.
17163 (acosh_test): Likewise.
17164 (asin_test): Likewise.
17165 (asin_test_tonearest): Likewise.
17166 (asin_test_towardzero): Likewise.
17167 (asin_test_downward): Likewise.
17168 (asin_test_upward): Likewise.
17169 (asinh_test): Likewise.
17170 (atan_test): Likewise.
17171 (atanh_test): Likewise.
17172 (atan2_test): Likewise.
17173 (cabs_test): Likewise.
17174 (cacos_test): Likewise.
17175 (cacosh_test): Likewise.
17176 (casin_test): Likewise.
17177 (casinh_test): Likewise.
17178 (catan_test): Likewise.
17179 (catanh_test): Likewise.
17180 (cbrt_test): Likewise.
17181 (ccos_test): Likewise.
17182 (ccosh_test): Likewise.
17183 (cexp_test): Likewise.
17184 (clog_test): Likewise.
17185 (clog10_test): Likewise.
17186 (cos_test): Likewise.
17187 (cos_test_tonearest): Likewise.
17188 (cos_test_towardzero): Likewise.
17189 (cos_test_downward): Likewise.
17190 (cos_test_upward): Likewise.
17191 (cosh_test): Likewise.
17192 (cosh_test_tonearest): Likewise.
17193 (cosh_test_towardzero): Likewise.
17194 (cosh_test_downward): Likewise.
17195 (cosh_test_upward): Likewise.
17196 (cpow_test): Likewise.
17197 (csin_test): Likewise.
17198 (csinh_test): Likewise.
17199 (csqrt_test): Likewise.
17200 (ctan_test): Likewise.
17201 (ctan_test_tonearest): Likewise.
17202 (ctan_test_towardzero): Likewise.
17203 (ctan_test_downward): Likewise.
17204 (ctan_test_upward): Likewise.
17205 (ctanh_test): Likewise.
17206 (ctanh_test_tonearest): Likewise.
17207 (ctanh_test_towardzero): Likewise.
17208 (ctanh_test_downward): Likewise.
17209 (ctanh_test_upward): Likewise.
17210 (erf_test): Likewise.
17211 (erfc_test): Likewise.
17212 (exp_test): Likewise.
17213 (exp_test_tonearest): Likewise.
17214 (exp_test_towardzero): Likewise.
17215 (exp_test_downward): Likewise.
17216 (exp_test_upward): Likewise.
17217 (exp10_test): Likewise.
17218 (exp2_test): Likewise.
17219 (expm1_test): Likewise.
17220 (fmod_test): Likewise.
17221 (gamma_test): Likewise.
17222 (hypot_test): Likewise.
17223 (j0_test): Likewise.
17224 (j1_test): Likewise.
17225 (jn_test): Likewise.
17226 (lgamma_test): Likewise.
17227 (log_test): Likewise.
17228 (log10_test): Likewise.
17229 (log1p_test): Likewise.
17230 (log2_test): Likewise.
17231 (logb_test_downward): Likewise.
17232 (pow_test): Likewise.
17233 (pow_test_tonearest): Likewise.
17234 (pow_test_towardzero): Likewise.
17235 (pow_test_downward): Likewise.
17236 (pow_test_upward): Likewise.
17237 (remainder_test): Likewise.
17238 (remquo_test): Likewise.
17239 (sin_test): Likewise.
17240 (sin_test_tonearest): Likewise.
17241 (sin_test_towardzero): Likewise.
17242 (sin_test_downward): Likewise.
17243 (sin_test_upward): Likewise.
17244 (sincos_test): Likewise.
17245 (sinh_test): Likewise.
17246 (sinh_test_tonearest): Likewise.
17247 (sinh_test_towardzero): Likewise.
17248 (sinh_test_downward): Likewise.
17249 (sinh_test_upward): Likewise.
17250 (sqrt_test): Likewise.
17251 (tan_test): Likewise.
17252 (tan_test_tonearest): Likewise.
17253 (tan_test_towardzero): Likewise.
17254 (tan_test_downward): Likewise.
17255 (tan_test_upward): Likewise.
17256 (tanh_test): Likewise.
17257 (tgamma_test): Likewise.
17258 (y0_test): Likewise.
17259 (y1_test): Likewise.
17260 (yn_test): Likewise.
17262 * math/gen-libm-test.pl (adjust_arg): Remove function.
17263 (special_function): Remove argument $in_func. Only handle
17264 generating output for tables of tests, not inside functions.
17265 (parse_args): Likewise.
17266 (generate_testfile): Remove variable $in_func. Update call to
17268 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17269 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17270 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17271 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17272 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17273 (MAX_VALUE_INIT): Rename macro to max_value.
17274 (MIN_VALUE_INIT): Rename macro to min_value.
17275 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17276 (plus_zero): Remove variable.
17277 (minus_zero): Likewise.
17278 (plus_infty): Likewise.
17279 (minus_infty): Likewise.
17280 (qnan_value): Likewise.
17281 (max_value): Likewise.
17282 (min_value): Likewise.
17283 (min_subnorm_value): Likewise.
17285 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17287 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17288 uint64_t or uint32_t usage.
17289 * crypt/sha256-block.c: Likewise.
17290 * crypt/sha256-crypt.c: Likewise.
17291 * crypt/sha256.c: Likewise.
17292 * crypt/sha512-block.c: Likewise.
17293 * crypt/sha512-crypt.c: Likewise.
17294 * crypt/sha512.c: Likewise.
17295 * debug/backtrace-tst.c: Likewise.
17296 * debug/pcprofiledump.c: Likewise.
17297 * elf/cache.c: Likewise.
17298 * elf/dl-cache.c: Likewise.
17299 * elf/dl-misc.c: Likewise.
17300 * elf/dl-profile.c: Likewise.
17301 * elf/dl-support.c: Likewise.
17302 * elf/ldconfig.c: Likewise.
17303 * elf/sprof.c: Likewise.
17304 * iconv/dummy-repertoire.c: Likewise.
17305 * iconv/iconv_charmap.c: Likewise.
17306 * iconv/skeleton.c: Likewise.
17307 * iconvdata/8bit-generic.c: Likewise.
17308 * iconvdata/cp737.h: Likewise.
17309 * iconvdata/cp775.h: Likewise.
17310 * iconvdata/ibm1008.h: Likewise.
17311 * iconvdata/ibm1025.h: Likewise.
17312 * iconvdata/ibm1046.h: Likewise.
17313 * iconvdata/ibm1097.h: Likewise.
17314 * iconvdata/ibm1112.h: Likewise.
17315 * iconvdata/ibm1122.h: Likewise.
17316 * iconvdata/ibm1123.h: Likewise.
17317 * iconvdata/ibm1124.h: Likewise.
17318 * iconvdata/ibm1129.h: Likewise.
17319 * iconvdata/ibm1130.h: Likewise.
17320 * iconvdata/ibm1132.h: Likewise.
17321 * iconvdata/ibm1133.h: Likewise.
17322 * iconvdata/ibm1137.h: Likewise.
17323 * iconvdata/ibm1140.h: Likewise.
17324 * iconvdata/ibm1141.h: Likewise.
17325 * iconvdata/ibm1142.h: Likewise.
17326 * iconvdata/ibm1143.h: Likewise.
17327 * iconvdata/ibm1144.h: Likewise.
17328 * iconvdata/ibm1145.h: Likewise.
17329 * iconvdata/ibm1146.h: Likewise.
17330 * iconvdata/ibm1147.h: Likewise.
17331 * iconvdata/ibm1148.h: Likewise.
17332 * iconvdata/ibm1149.h: Likewise.
17333 * iconvdata/ibm1153.h: Likewise.
17334 * iconvdata/ibm1154.h: Likewise.
17335 * iconvdata/ibm1155.h: Likewise.
17336 * iconvdata/ibm1156.h: Likewise.
17337 * iconvdata/ibm1157.h: Likewise.
17338 * iconvdata/ibm1158.h: Likewise.
17339 * iconvdata/ibm1160.h: Likewise.
17340 * iconvdata/ibm1161.h: Likewise.
17341 * iconvdata/ibm1162.h: Likewise.
17342 * iconvdata/ibm1163.h: Likewise.
17343 * iconvdata/ibm1164.h: Likewise.
17344 * iconvdata/ibm1166.h: Likewise.
17345 * iconvdata/ibm1167.h: Likewise.
17346 * iconvdata/ibm12712.h: Likewise.
17347 * iconvdata/ibm1390.h: Likewise.
17348 * iconvdata/ibm1399.h: Likewise.
17349 * iconvdata/ibm16804.h: Likewise.
17350 * iconvdata/ibm4517.h: Likewise.
17351 * iconvdata/ibm4899.h: Likewise.
17352 * iconvdata/ibm4909.h: Likewise.
17353 * iconvdata/ibm4971.h: Likewise.
17354 * iconvdata/ibm5347.h: Likewise.
17355 * iconvdata/ibm803.h: Likewise.
17356 * iconvdata/ibm856.h: Likewise.
17357 * iconvdata/ibm901.h: Likewise.
17358 * iconvdata/ibm902.h: Likewise.
17359 * iconvdata/ibm9030.h: Likewise.
17360 * iconvdata/ibm9066.h: Likewise.
17361 * iconvdata/ibm921.h: Likewise.
17362 * iconvdata/ibm922.h: Likewise.
17363 * iconvdata/ibm9448.h: Likewise.
17364 * iconvdata/isiri-3342.h: Likewise.
17365 * iconvdata/jis0201.h: Likewise.
17366 * include/link.h: Likewise.
17367 * include/netdb.h: Likewise.
17368 * inet/check_native.c: Likewise.
17369 * inet/check_pf.c: Likewise.
17370 * inet/getipv4sourcefilter.c: Likewise.
17371 * inet/getnameinfo.c: Likewise.
17372 * inet/getsourcefilter.c: Likewise.
17373 * inet/htonl.c: Likewise.
17374 * inet/setipv4sourcefilter.c: Likewise.
17375 * inet/setsourcefilter.c: Likewise.
17376 * inet/test-inet6_opt.c: Likewise.
17377 * inet/tst-network.c: Likewise.
17378 * locale/C-collate.c: Likewise.
17379 * locale/C-ctype.c: Likewise.
17380 * locale/C-time.c: Likewise.
17381 * locale/C-translit.h: Likewise.
17382 * locale/loadarchive.c: Likewise.
17383 * locale/programs/3level.h: Likewise.
17384 * locale/programs/charmap.c: Likewise.
17385 * locale/programs/charmap.h: Likewise.
17386 * locale/programs/ld-address.c: Likewise.
17387 * locale/programs/ld-collate.c: Likewise.
17388 * locale/programs/ld-ctype.c: Likewise.
17389 * locale/programs/ld-identification.c: Likewise.
17390 * locale/programs/ld-measurement.c: Likewise.
17391 * locale/programs/ld-messages.c: Likewise.
17392 * locale/programs/ld-monetary.c: Likewise.
17393 * locale/programs/ld-name.c: Likewise.
17394 * locale/programs/ld-numeric.c: Likewise.
17395 * locale/programs/ld-paper.c: Likewise.
17396 * locale/programs/ld-telephone.c: Likewise.
17397 * locale/programs/ld-time.c: Likewise.
17398 * locale/programs/linereader.c: Likewise.
17399 * locale/programs/locale.c: Likewise.
17400 * locale/programs/locarchive.c: Likewise.
17401 * locale/programs/locfile.h: Likewise.
17402 * locale/programs/repertoire.c: Likewise.
17403 * locale/programs/simple-hash.c: Likewise.
17404 * locale/programs/simple-hash.h: Likewise.
17405 * malloc/memusage.c: Likewise.
17406 * malloc/memusagestat.c: Likewise.
17407 * nis/nis_defaults.c: Likewise.
17408 * nis/nis_hash.c: Likewise.
17409 * nis/nis_print.c: Likewise.
17410 * nis/nis_xdr.c: Likewise.
17411 * nscd/connections.c: Likewise.
17412 * nscd/hstcache.c: Likewise.
17413 * nscd/nscd_gethst_r.c: Likewise.
17414 * nscd/nscd_getserv_r.c: Likewise.
17415 * nscd/nscd_helper.c: Likewise.
17416 * nscd/servicescache.c: Likewise.
17417 * nss/makedb.c: Likewise.
17418 * nss/nss_db/db-XXX.c: Likewise.
17419 * nss/nss_db/db-initgroups.c: Likewise.
17420 * nss/nss_db/db-netgrp.c: Likewise.
17421 * nss/nss_files/files-network.c: Likewise.
17422 * nss/nss_files/files-parse.c: Likewise.
17423 * posix/bug-regex5.c: Likewise.
17424 * posix/fnmatch_loop.c: Likewise.
17425 * posix/regcomp.c: Likewise.
17426 * posix/regexec.c: Likewise.
17427 * posix/tst-rfc3484-2.c: Likewise.
17428 * posix/tst-rfc3484-3.c: Likewise.
17429 * posix/tst-rfc3484.c: Likewise.
17430 * resolv/nss_dns/dns-canon.c: Likewise.
17431 * resolv/nss_dns/dns-network.c: Likewise.
17432 * resolv/res_init.c: Likewise.
17433 * resolv/res_mkquery.c: Likewise.
17434 * resolv/tst-aton.c: Likewise.
17435 * stdlib/cxa_atexit.c: Likewise.
17436 * stdlib/cxa_finalize.c: Likewise.
17437 * stdlib/gen-fpioconst.c: Likewise.
17438 * stdlib/strtol_l.c: Likewise.
17439 * string/tst-endian.c: Likewise.
17440 * sunrpc/auth_des.c: Likewise.
17441 * sunrpc/clnt_udp.c: Likewise.
17442 * sunrpc/rtime.c: Likewise.
17443 * sunrpc/svcauth_des.c: Likewise.
17444 * sunrpc/xdr.c: Likewise.
17445 * sunrpc/xdr_intXX_t.c: Likewise.
17446 * sunrpc/xdr_rec.c: Likewise.
17447 * sysdeps/generic/ldconfig.h: Likewise.
17448 * sysdeps/generic/ldsodefs.h: Likewise.
17449 * sysdeps/generic/memusage.h: Likewise.
17450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17451 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17452 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17453 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17455 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17456 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17457 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17458 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17460 * sysdeps/posix/getaddrinfo.c: Likewise.
17461 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17462 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17463 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17464 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17465 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17466 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17467 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17468 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17469 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17470 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17471 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17472 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17473 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17474 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17475 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17476 * sysdeps/x86_64/dl-tls.h: Likewise.
17477 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17478 * time/alt_digit.c: Likewise.
17479 * time/era.c: Likewise.
17480 * wcsmbs/tst-c16c32-1.c: Likewise.
17482 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17484 * math/libm-test.inc (struct test_sincos_data): New type.
17485 (RUN_TEST_LOOP_sincos): New macro.
17486 (sincos_test_data): New variable.
17487 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17489 2013-05-16 Richard Henderson <rth@redhat.com>
17491 * math/atest-exp2.c (LIMB64): New macro.
17492 (CONSTSZ): New macro.
17493 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17495 (print_mpn_fp): ... to function scope.
17496 (read_mpn_hex): Remove.
17497 (get_log2): Remove.
17498 (exp2_mpn): Use mp_log2.
17499 (main): Use mp_exp1.
17501 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17503 * math/libm-test.inc: Remove comment about not testing "inexact"
17505 (INEXACT_EXCEPTION): New macro.
17506 (NO_INEXACT_EXCEPTION): Likewise.
17507 (INVALID_EXCEPTION_OK): Update value.
17508 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17509 (OVERFLOW_EXCEPTION_OK): Likewise.
17510 (UNDERFLOW_EXCEPTION_OK): Likewise.
17511 (IGNORE_ZERO_INF_SIGN): Likewise.
17512 (ERRNO_UNCHANGED): Likewise.
17513 (ERRNO_EDOM): Likewise.
17514 (ERRNO_ERANGE): Likewise.
17515 (test_exceptions): Handle testing "inexact" exceptions.
17516 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17517 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17518 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17519 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17521 (rint_towardzero_test_data): Likewise.
17522 (rint_downward_test_data): Likewise.
17523 (rint_upward_test_data): Likewise.
17525 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17526 with OVERFLOW_EXCEPTION.
17527 (exp10_test_data): Likewise.
17528 (exp2_test_data): Likewise.
17529 (expm1_test_data): Likewise.
17530 (lgamma_test_data): Likewise.
17531 (pow_test_data): Likewise.
17532 (tgamma_test_data): Likewise.
17533 (yn_test_data): Remove duplicate test of overflow.
17535 * math/libm-test.inc (struct test_cc_c_data): New type.
17536 (RUN_TEST_LOOP_cc_c): New macro.
17537 (cpow_test_data): New variable.
17538 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17540 * math/libm-test.inc (struct test_f_L_data): New type.
17541 (RUN_TEST_LOOP_f_L): New macro.
17542 (llrint_test_data): New variable.
17543 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17544 (llrint_tonearest_test_data): New variable.
17545 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17546 (llrint_towardzero_test_data): New variable.
17547 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17548 (llrint_downward_test_data): New variable.
17549 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17550 (llrint_upward_test_data): New variable.
17551 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17552 (llround_test_data): New variable.
17553 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17555 2013-05-13 Peter Collingbourne <pcc@google.com>
17557 * math/atest-exp2.c (get_log2): Remove const attribute.
17559 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17561 * math/libm-test.inc (struct test_f_l_data): New type.
17562 (RUN_TEST_LOOP_f_l): New macro.
17563 (lrint_test_data): New variable.
17564 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17565 (lrint_tonearest_test_data): New variable.
17566 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17567 (lrint_towardzero_test_data): New variable.
17568 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17569 (lrint_downward_test_data): New variable.
17570 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17571 (lrint_upward_test_data): New variable.
17572 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17573 (lround_test_data): New variable.
17574 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17576 2013-05-15 Peter Collingbourne <pcc@google.com>
17578 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17579 (EXTRACT_WORDS64) Use where appropriate.
17580 (INSERT_WORDS64) Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17583 constraints with x constraints.
17584 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17586 * malloc/obstack.c (_obstack_compat): Add initializer.
17588 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17591 si_trapno and add si_addr_lsb to _sifields.sigfault.
17592 (si_trapno): Remove macro.
17593 (si_addr_lsb): Define new macro.
17594 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17596 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17598 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17599 instead of TEST_f_l.
17600 (llrint_test_tonearest): Likewise.
17601 (llrint_test_towardzero): Likewise.
17602 (llrint_test_downward): Likewise.
17603 (llrint_test_upward): Likewise.
17604 (llround_test): Likewise.
17606 * math/libm-test.inc (struct test_f_i_data): Add comment.
17607 (RUN_TEST_LOOP_f_b): New macro.
17608 (RUN_TEST_LOOP_f_b_tg): Likewise.
17609 (finite_test_data): New variable.
17610 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17611 (isfinite_test_data): New variable.
17612 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17613 (isinf_test_data): New variable.
17614 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17615 (isnan_test_data): New variable.
17616 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17617 (isnormal_test_data): New variable.
17618 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17619 (issignaling_test_data): New variable.
17620 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17621 (signbit_test_data): New variable.
17622 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17624 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17625 with INVALID_EXCEPTION.
17626 (acosh_test_data): Likewise.
17627 (asin_test_data): Likewise.
17628 (atanh_test_data): Likewise.
17629 (fmod_test_data): Likewise.
17630 (log_test_data): Likewise.
17631 (log10_test_data): Likewise.
17632 (log2_test_data): Likewise.
17633 (pow_test_data): Likewise.
17634 (sqrt_test_data): Likewise.
17635 (y0_test_data): Likewise.
17636 (y1_test_data): Likewise.
17637 (yn_test_data): Likewise.
17639 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17642 * math/libm-test.inc (struct test_ff_i_data): New type.
17643 (RUN_TEST_LOOP_ff_i_tg): New macro.
17644 (isgreater_test_data): New variable.
17645 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17646 (isgreaterequal_test_data): New variable.
17647 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17648 (isless_test_data): New variable.
17649 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17650 (islessequal_test_data): New variable.
17651 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17652 (islessgreater_test_data): New variable.
17653 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17654 (isunordered_test_data): New variable.
17655 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17657 2013-05-14 David S. Miller <davem@davemloft.net>
17659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17661 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17663 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17665 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17667 (struct test_f_i_data): Change type of max_ulp to int.
17669 * math/libm-test.inc (test_ffI_f1_data): New type.
17670 (RUN_TEST_LOOP_ffI_f1): New macro.
17671 (remquo_test_data): New variable.
17672 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17674 * setjmp/tst-setjmp-fp.c: New file.
17675 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17676 (link-libm): New variable.
17677 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17679 * math/libm-test.inc (struct test_f_i_data): New type.
17680 (RUN_TEST_LOOP_f_i): New macro.
17681 (RUN_TEST_LOOP_f_i_tg): Likewise.
17682 (fpclassify_test_data): New variable.
17683 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17684 (ilogb_test_data): New variable.
17685 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17687 * math/libm-test.inc (scalbln_test): Correct function name in END
17690 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17691 (RUN_TEST_LOOP_fI_f1): New macro.
17692 (frexp_test_data): New variable.
17693 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17695 * math/libm-test.inc (struct test_fF_f1_data): New type.
17696 (RUN_TEST_LOOP_fF_f1): New macro.
17697 (modf_test_data): New variable.
17698 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17700 * math/libm-test.inc (struct test_f_f1_data): New type.
17701 (RUN_TEST_LOOP_f_f1): New macro.
17702 (gamma_test_data): New variable.
17703 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17704 (lgamma_test_data): New variable.
17705 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17707 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17709 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17710 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17711 (main): Comment "tls" pseudo-hwcap.
17713 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17715 * math/libm-test.inc (struct test_fl_f_data): New type.
17716 (RUN_TEST_LOOP_fl_f): New variable.
17717 (scalbln_test_data): New variable.
17718 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17720 * math/libm-test.inc (struct test_fi_f_data): New type.
17721 (RUN_TEST_LOOP_fi_f): New macro.
17722 (ldexp_test_data): New variable.
17723 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17724 (scalbn_test_data): New variable.
17725 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17727 * math/libm-test.inc (struct test_c_f_data): New type.
17728 (RUN_TEST_LOOP_c_f): New macro.
17729 (cabs_test_data): New variable.
17730 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17731 (carg_test_data): New variable.
17732 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17733 (cimag_test_data): New variable.
17734 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17735 (creal_test_data): New variable.
17736 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17738 * math/libm-test.inc (struct test_if_f_data): New type.
17739 (RUN_TEST_LOOP_if_f): New macro.
17740 (jn_test_data): New variable.
17741 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17742 (yn_test_data): New variable.
17743 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17745 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17747 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17749 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17750 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17752 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17754 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17755 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17756 (bench-deps): Add bench-timing.h.
17757 * benchtests-bench-skeleton.c: Include bench-timing.h.
17758 (main): Use TIMING_* macros instead of clock_gettime.
17759 * benchtests/bench-timing.h: New file.
17762 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17763 Renamed from _LIB_VERSION.
17764 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17766 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17768 * math/libm-test.inc (struct test_fff_f_data): New type.
17769 (RUN_TEST_LOOP_fff_f): New macro.
17770 (fma_test_data): New variable.
17771 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17772 (fma_towardzero_test_data): New variable.
17773 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17774 (fma_downward_test_data): New variable.
17775 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17776 (fma_upward_test_data): New variable.
17777 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17779 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17780 (struct test_c_c_data): New type.
17781 (RUN_TEST_LOOP_c_c): New macro.
17782 (cacos_test_data): New variable.
17783 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17784 (cacosh_test_data): New variable.
17785 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17786 (casin_test_data): New variable.
17787 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17788 (casinh_test_data): New variable.
17789 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17790 (catan_test_data): New variable.
17791 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17792 (catanh_test_data): New variable.
17793 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17794 (ccos_test_data): New variable.
17795 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17796 (ccosh_test_data): New variable.
17797 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17798 (cexp_test_data): New variable.
17799 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17800 (clog_test_data): New variable.
17801 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17802 (clog10_test_data): New variable.
17803 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17804 (conj_test_data): New variable.
17805 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17806 (cproj_test_data): New variable.
17807 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17808 (csin_test_data): New variable.
17809 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17810 (csinh_test_data): New variable.
17811 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17812 (csqrt_test_data): New variable.
17813 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17814 (ctan_test_data): New variable.
17815 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17816 (ctan_tonearest_test_data): New variable.
17817 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17818 (ctan_towardzero_test_data): New variable.
17819 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17820 (ctan_downward_test_data): New variable.
17821 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17822 (ctan_upward_test_data): New variable.
17823 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17824 (ctanh_test_data): New variable.
17825 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17826 (ctanh_tonearest_test_data): New variable.
17827 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17828 (ctanh_towardzero_test_data): New variable.
17829 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17830 (ctanh_downward_test_data): New variable.
17831 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17832 (ctanh_upward_test_data): New variable.
17833 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17834 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17837 * math/libm-test.inc (struct test_ff_f_data): New type.
17838 (struct test_ff_f_data_nexttoward): Likewise.
17839 (RUN_TEST_LOOP_2_f): New macro.
17840 (RUN_TEST_LOOP_ff_f): Likewise.
17841 (atan2_test_data): New variable.
17842 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17843 (copysign_test_data): New variable.
17844 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17845 (fdim_test_data): New variable.
17846 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17847 (fmax_test_data): New variable.
17848 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17849 (fmin_test_data): New variable.
17850 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17851 (fmod_test_data): New variable.
17852 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17853 (hypot_test_data): New variable.
17854 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17855 (nextafter_test_data): New variable.
17856 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17857 (nexttoward_test_data): New variable.
17858 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17859 (pow_test_data): New variable.
17860 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17861 (pow_tonearest_test_data): New variable.
17862 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17863 (pow_towardzero_test_data): New variable.
17864 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17865 (pow_downward_test_data): New variable.
17866 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17867 (pow_upward_test_data): New variable.
17868 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17869 (remainder_test_data): New variable.
17870 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17871 (scalb_test_data): New variable.
17872 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17873 * sysdeps/i386/fpu/libm-test-ulps: Update.
17875 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17877 * math/libm-test.inc (fma_test): Use max_value instead of local
17879 (nextafter_test): Likewise.
17881 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17882 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17883 (acos_downward_test_data): New variable.
17884 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17885 (acos_upward_test_data): New variable.
17886 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17887 (acosh_test_data): New variable.
17888 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17889 (asin_test_data): New variable.
17890 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17891 (asin_tonearest_test_data): New variable.
17892 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17893 (asin_towardzero_test_data): New variable.
17894 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17895 (asin_downward_test_data): New variable.
17896 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17897 (asin_upward_test_data): New variable.
17898 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17899 (asinh_test_data): New variable.
17900 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17901 (atan_test_data): New variable.
17902 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17903 (atanh_test_data): New variable.
17904 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17905 (cbrt_test_data): New variable.
17906 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17907 (ceil_test_data): New variable.
17908 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17909 (cos_test_data): New variable.
17910 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17911 (cos_tonearest_test_data): New variable.
17912 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17913 (cos_towardzero_test_data): New variable.
17914 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17915 (cos_downward_test_data): New variable.
17916 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17917 (cos_upward_test_data): New variable.
17918 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17919 (cosh_test_data): New variable.
17920 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17921 (cosh_tonearest_test_data): New variable.
17922 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17923 (cosh_towardzero_test_data): New variable.
17924 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17925 (cosh_downward_test_data): New variable.
17926 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17927 (cosh_upward_test_data): New variable.
17928 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17929 (erf_test_data): New variable.
17930 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17931 (erfc_test_data): New variable.
17932 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17933 (exp_test_data): New variable.
17934 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17935 (exp_tonearest_test_data): New variable.
17936 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17937 (exp_towardzero_test_data): New variable.
17938 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17939 (exp_downward_test_data): New variable.
17940 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17941 (exp_upward_test_data): New variable.
17942 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17943 (exp10_test_data): New variable.
17944 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17945 (exp2_test_data): New variable.
17946 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17947 (expm1_test_data): New variable.
17948 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (fabs_test_data): New variable.
17950 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17951 (floor_test_data): New variable.
17952 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17953 (j0_test_data): New variable.
17954 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (j1_test_data): New variable.
17956 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17957 (log_test_data): New variable.
17958 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17959 (log10_test_data): New variable.
17960 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17961 (log1p_test_data): New variable.
17962 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17963 (log2_test_data): New variable.
17964 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17965 (logb_test_data): New variable.
17966 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (logb_downward_test_data): New variable.
17968 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17969 (nearbyint_test_data): New variable.
17970 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17971 (rint_test_data): New variable.
17972 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17973 (rint_tonearest_test_data): New variable.
17974 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17975 (rint_towardzero_test_data): New variable.
17976 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17977 (rint_downward_test_data): New variable.
17978 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17979 (rint_upward_test_data): New variable.
17980 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17981 (round_test_data): New variable.
17982 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17983 (sin_test_data): New variable.
17984 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17985 (sin_tonearest_test_data): New variable.
17986 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17987 (sin_towardzero_test_data): New variable.
17988 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17989 (sin_downward_test_data): New variable.
17990 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17991 (sin_upward_test_data): New variable.
17992 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17993 (sinh_test_data): New variable.
17994 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (sinh_tonearest_test_data): New variable.
17996 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17997 (sinh_towardzero_test_data): New variable.
17998 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17999 (sinh_downward_test_data): New variable.
18000 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18001 (sinh_upward_test_data): New variable.
18002 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18003 (sqrt_test_data): New variable.
18004 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (tan_test_data): New variable.
18006 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (tan_tonearest_test_data): New variable.
18008 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18009 (tan_towardzero_test_data): New variable.
18010 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18011 (tan_downward_test_data): New variable.
18012 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18013 (tan_upward_test_data): New variable.
18014 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18015 (tanh_test_data): New variable.
18016 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (tgamma_test_data): New variable.
18018 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18019 (trunc_test_data): New variable.
18020 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18021 (y0_test_data): New variable.
18022 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (y1_test_data): New variable.
18024 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18025 (significand_test_data): New variable.
18026 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18028 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18031 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18033 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18035 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18037 2013-05-10 Andreas Jaeger <aj@suse.de>
18040 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18041 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18043 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18045 * math/gen-libm-test.pl (adjust_arg): New function.
18046 (special_functions): Handle generating output in both functions
18048 (parse_args): Likewise.
18049 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18050 $in_func argument to parse_args.
18051 * math/libm-test.inc (struct test_f_f_data): New type.
18052 (IF_ROUND_INIT_): New macro.
18053 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18054 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18055 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18056 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18057 (ROUND_RESTORE_): Likewise.
18058 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18059 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18060 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18061 (ROUND_RESTORE_FE_UPWARD): Likewise.
18062 (RUN_TEST_LOOP_f_f): New macro.
18063 (acos_test_data): New variable.
18064 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18065 (acos_tonearest_test_data): New variable.
18066 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18068 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18070 * benchtests/bench-skeleton.c (startup): Fix coding style.
18072 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18075 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18076 negative infinity argument.
18077 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18078 negative infinity argument.
18079 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18080 negative infinity argument.
18081 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18084 2013-05-10 Florian Weimer <fweimer@redhat.com>
18086 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18087 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18088 * iconv/iconv_prog.c (main): Likewise.
18089 * locale/programs/charmap-dir.c (charmap_readdir)
18090 (fopen_uncompressed): Likewise.
18091 * locale/programs/locfile.c (siblings_uncached)
18092 (write_locale_data): Use lstat64 instead of lstat.
18093 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18096 2013-05-10 Andreas Jaeger <aj@suse.de>
18099 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18101 Include <locale.h>.
18103 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18105 * elf/dl-close.c (_dl_close_worker): Add comments.
18107 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18110 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18112 (__ieee754_rem_pio2l): Update comments.
18115 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18117 (__ieee754_rem_pio2l): Update comments.
18119 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18120 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18122 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18125 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18126 (M_PI_34_LOG10El): Likewise.
18127 (M_PI2_LOG10El): Likewise.
18128 (M_PI4_LOG10El): Likewise.
18129 (M_PI_LOG10El): Likewise.
18131 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18135 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18137 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18138 (MINUS_ZERO_INIT): Likewise.
18139 (PLUS_INFTY_INIT): Likewise.
18140 (MINUS_INFTY_INIT): Likewise.
18141 (QNAN_VALUE_INIT): Likewise.
18142 (MAX_VALUE_INIT): Likewise.
18143 (MIN_VALUE_INIT): Likewise.
18144 (MIN_SUBNORM_VALUE_INIT): Likewise.
18145 (plus_zero): Initialize with PLUS_ZERO_INIT.
18146 (minus_zero): Initialize with MINUS_ZERO_INIT.
18147 (plus_infty): Initialize with PLUS_INFTY_INIT.
18148 (minus_infty): Initialize with MINUS_INFTY_INIT.
18149 (qnan_value): Initialize with QNAN_VALUE_INIT.
18150 (max_value): Initialize with MAX_VALUE_INIT.
18151 (min_value): Initialize with MIN_VALUE_INIT.
18152 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18154 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18155 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18156 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18157 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18159 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18160 (RUN_TEST_2_f): Likewise.
18161 (RUN_TEST_ff_f): Likewise.
18162 (RUN_TEST_fi_f): Likewise.
18163 (RUN_TEST_fl_f): Likewise.
18164 (RUN_TEST_fff_f): Likewise.
18165 (RUN_TEST_c_f): Likewise.
18166 (RUN_TEST_f_f1): Likewise.
18167 (RUN_TEST_fF_f1): Likewise.
18168 (RUN_TEST_fI_f1): Likewise.
18169 (RUN_TEST_ffI_f1): Likewise.
18170 (RUN_TEST_c_c): Likewise.
18171 (RUN_TEST_cc_c): Likewise.
18172 (RUN_TEST_f_i): Likewise.
18173 (RUN_TEST_f_i_tg): Likewise.
18174 (RUN_TEST_ff_i_tg): Likewise.
18175 (RUN_TEST_f_b): Likewise.
18176 (RUN_TEST_f_b_tg): Likewise.
18177 (RUN_TEST_f_l): Likewise.
18178 (RUN_TEST_f_L): Likewise.
18179 (RUN_TEST_sincos): Likewise.
18180 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18181 whether to show exceptions. Do not include ");\n" in return
18183 (special_functions): Output call to RUN_TEST_sincos instead of
18184 check_float calls. Update calls to new_test.
18185 (parse_args): Output call to single RUN_TEST_* macro instead of
18186 check_* calls and other assignments. Update calls to new_test.
18192 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18193 input to result for tgamma overflow.
18194 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18195 (gamma_coeff): New variable.
18196 (NCOEFF): New macro.
18197 (gamma_positive): New function.
18198 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18199 underflow here. Use gamma_positive instead of exp (lgamma) for
18201 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18202 (gamma_coeff): New variable.
18203 (NCOEFF): New macro.
18204 (gammaf_positive): New function.
18205 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18206 underflow here. Use gamma_positive instead of exp (lgamma) for
18208 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18209 (gamma_coeff): New variable.
18210 (NCOEFF): New macro.
18211 (gammal_positive): New function.
18212 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18213 underflow here. Use gamma_positive instead of exp (lgamma) for
18215 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18216 (gamma_coeff): New variable.
18217 (NCOEFF): New macro.
18218 (gammal_positive): New function.
18219 (__ieee754_gammal_r): Handle positive infinity, overflow and
18220 underflow here. Handle NaN the same as positive infinity. Remove
18221 check x < 0xffffffff for negative integers. Use gamma_positive
18222 instead of exp (lgamma) for other arguments.
18223 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18224 (gamma_coeff): New variable.
18225 (NCOEFF): New macro.
18226 (gammal_positive): New function.
18227 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18228 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18232 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18233 * sysdeps/generic/math_private.h (__gamma_productf): New
18235 (__gamma_product): Likewise.
18236 (__gamma_productl): Likewise.
18237 * math/Makefile (libm-calls): Add gamma_product.
18238 * math/libm-test.inc (tgamma_test): Add more tests.
18239 * sysdeps/i386/fpu/libm-test-ulps: Update.
18240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18244 * benchtests/bench-skeleton.c (main): Preheat CPU.
18246 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18248 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18250 2013-05-07 Roland McGrath <roland@hack.frob.com>
18252 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18253 and _dl_skip_args_internal.
18255 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18257 * manual/message.texi (Message Translation): Talk about users.
18258 Message to key mapping impacts design.
18260 2013-05-06 Roland McGrath <roland@hack.frob.com>
18262 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18264 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18266 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18267 * sysdeps/wordsize-64/glob64.c: ... here.
18269 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18270 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18273 * debug/getlogin_r_chk.c: Moved to ...
18274 * login/getlogin_r_chk.c: ... here.
18275 * debug/Makefile (routines): Move getlogin_r_chk to ...
18276 * login/Makefile (routines): ... here.
18277 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18278 * login/Versions (libc: GLIBC_2.4): ... here.
18280 * io/poll.c (__poll): Renamed from poll.
18281 Add libc_hidden_def.
18282 (poll): Define as weak alias.
18284 * debug/ptsname_r_chk.c: Moved to ...
18285 * login/ptsname_r_chk.c: ... here.
18286 * debug/Makefile (routines): Move ptsname_r_chk to ...
18287 * login/Makefile (routines): ... here.
18288 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18289 * login/Versions (libc: GLIBC_2.4): ... here.
18291 * posix/getlogin.c: Moved to ...
18292 * login/getlogin.c: ... here.
18293 * posix/getlogin_r.c: Moved to ...
18294 * login/getlogin_r.c: ... here.
18295 * posix/getlogin_r.c: Moved to ...
18296 * login/getlogin_r.c: ... here.
18297 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18298 * login/Makefile (routines): ... here.
18299 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18300 * login/Versions (libc: GLIBC_2.0): ... here.
18302 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18303 (setrlimit): Define as weak alias.
18305 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18306 Call __ names for open, ftruncate, and close.
18307 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18308 (truncate): Define as weak alias.
18310 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18312 * math/gen-libm-test.pl (parse_args): Initialize x before each
18313 test of frexp, modf and remquo.
18315 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18316 test signgam value.
18318 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18322 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18326 2013-05-06 Roland McGrath <roland@hack.frob.com>
18328 * elf/dl-writev.h: New file.
18329 * elf/dl-misc.c: Include it.
18330 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18331 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18333 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18335 * math/libm-test.inc (noXFails): Remove variable.
18336 (noXPasses): Likewise.
18337 (BUILD_COMPLEX_INT): Remove macro.
18338 (print_screen): Remove xfail argument.
18339 (print_screen_max_error): Likewise.
18340 (update_stats): Likewise.
18341 (print_max_error): Likewise. Update calls to other affected
18343 (print_complex_max_error): Likewise.
18344 (test_single_exception): Update calls to print_screen.
18345 (test_single_errno): Likewise.
18346 (check_float_internal): Remove xfail argument. Update calls to
18347 other affected functions.
18348 (check_float): Likewise.
18349 (check_complex): Likewise.
18350 (check_int): Likewise.
18351 (check_long): Likewise.
18352 (check_bool): Likewise.
18353 (check_longlong): Likewise.
18354 (main): Don't print noXFails and noXPasses.
18355 * math/gen-libm-test.pl (top level): Don't mention expected
18356 failure handling in comment.
18357 (new_test): Don't handle expected failures.
18358 (parse_args): Don't mention expected failure handling in comment.
18359 (generate_testfile): Don't handle expected failures.
18360 (parse_ulps): Likewise.
18361 (print_ulps_file): Likewise.
18362 (get_failure): Remove function.
18363 (output_test): Don't handle expected failures.
18364 * make/README.libm-test: Don't mention expected failure handling.
18366 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18367 (minus_zero): Likewise.
18368 (plus_infty): Likewise.
18369 (minus_infty): Likewise.
18370 (qnan_value): Likewise.
18371 (max_value): Likewise.
18372 (min_value): Likewise.
18373 (min_subnorm_value): Likewise.
18374 (initialize): Do not initialize those variables dynamically.
18376 2013-05-03 Roland McGrath <roland@hack.frob.com>
18378 * io/open.c (__open_2): Moved to ...
18379 * io/open_2.c: ... this new file.
18380 * io/open64.c (__open64_2): Moved to ...
18381 * io/open64_2.c: ... this new file.
18382 * io/openat.c (__openat_2): Moved to ...
18383 * io/openat_2.c: ... this new file.
18384 * io/openat64.c (__openat64_2): Moved to ...
18385 * io/openat64_2.c: ... this new file.
18386 * io/Makefile (routines): Add them.
18387 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18388 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18389 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18390 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18391 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18392 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18393 (__openat64): Add hidden_ver.
18394 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18395 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18397 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18398 Separately conditionalize setting of GLRO(dl_sysinfo) so
18399 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18400 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18402 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18404 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18405 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18407 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18408 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18409 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18410 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18411 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18413 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18415 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18416 test signgam value.
18418 * math/libm-test.inc (hypot_test): Do not use
18419 IGNORE_ZERO_INF_SIGN.
18421 2013-05-03 Andreas Jaeger <aj@suse.de>
18423 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18425 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18426 (PF_MAX): Adjust for VSOCK change.
18428 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18432 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18435 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18436 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18437 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18439 2013-05-02 David S. Miller <davem@davemloft.net>
18441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18443 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18445 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18447 2013-05-01 Roland McGrath <roland@hack.frob.com>
18449 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18451 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18454 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18455 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18456 Use __attribute__ ((__gnu_inline__)).
18457 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18458 Don't use __attribute__ ((__gnu_inline__)).
18460 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18463 * math/s_catan.c (__catan): Handle small real or imaginary part of
18464 input specially to avoid spurious underflow.
18465 * math/s_catanf.c (__catanf): Likewise.
18466 * math/s_catanh.c (__catanh): Likewise.
18467 * math/s_catanhf.c (__catanhf): Likewise.
18468 * math/s_catanhl.c (__catanhl): Likewise.
18469 * math/s_catanl.c (__catanl): Likewise.
18470 * math/libm-test.inc (catan_test): Add more tests.
18471 (catanh_test): Likewise.
18472 * sysdeps/i386/fpu/libm-test-ulps: Update.
18473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18475 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18479 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18482 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18483 accurately for denominator in atan2.
18484 * math/s_catanf.c (__catanf): Likewise.
18485 * math/s_catanh.c (__catanh): Likewise.
18486 * math/s_catanhf.c (__catanhf): Likewise.
18487 * math/s_catanhl.c (__catanhl): Likewise.
18488 * math/s_catanl.c (__catanl): Likewise.
18489 * math/libm-test.inc (catan_test): Add more tests.
18490 (catanh_test): Likewise.
18491 * sysdeps/i386/fpu/libm-test-ulps: Update.
18492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18494 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18496 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18498 * benchtests/Makefile (bench): Remove slow benchmarks.
18499 * benchtests/atan-inputs: Add slow benchmark inputs.
18500 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18501 (BENCH_FUNC): Accept variant offset.
18503 * benchtests/bench-skeleton.c (main): Run benchmark for each
18505 * benchtests/cos-inputs: Add slow benchmark inputs.
18506 * benchtests/exp-inputs: Likewise.
18507 * benchtests/pow-inputs: Likewise.
18508 * benchtests/sin-inputs: Likewise.
18509 * benchtests/slowatan-inputs: Remove.
18510 * benchtests/slowatan.c: Remove.
18511 * benchtests/slowcos-inputs: Remove.
18512 * benchtests/slowcos.c: Remove.
18513 * benchtests/slowexp-inputs: Remove.
18514 * benchtests/slowexp.c: Remove.
18515 * benchtests/slowpow-inputs: Remove.
18516 * benchtests/slowpow.c: Remove.
18517 * benchtests/slowsin-inputs: Remove.
18518 * benchtests/slowsin.c: Remove.
18519 * benchtests/slowtan-inputs: Remove.
18520 * benchtests/slowtan.c: Remove.
18521 * benchtests/tan-inputs: Add slow benchmark inputs.
18522 * scripts/bench.pl: Parse comments and directives.
18524 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18526 ($(objpfx)bench-%.c): Remove *-ITER.
18527 * benchtests/bench-modf.c: Remove definition of ITER.
18528 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18529 (main): Loop for DURATION seconds instead of fixed number of
18531 * scripts/bench.pl: Don't expect iterations in parameters.
18533 2013-04-29 Roland McGrath <roland@hack.frob.com>
18535 * io/fchdir.c (__fchdir): Renamed from fchdir.
18536 (fchdir): Define as weak alias.
18538 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18540 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18541 (ERRNO_EDOM): Likewise.
18542 (ERRNO_ERANGE): Likewise.
18543 (noErrnoTests): New variable.
18544 (init_max_error): Set errno to 0.
18545 (test_single_errno): New function.
18546 (test_errno): Likewise.
18547 (check_float_internal): Call test_errno. Set errno to 0.
18548 (check_complex): Refer to errno tests in comment.
18549 (check_int): Call test_errno. Set errno to 0.
18550 (check_long): Likewise.
18551 (check_bool): Likewise.
18552 (check_longlong): Likewise.
18553 (cos_test): Use ERRNO_* flags for errno tests instead of
18555 (expm1_test): Likewise.
18556 (fmod_test): Likewise.
18557 (ilogb_test): Likewise.
18558 (lgamma_test): Likewise.
18559 (pow_test): Likewise.
18560 (remainder_test): Likewise.
18561 (sin_test): Likewise.
18562 (tan_test): Likewise.
18563 (yn_test): Likewise.
18564 (initialize): Set errno to 0.
18565 (main): Print number of errno tests.
18566 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18568 2013-04-29 Andreas Jaeger <aj@suse.de>
18571 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18575 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18576 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18580 * stdlib/random.c (__initstate): Return NULL if
18584 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18585 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18588 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18592 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18594 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18595 of individual tests.
18596 (casin_test): Likewise.
18597 (casinh_test): Likewise.
18599 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18602 * math/s_catan.c (__catan): Handle arguments with large real or
18603 imaginary part separately without squaring.
18604 * math/s_catanf.c (__catanf): Likewise.
18605 * math/s_catanh.c (__catanh): Likewise.
18606 * math/s_catanhf.c (__catanhf): Likewise.
18607 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18609 (__catanhl): Handle arguments with large real or imaginary part
18610 separately without squaring.
18611 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18613 (__catanl): Handle arguments with large real or imaginary part
18614 separately without squaring.
18615 * math/libm-test.inc (catan_test): Add more tests.
18616 (catanh_test): Likewise.
18617 * sysdeps/i386/fpu/libm-test-ulps: Update.
18618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620 2013-04-27 Andreas Jaeger <aj@suse.de>
18623 * stdlib/stdlib.h: Update guards for qecvt.
18624 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18627 2013-04-27 Allan McRae <allan@archlinux.org>
18629 * sysdeps/i386/fpu/libm-test-ulps: Update.
18631 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18634 * math/s_catan.c: Include <float.h>.
18635 (__catan): Ensure underflow exception occurs for underflowed
18637 * math/s_catanf.c: Include <float.h>.
18638 (__catanf): Ensure underflow exception occurs for underflowed
18640 * math/s_catanh.c: Include <float.h>.
18641 (__catanh): Ensure underflow exception occurs for underflowed
18643 * math/s_catanhf.c: Include <float.h>.
18644 (__catanhf): Ensure underflow exception occurs for underflowed
18646 * math/s_catanhl.c: Include <float.h>.
18647 (__catanhl): Ensure underflow exception occurs for underflowed
18649 * math/s_catanl.c: Include <float.h>.
18650 (__catanl): Ensure underflow exception occurs for underflowed
18652 * math/libm-test.inc (catan_test): Add more tests.
18653 (catanh_test): Likewise.
18656 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18657 underflowed result.
18658 * math/s_ccoshf.c (__ccoshf): Likewise.
18659 * math/s_ccoshl.c (__ccoshl): Likewise.
18660 * math/s_csin.c (__csin): Likewise.
18661 * math/s_csinf.c (__csinf): Likewise.
18662 * math/s_csinh.c (__csinh): Likewise.
18663 * math/s_csinhf.c (__csinhf): Likewise.
18664 * math/s_csinhl.c (__csinhl): Likewise.
18665 * math/s_csinl.c (__csinl): Likewise.
18666 * math/libm-test.inc (ccos_test): Add more tests.
18667 (ccosh_test): Likewise.
18668 (csin_test): Likewise.
18669 (csinh_test): Likewise.
18671 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18673 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18674 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18675 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18676 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18677 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18678 powerpc/power5+/fpu folders.
18679 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18682 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18686 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18688 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18689 additions to variable.
18690 [$(config-machine) = x86_64] (modules-names): Likewise.
18691 ($(objpfx)tst-audit3): Remove dependency.
18692 ($(objpfx)tst-audit3.out): Likewise.
18693 ($(objpfx)tst-audit4): Likewise.
18694 ($(objpfx)tst-audit4.out): Likewise.
18695 ($(objpfx)tst-audit5): Likewise.
18696 ($(objpfx)tst-audit5.out): Likewise.
18697 ($(objpfx)tst-audit6): Likewise.
18698 ($(objpfx)tst-audit6.out): Likewise.
18699 ($(objpfx)tst-audit7): Likewise.
18700 ($(objpfx)tst-audit7.out): Likewise.
18701 (tst-audit3-ENV): Remove variable.
18702 (tst-audit4-ENV): Likewise.
18703 (tst-audit5-ENV): Likewise.
18704 (tst-audit6-ENV): Likewise.
18705 (tst-audit7-ENV): Likewise.
18706 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18707 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18708 addition to variable.
18709 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18711 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18712 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18713 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18714 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18715 tst-audit3, tst-audit4 and tst-audit5.
18716 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18717 tst-audit6 and tst-audit7.
18718 [$(subdir) = elf] (modules-names): Add audit modules for those
18720 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18721 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18722 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18723 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18724 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18725 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18726 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18727 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18728 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18729 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18730 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18731 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18732 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18733 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18734 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18735 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18737 [$(subdir) = elf && $(config-cflags-avx) = yes]
18738 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18739 [$(subdir) = elf && $(config-cflags-avx) = yes]
18740 (CFLAGS-tst-auditmod4a.c): Likewise.
18741 [$(subdir) = elf && $(config-cflags-avx) = yes]
18742 (CFLAGS-tst-auditmod4b.c): Likewise.
18743 [$(subdir) = elf && $(config-cflags-avx) = yes]
18744 (CFLAGS-tst-auditmod6b.c): Likewise.
18745 [$(subdir) = elf && $(config-cflags-avx) = yes]
18746 (CFLAGS-tst-auditmod6c.c): Likewise.
18747 [$(subdir) = elf && $(config-cflags-avx) = yes]
18748 (CFLAGS-tst-auditmod7b.c): Likewise.
18749 * elf/tst-audit3.c: Move to ...
18750 * sysdeps/x86_64/tst-audit3.c: ... here.
18751 * elf/tst-audit4.c: Move to ...
18752 * sysdeps/x86_64/tst-audit4.c: ... here.
18753 * elf/tst-audit5.c: Move to ...
18754 * sysdeps/x86_64/tst-audit5.c: ... here.
18755 * elf/tst-audit6.c: Move to ...
18756 * sysdeps/x86_64/tst-audit6.c: ... here.
18757 * elf/tst-audit7.c: Move to ...
18758 * sysdeps/x86_64/tst-audit7.c: ... here.
18759 * elf/tst-auditmod3a.c: Move to ...
18760 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18761 * elf/tst-auditmod3b.c: Move to ...
18762 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18763 * elf/tst-auditmod4a.c: Move to ...
18764 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18765 * elf/tst-auditmod4b.c: Move to ...
18766 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18767 * elf/tst-auditmod5a.c: Move to ...
18768 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18769 * elf/tst-auditmod5b.c: Move to ...
18770 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18771 * elf/tst-auditmod6a.c: Move to ...
18772 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18773 * elf/tst-auditmod6b.c: Move to ...
18774 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18775 * elf/tst-auditmod6c.c: Move to ...
18776 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18777 * elf/tst-auditmod7a.c: Move to ...
18778 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18779 * elf/tst-auditmod7b.c: Move to ...
18780 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18782 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18785 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18786 define unconditionally.
18787 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18788 define unconditionally.
18789 (INT8_C, INT16_C, etc.): Likewise.
18791 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18793 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18794 __ehdr_start with hidden visibility.
18796 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18798 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18800 * math/libm-test.inc (cos_test): Use accurate hex constants.
18801 (sincost_test): Likewise.
18803 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18805 * math/libm-test.inc (catan_test): Add more tests.
18806 (catanh_test): Likewise.
18808 * math/s_catanf.c (__catanf): Use suffixed floating-point
18810 * math/s_catanhf.c (__catanhf): Likewise.
18811 * math/s_catanhl.c (__catanhl): Likewise.
18812 * math/s_catanl.c (__catanl): Likewise.
18815 * math/s_catan.c (__catan): Calculate imaginary part of result
18816 with log1p not log unless computing log of number close to 0.
18817 * math/s_catanf.c (__catanf): Likewise.
18818 * math/s_catanl.c (__catanl): Likewise.
18819 * math/s_catanh.c (__catanh): Calculate real part of result with
18820 log1p not log unless computing log of number close to 0.
18821 * math/s_catanhf.c (__catanhf): Likewise.
18822 * math/s_catanhl.c (__catanhl): Likewise.
18823 * math/libm-test.inc (catan_test): Add more tests.
18824 (catanh_test): Likewise.
18825 * sysdeps/i386/fpu/libm-test-ulps: Update.
18826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18828 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18830 * benchtests/Makefile: Mention files in which fast and slow
18831 paths of math functions are implemented.
18833 2013-04-23 Roland McGrath <roland@hack.frob.com>
18835 * sysdeps/posix/timespec_get.c: New file.
18837 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18839 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18841 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18843 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18844 powerpc/power5/fpu folders.
18845 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18846 * benchtests/Makefile: Add modf testcase.
18847 * benchtests/bench-modf.c: New file: Benchmark test for mo
18849 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18852 * time/Makefile (tests): Add tst-strptime-whitespace.
18853 * time/strptime_l.c (get_number): Use ISSPACE.
18854 (__strptime_internal): Likewise.
18855 * time/tst-strptime-whitespace.c: New test case.
18857 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18859 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18861 (_nss_files_init): Set it here.
18863 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18865 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18866 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18869 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18871 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18873 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18875 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18878 2013-04-21 David S. Miller <davem@davemloft.net>
18880 * po/ru.po: Update Russion translation from translation project.
18882 2013-04-17 Adam Conrad <adconrad@0c3.net>
18884 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18887 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18889 * configure.in: Remove i386 configure warning. Remove i386 case.
18890 * configure: Regenerate.
18891 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18892 Add example to error message.
18893 * sysdeps/i386/configure: Regenerate.
18895 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18897 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18899 * benchtests/cos-inputs: New file.
18900 * benchtests/slowcos-inputs: New file.
18901 * benchtests/slowcos.c: New file.
18902 * benchtests/slowtan-inputs: New file.
18903 * benchtests/slowtan.c: New file.
18904 * benchtests/tan-inputs: New file.
18906 2013-04-16 Roland McGrath <roland@hack.frob.com>
18908 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18911 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18913 * benchtests/Makefile: Include cppflags-iterator.mk to add
18914 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18916 * Makefile.in (bench-clean): New target.
18917 * benchtests/Makefile (bench-clean): Likewise.
18919 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18921 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18923 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18925 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18927 2013-04-15 Andreas Schwab <schwab@suse.de>
18929 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18931 * nscd/pwdcache.c (cache_addpw): Likewise.
18932 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18935 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18937 * benchtests/Makefile (bench): Write all output to
18938 bench-out.tmp together.
18940 2013-04-15 Andreas Schwab <schwab@suse.de>
18942 * nscd/nscd.c (main): Don't fork again after closing files.
18944 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18946 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18948 * benchtests/Rules (bench-deps): Collect dependencies into a
18949 single variable. Add Makefile to dependencies.
18950 ($(objpfx)bench-%.c): Depend on bench-deps.
18952 2013-04-12 Roland McGrath <roland@hack.frob.com>
18953 Xavier Roche <roche+kml2@exalead.com>
18956 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18957 just that it's a file descriptor.
18958 * manual/llio.texi (Synchronizing AIO Operations): Update description
18959 for EBADF error from aio_fsync.
18961 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18963 * Rules (bench): Move target definition...
18964 * benchtests/Makefile: ... here.
18966 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18968 * math/libm-test.inc (cos_test): Fix PI/2 test.
18969 (sincos_test): Likewise.
18970 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18971 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18973 2013-04-11 Andreas Schwab <schwab@suse.de>
18976 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18977 accept exponent character only when digits were seen.
18978 * stdio-common/Makefile (tests): Add bug26.
18979 * stdio-common/bug26.c: New file.
18982 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18985 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18987 * Makeconfig (rtld-prefix): Define built linker prefix.
18988 * Rules (run-bench): Use it.
18989 * math/Makefile (run-regen-ulps): Likewise.
18991 * Rules (bench): Remove eval.
18993 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18994 Roland McGrath <roland@hack.frob.com>
18995 Ondrej Bilka <neleai@seznam.cz>
18998 * time/getdate.c: Include ctype.h and alloca.h.
18999 (__getdate_r): Trim leading and trailing spaces of input.
19000 * time/tst-getdate.c (tests): Add tests with leading and
19003 2013-04-08 Roland McGrath <roland@hack.frob.com>
19006 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19007 when computing value.
19009 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19011 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19012 Use testrun.sh to run libm tests.
19015 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19017 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19020 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19022 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19024 * Makefile.in (regen-ulps): New target.
19025 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19026 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19027 [ifneq (no,$(PERL)] (regen-ulps): New target.
19028 [ifeq (no,$(PERL)] (regen-ulps): New target.
19029 * math/libm-test.inc (ulps_file_name): Define.
19030 (output_dir): New variable.
19031 (options): Add "output-dir" option.
19032 (parse_opt): Handle 'o' case.
19033 (main): If output_dir is non-NULL use it as a prefix
19035 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19037 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19039 [BZ #10060, #10062]
19040 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19041 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19042 fail configure if __sync_val_compare_and_swap is not inlined.
19043 * sysdeps/i386/configure: Regenerate.
19044 * configure.in: Build for i686 when configured for i386.
19045 * configure: Regenerate.
19046 * README: Remove i386 reference.
19048 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19050 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19051 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19053 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19055 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19056 (lmsnanval): New variables.
19057 (F): Add conversion tests.
19058 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19059 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19061 * stdio-common/tstdiomisc.c (F): Properly collect individual
19064 [BZ #14686, #15336]
19065 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19066 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19067 Instead, use input NaN values or generate a qNaN by arithmetic
19068 operation. Also fix bugs to comply with the standard.
19069 * math/libm-test.inc (remainder_test): Add more tests.
19071 [BZ #15335, #15342]
19072 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19074 input NaN values or generate a qNaN by arithmetic operation.
19076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19079 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19082 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19085 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19086 underflowed result.
19087 * math/s_cexpf.c (__cexpf): Likewise.
19088 * math/s_cexpl.c (__cexpl): Likewise.
19089 * math/libm-test.inc (cexp_test): Add more tests.
19091 2013-04-03 Andreas Schwab <schwab@suse.de>
19094 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19095 order arrays from heap if bigger than alloca cutoff.
19097 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19099 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19100 (SNAN_TESTS_double): Refer to GCC PR56831.
19101 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19104 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19106 * Rules (bench): Move bench.out after the run is complete.
19108 * Rules (bench): Echo currently running benchmark.
19110 * benchtests/Makefile (bench): Add atan and slowatan.
19111 * benchtests/atan-inputs: New file.
19112 * benchtests/slowatan-inputs: New file.
19113 * benchtests/slowatan.c: New file.
19115 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19116 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19120 * sysdeps/unix/sysv/linux/kernel-features.h
19121 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19122 __ASSUME_XFS_RESTRICTED_CHOWN.
19123 * sysdeps/unix/sysv/linux/pathconf.c
19124 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19125 Save and restore errno.
19127 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19130 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19131 arguments using __kernel_casinh.
19132 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19133 arguments using __kernel_casinhf.
19134 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19135 arguments using __kernel_casinhl.
19136 * math/libm-test.inc (cacosh_test): Add more tests.
19137 * sysdeps/i386/fpu/libm-test-ulps: Update.
19138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19140 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19142 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19143 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19145 * bench/Makefile (bench): Add sin and slowsin.
19146 * benchtests/sin-inputs: New file.
19147 * benchtests/slowsin-inputs: New file.
19148 * benchtests/slowsin.c: New file.
19150 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19151 (bench): Add slowexp and slowpow.
19152 (exp-ITER): Increase iterations.
19153 (pow-ITER): Likewise.
19154 * benchtests/exp-inputs: Change input.
19155 * benchtests/pow-inputs: Likewise.
19156 * benchtests/slowexp-inputs: New file.
19157 * benchtests/slowexp.c: New file.
19158 * benchtests/slowpow-inputs: New file.
19159 * benchtests/slowpow.c: New file.
19161 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19163 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19165 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19166 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19167 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19168 * benchtests/Makefile: Add rint benchtest.
19169 * benchtests/rint-inputs: Input for rint benchtest.
19171 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19173 * Versions.def (libm): Add GLIBC_2.18.
19174 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19175 hidden libm prototypes.
19176 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19177 * math/Makefile (libm-calls): Add s_issignaling.
19178 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19179 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19180 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19182 * math/math.h [__USE_GNU] (issignaling): New macro.
19183 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19184 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19189 * manual/arith.texi (issignaling): New section.
19190 * manual/libm-err-tab.pl (@all_functions): Update comment.
19191 * math/gen-libm-test.pl (parse_args): Apply special handling for
19193 * math/libm-test.inc (print_float, issignaling_test): New
19195 (check_float_internal): Add issignaling checks.
19196 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19197 default definition.
19198 * sysdeps/powerpc/math-tests.h: New file.
19199 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19201 * math/test-snan.c (TEST_FUNC): Likewise.
19203 2013-03-30 David S. Miller <davem@davemloft.net>
19205 * po/de.po: Update from translation team.
19207 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19210 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19211 imaginary part less than 1.0 and real part less than 0.5
19213 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19214 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19215 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19216 (cacos_test): Add more tests.
19217 (casin_test): Likewise.
19218 (casinh_test): Likewise.
19219 * sysdeps/i386/fpu/libm-test-ulps: Update.
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19222 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19224 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19225 ONE with its value.
19227 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19228 (__pow_mp): Replace ONE and MONE with their values.
19229 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19231 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19232 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19233 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19234 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19236 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19238 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19239 (__pow_mp): Replace ZERO and MZERO with their values.
19240 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19242 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19244 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19245 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19248 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19250 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19252 2013-03-28 Roland McGrath <roland@hack.frob.com>
19254 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19255 Declare with __attribute__ ((weak)).
19256 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19257 Call __call_tls_dtors only if it's not NULL.
19259 2013-03-28 Roland McGrath <roland@hack.frob.com>
19261 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19262 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19263 magic __ehdr_start linker symbol if it's defined.
19264 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19265 them up here if it was already done.
19267 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19268 (_dl_aux_init): Use const in cast when setting it.
19269 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19270 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19271 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19273 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19275 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19276 * csu/libc-tls.c: Nor here.
19277 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19279 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19280 (__libc_message): Never call vsyslog.
19282 2013-03-28 Alan Modra <amodra@gmail.com>
19284 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19286 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19289 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19292 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19296 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19299 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19300 Don't add gid passed as argument.
19302 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19304 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19307 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19308 imaginary part between 1.0 and 1.5 and real part less than 0.5
19310 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19311 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19312 * math/libm-test.inc (cacos_test): Add more tests.
19313 (casin_test): Likewise.
19314 (casinh_test): Likewise.
19315 * sysdeps/i386/fpu/libm-test-ulps: Update.
19316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19323 (denorm): Likewise.
19324 (__dbl_mp): Likewise.
19325 (add_magnitudes): Likewise.
19326 (sub_magnitudes): Likewise.
19334 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19336 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19337 (__dubcos): Likewise.
19338 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19339 (__ieee754_acos): Likewise.
19340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19341 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19342 (__exp1): Likewise.
19343 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19346 (my_log2): Likewise.
19347 (checkint): Likewise.
19348 * sysdeps/ieee754/dbl-64/e_remainder.c
19349 (__ieee754_remainder): Likewise.
19350 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19352 (bsloww): Likewise.
19353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19355 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19356 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19357 MANTISSA_STORE_T to store computations on mantissa. Use
19358 macros for rounding and division.
19359 (denorm): Likewise.
19360 (__dbl_mp): Likewise.
19361 (add_magnitudes): Likewise.
19362 (sub_magnitudes): Likewise.
19365 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19366 powers of two in terms of TWOPOW macro.
19367 (mp_no): Make type of mantissa as MANTISSA_T.
19368 [!RADIXI]: Define RADIXI.
19369 [!TWO52]: Define TWO52.
19370 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19372 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19374 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19375 llroundl symbol when building for PPC32.
19377 2013-03-24 Mark H Weaver <mhw@netris.org>
19379 * manual/arith.texi (Normalization Functions): Fix prototypes for
19380 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19382 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19385 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19386 high value to check if expl overflow.
19387 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19388 to check for underflow and overflow.
19389 * math/libm-test.inc: Add exp test.
19391 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19394 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19397 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19399 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19402 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19404 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19405 wrap blocks consisting of several statements.
19407 * sysdeps/generic/math-tests.h: New file.
19408 * sysdeps/i386/fpu/math-tests.h: Likewise.
19409 * math/test-snan.c: Include it.
19410 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19412 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19415 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19416 (__ieee754_j0l): Do not improve calculations using cos of twice
19417 input for inputs above LDBL_MAX / 2.0L.
19418 (__ieee754_y0l): Likewise.
19419 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19420 (__ieee754_j1l): Do not improve calculations using cos of twice
19421 input for inputs above LDBL_MAX / 2.0L.
19422 (__ieee754_y1l): Likewise.
19423 * math/libm-test.inc (j0_test): Add another test.
19424 (j1_test): Likewise.
19425 (y0_test): Likewise.
19426 (y1_test): Likewise.
19427 * sysdeps/i386/fpu/libm-test-ulps: Update.
19429 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19431 * Rules ($(objpfx)bench-%.c): Include code from a C source
19434 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19437 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19438 imaginary part 1.0 and real part less than 0.5 specially.
19439 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19440 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19441 * math/libm-test.inc (cacos_test): Add more tests.
19442 (casin_test): Likewise.
19443 (casinh_test): Likewise.
19444 * sysdeps/i386/fpu/libm-test-ulps: Update.
19445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19447 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19449 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19450 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19452 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19454 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19455 * config.make.in (config-cflags-sse4): Remove variable.
19456 (config-cflags-avx): Likewise.
19457 (config-cflags-sse2avx): Likewise.
19458 (config-cflags-novzeroupper): Likewise.
19459 (config-asflags-i686): Likewise.
19460 (have-mfma4): Likewise.
19461 (have-as-vis3): Likewise.
19463 * configure.in (MIG): Do not AC_SUBST.
19464 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19465 (libc_cv_cc_sse4): Do not AC_SUBST.
19466 (libc_cv_cc_avx): Likewise.
19467 (libc_cv_cc_sse2avx): Likewise.
19468 (libc_cv_cc_novzeroupper): Likewise.
19469 (libc_cv_cc_fma4): Likewise.
19470 (libc_cv_as_i686): Likewise.
19471 (libc_cv_sparc_as_vis3): Likewise.
19472 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19474 (config-asflags-i686): Likewise.
19475 (config-cflags-avx): Likewise.
19476 (config-cflags-sse2avx): Likewise.
19477 (have-mfma4): Likewise.
19478 (config-cflags-novzeroupper): Likewise.
19479 * sysdeps/mach/configure.in (MIG): Likewise.
19480 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19481 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19483 (config-cflags-avx): Likewise.
19484 (config-cflags-sse2avx): Likewise.
19485 (have-mfma4): Likewise.
19486 (config-cflags-novzeroupper): Likewise.
19487 * configure: Regenerated.
19488 * sysdeps/i386/configure: Likewise.
19489 * sysdeps/mach/configure: Likewise.
19490 * sysdeps/sparc/configure: Likewise.
19491 * sysdeps/x86_64/configure: Likewise.
19493 2013-03-20 Roland McGrath <roland@hack.frob.com>
19496 * locale/programs/localedef.c (options): Put N_ translation marker
19497 on argument names, not just descriptions.
19499 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19501 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19503 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19506 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19508 2013-03-19 Roland McGrath <roland@hack.frob.com>
19510 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19511 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19512 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19513 [!BEFORE_ABORT] (before_abort): New function.
19514 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19515 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19516 (writev_for_fatal): New function.
19517 (WRITEV_FOR_FATAL): New macro; call that.
19518 (backtrace_and_maps): New function.
19519 (BEFORE_ABORT): New macro; call that.
19520 (struct str_list): Type removed.
19521 (__libc_message, __libc_fatal): Functions removed.
19522 Include <sysdeps/posix/libc_fatal.c> instead.
19524 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19526 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19528 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19531 2013-03-19 Andreas Schwab <schwab@suse.de>
19533 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19534 * sysdeps/gnu/configure: Regenerate.
19536 * configure.in: Substitute libc_cv_rtlddir.
19537 * configure: Regenerate.
19538 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19539 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19540 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19541 * elf/Makefile (install-others, CFLAGS-interp.c)
19542 (ldso_install, common-ldd-rewrite): Likewise.
19543 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19544 $(inst_slibdir)/$(rtld-installed-name).
19545 * scripts/rellns-sh: Add -p option.
19546 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19549 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19551 * manual/nptl.texi: Renamed to ...
19552 * manual/threads.texi: ... this.
19553 * manual/Makefile (chapters): Update.
19555 2013-03-18 Roland McGrath <roland@hack.frob.com>
19558 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19559 on argument names, not just descriptions.
19560 * malloc/memusagestat.c (options): Likewise.
19561 * nss/getent.c (options): Likewise.
19563 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19566 * iconv/iconv_prog.c (options): Put N_ translation marker
19567 on argument names, not just descriptions.
19568 * iconv/iconvconfig.c (options): Likewise.
19570 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19572 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19573 implementation which is faster on all x86_64 architectures.
19574 Tested on AMD, Intel Nehalem, SNB, IVB.
19575 * sysdeps/x86_64/strnlen.S: Likewise.
19577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19578 Remove all multiarch strlen and strnlen versions.
19579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19580 Remove strlen and strnlen related parts.
19582 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19583 Inline strlen part.
19584 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19586 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19587 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19588 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19589 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19590 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19591 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19593 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19595 * manual/memory.texi (Malloc Tunable Parameters):
19596 Sort parameters alphabetically. Add comments for missing entries.
19598 2013-03-17 David S. Miller <davem@davemloft.net>
19600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19602 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19605 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19606 for arguments at most half maximum finite value.
19607 * math/libm-test.inc (j0_test): Add more tests.
19608 (j1_test): Likewise.
19609 (y0_test): Likewise.
19610 (y1_test): Likewise.
19611 * sysdeps/i386/fpu/libm-test-ulps: Update.
19612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19615 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19616 1 / x and functions P and Q for arguments above 0x1p256L.
19617 (__ieee754_y0l): Likewise.
19618 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19619 (__ieee754_y1l): Likewise.
19620 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19621 (j1_test): Likewise.
19622 (y0_test): Likewise.
19623 (y1_test): Likewise.
19625 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19627 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19630 2013-03-15 Roland McGrath <roland@hack.frob.com>
19632 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19633 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19634 zero since it's initialized to EXEC_PAGESIZE.
19636 * sysdeps/unix/sysv/linux/ldsodefs.h
19637 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19638 * sysdeps/generic/ldsodefs.h: ... here.
19640 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19642 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19644 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19646 * math/test-snan.c: Renamed from
19647 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19648 * math/Makefile (tests): Add test-snan.
19649 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19652 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19653 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19655 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19656 __builtin_nan family of functions.
19657 * math/libm-test.inc (initialize): Initialize qnan_value with
19658 __builtin_nan family of functions.
19659 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19661 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19663 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19664 storage class. Initialize qNaN_var and sNaN_var with
19665 __builtin_nan and __builtin_nans families of functions,
19668 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19669 (sqrt_test): Remove duplicate test with qNaN input.
19670 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19671 (round_test, signbit_test, significand_test): Note missing +/-Inf
19672 as well as qNaN tests.
19674 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19675 qNaN_var. Fix a few strings, too.
19676 * math/libm-test.inc (nan_value): Rename to qnan_value.
19677 * math/gen-libm-test.pl (%beautify): Adjust to that.
19678 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19679 * math/test-misc.c (main): Likewise.
19680 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19681 to __qnan_bytes, and __qnan_union, respectively.
19682 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19684 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19685 and lqnanval, respectively.
19686 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19687 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19688 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19689 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19691 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19692 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19695 * math/test-misc.c (main): Fix copy'n'pastos.
19696 * misc/tst-efgcvt.c (special): Likewise.
19698 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19699 Remove declarations.
19701 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19703 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19704 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19705 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19706 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19708 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19710 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19711 macro to return vdso values correctly in IFUNC implementations.
19712 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19713 Optimization by using IFUNC.
19715 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19716 Richard Henderson <rth@redhat.com>
19717 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19719 * Makefile.in (bench): New target.
19720 * NEWS: Mention the benchmark framework.
19721 * Rules (bench): Likewise.
19722 (binaries-bench): Generate binaries for functions to
19724 * benchtests/Makefile: New makefile for benchmark tests.
19725 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19727 * benchtests/exp-inputs: New input file for EXP function.
19728 * benchtests/pow-inputs: New input file for POW function.
19729 * scripts/bench.pl: New script to generate source files for
19730 benchmark programs.
19732 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19734 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19735 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19736 computations on mantissa. Use macros for rounding and
19738 (denorm): Likewise.
19739 (__dbl_mp): Likewise.
19740 (add_magnitudes): Likewise.
19741 (sub_magnitudes): Likewise.
19744 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19745 powers of two in terms of TWOPOW macro.
19746 (mp_no): Make type of mantissa as MANTISSA_T.
19747 [!RADIXI]: Define RADIXI.
19748 [!TWO52]: Define TWO52.
19749 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19751 * manual/nptl.texi (cindex): Modify threads to pthreads.
19753 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19755 * sysdeps/x86_64/preconfigure: Regenerated.
19757 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19760 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19762 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19763 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19765 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19766 * math/libm-test.inc (j0_test): Do not allow one spurious
19767 underflow exception.
19768 (y1_test): Likewise.
19770 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19772 * manual/Makefile (chapters): Add nptl.
19773 * manual/debug.texi (Debugging Support): Add link to Threads
19775 * manual/nptl.texi: New file.
19777 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19779 2013-03-14 Petr Baudis <pasky@ucw.cz>
19781 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19782 for non-NULL pointer before the memory validity test. Pointed
19783 out by Holger Brunck <holger.brunck@keymile.com>.
19785 2013-03-13 Andreas Schwab <schwab@suse.de>
19787 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19790 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19792 * timezone/zic.c: Update from tzcode 2013b.
19794 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19796 * manual/install.texi (Configuring and compiling):
19797 Mention i686 and i586.
19798 * INSTALL: Regenerate.
19800 2013-03-12 Roland McGrath <roland@hack.frob.com>
19802 * sysdeps/init_array/elf-init.c: New file.
19804 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19805 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19807 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19808 __gmon_start__ as global, but as static with a .preinit_array pointer.
19809 * sysdeps/init_array/gmon-start.c: New file. Use that.
19810 * sysdeps/init_array/crti.S: New file, empty except for comments.
19811 * sysdeps/init_array/crtn.S: Likewise.
19813 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19815 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19818 Remove Prefer_SSE_for_memop.
19819 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19820 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19821 HAS_PREFER_SSE_FOR_MEMOP.
19822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19825 Remove bzero, memset ifunc support.
19826 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19827 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19828 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19829 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19831 2013-03-11 Andreas Schwab <schwab@suse.de>
19834 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19837 (GLIBC_2.16): Remove pthread_atfork.
19839 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19841 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19842 (ptestcases.h): Likewise.
19844 2013-03-08 Roland McGrath <roland@hack.frob.com>
19846 * Makeconfig ($(common-objpfx)config.status): Depend on
19847 sysdeps/*/preconfigure{,.in} too.
19849 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19851 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19852 (__free_hook): Use void * instead of __malloc_ptr_t.
19853 (__malloc_hook): Likewise.
19854 (__realloc_hook): Likewise.
19855 (__memalign_hook): Likewise.
19856 (__after_morecore_hook): Likewise.
19857 * malloc/arena.c (save_malloc_hook): Likewise.
19858 (save_free_hook): Likewise.
19859 * malloc/hooks.c (malloc_hook_ini): Likewise.
19860 (realloc_hook_ini): Likewise.
19861 (memalign_hook_ini): Likewise.
19862 * malloc/malloc.c (malloc_hook_ini): Likewise.
19863 (realloc_hook_ini): Likewise.
19864 (memalign_hook_ini): Likewise.
19865 (__free_hook): Likewise.
19866 (__malloc_hook): Likewise.
19867 (__realloc_hook): Likewise.
19868 (__memalign_hook): Likewise.
19869 (__libc_malloc): Likewise.
19870 (__libc_free): Likewise.
19871 (__libc_realloc): Likewise.
19872 (__libc_memalign): Likewise.
19873 (__libc_valloc): Likewise.
19874 (__libc_pvalloc): Likewise.
19875 (__libc_calloc): Likewise.
19876 (__posix_memalign): Likewise.
19877 * malloc/morecore.c (__sbrk): Likewise.
19878 (__default_morecore): Likewise.
19880 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19882 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19883 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19884 __malloc_ptrdiff_t.
19886 * malloc/malloc.h (__malloc_size_t): Remove macro.
19887 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19889 (old_memalign_hook): Likewise.
19890 (old_realloc_hook): Likewise.
19891 (struct hdr): Likewise.
19893 (mallochook): Likewise.
19894 (memalignhook): Likewise.
19895 (reallochook): Likewise.
19896 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19897 (tr_old_realloc_hook): Likewise.
19898 (tr_old_memalign_hook): Likewise.
19899 (tr_mallochook): Likewise.
19900 (tr_reallochook): Likewise.
19901 (tr_memalignhook): Likewise.
19903 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19906 default_ldbl_pack and using as default implementation.
19907 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19909 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19910 redundant definition.
19911 (ldbl_insert_mantissa): Likewise.
19912 (ldbl_canonicalize): Likewise.
19913 (ldbl_nearbyint): Likewise.
19914 (ldbl_pack): Rename to ldbl_pack_ppc.
19915 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19916 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19917 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19919 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19922 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19923 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19924 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19926 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19927 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19928 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19930 2013-03-07 Andreas Jaeger <aj@suse.de>
19932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19935 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19937 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19938 Include mpa.h and declare __MPEXP.
19939 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19940 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19941 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19942 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19943 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19944 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19945 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19947 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19948 (__slowpow): Use long double EXPL and LOGL functions to
19950 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19951 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19952 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19953 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19954 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19958 intermediate variable to calculate exponent.
19960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19964 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19965 [!NO__SQR]: Define __sqr.
19966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19967 and NO__SQR. Remove all code except __mul and __sqr. Include
19968 sysdeps/ieee754/dbl-64/mpa.c.
19969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19972 * posix/Makefile (tests): Add tst-pathconf.
19973 * posix/tst-pathconf.c: New test case.
19974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19976 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19978 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19980 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19982 2013-03-06 Andreas Jaeger <aj@suse.de>
19984 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19985 definition via __MAP_ANONYMOUS.
19987 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19988 it's not part of Linux headers.
19990 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19991 (MAP_HUGE_MASK): Define.
19993 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19995 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19998 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19999 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20001 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20004 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20006 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20007 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20008 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20009 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20010 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20011 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20013 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20016 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20017 Handle f2fs and efivarfs.
20019 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20022 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20023 (EFIVARFS_MAGIC): Add.
20024 (F2FS_LINK_MAX): Add.
20026 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20028 * stdio-common/vfprintf.c: Replace __builtin_expect with
20031 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20034 * sysdeps/generic/bp-sym.h: Remove file.
20035 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20036 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20037 <bp-sym.h> and <bp-asm.h>.
20038 (__longjmp): Don't use BP_SYM.
20039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20041 (memcpy): Don't use BP_SYM.
20042 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20043 <bp-sym.h> and <bp-asm.h>.
20044 (memcpy): Don't use BP_SYM.
20045 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20047 (memcpy): Don't use BP_SYM.
20048 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20050 (memset): Don't use BP_SYM.
20051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20053 (__bzero): Don't use BP_SYM.
20054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20056 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20057 <bp-sym.h> and <bp-asm.h>.
20058 (memcmp): Don't use BP_SYM. Remove comment about bounded
20060 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20061 <bp-sym.h> and <bp-asm.h>.
20062 (memcpy): Don't use BP_SYM.
20063 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20064 <bp-sym.h> and <bp-asm.h>.
20065 (memset): Don't use BP_SYM.
20066 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20067 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20068 (__bzero): Don't use BP_SYM.
20069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20072 <bp-sym.h> and <bp-asm.h>.
20073 (strncmp): Don't use BP_SYM. Remove comment about bounded
20075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20076 <bp-sym.h> and <bp-asm.h>.
20077 (memcpy): Don't use BP_SYM.
20078 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20079 <bp-sym.h> and <bp-asm.h>.
20080 (memset): Don't use BP_SYM.
20081 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20082 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20083 (__bzero): Don't use BP_SYM.
20084 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20085 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20086 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20087 <bp-sym.h> and <bp-asm.h>.
20088 (__memchr): Don't use BP_SYM.
20089 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20090 <bp-sym.h> and <bp-asm.h>.
20091 (memcmp): Don't use BP_SYM. Remove comment about bounded
20093 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20094 <bp-sym.h> and <bp-asm.h>.
20095 (memcpy): Don't use BP_SYM.
20096 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20097 <bp-sym.h> and <bp-asm.h>.
20098 (__mempcpy): Don't use BP_SYM.
20099 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20100 <bp-sym.h> and <bp-asm.h>.
20101 (__memrchr): Don't use BP_SYM.
20102 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20103 <bp-sym.h> and <bp-asm.h>.
20104 (memset): Don't use BP_SYM.
20105 (__bzero): Likewise.
20106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20107 <bp-sym.h> and <bp-asm.h>.
20108 (__rawmemchr): Don't use BP_SYM.
20109 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20110 <bp-sym.h> and <bp-asm.h>.
20111 (__STRCMP): Don't use BP_SYM.
20112 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20113 <bp-sym.h> and <bp-asm.h>.
20114 (strchr): Don't use BP_SYM.
20115 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20116 <bp-sym.h> and <bp-asm.h>.
20117 (__strchrnul): Don't use BP_SYM.
20118 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20119 <bp-sym.h> and <bp-asm.h>.
20120 (strlen): Don't use BP_SYM.
20121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (strncmp): Don't use BP_SYM. Remove comment about bounded
20125 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20126 <bp-sym.h> and <bp-asm.h>.
20127 (__strnlen): Don't use BP_SYM.
20128 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20129 <bp-sym.h> and <bp-asm.h>.
20130 (__GI__setjmp): Don't use BP_SYM.
20131 (_setjmp): Likewise.
20132 (__sigsetjmp): Likewise.
20133 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20134 (L(start_addresses)): Don't use BP_SYM.
20135 (_start): Likewise.
20136 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20138 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20139 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20140 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20141 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20142 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20144 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20145 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20146 about bounded pointers.
20147 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20148 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20149 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20151 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20152 about bounded pointers. Remove GKM FIXME comments.
20153 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20154 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20156 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20157 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20158 Remove GKM FIXME comments.
20159 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20160 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20161 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20163 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20164 about bounded pointers. Remove GKM FIXME comment.
20165 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20167 (strncmp): Don't use BP_SYM. Remove comment about bounded
20169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20170 <bp-sym.h> and <bp-asm.h>.
20171 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20173 <bp-sym.h> and <bp-asm.h>.
20174 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20177 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20179 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20182 2013-03-05 David S. Miller <davem@davemloft.net>
20184 * po/es.po: Update from translation team.
20186 2013-03-05 Andreas Jaeger <aj@suse.de>
20188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20189 <bits/mman-linux.h>.
20190 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20192 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20193 <bits/mman-linux.h> to end of file.
20194 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20196 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20197 <bits/mman-linux.h> to end of file.
20198 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20200 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20201 <bits/mman-linux.h> to end of file.
20203 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20204 (MCL_CURRENT, MCL_FUTURE): Define here.
20206 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20211 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20213 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20216 fourth parameter needed for rt_sigprocmask syscall.
20217 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20218 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20219 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20220 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20221 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20222 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20224 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20227 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20228 comment about bounded pointers.
20229 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20230 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20232 2013-03-04 Andreas Jaeger <aj@suse.de>
20234 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20235 common definitions.
20237 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20238 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20239 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20241 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20242 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20244 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20247 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20248 __ieee754_sqrl instead of __sqrl.
20250 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20252 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20253 * sysdeps/powerpc/fpu_control.h: ... here.
20254 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20255 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20256 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20257 * sysdeps/powerpc/bits/mathinline.h: ... here.
20259 2013-03-01 Roland McGrath <roland@hack.frob.com>
20261 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20262 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20263 to just [NEED_DL_SYSINFO_DSO].
20264 * elf/dl-support.c: Likewise.
20265 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20266 * elf/rtld.c (dl_main): Likewise.
20267 * elf/setup-vdso.h (setup_vdso): Likewise.
20268 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20269 * sysdeps/unix/sysv/linux/dl-sysdep.c
20270 (_dl_discover_osversion): Likewise.
20272 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20274 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20275 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20277 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20279 * NEWS: Mention libm performance improvements and non-x86 PI
20282 * csu/libc-start.c (__pthread_initialize_minimal): Change
20283 function arguments.
20284 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20286 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20289 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20290 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20291 <bp-sym.h> and <bp-asm.h>.
20292 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20293 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20295 (memcpy): Don't use BP_SYM.
20296 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20298 (__mpn_add_n): Don't use BP_SYM.
20299 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20300 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20302 (__mpn_addmul_1): Don't use BP_SYM.
20303 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20304 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20306 (_setjmp): Don't use BP_SYM.
20307 (__novmx_setjmp): Likewise.
20308 (__GI__setjmp): Likewise.
20309 (__vmx_setjmp): Likewise.
20310 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20312 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20313 (__bzero): Don't use BP_SYM.
20314 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20315 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20317 <bp-sym.h> and <bp-asm.h>.
20318 (memcpy): Don't use BP_SYM.
20319 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20320 <bp-sym.h> and <bp-asm.h>.
20321 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20322 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20323 <bp-sym.h> and <bp-asm.h>.
20324 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20325 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20327 (__mpn_lshift): Don't use BP_SYM.
20328 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20329 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20331 (memset): Don't use BP_SYM.
20332 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20333 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20334 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20336 (__mpn_mul_1): Don't use BP_SYM.
20337 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20338 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20339 <bp-sym.h> and <bp-asm.h>.
20340 (memcmp): Don't use BP_SYM.
20341 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20342 <bp-sym.h> and <bp-asm.h>.
20343 (memcpy): Don't use BP_SYM.
20344 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20345 <bp-sym.h> and <bp-asm.h>.
20346 (memset): Don't use BP_SYM.
20347 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20348 <bp-sym.h> and <bp-asm.h>.
20349 (strncmp): Don't use BP_SYM.
20350 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20351 <bp-sym.h> and <bp-asm.h>.
20352 (memcpy): Don't use BP_SYM.
20353 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20354 <bp-sym.h> and <bp-asm.h>.
20355 (memset): Don't use BP_SYM.
20356 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (__memchr): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20360 <bp-sym.h> and <bp-asm.h>.
20361 (memcmp): Don't use BP_SYM.
20362 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20363 <bp-sym.h> and <bp-asm.h>.
20364 (memcpy): Don't use BP_SYM.
20365 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20366 <bp-sym.h> and <bp-asm.h>.
20367 (__mempcpy): Don't use BP_SYM.
20368 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20369 <bp-sym.h> and <bp-asm.h>.
20370 (__memrchr): Don't use BP_SYM.
20371 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20372 <bp-sym.h> and <bp-asm.h>.
20373 (memset): Don't use BP_SYM.
20374 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20375 <bp-sym.h> and <bp-asm.h>.
20376 (__rawmemchr): Don't use BP_SYM.
20377 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20378 <bp-sym.h> and <bp-asm.h>.
20379 (__STRCMP): Don't use BP_SYM.
20380 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20381 <bp-sym.h> and <bp-asm.h>.
20382 (strchr): Don't use BP_SYM.
20383 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20384 <bp-sym.h> and <bp-asm.h>.
20385 (__strchrnul): Don't use BP_SYM.
20386 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20387 <bp-sym.h> and <bp-asm.h>.
20388 (strlen): Don't use BP_SYM.
20389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20390 <bp-sym.h> and <bp-asm.h>.
20391 (strncmp): Don't use BP_SYM.
20392 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20393 <bp-sym.h> and <bp-asm.h>.
20394 (__strnlen): Don't use BP_SYM.
20395 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20397 (__mpn_rshift): Don't use BP_SYM.
20398 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20399 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (__sigsetjmp): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20403 (L(start_addresses)): Don't use BP_SYM.
20404 (_start): Likewise.
20405 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20407 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20408 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20409 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20410 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20412 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20413 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20414 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20415 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20417 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20419 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20420 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20422 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20424 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20425 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20426 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20428 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20430 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20432 (strncmp): Don't use BP_SYM,
20433 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20435 (__mpn_sub_n): Don't use BP_SYM.
20436 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20437 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20439 (__mpn_submul_1): Don't use BP_SYM.
20440 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20442 <bp-sym.h> and <bp-asm.h>.
20443 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20445 <bp-sym.h> and <bp-asm.h>.
20446 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20449 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20452 Use ZK to minimize writes to Z.
20453 (sub_magnitudes): Simplify code a bit.
20454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20455 Use ZK to minimize writes to Z.
20456 (sub_magnitudes): Simplify code a bit.
20458 2013-02-27 Roland McGrath <roland@hack.frob.com>
20460 * csu/gmon-start.c: Add special exception to license text.
20462 2013-02-27 Richard Henderson <rth@redhat.com>
20464 * scripts/config.guess: Update from config.git.
20465 * scripts/config.sub: Likewise.
20467 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20471 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20473 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20475 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20477 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20479 2013-02-26 Roland McGrath <roland@hack.frob.com>
20481 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20482 [$(build-shared = yes].
20484 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20486 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20487 (__mul): Reduce iterations for calculating mantissa.
20489 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20491 (__mpranred): Likewise.
20494 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20495 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20497 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20499 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20500 Define __attribute__.
20502 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20506 * posix/regex_internal.h (__attribute): Remove.
20507 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20508 (re_string_context_at): Likewise.
20509 (bitset_not): Use __attribute__ and mark function as possibly
20511 (bitset_merge): Likewise.
20512 (bitset_mask): Likewise.
20513 (re_string_char_size_at): Likewise.
20514 (re_string_wchar_at): Likewise.
20515 (re_string_elem_size_at): Likewise.
20517 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20519 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20523 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20527 (denorm): Likewise.
20528 (__dbl_mp): Likewise.
20529 (add_magnitudes): Likewise.
20530 (sub_magnitudes): Likewise.
20534 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20537 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20540 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20544 up changes with default code.
20545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20548 2013-02-24 Allan McRae <allan@archlinux.org>
20550 * manual/socket.texi (The Internet Namespace): Order menu items
20551 to match that in the file.
20553 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20554 node listing of the info page menu.
20556 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20559 * sysdeps/i386/bp-asm.h: Remove file.
20560 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20561 (PARMS): Do not use macros from bp-asm.h.
20565 (__mpn_add_n): Do not use BP_SYM
20566 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20568 (PARMS): Do not use macros from bp-asm.h.
20571 (__mpn_addmul_1): Do not use BP_SYM
20572 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20574 (PARMS): Do not use macros from bp-asm.h.
20575 (SIGMSK): Likewise.
20576 (_setjmp): Likewise. Do not use BP_SYM.
20577 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20579 (PARMS): Do not use macros from bp-asm.h.
20580 (SIGMSK): Likewise.
20581 (setjmp): Likewise. Do not use BP_SYM.
20582 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20584 (PARMS): Do not use macros from bp-asm.h.
20585 (__frexp): Do not use BP_SYM.
20587 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20589 (PARMS): Do not use macros from bp-asm.h.
20590 (__frexpf): Do not use BP_SYM.
20591 (frexpf): Likewise.
20592 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20594 (PARMS): Do not use macros from bp-asm.h.
20595 (__frexpl): Do not use BP_SYM.
20596 (frexpl): Likewise.
20597 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20599 (PARMS): Do not use macros from bp-asm.h.
20600 (__remquo): Do not use BP_SYM.
20601 (remquo): Likewise.
20602 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20604 (PARMS): Do not use macros from bp-asm.h.
20605 (__remquof): Do not use BP_SYM.
20606 (remquof): Likewise.
20607 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20609 (PARMS): Do not use macros from bp-asm.h.
20610 (__remquol): Do not use BP_SYM.
20611 (remquol): Likewise.
20612 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20614 (PARMS): Do not use macros from bp-asm.h.
20617 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20618 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20620 (PARMS): Do not use macros from bp-asm.h.
20621 (strlen): Do not use BP_SYM.
20622 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20624 (PARMS): Do not use macros from bp-asm.h.
20628 (__mpn_add_n): Do not use BP_SYM.
20629 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20631 (PARMS): Do not use macros from bp-asm.h.
20634 (__mpn_addmul_1): Do not use BP_SYM.
20635 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20638 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20640 (PARMS): Do not use macros from bp-asm.h.
20643 (__mpn_lshift): Do not use BP_SYM.
20644 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20646 (PARMS): Do not use macros from bp-asm.h.
20650 (memcpy): Likewise. Do not use BP_SYM.
20651 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20652 libc_hidden_def and weak_alias.
20653 (mempcpy): Do not use BP_SYM in weak_alias.
20654 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20656 (PARMS): Do not use macros from bp-asm.h.
20659 [!BZERO_P] (CHR): Likewise.
20660 (memset): Likewise. Do not use BP_SYM.
20661 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20663 (PARMS): Do not use macros from bp-asm.h.
20666 (__mpn_mul_1): Do not use BP_SYM.
20667 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20669 (PARMS): Do not use macros from bp-asm.h.
20672 (__mpn_rshift): Do not use BP_SYM.
20673 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20675 (PARMS): Do not use macros from bp-asm.h.
20678 (strchr): Likewise. Do not use BP_SYM.
20679 (index): Do not use BP_SYM in weak_alias.
20680 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20682 (PARMS): Do not use macros from bp-asm.h.
20685 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20686 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20688 (PARMS): Do not use macros from bp-asm.h.
20689 (strlen): Do not use BP_SYM.
20690 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20692 (PARMS): Do not use macros from bp-asm.h.
20696 (__mpn_sub_n): Do not use BP_SYM.
20697 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20699 (PARMS): Do not use macros from bp-asm.h.
20702 (__mpn_submul_1): Do not use BP_SYM.
20703 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20705 (PARMS): Do not use macros from bp-asm.h.
20709 (__mpn_add_n): Do not use BP_SYM.
20710 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20713 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20715 (PARMS): Do not use macros from bp-asm.h.
20718 (memcmp): Do not use BP_SYM.
20719 (bcmp): Do not use BP_SYM in weak_alias.
20720 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20722 (PARMS): Do not use macros from bp-asm.h.
20726 (memcpy): Likewise. Do not use BP_SYM.
20727 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20729 (PARMS): Do not use macros from bp-asm.h.
20733 (memmove): Likewise. Do not use BP_SYM.
20734 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20736 (PARMS): Do not use macros from bp-asm.h.
20740 (__mempcpy): Likewise. Do not use BP_SYM.
20741 (mempcpy): Do not use BP_SYM in weak_alias.
20742 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20744 (PARMS): Do not use macros from bp-asm.h.
20747 [!BZERO_P] (CHR): Likewise.
20748 (memset): Likewise. Do not use BP_SYM.
20749 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20751 (PARMS): Do not use macros from bp-asm.h.
20753 (strcmp): Do not use BP_SYM.
20754 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20756 (PARMS): Do not use macros from bp-asm.h.
20759 [USE_AS_STRTOK_R] (SAVE): Likewise.
20760 (FUNCTION): Likewise. Do not use BP_SYM.
20761 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20763 (strtok_r): Likewise.
20764 (__GI___strtok_r): Likewise.
20765 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20766 (PARMS): Do not use macros from bp-asm.h.
20769 (__mpn_lshift): Do not use BP_SYM.
20770 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20771 (PARMS): Do not use macros from bp-asm.h.
20774 (__memchr): Do not use BP_SYM.
20775 (memchr): Do not use BP_SYM in weak_alias.
20776 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20777 (PARMS): Do not use macros from bp-asm.h.
20780 (memcmp): Do not use BP_SYM.
20781 (bcmp): Do not use BP_SYM in weak_alias.
20782 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20783 (PARMS): Do not use macros from bp-asm.h.
20786 (__mpn_mul_1): Do not use BP_SYM.
20787 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20789 (PARMS): Do not use macros from bp-asm.h.
20792 (__rawmemchr): Do not use BP_SYM.
20793 (rawmemchr): Do not use BP_SYM in weak_alias.
20794 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20795 (PARMS): Do not use macros from bp-asm.h.
20798 (__mpn_rshift): Do not use BP_SYM.
20799 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20800 (PARMS): Do not use macros from bp-asm.h.
20801 (SIGMSK): Likewise.
20802 (__sigsetjmp): Likewise. Do not use BP_SYM.
20803 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20804 (_start): Do not use BP_SYM.
20805 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20806 (PARMS): Do not use macros from bp-asm.h.
20809 (__stpcpy): Likewise. Do not use BP_SYM.
20810 (stpcpy): Do not use BP_SYM in weak_alias.
20811 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20813 (PARMS): Do not use macros from bp-asm.h.
20817 (__stpncpy): Likewise. Do not use BP_SYM.
20818 (stpncpy): Do not use BP_SYM in weak_alias.
20819 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20820 (PARMS): Do not use macros from bp-asm.h.
20823 (strchr): Likewise. Do not use BP_SYM.
20824 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20826 (PARMS): Do not use macros from bp-asm.h.
20829 (__strchrnul): Likewise. Do not use BP_SYM.
20830 (strchrnul): Do not use BP_SYM in weak_alias.
20831 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20833 (PARMS): Do not use macros from bp-asm.h.
20835 (strcspn): Do not use BP_SYM.
20836 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20838 (PARMS): Do not use macros from bp-asm.h.
20841 (strpbrk): Likewise. Do not use BP_SYM.
20842 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20844 (PARMS): Do not use macros from bp-asm.h.
20847 (strrchr): Likewise. Do not use BP_SYM.
20848 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20849 (PARMS): Do not use macros from bp-asm.h.
20851 (strspn): Do not use BP_SYM.
20852 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20853 (PARMS): Do not use macros from bp-asm.h.
20857 (FUNCTION): Likewise. Do not use BP_SYM.
20858 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20860 (strtok_r): Likewise.
20861 (__GI___strtok_r): Likewise.
20862 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20863 (PARMS): Do not use macros from bp-asm.h.
20867 (__mpn_sub_n): Do not use BP_SYM.
20868 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20870 (PARMS): Do not use macros from bp-asm.h.
20873 (__mpn_submul_1): Do not use BP_SYM.
20874 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20876 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20878 (PARMS): Do not use macros from bp-asm.h.
20883 (__clone): Do not use BP_SYM.
20884 (clone): Do not use BP_SYM in weak_alias.
20885 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20887 (PARMS): Do not use macros from bp-asm.h.
20889 (__mmap64): Do not use BP_SYM.
20890 (mmap64): Do not use BP_SYM in weak_alias.
20891 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20892 <bp-sym.h> and <bp-asm.h>.
20893 (PARMS): Do not use macros from bp-asm.h.
20894 (__posix_fadvise64_l64): Do not use BP_SYM.
20895 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20896 (PARMS): Do not use macros from bp-asm.h.
20898 (semtimedop): Do not use BP_SYM.
20899 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20902 2013-02-21 Allan McRae <allan@archlinux.org>
20904 * manual/message.texi (Charset conversion in gettext):
20905 Move @end statement to beginning of line.
20907 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20914 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20915 (denorm): Likewise.
20916 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20919 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20921 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20922 tail-call to the resolved function if pltexit isn't needed.
20924 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20927 or Y being zero as being unlikely.
20928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20931 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20933 * manual/nss.texi (System Databases and Name Service Switch):
20934 Remove frobnicate @pxref.
20936 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20938 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20939 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20941 2013-02-20 Petr Machata <pmachata@redhat.com>
20943 * elf/elf.h (R_ARM_TARGET1): New macro.
20944 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20945 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20946 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20947 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20948 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20949 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20950 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20951 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20952 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20953 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20954 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20955 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20956 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20957 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20958 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20959 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20960 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20961 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20962 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20963 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20964 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20965 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20966 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20967 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20968 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20969 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20970 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20971 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20972 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20973 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20974 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20975 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20976 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20977 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20978 (R_ARM_THM_GOT_BREL12): Likewise.
20979 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20980 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20981 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20982 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20983 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20984 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20985 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20986 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20987 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20989 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20991 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20992 __attribute_used__ to __attribute__ ((unused)).
20994 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20996 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20999 comment formatting.
21000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21002 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21005 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21007 (ENTER): Remove both macro definitions.
21009 (CHECK_BOUNDS_LOW): Likewise.
21010 (CHECK_BOUNDS_HIGH): Likewise.
21011 (CHECK_BOUNDS_BOTH): Likewise.
21012 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21013 (RETURN_BOUNDED_POINTER): Likewise.
21014 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21015 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21016 (POP_ERRNO_LOCATION_RETURN): Likewise.
21017 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21018 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21019 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21021 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21022 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21023 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21024 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21025 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21026 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21027 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21028 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21029 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21030 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21031 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21032 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21033 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21034 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21036 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21037 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21039 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21041 * sysdeps/i386/i586/memset.S (memset): Likewise.
21042 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21043 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21044 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21046 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21047 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21048 Change uses of L(2) to L(out).
21049 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21050 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21051 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21052 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21053 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21055 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21056 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21058 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21059 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21060 (RETURN): Do not use macro LEAVE.
21061 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21062 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21063 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21064 * sysdeps/i386/i686/memset.S (memset): Likewise.
21065 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21066 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21067 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21068 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21070 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21071 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21072 L(1_2) and L(1_3) into L(1).
21073 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21074 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21075 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21076 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21077 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21078 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21079 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21080 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21081 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21083 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21084 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21085 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21086 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21087 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21088 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21089 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21090 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21091 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21092 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21093 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21094 * sysdeps/i386/strspn.S (strspn): Likewise.
21095 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21097 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21098 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21099 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21100 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21101 L(1_3) into L(1_1).
21102 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21103 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21104 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21106 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21108 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21110 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21113 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21115 * math/atest-exp.c (exp_mpn): Remove ROUND.
21116 * math/atest-exp2.c (exp_mpn): Likewise.
21117 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21119 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21120 * stdlib/tst-tls-atexit-lib.c: Likewise.
21121 * stdlib/tst-tls-atexit.c: Likewise.
21123 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21125 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21126 and __attribute_alloc_size__.
21128 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21130 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21131 __attribute_alloc_size__.
21132 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21133 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21135 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21137 * include/programs/xmalloc.h: New file.
21138 * catgets/gencat.c: Include it.
21139 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21140 * elf/pldd.c: Likewise.
21141 * iconv/iconv_charmap.c: Likewise.
21142 * iconv/iconvconfig.c: Likewise.
21143 * iconv/strtab.c: Likewise.
21144 * locale/programs/locale.c: Likewise.
21145 * locale/programs/localedef.h: Likewise.
21146 * locale/programs/simple-hash.c: Likewise.
21147 * nscd/nscd.h: Likewise.
21148 * nss/makedb.c: Likewise.
21149 * sysdeps/generic/ldconfig.h: Likewise.
21151 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21153 * Versions.def: Add GLIBC_2.18.
21154 * include/link.h (struct link_map): New member l_tls_dtor_count.
21155 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21156 (__call_tls_dtors): Likewise.
21157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21158 __cxa_thread_atexit_impl.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21175 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21176 (tests): Add test case tst-tls-atexit.
21177 (modules-names): Add shared library for tst-tls-atexit.
21178 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21179 (GLIBC_PRIVATE): Add __call_tls_dtors.
21180 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21182 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21183 * stdlib/tst-tls-atexit.c: New test case.
21184 * stdlib/tst-tls-atexit-lib.c: New test case.
21186 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21188 * elf/Versions (ld): Add _dl_find_dso_for_object.
21189 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21190 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21191 (dl_open_worker): Use _dl_find_dso_for_object.
21192 * elf/dl-sym.c (do_sym): Likewise.
21193 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21195 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21197 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21198 Syntactic changes only.
21199 (_dl_runtime_profile): Do a tail-call to the resolved function.
21201 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21204 * sysdeps/x86_64/bp-asm.h: Remove file.
21205 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21206 <bp-sym.h> and <bp-asm.h>.
21207 (__clone): Do not use BP_SYM.
21208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21209 <bp-sym.h> and <bp-asm.h>.
21210 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21211 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21213 (_setjmp): Do not use BP_SYM.
21214 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21216 (setjmp): Do not use BP_SYM.
21217 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21219 (mempcpy): Do not use BP_SYM in weak_alias.
21220 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21222 (strchr): Do not use BP_SYM.
21223 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21225 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21226 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21227 (_start): Do not use BP_SYM.
21228 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21230 (strcat): Do not use BP_SYM.
21231 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21233 (STRCMP): Do not use BP_SYM.
21234 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21236 (STRCPY): Do not use BP_SYM.
21237 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21239 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21241 (FUNCTION): Do not use BP_SYM.
21242 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21244 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21246 2013-02-17 Andreas Jaeger <aj@suse.de>
21248 * time/Versions: Sort entries.
21249 * string/Versions: Likewise.
21250 * resolv/Versions: Likewise.
21251 * posix/Versions: Likewise.
21252 * iconv/Versions: Likewise.
21253 * elf/Versions: Likewise.
21254 * wcsmbs/Versions: Likewise.
21256 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21258 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21259 loop termination condition.
21261 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21262 variable to calculate EZ.
21265 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21266 the lower precision input.
21268 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21271 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21272 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21273 (run-via-rtld-prefix): Do not handle %-bp tests.
21274 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21275 (all-object-suffixes): Remove .ob.
21276 (bppfx): Remove variable.
21277 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21278 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21279 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21280 [$(build-bounded) = yes] (libtype.ob): Likewise.
21281 * Makerules (elide-routines.ob): Remove variable.
21282 (do-tests-clean): Do not handle *-bp.out.
21283 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21284 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21285 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21286 (tests): Do not include $(tests-bp.out).
21287 (xtests): Do not include $(xtests-bp.out).
21288 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21289 [$(build-bounded) = yes] ($(addprefix
21290 $(objpfx),$(binaries-bounded))): Remove rule.
21291 ($(objpfx)%-bp.out): Remove rule.
21292 * config.make.in (build-bounded): Remove variable.
21293 * crypt/Makefile [$(build-bounded) = yes]
21294 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21295 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21296 append to variable.
21297 [$(build-bounded) = yes] (install-lib): Likewise.
21298 [$(build-bounded) = yes] (generated): Likewise.
21299 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21301 * intl/Makefile [$(build-bounded) = yes]
21302 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21303 * math/Makefile [$(build-bounded) = yes]
21304 ($(tests:%=$(objpfx)%-bp): Likewise.
21305 * misc/Makefile [$(build-bounded) = yes]
21306 ($(objpfx)tst-tsearch-bp): Likewise.
21307 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21308 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21310 * string/Makefile (o-objects.ob): Remove variable.
21311 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21312 (CFLAGS-.ob): Remove variable.
21313 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21314 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21315 both definitions of variable.
21316 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21317 (ASFLAGS-.ob): Remove variable.
21319 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21322 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21323 Remove __BOUNDED_POINTERS__ from condition.
21324 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21325 * string/bits/string2.h [!__NO_STRING_INLINES &&
21326 !__BOUNDED_POINTERS__]: Likewise.
21327 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21329 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21330 Remove conditional code.
21331 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21332 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21333 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21337 * csu/libc-start.c: Do not include <bp-sym.h>.
21338 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21339 * elf/dl-open.c: Do not include <bp-sym.h>.
21340 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21341 * math/fegetenv.c: Do not include <bp-sym.h>.
21342 (fegetenv): Do not use BP_SYM in versioned symbols.
21343 * nptl/sysdeps/pthread/bits/libc-lockP.h
21344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21347 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21349 (__pthread_mutex_destroy): Likewise.
21350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21351 (__pthread_mutex_lock): Likewise.
21352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21353 (__pthread_mutex_trylock): Likewise.
21354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21355 (__pthread_mutex_unlock): Likewise.
21356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21357 (__pthread_mutexattr_init): Likewise.
21358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21359 (__pthread_mutexattr_destroy): Likewise.
21360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21361 (__pthread_mutexattr_settype): Likewise.
21362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21363 (__pthread_rwlock_init): Likewise.
21364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21365 (__pthread_rwlock_destroy): Likewise.
21366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21367 (__pthread_rwlock_rdlock): Likewise.
21368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21369 (__pthread_rwlock_tryrdlock): Likewise.
21370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21371 (__pthread_rwlock_wrlock): Likewise.
21372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21373 (__pthread_rwlock_trywrlock): Likewise.
21374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21375 (__pthread_rwlock_unlock): Likewise.
21376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21377 (__pthread_key_create): Likewise.
21378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21379 (__pthread_setspecific): Likewise.
21380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21381 (__pthread_getspecific): Likewise.
21382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21385 (_pthread_cleanup_push_defer): Likewise.
21386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21387 (_pthread_cleanup_pop_restore): Likewise.
21388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21389 (pthread_setcancelstate): Likewise.
21390 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21392 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21393 (memchr): Do not use BP_SYM in weak_alias.
21394 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21395 (fegetenv): Do not use BP_SYM in versioned symbols.
21396 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21397 (fesetenv): Do not use BP_SYM in versioned symbols.
21398 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21399 (feupdateenv): Do not use BP_SYM in versioned symbols.
21400 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21401 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21402 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21403 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21404 (open64): Do not use BP_SYM in weak_alias.
21405 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21406 (fegetenv): Do not use BP_SYM in versioned symbols.
21407 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21408 (fesetenv): Do not use BP_SYM in versioned symbols.
21409 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21410 (feupdateenv): Do not use BP_SYM in versioned symbols.
21411 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21412 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21413 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21414 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21415 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21416 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21417 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21419 (__libc_start_main): Do not use BP_SYM.
21421 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21424 redundant return line.
21426 (denorm): Likewise.
21427 (dbl_mp): Likewise.
21428 (sub_magnitudes): Likewise.
21434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21436 (denorm): Likewise.
21437 (dbl_mp): Likewise.
21438 (sub_magnitudes): Likewise.
21445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21447 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21448 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21451 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21452 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21454 of __mul for squares.
21455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21459 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21460 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21462 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21465 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21467 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21468 prototype or function definition. Rename ubp_* variables and
21469 parameters. Remove argv definitions conditional on
21470 [__BOUNDED_POINTERS__].
21471 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21472 * elf/dl-runtime.c (_dl_fixup): Likewise.
21473 * include/set-hooks.h (RUN_HOOK): Likewise.
21474 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21476 * string/strcpy.c (strcpy): Do not use __unbounded.
21477 * sysdeps/generic/frame.h (struct layout): Likewise.
21478 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21479 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21480 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21481 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21482 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21483 (__backtrace): Likewise.
21484 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21486 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21487 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21488 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21490 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21491 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21492 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21493 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21494 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21495 Do not use __unbounded.
21496 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21497 Rename __unboundedrlimits parameter to rlimits in prototype.
21498 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21499 Do not use __unbounded.
21500 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21501 not use __ptrvalue.
21502 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21503 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21504 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21505 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21506 __ptrvalue or __unbounded.
21507 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21508 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21510 (__new_msgctl): Do not use __ptrvalue.
21511 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21513 (__libc_msgrcv): Do not use __ptrvalue.
21514 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21515 startup_info): Do not use __unbounded.
21516 (__libc_start_main): Likewise. Rename ubp_* variables and
21517 parameters. Remove argv definitions conditional on
21518 [__BOUNDED_POINTERS__].
21519 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21521 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21523 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21525 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21527 (__new_shmctl): Do not use __ptrvalue.
21528 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21529 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21531 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21532 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21533 (__libc_sigaction): Likewise.
21534 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21535 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21537 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21539 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21541 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21543 * string/mempcpy.c: Implement by calling memcpy.
21545 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21549 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21553 values in the mantissa.
21555 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21556 minimize writes to Z.
21557 (sub_magnitudes): Simplify code a bit.
21559 2013-02-12 Roland McGrath <roland@hack.frob.com>
21561 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21562 from the message. The linker prefixes all warnings with that already.
21564 2013-02-12 Andreas Schwab <schwab@suse.de>
21567 * posix/regexec.c (extend_buffers): Add parameter min_len.
21568 (check_matching): Pass minimum needed length.
21569 (clean_state_log_if_needed): Likewise.
21570 (get_subexp): Likewise.
21571 * posix/Makefile (tests): Add bug-regex34.
21572 (bug-regex34-ENV): Define.
21573 * posix/bug-regex34.c: New file.
21576 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21577 elements compare against the byte sequence of it, not its name.
21578 * posix/Makefile (tests): Add bug-regex35.
21579 (bug-regex35-ENV): Define.
21580 * posix/bug-regex35.c: New file.
21582 2013-02-11 Tom de Vries <tom@codesourcery.com>
21584 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21586 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21587 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21588 (CHECK_EOL): Add undef.
21590 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21592 * bits/stdlib-bsearch.h: New file.
21593 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21594 * stdlib/stdlib.h: Likewise.
21596 2013-02-11 Roland McGrath <roland@hack.frob.com>
21598 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21599 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21601 * manual/search.texi (Array Search Function): Add missing const in
21603 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21604 declaration to use rlim_t.
21605 (Basic Scheduling Functions): Remove erroneous const from
21606 sched_getparam prototype. Remove erroneous * from
21607 sched_get_priority_max and sched_get_priority_min prototypes.
21608 (Resource Usage): Fix summary @comment on vtimes to refer to
21609 sys/vtimes.h rather than vtimes.h.
21610 Add missing *s in vtimes prototype.
21611 (Limits on Resources): Fix ulimit prototype to return long int.
21612 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21613 prototypes to use long int rather than double.
21614 (BSD Random): Fix initstate and setstate to use char *, not void *.
21615 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21616 prototype to make second argument 'struct aiocb64 *const[]'.
21617 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21618 (Status of AIO Operations): Remove erroneous const in aio_return and
21619 aio_return64 prototypes.
21620 (Synchronizing I/O): Fix sync prototype to return void.
21621 * manual/startup.texi (Suboptions): Remove an erroneous const in
21622 getsubopt prototype.
21623 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21624 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21625 use size_t rather than int.
21626 (Scanning All Users): Likewise for getpwent_r.
21627 (Setting Groups): Add missing const to setgroups prototype.
21628 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21629 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21630 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21631 'const void *' rather than 'const char *'.
21632 (Host Address Functions): Likewise for inet_ntop.
21633 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21634 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21635 ssize_t for return value.
21636 (Sending Data): Likewise for send, sendto, sendmsg.
21637 (Socket Option Functions): Add a missing const in setsockopt prototype.
21638 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21639 use wchar_t for the argument.
21640 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21641 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21643 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21644 double/float/long double for second argument.
21645 Fix return types of significand, significandf, significandl.
21646 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21647 argument in fchmod prototype.
21648 (File Owner): Use uid_t and gid_t in fchown prototype.
21649 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21650 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21651 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21652 use 'const struct dirent **' as argument types to CMP function pointer
21654 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21655 (File Times): Fix summary magic @comment for struct utimbuf and utime
21656 to refer to utime.h, not time.h.
21657 * manual/string.texi (Argz Functions): Add missing const in
21658 argz_extract and argz_next prototypes.
21659 (Finding Tokens in a String): Likewise for basename.
21660 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21661 (Copying and Concatenation): Fix typo in wmemmove prototype.
21662 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21663 (Signal Stack): Remove erroneous const in sigstack prototype.
21664 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21666 (Simple Calendar Time): Likewise for stime.
21667 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21669 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21670 say sys/sysctl.h instead.
21671 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21672 and vsyslog prototypes.
21674 2013-02-11 Tom de Vries <tom@codesourcery.com>
21676 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21679 2013-02-11 Roland McGrath <roland@hack.frob.com>
21681 * misc/sys/mman.h: Fix typo in mremap comment.
21683 2013-02-08 Roland McGrath <roland@hack.frob.com>
21685 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21686 the '\0' terminator.
21688 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21691 * debug/segfault.c: Don't include <bp-checks.h>.
21692 * sysdeps/generic/bp-checks.h: Remove file.
21693 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21694 (__GETDENTS): Don't use CHECK_N.
21695 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21696 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21697 (__getgroups): Don't use CHECK_N.
21698 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21699 (setgroups): Don't use CHECK_N.
21700 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21701 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21702 (__libc_msgrcv): Don't use CHECK_N.
21703 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21704 (__libc_msgsnd): Don't use CHECK_N.
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21707 (__libc_pread): Don't use CHECK_N.
21708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21709 include <bp-checks.h>.
21710 (__libc_pread64): Don't use CHECK_N.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21712 include <bp-checks.h>.
21713 (__libc_pwrite): Don't use CHECK_N.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21715 include <bp-checks.h>.
21716 (__libc_pwrite64): Don't use CHECK_N.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21719 (__libc_pread): Don't use CHECK_N.
21720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21721 include <bp-checks.h>.
21722 (__libc_pread64): Don't use CHECK_N.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21724 include <bp-checks.h>.
21725 (__libc_pwrite): Don't use CHECK_N.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21727 include <bp-checks.h>.
21728 (__libc_pwrite64): Don't use CHECK_N.
21729 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21730 (do_pread): Don't use CHECK_N.
21731 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21732 (do_pread64): Don't use CHECK_N.
21733 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21734 (do_pwrite): Don't use CHECK_N.
21735 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21736 (do_pwrite64): Don't use CHECK_N.
21737 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21738 (__libc_readv): Don't use CHECK_N.
21739 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21740 (semop): Don't use CHECK_N.
21741 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21743 (semtimedop): Don't use CHECK_N.
21744 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21745 (__libc_pread): Don't use CHECK_N.
21746 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21748 (__libc_pread64): Don't use CHECK_N.
21749 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21751 (__libc_pwrite): Don't use CHECK_N.
21752 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21754 (__libc_pwrite64): Don't use CHECK_N.
21755 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21757 (__libc_msgrcv): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21759 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21760 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21761 (__libc_writev): Don't use CHECK_N.
21763 2013-02-08 Roland McGrath <roland@hack.frob.com>
21765 * string/strcpy.c: Removed unused variable.
21767 * Makeconfig (+sysdep-includes): Define with := rather than =.
21768 Use an existing include/ subdir of each sysdeps dir before it.
21770 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21772 * nscd/connection.c (register_traced_file): Comment function.
21773 [HAVE_INOTIFY] (union __inev): Define.
21774 [HAVE_INOTIFY] (inotify_check_files): New function.
21775 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21776 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21778 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21780 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21782 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21783 loaded if not already and that a failure is permanent.
21785 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21788 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21789 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21791 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21794 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21795 (CHECK_1_NULL_OK): Likewise.
21796 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21797 (__fxstat): Do not use CHECK_1.
21798 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21800 (___fxstat64): Do not use CHECK_1.
21801 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21803 (__fxstatat): Do not use CHECK_1.
21804 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21806 (__fxstatat64): Do not use CHECK_1.
21807 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21809 (__fxstat): Do not use CHECK_1.
21810 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21812 (__fxstatat): Do not use CHECK_1.
21813 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21815 (__getresgid): Do not use CHECK_1.
21816 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21818 (__getresuid): Do not use CHECK_1.
21819 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21821 (__lxstat): Do not use CHECK_1.
21822 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21824 (__old_msgctl): Do not use CHECK_1.
21825 (__new_msgctl): Likewise.
21826 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21828 (__new_setrlimit): Do not use CHECK_1.
21829 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21831 (__old_shmctl): Do not use CHECK_1.
21832 (__new_shmctl): Likewise.
21833 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21835 (__xstat): Do not use CHECK_1.
21836 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21837 (__lxstat): Do not use CHECK_1.
21838 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21840 (___lxstat64): Do not use CHECK_1.
21841 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21842 (__old_msgctl): Do not use CHECK_1.
21843 (__new_msgctl): Likewise.
21844 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21846 (__gettimeofday): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21848 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21849 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21851 (__gettimeofday): Do not use CHECK_1.
21852 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21853 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21854 (__new_shmctl): Do not use CHECK_1.
21855 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21857 (do_sigtimedwait): Do not use CHECK_1.
21858 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21860 (do_sigwaitinfo): Do not use CHECK_1.
21861 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21863 (msgctl): Do not use CHECK_1.
21864 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21866 (shmctl): Do not use CHECK_1.
21867 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21868 (ustat): Do not use CHECK_1.
21869 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21871 (__fxstat): Do not use CHECK_1.
21872 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21874 (__fxstatat): Do not use CHECK_1.
21875 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21877 (__lxstat): Do not use CHECK_1.
21878 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21880 (__xstat): Do not use CHECK_1.
21881 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21882 (__xstat): Do not use CHECK_1.
21883 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21884 (___xstat64): Do not use CHECK_1.
21887 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21889 (CHECK_BOUNDS_HIGH): Likewise.
21890 * string/strcpy.c: Do not include <bp-checks.h>.
21891 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21893 2013-02-07 Roland McGrath <roland@hack.frob.com>
21895 * nscd/nscd-client.h (__nscd_drop_map_ref):
21896 Add __attribute__ ((unused)).
21897 * nis/nss-nisplus.h (niserr2nss): Likewise.
21899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21900 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21902 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21903 Remove inline keyword.
21904 * include/rounding-mode.h (round_away): Likewise.
21905 * libio/wfileops.c (adjust_wide_data): Likewise.
21906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21907 (__m128i_strloadu_tolower): Likewise.
21908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21909 (__m128i_strloadu_tolower): Likewise.
21910 * time/mktime.c (ydhms_diff): Likewise.
21911 * locale/elem-hash.h (elem_hash): Likewise.
21912 * locale/setlocale.c (setdata): Likewise.
21913 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21914 (re_string_wchar_at): Likewise.
21915 (bitset_not, bitset_merge, bitset_mask): Likewise.
21916 [!(__GNUC__ > 3)] (inline): Remove macro.
21917 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21918 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21919 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21920 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21921 * string/memcmp.c (memcmp_bytes): Likewise.
21922 * locale/programs/locarchive.c (compute_hashval): Likewise.
21923 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21924 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21925 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21926 * nss/getent.c (print_rpc, print_protocols): Likewise.
21927 (print_passwd, print_group, print_aliases): Likewise.
21928 * nis/nss-nisplus.h (niserr2nss): Likewise.
21929 * nscd/connections.c (restart_p): Likewise.
21930 Change return type to bool.
21932 2013-02-05 Roland McGrath <roland@hack.frob.com>
21934 * Makeconfig (all-Depend-files): Add existing
21935 $(sorted-subdirs:=/Depend) files.
21936 (all-subdirs): Remove nss.
21937 * sysdeps/unix/inet/Subdirs: Add it here instead.
21938 * hesiod/Depend: New file.
21940 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21941 instead of calling alloca.
21943 * io/lseek.c (__lseek): Rename to __libc_lseek.
21944 Define __lseek as an alias.
21946 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21948 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21950 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21951 else clause and remove check for non-standard endianness.
21953 2013-02-04 David S. Miller <davem@davemloft.net>
21955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21957 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21960 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21961 (__ubp_memchr): Remove prototype.
21962 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21963 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21964 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21965 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21966 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21968 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21969 (__ubp_memchr): Likewise.
21970 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21971 (__ubp_memchr): Likewise.
21972 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21973 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21974 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21975 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21977 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21978 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21979 (__getcwd): Do not use CHECK_STRING.
21980 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21982 (__real_chown): Do not use CHECK_STRING.
21983 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21985 (fchownat): Do not use CHECK_STRING.
21986 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21988 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21990 (__lchown): Do not use CHECK_STRING.
21991 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21992 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21993 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21994 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21996 include <bp-checks.h>.
21997 (truncate64): Do not use CHECK_STRING.
21998 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22000 (__real_chown): Do not use CHECK_STRING.
22001 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22003 (__lchown): Do not use CHECK_STRING.
22004 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22006 (__chown): Do not use CHECK_STRING.
22007 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22009 (truncate64): Do not use CHECK_STRING.
22010 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22012 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22013 (__xmknod): Do not use CHECK_STRING.
22014 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22016 (__xmknodat): Do not use CHECK_STRING.
22017 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22018 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22020 2013-02-04 Andreas Schwab <schwab@suse.de>
22023 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22024 * include/netdb.h: Likewise for h_errno.
22025 * elf/tst-stackguard1.c: Include <tls.h>.
22027 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22029 * elf/link.h (struct link_map): Extend the l_addr comment.
22030 * include/link.h (struct link_map): Likewise.
22032 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22035 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22036 (BOUNDED_1): Remove macro.
22037 * debug/backtrace.c: Don't include <bp-checks.h>.
22038 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22039 (__backtrace): Likewise.
22040 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22042 (__backtrace): Don't use BOUNDED_1.
22043 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22045 (__backtrace): Don't use BOUNDED_1.
22046 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22047 (__backtrace): Don't use BOUNDED_1.
22048 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22049 (shmat): Don't use BOUNDED_N.
22051 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22054 * sysdeps/generic/bp-start.h: Remove file.
22055 * csu/libc-start.c: Don't include <bp-start.h>.
22056 (LIBC_START_MAIN): Set up __environ directly instead of using
22057 INIT_ARGV_and_ENVIRON.
22058 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22062 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22064 (CHECK_FCNTL): Likewise.
22065 (CHECK_N_PAGES): Likewise.
22068 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22070 (CHECK_SIGSET_NULL_OK): Likewise.
22071 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22073 (sigpending): Don't use CHECK_SIGSET.
22074 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22077 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22079 (do_sigsuspend): Don't use CHECK_SIGSET.
22080 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22082 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22083 (do_sigwait): Don't use CHECK_SIGSET.
22084 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22087 include <bp-checks.h>.
22088 (sigpending): Don't use CHECK_SIGSET.
22089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22090 include <bp-checks.h>.
22091 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22092 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22094 (sigpending): Don't use CHECK_SIGSET.
22095 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22097 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22100 * sysdeps/generic/bp-semctl.h: Remove file.
22101 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22102 <bp-checks.h> and <bp-semctl.h>.
22103 (__old_semctl): Don't use CHECK_SEMCTL.
22104 (__new_semctl): Likewise.
22105 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22107 (__old_semctl): Don't use CHECK_SEMCTL.
22108 (__new_semctl): Likewise.
22109 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22110 <bp-checks.h> and <bp-semctl.h>.
22111 (__old_semctl): Don't use CHECK_SEMCTL.
22112 (__new_semctl): Likewise.
22113 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22114 <bp-checks.h> and <bp-semctl.h>.
22115 (semctl): Don't use CHECK_SEMCTL.
22118 * Makerules (elide-bp-thunks): Remove variable.
22119 (elide-routines.oS): Don't use $(elide-bp-thunks).
22120 (elide-routines.os): Likewise.
22121 (elide-routines.o): Likewise.
22122 (elide-routines.op): Likewise.
22123 (elide-routines.og): Likewise.
22124 (objects): Don't use $(bp-thunks).
22125 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22127 (common-generated): Do not add s-proto-bp.d.
22128 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22131 Do not generate makefile rules for bounded-pointer thunks.
22132 * sysdeps/generic/bp-thunks.h: Remove file.
22133 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22134 * sysdeps/unix/s-proto-bp.S: Likewise.
22137 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22138 parts of result separately when argument is not close to line from
22139 -i to i and one part of argument is small.
22140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22142 * math/libm-test.inc (cacos_test): Add more tests.
22143 (casin_test): Likewise.
22144 (casinh_test): Likewise.
22145 * sysdeps/i386/fpu/libm-test-ulps: Update.
22146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22148 2013-01-31 David S. Miller <davem@davemloft.net>
22150 * po/de.po: Update from translation team.
22152 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22154 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22156 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22158 * configure.in (_AC_PROG_CC_C89): New definition.
22159 * configure: Regenerate.
22161 * configure.in (AC_PROG_CPP): New definition.
22162 * configure: Regenerate.
22164 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22166 * debug/tst-backtrace.h: New file.
22167 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22168 (ret): Remove variable.
22170 (FAIL): Remove macro.
22171 (NO_INLINE): Likewise.
22172 (fn1): Use match function instead of strstr.
22173 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22174 (ret): Remove variable.
22176 (FAIL): Remove macro.
22177 (NO_INLINE): Likewise.
22178 (fn): Use match function instead of strstr.
22179 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22180 (ret): Remove variable.
22182 (FAIL): Remove macro.
22183 (NO_INLINE): Likewise.
22184 (handle_signal): Use match function instead of strstr.
22185 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22186 (ret): Remove variable.
22188 (FAIL): Remove macro.
22189 (NO_INLINE): Likewise.
22190 (handle_signal): Use match function instead of strstr.
22192 2013-01-23 Roland McGrath <roland@hack.frob.com>
22194 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22196 2013-01-23 David S. Miller <davem@davemloft.net>
22198 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22199 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22200 argument of CAS if possible.
22201 * sysdeps/sparc/sparc64/bits/atomic.h
22202 (__arch_compare_and_exchange_val_32_acq): Likewise.
22203 (__arch_compare_and_exchange_val_64_acq): Likewise.
22205 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22207 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22208 * sysdeps/posix/ulimit.c: ... this.
22209 Include <limits.h>.
22210 * sysdeps/unix/bsd/ulimit.c: Remove file.
22212 2013-01-23 Adam Conrad <adconrad@0c3.net>
22214 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22215 (LDFLAGS-tst-array5): Likewise.
22217 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22220 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22221 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22222 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22223 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22225 2013-01-21 David S. Miller <davem@davemloft.net>
22227 * sysdeps/sparc/backtrace.c: New file.
22228 * sysdeps/sparc/sparc32/backtrace.h: New file.
22229 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22230 * sysdeps/sparc/sparc64/backtrace.h: New file.
22231 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22232 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22235 2013-01-21 Andreas Schwab <schwab@suse.de>
22238 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22241 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22247 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22248 Mark Mitchell <mark@codesourcery.com>
22249 Tom de Vries <tom@codesourcery.com>
22250 Paul Pluzhnikov <ppluzhnikov@google.com>
22252 * debug/tst-backtrace2.c: New file.
22253 * debug/tst-backtrace3.c: Likewise.
22254 * debug/tst-backtrace4.c: Likewise.
22255 * debug/tst-backtrace5.c: Likewise.
22256 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22257 (CFLAGS-tst-backtrace3.c): Likewise.
22258 (CFLAGS-tst-backtrace4.c): Likewise.
22259 (CFLAGS-tst-backtrace5.c): Likewise.
22260 (LDFLAGS-tst-backtrace2): Likewise.
22261 (LDFLAGS-tst-backtrace3): Likewise.
22262 (LDFLAGS-tst-backtrace4): Likewise.
22263 (LDFLAGS-tst-backtrace5): Likewise.
22264 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22265 tst-backtrace4 and tst-backtrace5.
22267 2013-01-18 Anton Blanchard <anton@samba.org>
22268 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22270 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22271 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22272 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22273 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22275 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22276 "+r" and remove output regs list as redundant. Add explicit inline
22277 asm to specify register of return val to work around compiler codegen
22278 bug. Remove (int) cast on return value. Add return type parameter to
22279 use in macro so that this macro does not truncate return value for
22281 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22282 pass to INTERNAL_VSYSCALL_NCS.
22283 (INLINE_VSYSCALL): Add 'long int' as return type to
22284 INTERNAL_VSYSCALL_NCS macro invocation.
22285 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22286 INTERNAL_VSYSCALL_NCS macro invocation.
22287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22289 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22292 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22293 Fix application of SIMD FP exception mask.
22295 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22296 mp_no from a power of two.
22297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22298 __mpexp_twomm1. Use __pow_mp.
22300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22303 2013-01-17 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22307 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22310 * include/complex.h: Condition contents on [!_COMPLEX_H].
22311 (__kernel_casinhf): New prototype.
22312 (__kernel_casinh): Likewise.
22313 (__kernel_casinhl): Likewise.
22314 * math/Makefile (libm_calls): Add k_casinh.
22315 * math/k_casinh.c: New file.
22316 * math/k_casinhf.c: Likewise.
22317 * math/k_casinhl.c: Likewise.
22318 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22319 finite nonzero arguments.
22320 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22321 finite nonzero arguments.
22322 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22323 finite nonzero arguments.
22324 * math/s_casinh.c: Do not include <float.h>.
22325 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22326 * math/s_casinhf.c: Do not include <float.h>.
22327 (__casinhf): Move code for finite nonzero arguments to
22329 * math/s_casinhl.c: Do not include <float.h>.
22330 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22332 (__casinhl): Move code for finite nonzero arguments to
22334 * math/libm-test.inc (cacos_test): Add more tests.
22335 * sysdeps/i386/fpu/libm-test-ulps: Update.
22336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22338 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22340 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22341 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22342 [!HAVE_MREMAP]: Remove [defined linux] case.
22343 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22345 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22347 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22349 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22351 * elf/elf.h (R_386_SIZE32): New relocation.
22352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22354 (elf_machine_rela): Likewise.
22355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22356 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22358 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22360 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22361 (FP_FAST_FMA): Do not define.
22362 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22363 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22364 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22365 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22366 !_SOFT_FLOAT]: Likewise.
22367 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22368 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22370 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22371 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22372 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22374 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22375 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22378 2013-01-16 Andreas Schwab <schwab@suse.de>
22381 * include/stdlib.h (__mktemp): Add declaration.
22382 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22383 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22385 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22387 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22389 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22390 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22391 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22393 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22394 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22396 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22398 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22399 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22400 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22402 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22403 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22405 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22407 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22409 2013-01-15 David S. Miller <davem@davemloft.net>
22411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22412 trunc{,f} to libm-sysdep_routes.
22413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22423 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22424 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22425 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22426 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22427 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22428 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22431 nearbyint{,f} to libm-sysdep_routes.
22432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22445 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22448 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22449 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22450 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22452 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22453 libc_feholdexcept and libc_fesetenv.
22455 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22457 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22459 2013-01-14 David S. Miller <davem@davemloft.net>
22461 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22462 (SPARC_ASM_VIS2_IFUNC): Likewise.
22463 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22465 use of 'siam' instruction.
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22484 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22496 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22499 routines to libm-sysdep_routines.
22500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22503 fdim/fdimf to libm-sysdep_routines.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22512 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22513 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22514 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22515 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22517 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22520 to optimize copies.
22522 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22527 local variable MPTWO.
22528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22531 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22533 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22536 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22538 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22540 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22542 * manual/pattern.texi (glob_t): Document gl_flags.
22543 (glob64_t): Likewise.
22545 2013-01-11 David S. Miller <davem@davemloft.net>
22547 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22548 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22549 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22550 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22551 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22552 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22553 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22554 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22555 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22556 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22557 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22558 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22559 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22561 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22562 sparc V9 rather than using V8 code.
22563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22566 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22568 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22571 2013-01-11 Roland McGrath <roland@hack.frob.com>
22573 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22574 not in the main loop.
22575 * configure: Regenerated.
22577 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22579 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22580 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22582 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22583 [!__GLIBC_HAVE_LONG_LONG] case.
22584 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22585 condition to just #else.
22586 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22587 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22588 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22589 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22591 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22592 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22593 #elif condition to just #else.
22594 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22595 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22596 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22597 #elif condition to just #else.
22599 2013-01-11 Steve Ellcey <sellcey@mips.com>
22601 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22602 (EF_MIPS_ARCH_64): Fix value.
22603 (EF_MIPS_ARCH_32R2): New.
22604 (EF_MIPS_ARCH_64R2): New.
22606 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22608 * Makeconfig (+link-pie-before-libc): New.
22609 (+link-pie-after-libc): Likewise.
22610 (+link-pie-tests): Likewise.
22611 (+link-pie): Rewritten.
22612 (link-before-libc): Remove $(config-LDFLAGS).
22613 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22614 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22615 (config-LDFLAGS): Renamed to ...
22616 (rtld-LDFLAGS): This.
22617 (rtld-tests-LDFLAGS): New macro.
22618 (link-libc-rpath-link): Likewise.
22619 (link-libc-tests-rpath-link): Likewise.
22620 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22621 (link-libc): Prepand $(link-libc-rpath-link).
22622 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22623 (test-program-prefix): New macro.
22624 (test-via-rtld-prefix): Likewise.
22625 (test-program-cmd): Likewise.
22626 (host-test-program-cmd): Likewise.
22627 * Makefile ($(common-objpfx)testrun.sh): Replace
22628 $(run-program-prefix) with $(test-program-prefix).
22629 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22631 ($(common-objpfx)shlib.lds): Likewise.
22632 (build-module-helper): Likewise.
22633 ($(common-objpfx)format.lds): Likewise.
22634 * Rules (binaries-pie-tests): New.
22635 (binaries-pie-notests): Likewise.
22636 (binaries-pie): Rewritten.
22637 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22638 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22639 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22640 (make-test-out): Replace $(host-built-program-cmd) with
22641 $(host-test-program-cmd).
22642 * config.make.in (build-hardcoded-path-in-tests): New variable.
22643 * configure.in (--enable-hardcoded-path-in-tests): New configure
22645 (hardcoded_path_in_tests): New AC_SUBST.
22646 * configure: Regenerated.
22647 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22648 $(built-program-cmd) with $(test-program-cmd).
22649 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22650 (test_program_cmd): This.
22651 * elf/Makefile ($(objpfx)order.out): Run test with
22652 $(test-program-prefix).
22653 ($(objpfx)order2.out): Likewise.
22654 ($(objpfx)tst-initorder.out): Likewise.
22655 ($(objpfx)tst-initorder2.out): Likewise.
22656 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22657 $(test-program-cmd).
22658 ($(objpfx)tst-array1-static.out): Likewise.
22659 ($(objpfx)tst-array2.out): Likewise.
22660 ($(objpfx)tst-array3.out): Likewise.
22661 ($(objpfx)tst-array4.out): Likewise.
22662 ($(objpfx)tst-array5.out): Likewise.
22663 ($(objpfx)tst-array5-static.out): Likewise.
22664 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22665 $(test-program-cmd).
22666 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22667 $(run-program-prefix) with $(test-program-prefix).
22668 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22669 (test_program_prefix): This.
22670 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22671 $(run-program-prefix) with $(test-program-prefix).
22672 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22673 (test_program_prefix): This.
22674 * iconvdata/tst-tables.sh: Likewise.
22675 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22676 $(run-program-prefix) with $(test-program-prefix).
22677 ($(objpfx)tst-translit.out): Likewise.
22678 ($(objpfx)tst-gettext2.out): Likewise.
22679 ($(objpfx)tst-gettext4.out): Likewise.
22680 ($(objpfx)tst-gettext6.out): Likewise.
22681 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22682 (test_program_prefix): This.
22683 * intl/tst-gettext2.sh: Likewise.
22684 * intl/tst-gettext4.sh Likewise.
22685 * intl/tst-gettext6.sh: Likewise.
22686 * intl/tst-translit.sh: Likewise.
22687 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22688 with $(test-program-cmd).
22689 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22690 $(run-program-prefix) with $(test-program-prefix).
22691 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22692 (test_program_prefix): This.
22693 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22694 $(run-program-prefix) with $(test-program-prefix).
22695 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22696 (test_program_prefix): This.
22697 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22698 * posix/Makefile ($(objpfx)globtest.out): Replace
22699 $(run-via-rtld-prefix) and $(test-wrapper) with
22700 $(test-program-prefix) and $(test-via-rtld-prefix).
22701 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22702 $(test-program-prefix).
22703 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22704 $(host-test-program-cmd).
22705 (tst-spawn-ARGS): Likewise.
22706 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22707 $(test-program-prefix).
22708 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22709 (test_via_rtld_prefix): This.
22710 (test_wrapper): Renamed to ...
22711 (test_program_prefix): This.
22712 (run_program_prefix): Replaced by test_program_prefix.
22713 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22714 (test_program_prefix): This.
22715 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22716 with $(host-test-program-cmd).
22717 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22718 $(run-program-prefix) with $(test-program-prefix).
22719 ($(objpfx)tst-printf.out): Likewise.
22720 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22721 $(test-program-cmd).
22722 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22723 (test_program_prefix): This.
22724 * stdio-common/tst-unbputc.sh: Likewise.
22725 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22726 $(run-program-prefix) with $(test-program-prefix).
22727 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22728 (test_program_prefix): This.
22729 * string/Makefile ($(objpfx)tst-svc.out): Replace
22730 $(built-program-cmd) with $(test-program-cmd).
22732 2013-01-11 Andreas Jaeger <aj@suse.de>
22735 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22736 value. Sync with Linux 3.7.
22738 2013-01-10 David S. Miller <davem@davemloft.net>
22740 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22741 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22742 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22744 2013-01-10 Roland McGrath <roland@hack.frob.com>
22746 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22748 * configure: Regenerated.
22750 2013-01-10 David S. Miller <davem@davemloft.net>
22752 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22753 sparc V9 rather than using V8 code.
22754 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22755 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22757 2013-01-10 Roland McGrath <roland@hack.frob.com>
22759 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22760 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22761 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22762 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22763 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22764 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22765 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22766 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22767 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22768 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22769 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22770 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22771 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22772 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22773 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22774 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22775 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22776 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22777 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22778 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22779 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22780 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22781 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22782 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22783 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22784 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22785 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22787 2013-01-10 David S. Miller <davem@davemloft.net>
22789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22791 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22793 * posix/Makefile (tests-static): New variable.
22794 (tests): Add $(tests-static).
22795 (tst-exec-static-ARGS): New variable.
22796 (tst-spawn-static-ARGS): Likewise.
22797 * posix/tst-exec-static.c: New file.
22798 * posix/tst-spawn-static.c: Likewise.
22799 * posix/tst-exec.c: Support run directly.
22800 * posix/tst-spawn.c: Likewise.
22802 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22804 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22806 * math/bits/mathcalls.h (llrint): Likewise.
22807 (llround): Likewise.
22808 * stdlib/stdlib.h (struct drand48_data): Likewise.
22809 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22810 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22811 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22813 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22815 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22816 (elf_greg_t): Likewise.
22817 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22818 (__jmp_buf): Likewise.
22819 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22821 (llrint): Likewise, for all definitions.
22822 (llrintl): Likewise.
22824 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22825 Remove [__GNUC__] condition.
22826 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22827 condition to just [__USE_ISOC99].
22828 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22830 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22833 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22834 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22836 (_POSIX_V6_ILP32_OFF32): Likewise.
22837 (_XBS5_ILP32_OFF32): Likewise.
22838 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22839 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22841 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22843 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22846 doubles __mpexp_twomm1. Adjust usage.
22847 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22850 2013-01-10 Andreas Schwab <schwab@suse.de>
22853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22854 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22856 2013-01-09 David S. Miller <davem@davemloft.net>
22859 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22860 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22861 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22862 (TCP_FASTOPEN): Define.
22863 (tcp_repair_opt): New structure.
22864 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22866 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22867 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22868 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22869 (tcp_cookie_transactions): New structure.
22871 2013-01-09 Anton Blanchard <anton@samba.org>
22873 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22874 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22876 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22878 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22880 * include/features.h (__USE_ANSI): Remove.
22882 2013-01-09 Roland McGrath <roland@hack.frob.com>
22884 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22886 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22888 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22890 * sysdeps/s390/fpu/libm-test-ulps: Update.
22892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22894 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22898 (denorm): Likewise.
22899 (__mp_dbl): Likewise.
22900 (__dbl_mp): Likewise.
22901 (add_magnitudes): Likewise.
22902 (sub_magnitudes): Likewise.
22908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22912 (denorm): Likewise.
22913 (__mp_dbl): Likewise.
22914 (__dbl_mp): Likewise.
22915 (add_magnitudes): Likewise.
22916 (sub_magnitudes): Likewise.
22922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22926 (denorm): Likewise.
22927 (__mp_dbl): Likewise.
22928 (__dbl_mp): Likewise.
22929 (add_magnitudes): Likewise.
22930 (sub_magnitudes): Likewise.
22937 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22939 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22940 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22941 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22942 2 && __USE_EXTERN_INLINES]: Likewise.
22944 2013-01-08 Andreas Jaeger <aj@suse.de>
22947 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22949 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22950 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22952 2013-01-07 Anton Blanchard <anton@samba.org>
22954 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22955 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22956 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22957 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22958 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22959 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22960 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22961 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22963 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22964 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22966 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22968 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22969 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22970 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22971 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22972 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22974 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22975 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22977 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22978 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22979 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22980 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22981 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22982 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22983 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22984 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22986 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22987 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22989 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22990 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22991 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22992 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22993 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22994 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22996 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22998 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23000 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23001 (__MALLOC_PMT): Likewise.
23002 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23003 [__GNUC__], only on [_LIBC].
23004 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23005 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23006 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23007 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23008 forward declaration.
23009 (realloc_hook_ini): Likewise.
23010 (memalign_hook_ini): Likewise.
23011 (__libc_memalign): Do not use __MALLOC_PMT in variable
23013 (__libc_valloc): Likewise.
23014 (__libc_pvalloc): Likewise.
23015 (__libc_calloc): Likewise.
23016 (__posix_memalign): Likewise.
23019 * math/s_casinh.c: Include <float.h>.
23020 (__casinh): Do not do computation with squaring and square root
23021 for large arguments.
23022 * math/s_casinhf.c: Include <float.h>.
23023 (__casinhf): Do not do computation with squaring and square root
23024 for large arguments.
23025 * math/s_casinhl.c: Include <float.h>.
23026 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23027 (__casinhl): Do not do computation with squaring and square root
23028 for large arguments.
23029 * math/libm-test.inc (casin_test): Add more tests.
23030 (casinh_test): Likewise.
23031 * sysdeps/i386/fpu/libm-test-ulps: Update.
23032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23036 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23037 (__x86_64_raw_data_cache_size): Likewise.
23038 (__x86_64_data_cache_size_half): Likewise.
23039 (__x86_64_raw_data_cache_size_half): Likewise.
23040 (__x86_64_shared_cache_size): Likewise.
23041 (__x86_64_raw_shared_cache_size): Likewise.
23042 (__x86_64_shared_cache_size_half): Likewise.
23043 (__x86_64_raw_shared_cache_size_half): Likewise.
23044 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23046 (__x86_data_cache_size): This.
23047 (__x86_64_raw_data_cache_size): Renamed to ...
23048 (__x86_raw_data_cache_size): This.
23049 (__x86_64_data_cache_size_half): Renamed to ...
23050 (__x86_data_cache_size_half): This.
23051 (__x86_64_raw_data_cache_size_half): Renamed to ...
23052 (__x86_raw_data_cache_size_half): This.
23053 (__x86_64_shared_cache_size): Renamed to ...
23054 (__x86_shared_cache_size): This.
23055 (__x86_64_raw_shared_cache_size): Renamed to ...
23056 (__x86_raw_shared_cache_size): This.
23057 (__x86_64_shared_cache_size_half): Renamed to ...
23058 (__x86_shared_cache_size_half): This.
23059 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23060 (__x86_raw_shared_cache_size_half): This.
23061 * sysdeps/x86_64/memcpy.S: Updated.
23062 * sysdeps/x86_64/memset.S: Likewise.
23063 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23064 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23067 2013-01-04 David S. Miller <davem@davemloft.net>
23069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23071 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23073 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23074 1 to avoid redefinition warning.
23075 (__USE_GNU): Don't define.
23076 (init_signaling_nan): Protoize.
23078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23080 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23082 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23084 (__cpymn): Likewise.
23085 (norm): Remove commented code.
23086 (denorm): Likewise.
23087 (__mp_dbl): Likewise.
23089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23090 (__cpymn): Likewise.
23091 (norm): Remove commented code.
23092 (denorm): Likewise.
23093 (__mp_dbl): Likewise.
23096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23097 mp_no value for 1.0 and 2.0.
23098 (norm): Use RADIXI instead of radixi.d.
23099 (denorm): Likewise.
23100 (__mul): Use 0.0 instead of zero.d.
23101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23102 mp_no value for 1.0 and 2.0.
23103 (norm): Use RADIXI instead of radixi.d.
23104 (denorm): Likewise.
23105 (__mul): Use 0.0 instead of zero.d.
23107 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23110 * math/s_casinh.c (__casinh): Reduce finite argument to first
23111 quadrant then set signs of results at the end.
23112 * math/s_casinhf.c (__casinhf): Likewise.
23113 * math/s_casinhl.c (__casinhl): Likewise.
23114 * math/libm-test.inc (casin_test): Add more tests.
23115 (casinh_test): Likewise.
23116 * sysdeps/i386/fpu/libm-test-ulps: Update.
23117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23119 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23121 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23123 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23125 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23127 (denorm): Likewise.
23128 (__mp_dbl): Likewise.
23131 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23132 and adjust the header comment.
23134 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23135 variable name from declaration.
23137 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23140 Initialize COMMON_CPUID_INDEX_7 element.
23141 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23142 (CPUID_RTM): Likewise.
23143 (HAS_RTM): Likewise.
23144 (COMMON_CPUID_INDEX_7): New enum.
23146 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23149 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23150 size is zero, record memory as freed.
23152 2013-01-03 Andreas Jaeger <aj@suse.de>
23154 * po/ia.po: Add new Interlingua translation.
23156 2012-01-03 Allan McRae <allan@archlinux.org>
23158 * locale/programs/localedef.c: Fix description of '--posix' flag.
23160 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23162 * NEWS: Update dates in second copyright notice.
23163 * README: Update copyright dates in example.
23164 * manual/libc.texinfo: Update copyright dates.
23165 * scripts/test-installation.pl: Update copyright date in --version
23168 * hurd/ctty-input.c: Fix copyright notice formatting.
23169 * hurd/ctty-output.c: Likewise.
23170 * hurd/dtable.c: Likewise.
23171 * hurd/hurd-raise.c: Likewise.
23172 * hurd/hurdprio.c: Likewise.
23173 * hurd/msgportdemux.c: Likewise.
23174 * misc/sys/file.h: Likewise.
23175 * misc/sys/ioctl.h: Likewise.
23176 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23177 * sysdeps/mach/hurd/chdir.c: Likewise.
23178 * sysdeps/mach/hurd/fchdir.c: Likewise.
23179 * sysdeps/mach/hurd/rename.c: Likewise.
23180 * sysdeps/mach/hurd/rmdir.c: Likewise.
23181 * sysdeps/mach/hurd/seekdir.c: Likewise.
23182 * sysdeps/mach/hurd/setsid.c: Likewise.
23183 * sysdeps/posix/wait3.c: Likewise.
23185 * All files with FSF copyright notices: Update copyright dates
23186 using scripts/update-copyrights.
23187 * intl/plural.c: Regenerated.
23188 * locale/programs/charmap-kw.h: Likewise.
23189 * locale/programs/locfile-kw.h: Likewise.
23191 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23193 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23196 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23197 calculation loop and add branch prediction.
23199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23200 check access beyond bounds of m1np.
23202 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23204 (__inv): Remove local variable MPTWO to use the global
23206 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23207 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23210 MP3HALFS static const.
23212 2013-01-01 David S. Miller <davem@davemloft.net>
23214 * po/ca.po: Update from translation team.
23216 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23218 * scripts/update-copyrights: New file.
23219 * Makeconfig: Reformat copyright notice.
23220 * ctype/ctype.h: Likewise.
23221 * debug/swprintf_chk.c: Likewise.
23222 * elf/dl-cache.c: Likewise.
23223 * elf/dl-debug.c: Likewise.
23224 * elf/dl-object.c: Likewise.
23225 * grp/initgroups.c: Likewise.
23226 * hurd/Makefile: Likewise.
23227 * hurd/hurd/signal.h: Likewise.
23228 * hurd/hurdfault.c: Likewise.
23229 * hurd/hurdioctl.c: Likewise.
23230 * hurd/hurdlookup.c: Likewise.
23231 * hurd/intr-msg.c: Likewise.
23232 * iconv/gconv_open.c: Likewise.
23233 * libio/swprintf.c: Likewise.
23234 * locale/lc-ctype.c: Likewise.
23235 * locale/nl_langinfo.c: Likewise.
23236 * mach/Machrules: Likewise.
23237 * mach/Makefile: Likewise.
23238 * malloc/obstack.h: Likewise.
23239 * manual/Makefile: Likewise.
23240 * manual/tsort.awk: Likewise.
23241 * misc/bits/stab.def: Likewise.
23242 * nis/nis_print_group_entry.c: Likewise.
23243 * nis/nis_table.c: Likewise.
23244 * nis/nss_compat/compat-pwd.c: Likewise.
23245 * nis/nss_compat/compat-spwd.c: Likewise.
23246 * po/Makefile: Likewise.
23247 * posix/fnmatch.c: Likewise.
23248 * posix/regex.h: Likewise.
23249 * resolv/Makefile: Likewise.
23250 * resolv/nss_dns/dns-network.c: Likewise.
23251 * resolv/res_hconf.c: Likewise.
23252 * scripts/gen-sorted.awk: Likewise.
23253 * soft-fp/soft-fp.h: Likewise.
23254 * stdio-common/printf.h: Likewise.
23255 * stdlib/monetary.h: Likewise.
23256 * stdlib/random.c: Likewise.
23257 * stdlib/random_r.c: Likewise.
23258 * sysdeps/generic/Makefile: Likewise.
23259 * sysdeps/gnu/Makefile: Likewise.
23260 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23271 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23272 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23277 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23283 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23284 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23286 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23287 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23288 * sysdeps/mach/hurd/errnos.awk: Likewise.
23289 * sysdeps/mach/hurd/fork.c: Likewise.
23290 * sysdeps/mach/hurd/getcwd.c: Likewise.
23291 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23292 * sysdeps/mach/hurd/mmap.c: Likewise.
23293 * sysdeps/mach/hurd/utimes.c: Likewise.
23294 * sysdeps/mach/hurd/xmknod.c: Likewise.
23295 * sysdeps/posix/profil.c: Likewise.
23296 * sysdeps/posix/readdir_r.c: Likewise.
23297 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23298 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23299 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23300 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23302 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23303 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23304 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23308 * sysdeps/pthread/lio_listio.c: Likewise.
23309 * sysdeps/sparc/dl-procinfo.h: Likewise.
23310 * sysdeps/unix/i386/sysdep.S: Likewise.
23311 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23312 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23313 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23314 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23316 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23317 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23318 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23319 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23320 * sysdeps/wordsize-32/divdi3.c: Likewise.
23321 * time/sys/time.h: Likewise.
23322 * wcsmbs/Makefile: Likewise.
23324 2013-01-01 David S. Miller <davem@davemloft.net>
23326 * po/fr.po: Update from translation team.
23328 * catgets/gencat.c: Update copyright year.
23329 * csu/version.c: Likewise.
23330 * debug/catchsegv.sh: Likewise.
23331 * debug/pcprofiledump.c: Likewise.
23332 * debug/xtrace.sh: Likewise.
23333 * elf/ldconfig.c: Likewise.
23334 * elf/ldd.bash.in: Likewise.
23335 * elf/pldd.c: Likewise.
23336 * elf/sotruss.ksh: Likewise.
23337 * elf/sprof.c: Likewise.
23338 * iconv/iconv_prog.c: Likewise.
23339 * iconv/iconvconfig.c: Likewise.
23340 * locale/programs/locale.c: Likewise.
23341 * locale/programs/localedef.c: Likewise.
23342 * login/programs/pt_chown.c: Likewise.
23343 * malloc/memusage.sh: Likewise.
23344 * malloc/memusagestat.c: Likewise.
23345 * malloc/mtrace.pl: Likewise.
23346 * nscd/nscd.c: Likewise.
23347 * nss/getent.c: Likewise.
23348 * nss/makedb.c: Likewise.
23349 * posix/getconf.c: Likewise.
23351 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23353 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23356 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23358 * math/bits/mathcalls.h (modf): Use __nonnull.
23360 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23362 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23363 (split): Use macro CN instead of the bare value.
23364 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23367 instead of the bare value.
23368 (power1): Likewise.
23370 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23374 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23376 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23378 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23380 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23381 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23383 2012-12-28 Andreas Jaeger <aj@suse.de>
23385 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23386 values are from Linux 3.7.
23388 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23389 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23391 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23393 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23396 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23398 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23399 variables with preprocessor constants.
23400 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23401 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23402 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23404 2012-12-27 Bruno Haible <bruno@clisp.org>
23407 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23410 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23412 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23413 and use variable directly.
23414 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23416 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23418 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23421 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23423 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23424 include directive. Remove local variable MPONE.
23425 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23426 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23429 2012-12-25 David S. Miller <davem@davemloft.net>
23431 * version.h (RELEASE): Set to "development".
23432 (VERSION): Set to "2.17.90".
23433 * NEWS: Add 2.18 section.
23435 2012-12-21 David S. Miller <davem@davemloft.net>
23437 * po/hr.po: Update from translation team.
23439 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23441 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23443 2012-12-19 Steve Ellcey <sellcey@mips.com>
23445 * NEWS: Mention new memcpy for MIPS.
23447 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23449 * manual/contrib.texi (Contributors): Spelling correction.
23451 2012-12-15 David S. Miller <davem@davemloft.net>
23453 * po/ru.po: Update from translation team.
23455 2012-12-13 David S. Miller <davem@davemloft.net>
23457 * NEWS: Mention IFUNC testsuite enhancements.
23459 * po/pl.po: Update from translation team.
23460 * po/bg.po: Likewise.
23462 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23463 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23465 2012-12-11 David S. Miller <davem@davemloft.net>
23467 * po/sv.po: Update from translation team.
23469 * po/vi.po: Update from translation team.
23471 * po/cs.po: Update from translation team.
23473 * po/de.po: Update from translation team.
23474 * po/eo.po: Likewise.
23475 * po/nl.po: Likewise.
23477 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23480 * manual/argp.texi (Argp Helper Functions): Move node to follow
23481 Argp Parsing State.
23484 * manual/conf.texi (Limits on File System Capacity): Mention if
23485 terminating null is included in the max size.
23487 2012-12-10 Andreas Jaeger <aj@suse.de>
23489 * po/cs.po: Update from translation team.
23491 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23493 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23494 void pointer and cast to uintptr_t.
23495 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23497 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23498 * sysdeps/s390/s390-64/memset.S: Likewise.
23500 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23503 * menual/message.texi (Message Translation): Fix typos.
23504 (Helper programs for gettext): Likewise.
23506 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23509 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23512 2012-12-07 David S. Miller <davem@davemloft.net>
23514 * po/libc.pot: Update.
23516 2012-12-07 Richard Henderson <rth@redhat.com>
23519 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23520 normal/normal case to before the switch.
23521 (_FP_DIV): Likewise.
23523 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23524 Mike Frysinger <vapier@gentoo.org>
23526 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23527 check for __NR_fadvise64_64.
23529 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23531 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23532 0, not just to plain "0" as a statement.
23533 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23536 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23538 * NEWS: Use sourceware.org in Bugzilla URL.
23540 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23543 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23545 * stdio-common/tst-put-error.c (do_test): Add newline to the
23546 padded test to ensure flush.
23548 2012-12-05 Jeff Law <law@redhat.com>
23550 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23552 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23554 * README: Don't refer to ports add-on as distributed separately.
23555 Mention AArch64 in list of systems supported in the ports add-on.
23557 * LICENSES: Add more non-FSF copyright and license notices.
23559 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23562 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23564 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23565 10000 as width of padded output.
23567 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23569 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23571 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23572 variable LX with __attribute__ ((unused)).
23573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23575 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23578 with __attribute__ ((unused)).
23580 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23582 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23584 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23586 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23587 (CFLAGS-nldbl-acos.c): New variable.
23588 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23589 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23590 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23591 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23592 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23593 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23594 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23595 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23596 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23597 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23598 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23599 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23600 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23601 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23602 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23603 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23604 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23605 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23606 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23607 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23608 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23609 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23610 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23611 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23612 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23613 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23614 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23615 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23616 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23617 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23618 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23619 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23620 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23621 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23622 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23687 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23691 whole low double instead of just low 47 bits when splitting values
23694 2012-12-03 Allan McRae <allan@archlinux.org>
23696 * manual/stdio.texi (Predefined Printf Handlers): Remove
23697 @hsep and @vsep usage.
23699 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23701 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23702 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23704 2012-12-03 Jeff Law <law@redhat.com>
23706 * time/sys/time.h (settimeofday): Do not mark TV argument
23709 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23711 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23712 when currently writing and seek to current position when not.
23713 * libio/Makefile (tests): Remove bug-fclose1.
23714 * libio/bug-fclose1.c: Delete.
23716 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23718 * manual/arith.texi (feenableexcept): Fix typo.
23719 (fedisableexcept): Likewise.
23721 2012-11-30 Roland McGrath <roland@hack.frob.com>
23723 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23724 second, differently-typed declaration, rather than a cast.
23726 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23728 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23729 * include/rpc/svc.h: ... here.
23731 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23734 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23735 depending n and resplen2 to catch cases where answer
23738 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23740 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23741 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23743 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23745 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23747 2012-11-29 Roland McGrath <roland@hack.frob.com>
23749 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23751 2012-11-28 Jeff Law <law@redhat.com>
23754 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23755 dataset_temporary. Track alloca usage into alloca_used.
23756 If dataset is large allocate and release it via malloc/free.
23758 2012-06-04 Florian Weimer <fweimer@redhat.com>
23761 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23763 2012-11-28 David S. Miller <davem@davemloft.net>
23765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23767 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23770 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23771 of pi/2 rounded to nearest to 64 bits.
23772 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23773 nearest to 64 bits.
23774 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23777 2012-11-28 Jeff Law <law@redhat.com>
23778 Martin Osvald <mosvald@redhat.com>
23781 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23782 * sunrpc/svc.c: Include time.h.
23783 (__svc_accept_failed): New function.
23784 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23785 any reason other than EINTR, call __svc_accept_failed.
23786 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23787 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23789 2012-11-28 Andreas Schwab <schwab@suse.de>
23791 * scripts/abilist.awk: Also handle indirect functions in .opd
23794 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23797 * sysdeps/x86/fpu/powl_helper.c: New file.
23798 * sysdeps/x86/fpu/Makefile: Likewise.
23799 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23801 (__ieee754_powl): Use __powl_helper for finite arguments except
23802 integer exponents below 8.
23803 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23805 (__ieee754_powl): Use __powl_helper for finite arguments except
23806 integer exponents below 8.
23807 * math/libm-test.inc (pow_test): Add more tests and enable some
23808 previously disabled tests.
23809 * sysdeps/i386/fpu/libm-test-ulps: Update.
23810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23812 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23813 Carlos O'Donell <carlos_odonell@mentor.com>
23815 * nss/makedb.c (is_prime): Assert that input is odd and greater
23816 than 4. Note that fact in a comment too.
23817 (next_prime): Add 4 to input.
23819 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23822 * libio/Makefile (tests): Add test case tst-fwrite-error.
23823 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23824 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23825 * libio/tst-fwrite-error.c: New test case.
23827 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23829 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23830 before casting to void *.
23831 * include/libc-internal.h (__pointer_type): New macro.
23832 (__integer_if_pointer_type_sub): Likewise.
23833 (__integer_if_pointer_type): Likewise.
23834 (cast_to_integer): Likewise.
23835 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23836 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23837 before casting to atomic64_t.
23838 (atomic_exchange_acq): Likewise.
23839 (__arch_exchange_and_add_body): Likewise.
23840 (__arch_add_body): Likewise.
23841 (atomic_add_negative): Likewise.
23842 (atomic_add_zero): Likewise.
23844 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23846 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23847 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23848 (add_fdes): Likewise.
23849 (linear_search_fdes): Likewise.
23850 (binary_search_unencoded_fdes): Likewise.
23852 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23854 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23856 2012-11-24 Adam Conrad <adconrad@0c3.net>
23858 * configure.in: Autodetect C++ header directories.
23859 * configure: Regenerated.
23861 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23863 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23865 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23869 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23871 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23872 LDBL_MANT_DIG == 106]: Disable some tests.
23873 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23875 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23880 input for small inputs. Return +/- pi/2 for large inputs.
23881 * math/libm-test.inc (atan_test): Add more tests.
23883 * sysdeps/generic/unwind-dw2-fde-glibc.c
23884 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23885 __attribute__ ((unused)).
23888 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23889 x * y if x and y are nonzero and z is zero.
23892 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23893 nonzero exponents with absolute value below 0x1p-117 to +/-
23897 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23898 up arguments below 2**-450, not just those below 2**-500.
23899 * math/libm-test.inc (hypot_test): Add another test.
23902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23903 Return a+b for ratio over 2**120, not 2**60.
23904 * math/libm-test.inc (hypot_test): Add another test.
23906 * math/libm-test.inc (clog_test): Use
23907 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23908 (clog10_test): Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23913 2012-11-22 Andreas Schwab <schwab@suse.de>
23915 * sysdeps/i386/fpu/libm-test-ulps: Update.
23917 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23919 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23920 printf output with newline.
23922 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23925 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23926 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23927 -z nodlopen, -z initfirst and -z execstack support.
23928 * configure: Regenerated.
23930 * elf/elf.h (DF_1_NODIRECT): New macro.
23931 (DF_1_IGNMULDEF): Likewise.
23932 (DF_1_NOKSYMS): Likewise.
23933 (DF_1_NOHDR): Likewise.
23934 (DF_1_EDITED): Likewise.
23935 (DF_1_NORELOC): Likewise.
23936 (DF_1_SYMINTPOSE): Likewise.
23937 (DF_1_GLOBAUDIT): Likewise.
23938 (DF_1_SINGLETON): Likewise.
23939 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23940 DT_1_SUPPORTED_MASK bits.
23941 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23943 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23945 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23947 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23949 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23952 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23953 (sendmmsg): Move declarations...
23954 * socket/sys/socket.h: ... here.
23955 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23956 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23958 * socket/recvmmsg.c: ... this new file.
23959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23960 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23961 definition of __sendmmsg hidden.
23962 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23963 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23964 Move ENOSYS stub into and include it from...
23965 * socket/sendmmsg.c: ... this new file.
23966 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23967 (sysdep_routines): Move recvmmsg and sendmmsg...
23968 * socket/Makefile (routines): ... here.
23969 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23970 (GLIBC_PRIVATE): Add __sendmmsg.
23971 * include/sys/socket.h (__sendmmsg): Add declarations.
23972 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23975 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23978 variable I1 with __attribute__ ((unused)).
23979 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23981 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23983 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23984 DUMMY variables with __attribute__ ((unused)).
23986 * bits/byteswap.h: Include <bits/types.h>.
23987 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23989 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23991 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23992 string_t. Do not manually set errno.
23993 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23994 length with __strnlen. Make sure to both set errno and return it on
23997 2012-11-19 David S. Miller <davem@davemloft.net>
23999 With help from Joseph Myers.
24000 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24001 very large arguments properly.
24002 * math/libm-test.inc (atan_test): New tests.
24003 (atan2_test): New tests.
24004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24007 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24010 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24013 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24014 [POSIX] (EADDRNOTAVAIL): Likewise.
24015 [POSIX] (EAFNOSUPPORT): Likewise.
24016 [POSIX] (EALREADY): Likewise.
24017 [POSIX] (ECONNABORTED): Likewise.
24018 [POSIX] (ECONNREFUSED): Likewise.
24019 [POSIX] (ECONNRESET): Likewise.
24020 [POSIX] (EDESTADDRREQ): Likewise.
24021 [POSIX] (EDQUOT): Likewise.
24022 [POSIX] (EHOSTUNREACH): Likewise.
24023 [POSIX] (EIDRM): Likewise.
24024 [POSIX] (EISCONN): Likewise.
24025 [POSIX] (ELOOP): Likewise.
24026 [POSIX] (EMULTIHOP): Likewise.
24027 [POSIX] (ENETDOWN): Likewise.
24028 [POSIX] (ENETUNREACH): Likewise.
24029 [POSIX] (ENOBUFS): Likewise.
24030 [POSIX] (ENODATA): Likewise.
24031 [POSIX] (ENOLINK): Likewise.
24032 [POSIX] (ENOMSG): Likewise.
24033 [POSIX] (ENOPROTOOPT): Likewise.
24034 [POSIX] (ENOSR): Likewise.
24035 [POSIX] (ENOSTR): Likewise.
24036 [POSIX] (ENOTCONN): Likewise.
24037 [POSIX] (ENOTSOCK): Likewise.
24038 [POSIX] (EOPNOTSUPP): Likewise.
24039 [POSIX] (EOVERFLOW): Likewise.
24040 [POSIX] (EPROTO): Likewise.
24041 [POSIX] (EPROTONOSUPPORT): Likewise.
24042 [POSIX] (EPROTOTYPE): Likewise.
24043 [POSIX] (ESTALE): Likewise.
24044 [POSIX] (ETIME): Likewise.
24045 [POSIX] (ETXTBSY): Likewise.
24046 [POSIX] (EWOULDBLOCK): Likewise.
24047 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24048 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24049 [POSIX] (SEEK_CUR): Likewise.
24050 [POSIX] (SEEK_END): Likewise.
24051 [POSIX || UNIX98] (mode_t): Do not require.
24052 [POSIX] (off_t): Likewise.
24053 [POSIX] (pid_t): Likewise.
24054 [POSIX] (sys/stat.h): Do not allow header.
24055 [POSIX] (unistd.h): Likewise.
24056 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24057 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24058 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24059 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24061 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24062 sigevent): Specify elements.
24063 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24065 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24066 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24068 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24069 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24070 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24071 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24072 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24073 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24074 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24075 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24076 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24077 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24078 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24079 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24080 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24081 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24083 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24085 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24087 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24089 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24090 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24091 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24092 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24093 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24094 Specify lower bound on value.
24095 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24096 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24097 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24098 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24099 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24100 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24101 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24102 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24104 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24106 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24107 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24109 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24110 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24112 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24113 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24117 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24118 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24119 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24120 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24121 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24123 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24125 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24132 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24137 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24138 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24140 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24141 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24144 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24145 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24146 specify as optional.
24147 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24150 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24151 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24152 [XPG3] (NL_LANGMAX): Likewise.
24153 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24154 [POSIX || XPG3] (NL_NMAX): Likewise.
24155 [POSIX || XPG3] (NL_SETMAX): Likewise.
24156 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24157 [XPG3] (NZERO): Likewise.
24158 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24159 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24160 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24161 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24162 (REG_ERANGE): Expect.
24163 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24165 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24166 Use (void) in prototype.
24167 [POSIX] (*_t): Allow.
24168 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24169 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24170 (WRDE_BADVAL): Expect.
24172 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24174 [XPG3 || XPG4] (O_RSYNC): Likewise.
24175 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24177 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24178 [XPG3 || XPG4] (sigqueue): Likewise.
24179 [XPG3 || XPG4] (sigtimedwait): Likewise.
24180 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24181 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24182 [XPG3 || XPG4] (vsnprintf): Likewise.
24183 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24185 [XPG3 || XPG4] (blksize_t): Likewise.
24186 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24188 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24189 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24190 [XPG3 || XPG4] (struct itimerspec): Likewise.
24191 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24192 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24193 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24194 [XPG3 || XPG4] (clockid_t): Likewise.
24195 [XPG3 || XPG4] (timer_t): Likewise.
24196 [XPG3 || XPG4] (clock_getres): Likewise.
24197 [XPG3 || XPG4] (clock_gettime): Likewise.
24198 [XPG3 || XPG4] (clock_settime): Likewise.
24199 [XPG3 || XPG4] (nanosleep): Likewise.
24200 [XPG3 || XPG4] (timer_create): Likewise.
24201 [XPG3 || XPG4] (timer_delete): Likewise.
24202 [XPG3 || XPG4] (timer_gettime): Likewise.
24203 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24204 [XPG3 || XPG4] (timer_settime): Likewise.
24205 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24206 [XPG3 || XPG4] (getlogin_r): Likewise.
24207 [XPG3 || XPG4] (pread): Likewise.
24208 [XPG3 || XPG4] (pthread_atfork): Likewise.
24209 [XPG3 || XPG4] (pwrite): Likewise.
24212 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24215 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24217 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24218 finalizing MALLSTREAM.
24220 * sysdeps/mach/hurd/syncfs.c: New file.
24222 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24225 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24226 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24227 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24228 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24229 (_nss_dns_gethostbyname4_r): Likewise.
24230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24231 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24233 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24236 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24238 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24240 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24241 * elf/cache.c (print_entry): Print ",AArch64" for
24244 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24245 * elf/cache.c (print_entry): Print ",hard-float" for
24248 2012-11-18 David S. Miller <davem@davemloft.net>
24250 With help from Joseph Myers.
24251 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24253 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24255 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24256 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24258 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24259 * math/libm-test.inc (y0_test): New tests.
24260 (y1_test): New tests.
24261 * sysdeps/i386/fpu/libm-test-ulps: Update.
24262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24265 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24267 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24269 * configure: Regenerated.
24271 2012-11-17 David S. Miller <davem@davemloft.net>
24274 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24275 nonzero exponents with absolute value below 0x1p-128 to +/-
24278 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24280 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24282 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24284 * posix/getconf-speclist.c: New file.
24285 * posix/posix-envs.def: Likewise.
24286 * posix/confstr.c (START_ENV_GROUP): New macro.
24287 (END_ENV_GROUP): Likewise.
24288 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24289 (KNOWN_PRESENT_ENV_STRING): Likewise.
24290 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24291 (UNKNOWN_ENVIRONMENT): Likewise.
24292 (confstr): Include posix-envs.def instead of handling
24293 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24294 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24295 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24296 (END_ENV_GROUP): Likewise.
24297 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24298 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24299 (UNKNOWN_ENVIRONMENT): Likewise.
24300 (__sysconf): Include posix-envs.def instead of handling associated
24301 cases directly here.
24302 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24303 preprocessing getconf-speclist.c rather than running getconf or
24304 generating empty file.
24306 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24308 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24310 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24313 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24315 2012-11-16 David S. Miller <davem@davemloft.net>
24317 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24318 smaller than LDBL_EPSILON/2.0L, just return xm1.
24320 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24322 * elf/tst-array1.c (init): Set constructor priority to 1000.
24323 (fini): Set destructor priority to 1000.
24324 * elf/tst-array2dep.c: Likewise.
24326 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24330 (_IO_new_file_xsputn): Also return EOF if none of the input
24331 data was written when overflow failed.
24332 * libio/iopadn.c (_IO_padn): Likewise.
24333 * libio/iowpadn.c (_IO_wpadn): Likewise.
24334 * stdio-common/tst-put-error.c: Add copyright notice.
24335 (do_test): Add case for printing padded string.
24336 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24337 _IO_padn returned error.
24338 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24339 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24342 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24344 * libio/libioP.h: Add comment note that the references to C++
24345 bits are now obsolete.
24347 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24349 * math/libm-test.inc (check_complex): Use asprintf.
24351 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24353 * debug/pcprofiledump.c (print_version): Update copyright year.
24354 * malloc/memusagestat.c (print_version): Likewise.
24356 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24359 * elf/Makefile (tests): Add tst-audit8.
24360 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24361 ($(objpfx)tst-audit8.out): New target.
24362 (tst-audit8-ENV): New variable.
24363 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24364 audit if l_reloc_result is NULL.
24365 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24366 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24367 * elf/tst-audit8.c: New file.
24369 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24371 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24372 * misc/Makefile (CFLAGS-select.c): Define.
24373 * posix/Makefile (CFLAGS-pause.c): Define.
24375 2012-11-13 David S. Miller <davem@davemloft.net>
24377 * crypt/Makefile: Move test targets after toplevel Rules
24378 inclusion. Grab any necessary sysdep routines when linking.
24379 * crypt/md5.c (md5_process_block): Remove define, we will always
24380 name it __md5_process_block.
24381 (md5_finish_ctx): Update md5_process_block call.
24382 (md5_stream): Likewise.
24383 (md5_process_bytes): Likewise.
24384 (md5_process_block): Rename to __md5_process_block and move to ...
24385 * crypt/md5-block.c: ... here.
24386 * crypt/sha256.c (sha256_process_block): Move to ...
24387 * crypt/sha256-block.c: ... here.
24388 * crypt/sha512.c (sha512_process_block): Move to ...
24389 * crypt/sha512-block.c: ... here.
24390 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24392 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24393 * sysdeps/sparc/sparc64/multiarch/Makefile
24394 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24396 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24397 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24399 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24400 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24401 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24402 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24403 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24404 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24405 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24406 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24407 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24409 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24412 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24414 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24416 * timezone/tzselect.ksh: Update from tzcode git revision
24417 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24418 * timezone/zdump.c: Likewise.
24419 * timezone/zic.c: Likewise.
24420 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24421 in TZVERSION setting, not $(PKGVERSION).
24422 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24423 REPORT_BUGS_TO settings.
24426 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24429 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24431 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24432 detection to immediately after _FP_ROUND().
24433 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24436 2012-11-11 David S. Miller <davem@davemloft.net>
24438 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24440 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24441 __close rather than their public counterparts.
24443 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24445 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24447 [UNIX98] (sem_timedwait): Do not expect.
24448 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24449 [XPG4 || UNIX98] (sockatmark): Do not expect.
24450 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24451 (clock_getcpuclockid): Do not expect.
24452 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24453 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24455 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24456 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24457 [UNIX98] (vwscanf): Likewise.
24458 [UNIX98] (vswscanf): Likewise.
24460 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24462 * timezone/version.h: Remove file.
24463 * timezone/README: Do not refer to version.h.
24464 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24465 $(objpfx)version.h.
24466 ($(objpfx)zdump.o): Likewise.
24467 ($(objpfx)version.h): New target.
24469 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24471 * timezone/README: Don't mention modification to tzselect.ksh.
24472 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24473 work on unmodified tzselect.ksh. Substitute version numbers in
24476 * Makefile (format-me): Remove.
24477 (INSTALL): Adjust indentation. Use commands directly instead of
24478 using $(format-me).
24480 * aclocal.m4 (ACX_PKGVERSION): New macro.
24481 (ACX_BUGURL): Likewise.
24482 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24483 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24484 (REPORT_BUGS_TO): Likewise.
24485 * configure: Regenerated.
24486 * config.h.in (PKGVERSION): New macro.
24487 (REPORT_BUGS_TO): Likewise.
24488 * config.make.in (PKGVERSION): New variable.
24489 (PKGVERSION_TEXI): Likewise.
24490 (REPORT_BUGS_TO): Likewise.
24491 (REPORT_BUGS_TEXI): Likewise.
24492 * Makefile (format-me): Use -I$(common-objpfx)manual.
24493 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24494 ($(common-objpfx)manual/%): New target.
24495 (manual/%): Remove target.
24496 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24497 (print_version): Use PKGVERSION.
24498 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24499 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24500 and REPORT_BUGS_TO.
24501 ($(objpfx)xtrace): Likewise.
24502 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24503 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24504 (print_version): Use PKGVERSION.
24505 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24506 (do_version): Use PKGVERSION.
24507 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24509 (common-ldd-rewrite): Likewise.
24510 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24511 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24512 (print_version): Use PKGVERSION.
24513 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24514 * elf/pldd.c (argp_program_bug_address): Remove variable.
24515 (more_help): New function.
24516 (argp): Use more_help.
24517 (print_version): Use PKGVERSION.
24518 * elf/sln.c (main): Use PKGVERSION.
24519 (usage): Use REPORT_BUGS_TO.
24520 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24521 (top level): Use PKGVERSION.
24522 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24523 (print_version): Use PKGVERSION.
24524 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24525 (print_version): Use PKGVERSION.
24526 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24527 (print_version): Use PKGVERSION.
24528 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24529 (print_version): Use PKGVERSION.
24530 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24531 (print_version): Use PKGVERSION.
24532 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24533 (print_version): Use PKGVERSION.
24534 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24536 ($(objpfx)memusage): Likewise.
24537 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24538 (do_version): Use PKGVERSION.
24539 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24540 (print_version): Use PKGVERSION.
24541 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24542 ($PKGVERSION): New variable.
24543 ($REPORT_BUGS_TO): Likewise.
24544 (usage): Use $REPORT_BUGS_TO.
24545 (top level): Use $PKGVERSION.
24546 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24547 ($(objpfx)pkgvers.texi): New rule.
24548 ($(objpfx)stamp-pkgvers): Likewise.
24549 * manual/install.texi: Include pkgvers.texi.
24550 (--with-pkgversion): Document new configure option.
24551 (--with-bugurl): Likewise.
24552 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24553 than necessarily for this particular distribution. Use
24554 REPORT_BUGS_TO for where to report bugs.
24555 * INSTALL: Regenerated.
24556 * manual/libc.texinfo: Include pkgvers.texi.
24557 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24558 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24559 (print_version): Use PKGVERSION.
24560 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24561 (print_version): Use PKGVERSION.
24562 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24563 (print_version): Use PKGVERSION.
24564 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24565 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24567 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24568 (print_version): Use PKGVERSION.
24569 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24570 (print_version): Use PKGVERSION.
24571 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24574 * timezone/checktab.awk: Update from tzcode 2012i.
24575 * timezone/ialloc.c: Likewise.
24576 * timezone/private.h: Likewise.
24577 * timezone/scheck.c: Likewise.
24578 * timezone/tzfile.h: Likewise.
24579 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24580 (TZVERSION): Hardcode tzcode version number.
24581 * timezone/zdump.c: Update from tzcode 2012i.
24582 * timezone/zic.c: Likewise.
24583 * timezone/version.h: New file.
24584 * timezone/README: Describe version.h. Update upstream location.
24587 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24588 (mktemp): Enable declaration.
24589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24602 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24606 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24607 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24608 for copies of such integer values.
24609 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24610 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24612 2012-11-09 Andreas Jaeger <aj@suse.de>
24614 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24615 definitions and declarations that are provided by
24616 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24618 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24620 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24621 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24622 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24625 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24627 * elf/elf.h: Update comment before AArch64 relocations.
24629 2012-11-07 David S. Miller <davem@davemloft.net>
24631 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24632 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24633 (__start_context): Declare.
24634 (__makecontext_ret): Delete.
24635 (__makecontext): Hook up __start_context instead of
24637 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24638 (sysdep_routines): Add __start_context when in stdlib.
24640 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24642 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24643 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24644 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24646 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24647 (READELF): New variable. Use it instead of hardcoded "readelf".
24649 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24651 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24652 * sysdeps/x86/Makefile: Here.
24653 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24654 * sysdeps/x86/tst-xmmymm.sh: This.
24656 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24658 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24660 [UNIX98] (pthread_barrier_t): Do not expect.
24661 [UNIX98] (pthread_barrierattr_t): Likewise.
24662 [UNIX98] (pthread_spinlock_t): Likewise.
24663 [UNIX98] (pthread_barrier_destroy): Likewise.
24664 [UNIX98] (pthread_barrier_init): Likewise.
24665 [UNIX98] (pthread_barrier_wait): Likewise.
24666 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24667 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24668 [UNIX98] (pthread_barrierattr_init): Likewise.
24669 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24670 [UNIX98] (pthread_getcpuclockid): Likewise.
24671 [UNIX98] (pthread_mutex_timedlock): Likewise.
24672 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24673 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24674 [UNIX98] (pthread_sigmask): Likewise.
24675 [UNIX98] (pthread_spin_destroy): Likewise.
24676 [UNIX98] (pthread_spin_init): Likewise.
24677 [UNIX98] (pthread_spin_lock): Likewise.
24678 [UNIX98] (pthread_spin_trylock): Likewise.
24679 [UNIX98] (pthread_spin_unlock): Likewise.
24680 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24682 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24683 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24684 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24685 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24686 [XPG3 || XPG4] (pthread_key_t): Likewise.
24687 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24688 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24689 [XPG3 || XPG4] (pthread_once_t): Likewise.
24690 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24691 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24692 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24693 [XPG3 || XPG4] (pthread_t): Likewise.
24695 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24697 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24699 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24700 Change function return type to int.
24702 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24703 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24704 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24705 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24706 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24707 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24708 [!POSIX] (posix_madvise): Likewise.
24709 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24711 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24712 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24713 (mode_t): Likewise.
24714 (posix_mem_offset): Likewise.
24715 (posix_typed_mem_get_info): Likewise.
24716 (posix_typed_mem_open): Likewise.
24718 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24719 Change condition to [XOPEN2K8].
24721 * conform/conformtest.pl: Preprocess allow-header data with -x c
24722 instead of from stdin.
24723 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24724 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24725 [C99-based standards] (cerfc): Likewise.
24726 [C99-based standards] (cexp2): Likewise.
24727 [C99-based standards] (cexpm1): Likewise.
24728 [C99-based standards] (clog10): Likewise.
24729 [C99-based standards] (clog1p): Likewise.
24730 [C99-based standards] (clog2): Likewise.
24731 [C99-based standards] (clgamma): Likewise.
24732 [C99-based standards] (ctgamma): Likewise.
24733 [C99-based standards] (cerff): Likewise.
24734 [C99-based standards] (cerfcf): Likewise.
24735 [C99-based standards] (cexp2f): Likewise.
24736 [C99-based standards] (cexpm1f): Likewise.
24737 [C99-based standards] (clog10f): Likewise.
24738 [C99-based standards] (clog1pf): Likewise.
24739 [C99-based standards] (clog2f): Likewise.
24740 [C99-based standards] (clgammaf): Likewise.
24741 [C99-based standards] (ctgammaf): Likewise.
24742 [C99-based standards] (cerfl): Likewise.
24743 [C99-based standards] (cerfcl): Likewise.
24744 [C99-based standards] (cexp2l): Likewise.
24745 [C99-based standards] (cexpm1l): Likewise.
24746 [C99-based standards] (clog10l): Likewise.
24747 [C99-based standards] (clog1pl): Likewise.
24748 [C99-based standards] (clog2l): Likewise.
24749 [C99-based standards] (clgammal): Likewise.
24750 [C99-based standards] (ctgammal): Likewise.
24751 * conform/data/inttypes.h-data [C99-based standards]: Include
24752 stdint.h-data. Remove all expectations for stdint.h contents.
24753 [C99-based standards] (PRI*): Do not allow.
24754 [C99-based standards] (SCN*): Likewise.
24755 [C99-based standards] (*_t): Likewise.
24756 [C99-based-standards] (PRId8): Expect macro.
24757 [C99-based-standards] (PRIi8): Likewise.
24758 [C99-based-standards] (PRIo8): Likewise.
24759 [C99-based-standards] (PRIu8): Likewise.
24760 [C99-based-standards] (PRIx8): Likewise.
24761 [C99-based-standards] (PRIX8): Likewise.
24762 [C99-based-standards] (SCNd8): Likewise.
24763 [C99-based-standards] (SCNi8): Likewise.
24764 [C99-based-standards] (SCNo8): Likewise.
24765 [C99-based-standards] (SCNu8): Likewise.
24766 [C99-based-standards] (SCNx8): Likewise.
24767 [C99-based-standards] (PRIdLEAST8): Likewise.
24768 [C99-based-standards] (PRIiLEAST8): Likewise.
24769 [C99-based-standards] (PRIoLEAST8): Likewise.
24770 [C99-based-standards] (PRIuLEAST8): Likewise.
24771 [C99-based-standards] (PRIxLEAST8): Likewise.
24772 [C99-based-standards] (PRIXLEAST8): Likewise.
24773 [C99-based-standards] (SCNdLEAST8): Likewise.
24774 [C99-based-standards] (SCNiLEAST8): Likewise.
24775 [C99-based-standards] (SCNoLEAST8): Likewise.
24776 [C99-based-standards] (SCNuLEAST8): Likewise.
24777 [C99-based-standards] (SCNxLEAST8): Likewise.
24778 [C99-based-standards] (PRIdFAST8): Likewise.
24779 [C99-based-standards] (PRIiFAST8): Likewise.
24780 [C99-based-standards] (PRIoFAST8): Likewise.
24781 [C99-based-standards] (PRIuFAST8): Likewise.
24782 [C99-based-standards] (PRIxFAST8): Likewise.
24783 [C99-based-standards] (PRIXFAST8): Likewise.
24784 [C99-based-standards] (SCNdFAST8): Likewise.
24785 [C99-based-standards] (SCNiFAST8): Likewise.
24786 [C99-based-standards] (SCNoFAST8): Likewise.
24787 [C99-based-standards] (SCNuFAST8): Likewise.
24788 [C99-based-standards] (SCNxFAST8): Likewise.
24789 [C99-based-standards] (PRId16): Likewise.
24790 [C99-based-standards] (PRIi16): Likewise.
24791 [C99-based-standards] (PRIo16): Likewise.
24792 [C99-based-standards] (PRIu16): Likewise.
24793 [C99-based-standards] (PRIx16): Likewise.
24794 [C99-based-standards] (PRIX16): Likewise.
24795 [C99-based-standards] (SCNd16): Likewise.
24796 [C99-based-standards] (SCNi16): Likewise.
24797 [C99-based-standards] (SCNo16): Likewise.
24798 [C99-based-standards] (SCNu16): Likewise.
24799 [C99-based-standards] (SCNx16): Likewise.
24800 [C99-based-standards] (PRIdLEAST16): Likewise.
24801 [C99-based-standards] (PRIiLEAST16): Likewise.
24802 [C99-based-standards] (PRIoLEAST16): Likewise.
24803 [C99-based-standards] (PRIuLEAST16): Likewise.
24804 [C99-based-standards] (PRIxLEAST16): Likewise.
24805 [C99-based-standards] (PRIXLEAST16): Likewise.
24806 [C99-based-standards] (SCNdLEAST16): Likewise.
24807 [C99-based-standards] (SCNiLEAST16): Likewise.
24808 [C99-based-standards] (SCNoLEAST16): Likewise.
24809 [C99-based-standards] (SCNuLEAST16): Likewise.
24810 [C99-based-standards] (SCNxLEAST16): Likewise.
24811 [C99-based-standards] (PRIdFAST16): Likewise.
24812 [C99-based-standards] (PRIiFAST16): Likewise.
24813 [C99-based-standards] (PRIoFAST16): Likewise.
24814 [C99-based-standards] (PRIuFAST16): Likewise.
24815 [C99-based-standards] (PRIxFAST16): Likewise.
24816 [C99-based-standards] (PRIXFAST16): Likewise.
24817 [C99-based-standards] (SCNdFAST16): Likewise.
24818 [C99-based-standards] (SCNiFAST16): Likewise.
24819 [C99-based-standards] (SCNoFAST16): Likewise.
24820 [C99-based-standards] (SCNuFAST16): Likewise.
24821 [C99-based-standards] (SCNxFAST16): Likewise.
24822 [C99-based-standards] (PRId32): Likewise.
24823 [C99-based-standards] (PRIi32): Likewise.
24824 [C99-based-standards] (PRIo32): Likewise.
24825 [C99-based-standards] (PRIu32): Likewise.
24826 [C99-based-standards] (PRIx32): Likewise.
24827 [C99-based-standards] (PRIX32): Likewise.
24828 [C99-based-standards] (SCNd32): Likewise.
24829 [C99-based-standards] (SCNi32): Likewise.
24830 [C99-based-standards] (SCNo32): Likewise.
24831 [C99-based-standards] (SCNu32): Likewise.
24832 [C99-based-standards] (SCNx32): Likewise.
24833 [C99-based-standards] (PRIdLEAST32): Likewise.
24834 [C99-based-standards] (PRIiLEAST32): Likewise.
24835 [C99-based-standards] (PRIoLEAST32): Likewise.
24836 [C99-based-standards] (PRIuLEAST32): Likewise.
24837 [C99-based-standards] (PRIxLEAST32): Likewise.
24838 [C99-based-standards] (PRIXLEAST32): Likewise.
24839 [C99-based-standards] (SCNdLEAST32): Likewise.
24840 [C99-based-standards] (SCNiLEAST32): Likewise.
24841 [C99-based-standards] (SCNoLEAST32): Likewise.
24842 [C99-based-standards] (SCNuLEAST32): Likewise.
24843 [C99-based-standards] (SCNxLEAST32): Likewise.
24844 [C99-based-standards] (PRIdFAST32): Likewise.
24845 [C99-based-standards] (PRIiFAST32): Likewise.
24846 [C99-based-standards] (PRIoFAST32): Likewise.
24847 [C99-based-standards] (PRIuFAST32): Likewise.
24848 [C99-based-standards] (PRIxFAST32): Likewise.
24849 [C99-based-standards] (PRIXFAST32): Likewise.
24850 [C99-based-standards] (SCNdFAST32): Likewise.
24851 [C99-based-standards] (SCNiFAST32): Likewise.
24852 [C99-based-standards] (SCNoFAST32): Likewise.
24853 [C99-based-standards] (SCNuFAST32): Likewise.
24854 [C99-based-standards] (SCNxFAST32): Likewise.
24855 [C99-based-standards] (PRId64): Likewise.
24856 [C99-based-standards] (PRIi64): Likewise.
24857 [C99-based-standards] (PRIo64): Likewise.
24858 [C99-based-standards] (PRIu64): Likewise.
24859 [C99-based-standards] (PRIx64): Likewise.
24860 [C99-based-standards] (PRIX64): Likewise.
24861 [C99-based-standards] (SCNd64): Likewise.
24862 [C99-based-standards] (SCNi64): Likewise.
24863 [C99-based-standards] (SCNo64): Likewise.
24864 [C99-based-standards] (SCNu64): Likewise.
24865 [C99-based-standards] (SCNx64): Likewise.
24866 [C99-based-standards] (PRIdLEAST64): Likewise.
24867 [C99-based-standards] (PRIiLEAST64): Likewise.
24868 [C99-based-standards] (PRIoLEAST64): Likewise.
24869 [C99-based-standards] (PRIuLEAST64): Likewise.
24870 [C99-based-standards] (PRIxLEAST64): Likewise.
24871 [C99-based-standards] (PRIXLEAST64): Likewise.
24872 [C99-based-standards] (SCNdLEAST64): Likewise.
24873 [C99-based-standards] (SCNiLEAST64): Likewise.
24874 [C99-based-standards] (SCNoLEAST64): Likewise.
24875 [C99-based-standards] (SCNuLEAST64): Likewise.
24876 [C99-based-standards] (SCNxLEAST64): Likewise.
24877 [C99-based-standards] (PRIdFAST64): Likewise.
24878 [C99-based-standards] (PRIiFAST64): Likewise.
24879 [C99-based-standards] (PRIoFAST64): Likewise.
24880 [C99-based-standards] (PRIuFAST64): Likewise.
24881 [C99-based-standards] (PRIxFAST64): Likewise.
24882 [C99-based-standards] (PRIXFAST64): Likewise.
24883 [C99-based-standards] (SCNdFAST64): Likewise.
24884 [C99-based-standards] (SCNiFAST64): Likewise.
24885 [C99-based-standards] (SCNoFAST64): Likewise.
24886 [C99-based-standards] (SCNuFAST64): Likewise.
24887 [C99-based-standards] (SCNxFAST64): Likewise.
24888 [C99-based-standards] (PRIdMAX): Likewise.
24889 [C99-based-standards] (PRIiMAX): Likewise.
24890 [C99-based-standards] (PRIoMAX): Likewise.
24891 [C99-based-standards] (PRIuMAX): Likewise.
24892 [C99-based-standards] (PRIxMAX): Likewise.
24893 [C99-based-standards] (PRIXMAX): Likewise.
24894 [C99-based-standards] (SCNdMAX): Likewise.
24895 [C99-based-standards] (SCNiMAX): Likewise.
24896 [C99-based-standards] (SCNoMAX): Likewise.
24897 [C99-based-standards] (SCNuMAX): Likewise.
24898 [C99-based-standards] (SCNxMAX): Likewise.
24899 [C99-based-standards] (PRIdPTR): Likewise.
24900 [C99-based-standards] (PRIiPTR): Likewise.
24901 [C99-based-standards] (PRIoPTR): Likewise.
24902 [C99-based-standards] (PRIuPTR): Likewise.
24903 [C99-based-standards] (PRIxPTR): Likewise.
24904 [C99-based-standards] (PRIXPTR): Likewise.
24905 [C99-based-standards] (SCNdPTR): Likewise.
24906 [C99-based-standards] (SCNiPTR): Likewise.
24907 [C99-based-standards] (SCNoPTR): Likewise.
24908 [C99-based-standards] (SCNuPTR): Likewise.
24909 [C99-based-standards] (SCNxPTR): Likewise.
24910 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24912 * conform/data/stdint.h-data: Update comments to clarify
24914 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24916 [C99-based standards] (INT8_MAX): Likewise.
24917 [C99-based standards] (INT16_MIN): Likewise.
24918 [C99-based standards] (INT16_MAX): Likewise.
24919 [C99-based standards] (INT32_MIN): Likewise.
24920 [C99-based standards] (INT32_MAX): Likewise.
24921 [C99-based standards] (INT64_MIN): Likewise.
24922 [C99-based standards] (INT64_MAX): Likewise.
24923 [C99-based standards] (UINT8_MAX): Likewise.
24924 [C99-based standards] (UINT16_MAX): Likewise.
24925 [C99-based standards] (UINT32_MAX): Likewise.
24926 [C99-based standards] (UINT64_MAX): Likewise.
24927 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24928 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24929 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24930 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24931 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24932 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24933 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24934 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24935 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24936 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24937 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24938 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24939 [C99-based standards] (INT_FAST8_MIN): Likewise.
24940 [C99-based standards] (INT_FAST8_MAX): Likewise.
24941 [C99-based standards] (INT_FAST16_MIN): Likewise.
24942 [C99-based standards] (INT_FAST16_MAX): Likewise.
24943 [C99-based standards] (INT_FAST32_MIN): Likewise.
24944 [C99-based standards] (INT_FAST32_MAX): Likewise.
24945 [C99-based standards] (INT_FAST64_MIN): Likewise.
24946 [C99-based standards] (INT_FAST64_MAX): Likewise.
24947 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24948 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24949 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24950 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24951 [C99-based standards] (INTPTR_MIN): Likewise.
24952 [C99-based standards] (INTPTR_MAX): Likewise.
24953 [C99-based standards] (UINTPTR_MAX): Likewise.
24954 [C99-based standards] (INTMAX_MIN): Likewise.
24955 [C99-based standards] (INTMAX_MAX): Likewise.
24956 [C99-based standards] (UINTMAX_MAX): Likewise.
24957 [C99-based standards] (PTRDIFF_MIN): Likewise.
24958 [C99-based standards] (PTRDIFF_MAX): Likewise.
24959 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24960 [C99-based standards] (SIZE_MAX): Likewise.
24961 [C99-based standards] (WCHAR_MAX): Likewise.
24962 [C99-based standards] (WINT_MAX): Likewise.
24963 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24964 constraint on value.
24965 [C99-based standards] (WCHAR_MIN): Likewise.
24966 [C99-based standards] (WINT_MIN): Likewise.
24967 [C99-based standards] (*_t): Allow.
24968 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24969 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24970 Include math.h-data and complex.h-data. Remove all expectations
24971 of math.h and complex.h contents.
24972 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24974 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24975 (struct tm): Expect tag.
24976 [C99-based-standards] (wcstof): Expect function.
24977 [C99-based-standards] (wcstold): Likewise.
24978 [C99-based-standards] (wcstoll): Likewise.
24979 [C99-based-standards] (wcstoull): Likewise.
24980 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24981 macro-int-constant. Specify type.
24982 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24983 constraint on value.
24984 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24986 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24988 [ISO C standards]: Do not allow headers.
24989 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24990 wcs[abcdefghijklmnopqrstuvwxyz]*.
24991 [ISO C standards] (*_t): Do not allow.
24992 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24994 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24995 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24997 [ISO C standards]: Do not allow headers.
24998 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24999 is[abcdefghijklmnopqrstuvwxyz]*.
25000 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25001 to[abcdefghijklmnopqrstuvwxyz]*.
25002 [ISO C standards] (*_t): Do not allow.
25003 * conform/data/stdalign.h-data: New file.
25004 * conform/data/stdbool.h-data: Likewise.
25005 * conform/data/stdnoreturn.h-data: Likewise.
25007 2012-11-07 Roland McGrath <roland@hack.frob.com>
25010 * manual/filesys.texi (Directory Entries): Typo fix.
25011 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25013 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25015 * elf/elf.h (EM_AARCH64): New macro.
25016 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25017 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25018 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25019 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25020 (R_AARCH64_TLSDESC): Likewise.
25021 (NT_ARM_TLS): Likewise.
25022 (NT_ARM_HW_BREAK): Likewise.
25023 (NT_ARM_HW_WATCH): Likewise.
25025 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25028 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25029 (__ieee754_powl): Saturate nonzero exponents with absolute value
25030 below 0x1p-79 to +/- 0x1p-79.
25031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25032 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25033 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25034 nonzero exponents with absolute value below 0x1p-32 to +/-
25036 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25037 (__ieee754_powl): Saturate nonzero exponents with absolute value
25038 below 0x1p-79 to +/- 0x1p-79.
25039 * math/libm-test.inc (pow_test): Add more tests.
25041 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25043 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25044 _dl_s390_cap_flags with kernel. Increase string length.
25045 (_dl_s390_platforms): Add z196 and zEC12.
25047 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25049 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25050 Change XOPEN21K to XOPEN2K.
25052 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25054 * string/memmove.c: Use memcpy when possible.
25056 2012-11-06 Andreas Jaeger <aj@suse.de>
25058 * po/eo.po: Update from translation team.
25060 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25064 exponent and small x and y exponents, scale x or y up. Increase
25065 by 2 the exponent used in scaling up.
25066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25068 * math/libm-test.inc (fma_test): Add more tests.
25069 (fma_test_towardzero): Likewise.
25070 (fma_test_downward): Likewise.
25071 (fma_test_upward): Likewise.
25073 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25076 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25080 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25081 namespace for names of struct fields.
25082 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25084 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25085 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25087 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25090 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25092 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25094 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25098 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25101 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25105 definitely overflow as x * y not x * y + z.
25106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25108 * math/libm-test.inc (fma_test): Add more tests.
25109 (fma_test_towardzero): Likewise.
25110 (fma_test_downward): Likewise.
25111 (fma_test_upward): Likewise.
25113 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25117 * include/stub-tag.h: Remove file.
25118 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25120 * manual/maint.texi (Porting): Don't reference it.
25121 * Makerules ($(objpfx)stubs): Likewise.
25122 * dirent/closedir.c: Don't include <stub-tag.h>.
25123 * dirent/dirfd.c: Likewise.
25124 * dirent/fdopendir.c: Likewise.
25125 * dirent/getdents.c: Likewise.
25126 * dirent/getdents64.c: Likewise.
25127 * dirent/opendir.c: Likewise.
25128 * dirent/readdir.c: Likewise.
25129 * dirent/readdir64.c: Likewise.
25130 * dirent/readdir64_r.c: Likewise.
25131 * dirent/readdir_r.c: Likewise.
25132 * dirent/rewinddir.c: Likewise.
25133 * dirent/seekdir.c: Likewise.
25134 * dirent/telldir.c: Likewise.
25135 * gmon/profil.c: Likewise.
25136 * grp/setgroups.c: Likewise.
25137 * inet/if_index.c: Likewise.
25138 * io/access.c: Likewise.
25139 * io/chdir.c: Likewise.
25140 * io/chmod.c: Likewise.
25141 * io/chown.c: Likewise.
25142 * io/close.c: Likewise.
25143 * io/dup.c: Likewise.
25144 * io/dup2.c: Likewise.
25145 * io/dup3.c: Likewise.
25146 * io/euidaccess.c: Likewise.
25147 * io/faccessat.c: Likewise.
25148 * io/fchdir.c: Likewise.
25149 * io/fchmod.c: Likewise.
25150 * io/fchmodat.c: Likewise.
25151 * io/fchown.c: Likewise.
25152 * io/fchownat.c: Likewise.
25153 * io/fcntl.c: Likewise.
25154 * io/flock.c: Likewise.
25155 * io/fstatfs.c: Likewise.
25156 * io/fstatfs64.c: Likewise.
25157 * io/fstatvfs.c: Likewise.
25158 * io/fstatvfs64.c: Likewise.
25159 * io/futimens.c: Likewise.
25160 * io/fxstat.c: Likewise.
25161 * io/fxstat64.c: Likewise.
25162 * io/fxstatat.c: Likewise.
25163 * io/fxstatat64.c: Likewise.
25164 * io/getcwd.c: Likewise.
25165 * io/isatty.c: Likewise.
25166 * io/lchmod.c: Likewise.
25167 * io/lchown.c: Likewise.
25168 * io/link.c: Likewise.
25169 * io/linkat.c: Likewise.
25170 * io/lseek.c: Likewise.
25171 * io/lseek64.c: Likewise.
25172 * io/lxstat64.c: Likewise.
25173 * io/mkdir.c: Likewise.
25174 * io/mkdirat.c: Likewise.
25175 * io/mkfifo.c: Likewise.
25176 * io/mkfifoat.c: Likewise.
25177 * io/open.c: Likewise.
25178 * io/open64.c: Likewise.
25179 * io/openat.c: Likewise.
25180 * io/openat64.c: Likewise.
25181 * io/pipe.c: Likewise.
25182 * io/pipe2.c: Likewise.
25183 * io/poll.c: Likewise.
25184 * io/posix_fadvise.c: Likewise.
25185 * io/posix_fadvise64.c: Likewise.
25186 * io/posix_fallocate.c: Likewise.
25187 * io/posix_fallocate64.c: Likewise.
25188 * io/read.c: Likewise.
25189 * io/readlink.c: Likewise.
25190 * io/readlinkat.c: Likewise.
25191 * io/rmdir.c: Likewise.
25192 * io/sendfile.c: Likewise.
25193 * io/sendfile64.c: Likewise.
25194 * io/statfs.c: Likewise.
25195 * io/statfs64.c: Likewise.
25196 * io/statvfs.c: Likewise.
25197 * io/statvfs64.c: Likewise.
25198 * io/symlink.c: Likewise.
25199 * io/symlinkat.c: Likewise.
25200 * io/ttyname.c: Likewise.
25201 * io/ttyname_r.c: Likewise.
25202 * io/umask.c: Likewise.
25203 * io/unlink.c: Likewise.
25204 * io/unlinkat.c: Likewise.
25205 * io/utime.c: Likewise.
25206 * io/utimensat.c: Likewise.
25207 * io/write.c: Likewise.
25208 * io/xmknod.c: Likewise.
25209 * io/xmknodat.c: Likewise.
25210 * io/xstat.c: Likewise.
25211 * io/xstat64.c: Likewise.
25212 * login/getpt.c: Likewise.
25213 * login/grantpt.c: Likewise.
25214 * login/unlockpt.c: Likewise.
25215 * math/e_acoshl.c: Likewise.
25216 * math/e_acosl.c: Likewise.
25217 * math/e_asinl.c: Likewise.
25218 * math/e_atan2l.c: Likewise.
25219 * math/e_atanhl.c: Likewise.
25220 * math/e_coshl.c: Likewise.
25221 * math/e_expl.c: Likewise.
25222 * math/e_fmodl.c: Likewise.
25223 * math/e_gammal_r.c: Likewise.
25224 * math/e_hypotl.c: Likewise.
25225 * math/e_j0l.c: Likewise.
25226 * math/e_j1l.c: Likewise.
25227 * math/e_jnl.c: Likewise.
25228 * math/e_lgammal_r.c: Likewise.
25229 * math/e_log10l.c: Likewise.
25230 * math/e_log2l.c: Likewise.
25231 * math/e_logl.c: Likewise.
25232 * math/e_powl.c: Likewise.
25233 * math/e_rem_pio2l.c: Likewise.
25234 * math/e_sinhl.c: Likewise.
25235 * math/e_sqrtl.c: Likewise.
25236 * math/fclrexcpt.c: Likewise.
25237 * math/fedisblxcpt.c: Likewise.
25238 * math/feenablxcpt.c: Likewise.
25239 * math/fegetenv.c: Likewise.
25240 * math/fegetexcept.c: Likewise.
25241 * math/fegetround.c: Likewise.
25242 * math/feholdexcpt.c: Likewise.
25243 * math/fesetenv.c: Likewise.
25244 * math/fesetround.c: Likewise.
25245 * math/feupdateenv.c: Likewise.
25246 * math/fgetexcptflg.c: Likewise.
25247 * math/fraiseexcpt.c: Likewise.
25248 * math/fsetexcptflg.c: Likewise.
25249 * math/ftestexcept.c: Likewise.
25250 * math/k_cosl.c: Likewise.
25251 * math/k_rem_pio2l.c: Likewise.
25252 * math/k_sinl.c: Likewise.
25253 * math/k_tanl.c: Likewise.
25254 * math/s_asinhl.c: Likewise.
25255 * math/s_atanl.c: Likewise.
25256 * math/s_cbrtl.c: Likewise.
25257 * math/s_erfl.c: Likewise.
25258 * math/s_expm1l.c: Likewise.
25259 * math/s_log1pl.c: Likewise.
25260 * math/s_tanhl.c: Likewise.
25261 * misc/acct.c: Likewise.
25262 * misc/brk.c: Likewise.
25263 * misc/chflags.c: Likewise.
25264 * misc/chroot.c: Likewise.
25265 * misc/fchflags.c: Likewise.
25266 * misc/fgetxattr.c: Likewise.
25267 * misc/flistxattr.c: Likewise.
25268 * misc/fremovexattr.c: Likewise.
25269 * misc/fsetxattr.c: Likewise.
25270 * misc/fsync.c: Likewise.
25271 * misc/ftruncate.c: Likewise.
25272 * misc/futimes.c: Likewise.
25273 * misc/futimesat.c: Likewise.
25274 * misc/getdomain.c: Likewise.
25275 * misc/getdtsz.c: Likewise.
25276 * misc/gethostid.c: Likewise.
25277 * misc/gethostname.c: Likewise.
25278 * misc/getloadavg.c: Likewise.
25279 * misc/getpagesize.c: Likewise.
25280 * misc/getsysstats.c: Likewise.
25281 * misc/getxattr.c: Likewise.
25282 * misc/gtty.c: Likewise.
25283 * misc/ioctl.c: Likewise.
25284 * misc/lgetxattr.c: Likewise.
25285 * misc/listxattr.c: Likewise.
25286 * misc/llistxattr.c: Likewise.
25287 * misc/lremovexattr.c: Likewise.
25288 * misc/lsetxattr.c: Likewise.
25289 * misc/lutimes.c: Likewise.
25290 * misc/madvise.c: Likewise.
25291 * misc/mincore.c: Likewise.
25292 * misc/mlock.c: Likewise.
25293 * misc/mlockall.c: Likewise.
25294 * misc/mmap.c: Likewise.
25295 * misc/mprotect.c: Likewise.
25296 * misc/msync.c: Likewise.
25297 * misc/munlock.c: Likewise.
25298 * misc/munlockall.c: Likewise.
25299 * misc/munmap.c: Likewise.
25300 * misc/preadv.c: Likewise.
25301 * misc/preadv64.c: Likewise.
25302 * misc/ptrace.c: Likewise.
25303 * misc/pwritev.c: Likewise.
25304 * misc/pwritev64.c: Likewise.
25305 * misc/readv.c: Likewise.
25306 * misc/reboot.c: Likewise.
25307 * misc/remap_file_pages.c: Likewise.
25308 * misc/removexattr.c: Likewise.
25309 * misc/revoke.c: Likewise.
25310 * misc/select.c: Likewise.
25311 * misc/setdomain.c: Likewise.
25312 * misc/setegid.c: Likewise.
25313 * misc/seteuid.c: Likewise.
25314 * misc/sethostid.c: Likewise.
25315 * misc/sethostname.c: Likewise.
25316 * misc/setregid.c: Likewise.
25317 * misc/setreuid.c: Likewise.
25318 * misc/setxattr.c: Likewise.
25319 * misc/sstk.c: Likewise.
25320 * misc/stty.c: Likewise.
25321 * misc/swapoff.c: Likewise.
25322 * misc/swapon.c: Likewise.
25323 * misc/sync.c: Likewise.
25324 * misc/syncfs.c: Likewise.
25325 * misc/syscall.c: Likewise.
25326 * misc/truncate.c: Likewise.
25327 * misc/ualarm.c: Likewise.
25328 * misc/usleep.c: Likewise.
25329 * misc/ustat.c: Likewise.
25330 * misc/utimes.c: Likewise.
25331 * misc/vhangup.c: Likewise.
25332 * misc/writev.c: Likewise.
25333 * posix/_exit.c: Likewise.
25334 * posix/alarm.c: Likewise.
25335 * posix/execve.c: Likewise.
25336 * posix/fexecve.c: Likewise.
25337 * posix/fork.c: Likewise.
25338 * posix/fpathconf.c: Likewise.
25339 * posix/getaddrinfo.c: Likewise.
25340 * posix/getegid.c: Likewise.
25341 * posix/geteuid.c: Likewise.
25342 * posix/getgid.c: Likewise.
25343 * posix/getgroups.c: Likewise.
25344 * posix/getlogin.c: Likewise.
25345 * posix/getlogin_r.c: Likewise.
25346 * posix/getpgid.c: Likewise.
25347 * posix/getpid.c: Likewise.
25348 * posix/getppid.c: Likewise.
25349 * posix/getresgid.c: Likewise.
25350 * posix/getresuid.c: Likewise.
25351 * posix/getsid.c: Likewise.
25352 * posix/getuid.c: Likewise.
25353 * posix/glob64.c: Likewise.
25354 * posix/nanosleep.c: Likewise.
25355 * posix/pathconf.c: Likewise.
25356 * posix/pause.c: Likewise.
25357 * posix/posix_madvise.c: Likewise.
25358 * posix/pread.c: Likewise.
25359 * posix/pread64.c: Likewise.
25360 * posix/pwrite.c: Likewise.
25361 * posix/pwrite64.c: Likewise.
25362 * posix/sched_getaffinity.c: Likewise.
25363 * posix/sched_getp.c: Likewise.
25364 * posix/sched_gets.c: Likewise.
25365 * posix/sched_primax.c: Likewise.
25366 * posix/sched_primin.c: Likewise.
25367 * posix/sched_rr_gi.c: Likewise.
25368 * posix/sched_setaffinity.c: Likewise.
25369 * posix/sched_setp.c: Likewise.
25370 * posix/sched_sets.c: Likewise.
25371 * posix/sched_yield.c: Likewise.
25372 * posix/setgid.c: Likewise.
25373 * posix/setlogin.c: Likewise.
25374 * posix/setpgid.c: Likewise.
25375 * posix/setresgid.c: Likewise.
25376 * posix/setresuid.c: Likewise.
25377 * posix/setsid.c: Likewise.
25378 * posix/setuid.c: Likewise.
25379 * posix/sleep.c: Likewise.
25380 * posix/spawni.c: Likewise.
25381 * posix/sysconf.c: Likewise.
25382 * posix/times.c: Likewise.
25383 * posix/wait.c: Likewise.
25384 * posix/wait3.c: Likewise.
25385 * posix/wait4.c: Likewise.
25386 * posix/waitpid.c: Likewise.
25387 * resolv/gai_sigqueue.c: Likewise.
25388 * resource/getpriority.c: Likewise.
25389 * resource/getrlimit.c: Likewise.
25390 * resource/getrusage.c: Likewise.
25391 * resource/nice.c: Likewise.
25392 * resource/setpriority.c: Likewise.
25393 * resource/setrlimit.c: Likewise.
25394 * resource/ulimit.c: Likewise.
25395 * rt/aio_cancel.c: Likewise.
25396 * rt/aio_fsync.c: Likewise.
25397 * rt/aio_read.c: Likewise.
25398 * rt/aio_sigqueue.c: Likewise.
25399 * rt/aio_suspend.c: Likewise.
25400 * rt/aio_write.c: Likewise.
25401 * rt/clock_getres.c: Likewise.
25402 * rt/clock_gettime.c: Likewise.
25403 * rt/clock_nanosleep.c: Likewise.
25404 * rt/clock_settime.c: Likewise.
25405 * rt/lio_listio.c: Likewise.
25406 * rt/mq_close.c: Likewise.
25407 * rt/mq_getattr.c: Likewise.
25408 * rt/mq_notify.c: Likewise.
25409 * rt/mq_open.c: Likewise.
25410 * rt/mq_receive.c: Likewise.
25411 * rt/mq_send.c: Likewise.
25412 * rt/mq_setattr.c: Likewise.
25413 * rt/mq_timedreceive.c: Likewise.
25414 * rt/mq_timedsend.c: Likewise.
25415 * rt/mq_unlink.c: Likewise.
25416 * rt/shm_open.c: Likewise.
25417 * rt/shm_unlink.c: Likewise.
25418 * rt/timer_create.c: Likewise.
25419 * rt/timer_delete.c: Likewise.
25420 * rt/timer_getoverr.c: Likewise.
25421 * rt/timer_gettime.c: Likewise.
25422 * rt/timer_settime.c: Likewise.
25423 * setjmp/__longjmp.c: Likewise.
25424 * setjmp/setjmp.c: Likewise.
25425 * signal/kill.c: Likewise.
25426 * signal/killpg.c: Likewise.
25427 * signal/raise.c: Likewise.
25428 * signal/sigaction.c: Likewise.
25429 * signal/sigaltstack.c: Likewise.
25430 * signal/sigblock.c: Likewise.
25431 * signal/sigignore.c: Likewise.
25432 * signal/sigintr.c: Likewise.
25433 * signal/signal.c: Likewise.
25434 * signal/sigpause.c: Likewise.
25435 * signal/sigpending.c: Likewise.
25436 * signal/sigqueue.c: Likewise.
25437 * signal/sigreturn.c: Likewise.
25438 * signal/sigset.c: Likewise.
25439 * signal/sigsetmask.c: Likewise.
25440 * signal/sigstack.c: Likewise.
25441 * signal/sigsuspend.c: Likewise.
25442 * signal/sigtimedwait.c: Likewise.
25443 * signal/sigvec.c: Likewise.
25444 * signal/sigwait.c: Likewise.
25445 * signal/sigwaitinfo.c: Likewise.
25446 * signal/sysv_signal.c: Likewise.
25447 * socket/accept.c: Likewise.
25448 * socket/accept4.c: Likewise.
25449 * socket/bind.c: Likewise.
25450 * socket/connect.c: Likewise.
25451 * socket/getpeername.c: Likewise.
25452 * socket/getsockname.c: Likewise.
25453 * socket/getsockopt.c: Likewise.
25454 * socket/isfdtype.c: Likewise.
25455 * socket/listen.c: Likewise.
25456 * socket/recv.c: Likewise.
25457 * socket/recvfrom.c: Likewise.
25458 * socket/recvmsg.c: Likewise.
25459 * socket/send.c: Likewise.
25460 * socket/sendmsg.c: Likewise.
25461 * socket/sendto.c: Likewise.
25462 * socket/setsockopt.c: Likewise.
25463 * socket/shutdown.c: Likewise.
25464 * socket/sockatmark.c: Likewise.
25465 * socket/socket.c: Likewise.
25466 * socket/socketpair.c: Likewise.
25467 * stdio-common/ctermid.c: Likewise.
25468 * stdio-common/cuserid.c: Likewise.
25469 * stdio-common/remove.c: Likewise.
25470 * stdio-common/rename.c: Likewise.
25471 * stdio-common/renameat.c: Likewise.
25472 * stdio-common/tempname.c: Likewise.
25473 * stdlib/getcontext.c: Likewise.
25474 * stdlib/makecontext.c: Likewise.
25475 * stdlib/setcontext.c: Likewise.
25476 * stdlib/swapcontext.c: Likewise.
25477 * stdlib/system.c: Likewise.
25478 * streams/fattach.c: Likewise.
25479 * streams/fdetach.c: Likewise.
25480 * streams/getmsg.c: Likewise.
25481 * streams/getpmsg.c: Likewise.
25482 * streams/putmsg.c: Likewise.
25483 * streams/putpmsg.c: Likewise.
25484 * sysdeps/unix/bsd/getpt.c: Likewise.
25485 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25486 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25487 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25490 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25491 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25492 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25493 * sysvipc/msgctl.c: Likewise.
25494 * sysvipc/msgget.c: Likewise.
25495 * sysvipc/msgrcv.c: Likewise.
25496 * sysvipc/msgsnd.c: Likewise.
25497 * sysvipc/semctl.c: Likewise.
25498 * sysvipc/semget.c: Likewise.
25499 * sysvipc/semop.c: Likewise.
25500 * sysvipc/semtimedop.c: Likewise.
25501 * sysvipc/shmat.c: Likewise.
25502 * sysvipc/shmctl.c: Likewise.
25503 * sysvipc/shmdt.c: Likewise.
25504 * sysvipc/shmget.c: Likewise.
25505 * termios/tcdrain.c: Likewise.
25506 * termios/tcflow.c: Likewise.
25507 * termios/tcflush.c: Likewise.
25508 * termios/tcgetattr.c: Likewise.
25509 * termios/tcgetpgrp.c: Likewise.
25510 * termios/tcsendbrk.c: Likewise.
25511 * termios/tcsetattr.c: Likewise.
25512 * termios/tcsetpgrp.c: Likewise.
25513 * time/adjtime.c: Likewise.
25514 * time/clock.c: Likewise.
25515 * time/getitimer.c: Likewise.
25516 * time/gettimeofday.c: Likewise.
25517 * time/setitimer.c: Likewise.
25518 * time/settimeofday.c: Likewise.
25519 * time/stime.c: Likewise.
25520 * time/time.c: Likewise.
25522 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25524 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25527 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25529 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25531 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25534 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25535 FE_TONEAREST before applying Dekker multiplication and Knuth
25536 addition. Clear inexact exceptions and check for exact zero
25537 results afterwards.
25538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25541 * math/libm-test.inc (fma_test): Add more tests.
25542 (fma_test_towardzero): Likewise.
25543 (fma_test_downward): Likewise.
25544 (fma_test_upward): Likewise.
25545 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25547 (libc_fesetround): New macro.
25548 (libc_fesetroundf): Likewise.
25549 (libc_fesetroundl): Likewise.
25550 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25552 (libc_fesetround_387): Likewise.
25553 (libc_fesetroundf): New macro.
25554 (libc_fesetround): Likewise.
25555 (libc_fesetroundl): Likewise.
25556 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25558 (libc_fesetroundf): New macro.
25559 (libc_fesetround): Likewise.
25560 (libc_fesetroundl): Likewise.
25561 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25562 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25563 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25565 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25566 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25568 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25569 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25571 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25575 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25576 integer constant usable in #if and use that to give value to enum
25578 (FE_DIVBYZERO): Likewise.
25579 (FE_UNDERFLOW): Likewise.
25580 (FE_OVERFLOW): Likewise.
25581 (FE_INVALID): Likewise.
25582 (FE_INVALID_SNAN): Likewise.
25583 (FE_INVALID_ISI): Likewise.
25584 (FE_INVALID_IDI): Likewise.
25585 (FE_INVALID_ZDZ): Likewise.
25586 (FE_INVALID_IMZ): Likewise.
25587 (FE_INVALID_COMPARE): Likewise.
25588 (FE_INVALID_SOFTWARE): Likewise.
25589 (FE_INVALID_SQRT): Likewise.
25590 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25591 (FE_TONEAREST): Likewise.
25592 (FE_TOWARDZERO): Likewise.
25593 (FE_UPWARD): Likewise.
25594 (FE_DOWNWARD): Likewise.
25595 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25596 (FE_DIVBYZERO): Likewise.
25597 (FE_OVERFLOW): Likewise.
25598 (FE_UNDERFLOW): Likewise.
25599 (FE_INEXACT): Likewise.
25600 (FE_TONEAREST): Likewise.
25601 (FE_DOWNWARD): Likewise.
25602 (FE_UPWARD): Likewise.
25603 (FE_TOWARDZERO): Likewise.
25604 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25605 (FE_UNDERFLOW): Likewise.
25606 (FE_OVERFLOW): Likewise.
25607 (FE_DIVBYZERO): Likewise.
25608 (FE_INVALID): Likewise.
25609 (FE_TONEAREST): Likewise.
25610 (FE_TOWARDZERO): Likewise.
25611 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25612 (FE_OVERFLOW): Likewise.
25613 (FE_UNDERFLOW): Likewise.
25614 (FE_DIVBYZERO): Likewise.
25615 (FE_INEXACT): Likewise.
25616 (FE_TONEAREST): Likewise.
25617 (FE_TOWARDZERO): Likewise.
25618 (FE_UPWARD): Likewise.
25619 (FE_DOWNWARD): Likewise.
25620 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25621 (FE_DIVBYZERO): Likewise.
25622 (FE_OVERFLOW): Likewise.
25623 (FE_UNDERFLOW): Likewise.
25624 (FE_INEXACT): Likewise.
25625 (FE_TONEAREST): Likewise.
25626 (FE_DOWNWARD): Likewise.
25627 (FE_UPWARD): Likewise.
25628 (FE_TOWARDZERO): Likewise.
25630 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25632 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25634 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25636 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25637 commands. Quote $PWD.
25638 (blacklist_exports): Don't use remove_newlines. Replace "declare
25640 (remove_newlines): Remove.
25642 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25644 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25645 * stdlib/stdlib.h (atof): Moved to ...
25646 * include/bits/stdlib-float.h: Here. New file.
25647 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25648 * stdlib/bits/stdlib-float.h: New file.
25649 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25651 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25654 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25656 * conform/conformtest.pl (@headers): Add fenv.h.
25657 * conform/data/fenv.h-data: New file.
25658 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25659 include of <math/fenv.h>.
25661 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25662 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25663 && !UNIX98]. Enables tests for XOPEN2K8.
25664 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25665 POSIX2008]: Likewise.
25667 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25668 (struct rusage): Do not expect type or its members.
25671 * math/math.h (FP_NAN): Define macro to integer constant usable in
25672 #if and use that to give value to enum constant.
25673 (FP_INFINITE): Likewise.
25674 (FP_ZERO): Likewise.
25675 (FP_SUBNORMAL): Likewise.
25676 (FP_NORMAL): Likewise.
25678 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25680 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25681 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25684 2012-11-02 Roland McGrath <roland@hack.frob.com>
25686 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25687 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25688 autoconf-time if not.
25689 * configure.in: Remove AC_PREREQ.
25691 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25693 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25694 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25695 of the internal implementation.
25697 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25699 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25700 except include of <misc/sys/syslog.h>.
25702 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25705 function returns with a NULL context exit with zero.
25707 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25709 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25711 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25713 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25714 (run_program_cmd): This.
25715 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25716 (tst_langinfo): New variable. Use it.
25718 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25720 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25721 floating point opcodes.
25723 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25725 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25728 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25730 * sysdeps/mach/hurd/powerpc: Remove directory.
25731 * sysdeps/mach/powerpc: Likewise.
25733 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25735 * scripts/check-local-headers.sh: Ignore c++ headers.
25737 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25739 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25740 __libc_cleanup_region_start argument.
25742 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25747 x * y using scaling, not as x * y + z.
25748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25750 * math/libm-test.inc (fma_test): Add more tests.
25751 (fma_test_towardzero): Likewise.
25752 (fma_test_downward): Likewise.
25753 (fma_test_upward): Likewise.
25755 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25757 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25759 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25761 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25764 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25766 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25768 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25775 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25778 Fix the order of the list for glibc 2.17.
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25782 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25786 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25789 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25790 for low part of x being zero before using __atanl (y).
25791 * math/libm-test.inc (atan2_test): Add another test.
25793 * manual/install.texi (Configuring and compiling): Document
25794 general use of test-wrapper and test-wrapper-env.
25795 * INSTALL: Regenerated.
25797 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25798 (__fma): Do not extract and scale down low bits on after-rounding
25799 systems when result rounded to normal precision would have normal
25801 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25802 (__fmal): Do not extract and scale down low bits on after-rounding
25803 systems when result rounded to normal precision would have normal
25805 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25806 (__fmal): Do not extract and scale down low bits on after-rounding
25807 systems when result rounded to normal precision would have normal
25809 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25811 (fma_test): Add more tests.
25812 (fma_test_towardzero): Likewise.
25813 (fma_test_downward): Likewise.
25814 (fma_test_upward): Likewise.
25816 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25818 * sysdeps/i386/tininess.h: Renamed to ...
25819 * sysdeps/x86/tininess.h: This.
25820 * sysdeps/x86_64/tininess.h: Removed.
25822 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25824 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25825 input. Use $(build-program-cmd).
25826 ($(objpfx)tst-array1-static.out): Likewise.
25827 ($(objpfx)tst-array2.out): Likewise.
25828 ($(objpfx)tst-array3.out): Likewise.
25829 ($(objpfx)tst-array4.out): Likewise.
25830 ($(objpfx)tst-array5.out): Likewise.
25831 ($(objpfx)tst-array5-static.out): Likewise.
25833 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25835 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25838 * nss/nsswitch.h (nss_interface_function): Provide new
25839 macro for use with NSS functions.
25840 * grp/initgroups.c: Use new macro.
25841 * nss/getXXbyYY.c: Likewise.
25842 * nss/getXXbyYY_r.c: Likewise.
25843 * nss/getXXent.c: Likewise.
25844 * nss/getXXent_r.c: Likewise.
25845 * sysdeps/posix/getaddrinfo.c: Likewise.
25847 2012-10-30 Andreas Jaeger <aj@suse.de>
25849 * po/ru.po: Update Russion translation from translation project.
25851 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25856 result and shift together with sticky bit instead of replicating
25857 round-to-nearest rounding.
25858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25860 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25861 missing underflow exceptions.
25862 (fma_test_towardzero): Add more tests.
25863 (fma_test_downward): Likewise.
25864 (fma_test_upward): Likewise.
25867 * sysdeps/generic/tininess.h: New file.
25868 * sysdeps/i386/tininess.h: Likewise.
25869 * sysdeps/sh/tininess.h: Likewise.
25870 * sysdeps/x86_64/tininess.h: Likewise.
25871 * stdlib/tst-strtod-underflow.c: Likewise.
25872 * stdlib/tst-tininess.c: Likewise.
25873 * stdlib/strtod_l.c: Include <tininess.h>.
25874 (round_and_return): Do not set errno for exact underflow cases.
25875 Force an underflow exception when setting errno for underflow.
25876 Determine underflow based on rounding to normal precision if
25877 TININESS_AFTER_ROUNDING.
25878 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25879 ERANGE for exact underflow cases.
25880 * stdlib/Makefile (tests): Add tst-tininess and
25881 tst-strtod-underflow.
25882 ($(objpfx)tst-tininess): Use $(link-libm).
25883 ($(objpfx)tst-strtod-underflow): Likewise.
25885 2012-10-30 Andreas Jaeger <aj@suse.de>
25888 * elf/Makefile (tests): Remove conditional for have-initfini-array
25889 since this is now always required and the variable does not exist
25891 (tests-static): Likewise.
25892 (modules-names): Likewise.
25894 * po/eo.po: Add Esperanto translation from translation project.
25896 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25897 merged with constructor/destructor.
25898 (init_array): Likewise.
25899 * elf/tst-array2dep.c (fini_array): Likewise.
25900 (init_array): Likewise.
25902 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25904 * manual/message.texi: Delete @cartouche tags.
25906 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25908 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25910 * sysdeps/mach/hurd/fsync.c: Likewise.
25912 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25913 [_POSIX_REALTIME_SIGNALS]: Change condition to
25914 [_POSIX_REALTIME_SIGNALS > 0].
25916 2012-10-27 Andreas Jaeger <aj@suse.de>
25918 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25919 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25921 [__WORDSIZE != 64]: Likewise.
25923 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25925 * iconvdata/tst-table.sh: Remove ${SHELL}.
25926 * iconvdata/tst-tables.sh: Likewise.
25928 2012-10-25 David S. Miller <davem@davemloft.net>
25930 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25931 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25937 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25938 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25941 2012-10-25 Roland McGrath <roland@hack.frob.com>
25943 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25944 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25947 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25948 Jim Blandy <jimb@codesourcery.com>
25950 * scripts/cross-test-ssh.sh: New file.
25951 * manual/install.texi (Configuring and compiling): Document use of
25953 * INSTALL: Regenerated.
25955 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25957 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25960 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25962 * Makeconfig (run-program-prefix): Fix comment.
25964 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25965 Jim Blandy <jimb@codesourcery.com>
25967 * Makeconfig (test-wrapper): New variable,
25968 (test-wrapper-env): Likewise.
25969 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25970 (run-built-tests): Define to yes.
25971 (run-program-prefix): Use $(test-wrapper).
25972 (built-program-cmd): Likewise.
25973 * Rules (make-test-out): Use $(test-wrapper-env) and
25974 $(host-built-program-cmd).
25975 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25976 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25978 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25979 $(test-wrapper-env) to tst-rtld-load-self.sh.
25980 ($(objpfx)order2.out): Use $(test-wrapper).
25981 ($(objpfx)tst-initorder.out): Likewise.
25982 ($(objpfx)tst-initorder2.out): Likewise.
25983 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25984 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25985 (test_wrapper_env): New variable. Use it to run ld.so.
25986 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25987 Use it to run ld.so.
25988 (test_wrapper_env): Likewise.
25989 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25990 $(test-wrapper) to run-iconv-test.sh.
25991 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25992 (ICONV): Use $test_wrapper.
25993 * posix/Makefile ($(objpfx)globtest.out): Pass
25994 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25995 globtest.sh, not $(run-program-prefix).
25996 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25997 (test_wrapper): Likewise.
25998 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25999 set together with run_via_rtld_prefix.
26000 (run_program_prefix): Define in terms of test_wrapper and
26001 run_via_rtld_prefix.
26003 2012-10-24 Roland McGrath <roland@hack.frob.com>
26005 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26006 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26010 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26011 Declare __clock_getres, __clock_gettime, __clock_settime,
26012 __clock_nanosleep, and __clock_getcpuclockid.
26013 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26014 Remove librt_hidden_def (clock_gettime).
26015 * sysdeps/unix/clock_gettime.c: Likewise.
26016 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26017 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26018 * rt/clock_getres.c: Define __clock_getres as an alias.
26019 * sysdeps/posix/clock_getres.c: Likewise.
26020 * rt/clock_settime.c: Define __clock_settime as an alias.
26021 * sysdeps/unix/clock_settime.c: Likewise.
26022 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26023 * sysdeps/unix/clock_nanosleep.c: Likewise.
26024 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26025 * rt/clock-compat.c: New file.
26026 * rt/Makefile (librt-routines): Add clock-compat and move
26027 $(clock-routines) to ...
26028 (routines): ... here, new variable.
26029 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26030 Don't add get_clockfreq here.
26031 * rt/Versions (libc: GLIBC_2.17): New version set.
26032 Add clock_* symbols here.
26033 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26035 (GLIBC_2.17): Add clock_* symbols.
26036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26047 * NEWS: Mention the move.
26049 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26050 Use __open, __read, __close rather than their public counterparts.
26051 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26052 (__get_clockfreq_via_cpuinfo): Likewise.
26053 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26054 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26056 * config.h.in (HAVE_IFUNC): New #undef.
26057 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26059 * configure: Regenerated.
26061 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26063 * configure.in: Move READELF check to start of file.
26064 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26065 libc_cv_asm_gnu_indirect_function in the process.
26066 * configure: Regenerated.
26068 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26070 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26071 send the output to /dev/null.
26072 (libc_cv_cc_with_libunwind): Likewise.
26073 (libc_cv_as_noexecstack): Likewise.
26074 * configure: Regenerate.
26076 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26078 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26080 * posix/globtest.sh (TMPDIR): Do not set.
26081 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26082 (testout): Likewise.
26084 2012-10-24 Andreas Jaeger <aj@suse.de>
26086 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26087 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26088 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26089 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26090 posix_fadvise64, posix_fallocate64.
26092 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26093 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26094 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26096 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26098 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26101 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26102 <bits/fcntl-linux.h>.
26103 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26106 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26107 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26108 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26109 [__WORDSIZE != 64]: Likewise.
26111 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26113 * Makeconfig (run-built-tests): New variable.
26114 * Rules [$(cross-compiling) = yes]: Change condition to
26115 [$(run-built-tests) = no].
26116 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26117 to [$(run-built-tests) = yes].
26118 * elf/Makefile [$(cross-compiling) = no]: Likewise
26119 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26120 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26121 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26122 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26123 * io/Makefile [$(cross-compiling) = no]: Likewise.
26124 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26125 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26126 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26127 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26128 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26129 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26130 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26131 * string/Makefile [$(cross-compiling) = no]: Likewise.
26133 * posix/Makefile ($(objpfx)globtest.out): Pass
26134 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26135 $(rtld-installed-name).
26136 * posix/globtest.sh (elf_objpfx): Remove variable.
26137 (rtld_installed_name): Likewise.
26138 (library_path): Likewise.
26139 (run_program_prefix): New variable. Use for running globtest
26142 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26143 Joseph Myers <joseph@codesourcery.com>
26145 * Makeconfig (host-built-program-cmd): New variable.
26146 * elf/Makefile (tst-stackguard1-ARGS): Use
26147 $(host-built-program-cmd).
26148 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26149 (tst-spawn-ARGS): Likewise.
26150 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26152 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26153 Jim Blandy <jimb@codesourcery.com>
26155 * Makeconfig (run-via-rtld-prefix): New variable.
26156 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26157 (built-program-cmd): Likewise.
26159 2012-10-22 Andreas Jaeger <aj@suse.de>
26161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26162 __O_RSYNC if it exists, otherwise to O_SYNC.
26164 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26165 Joseph Myers <joseph@codesourcery.com>
26167 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26169 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26171 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26174 2012-10-22 Andreas Jaeger <aj@suse.de>
26176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26181 bits/fcntl-linux.h.
26183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26184 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26191 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26192 Joseph Myers <joseph@codesourcery.com>
26194 * config.make.in (NM): New variable.
26196 2012-10-21 Andreas Jaeger <aj@suse.de>
26198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26199 definitions and declarations that are provided by
26200 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26202 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26205 * elf/Makefile (tests-static): Add tst-leaks1-static.
26206 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26207 ($(objpfx)tst-leaks1-static): New rule.
26208 ($(objpfx)tst-leaks1-static-mem): Likewise.
26209 (tst-leaks1-static-ENV): New macro.
26210 * elf/dl-open.c (dl_open_worker): Check the main application
26211 only if SHARED is defined.
26212 * elf/tst-leaks1-static.c: New file.
26214 2012-10-20 Andreas Jaeger <aj@suse.de>
26216 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26217 generic values for Linux.
26218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26219 and declarations that are provided by <bits/fcntl-linux.h> and
26220 include <bits/fcntl-linux.h>.
26221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26224 2012-10-20 Roland McGrath <roland@hack.frob.com>
26226 * io/fcntl.h: Move include of <bits/types.h> to the top and
26227 include it unconditionally.
26229 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26231 * wcsmbs/Makefile (tests-ifunc): New variable.
26232 (tests): Add $(tests-ifunc).
26233 * wcsmbs/test-wcschr-ifunc.c: New file.
26234 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26235 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26236 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26237 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26238 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26240 * string/Makefile (tests-ifunc): New variable.
26241 (tests): Add $(tests-ifunc).
26242 * string/test-memccpy.c (TEST_NAME): New macro.
26243 * string/test-memchr.c (TEST_NAME): Likewise.
26244 * string/test-memcmp.c (TEST_NAME): Likewise.
26245 * string/test-memcpy.c (TEST_NAME): Likewise.
26246 * string/test-memmem.c (TEST_NAME): Likewise.
26247 * string/test-memmove.c (TEST_NAME): Likewise.
26248 * string/test-memset.c (TEST_NAME): Likewise.
26249 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26250 * string/test-stpcpy.c (TEST_NAME): Likewise.
26251 * string/test-stpncpy.c (TEST_NAME): Likewise.
26252 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26253 * string/test-strcasestr.c (TEST_NAME): Likewise.
26254 * string/test-strcat.c (TEST_NAME): Likewise.
26255 * string/test-strchr.c (TEST_NAME): Likewise.
26256 * string/test-strcmp.c(TEST_NAME): Likewise.
26257 * string/test-strcpy.c (TEST_NAME): Likewise.
26258 * string/test-strcspn.c (TEST_NAME): Likewise.
26259 * string/test-strlen.c (TEST_NAME): Likewise.
26260 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26261 * string/test-strncmp.c (TEST_NAME): Likewise.
26262 * string/test-strncpy.c (TEST_NAME): Likewise.
26263 * string/test-strnlen.c (TEST_NAME): Likewise.
26264 * string/test-strpbrk.c (TEST_NAME): Likewise.
26265 * string/test-strrchr.c (TEST_NAME): Likewise.
26266 * string/test-strspn.c (TEST_NAME): Likewise.
26267 * string/test-strstr.c (TEST_NAME): Likewise.
26268 * string/test-bcopy-ifunc.c: New file.
26269 * string/test-bzero-ifunc.c: Likewise.
26270 * string/test-memccpy-ifunc.c: Likewise.
26271 * string/test-memchr-ifunc.c: Likewise.
26272 * string/test-memcmp-ifunc.c: Likewise.
26273 * string/test-memcpy-ifunc.c: Likewise.
26274 * string/test-memmem-ifunc.c: Likewise.
26275 * string/test-memmove-ifunc.c: Likewise.
26276 * string/test-mempcpy-ifunc.c: Likewise.
26277 * string/test-memset-ifunc.c: Likewise.
26278 * string/test-rawmemchr-ifunc.c: Likewise.
26279 * string/test-stpcpy-ifunc.c: Likewise.
26280 * string/test-stpncpy-ifunc.c: Likewise.
26281 * string/test-strcasecmp-ifunc.c: Likewise.
26282 * string/test-strcasestr-ifunc.c: Likewise.
26283 * string/test-strcat-ifunc.c: Likewise.
26284 * string/test-strchr-ifunc.c: Likewise.
26285 * string/test-strchrnul-ifunc.c: Likewise.
26286 * string/test-strcmp-ifunc.c: Likewise.
26287 * string/test-strcpy-ifunc.c: Likewise.
26288 * string/test-strcspn-ifunc.c: Likewise.
26289 * string/test-strlen-ifunc.c: Likewise.
26290 * string/test-strncasecmp-ifunc.c: Likewise.
26291 * string/test-strncat-ifunc.c: Likewise.
26292 * string/test-strncmp-ifunc.c: Likewise.
26293 * string/test-strncpy-ifunc.c: Likewise.
26294 * string/test-strnlen-ifunc.c: Likewise.
26295 * string/test-strpbrk-ifunc.c: Likewise.
26296 * string/test-strrchr-ifunc.c: Likewise.
26297 * string/test-strspn-ifunc.c: Likewise.
26298 * string/test-strstr-ifunc.c: Likewise.
26300 * debug/Makefile (tests-ifunc): New variable.
26301 (tests): Add $(tests-ifunc).
26302 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26303 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26304 * debug/test-stpcpy_chk-ifunc.c: New file.
26305 * debug/test-strcpy_chk-ifunc.c: Likewise.
26307 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26310 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26311 header is not read in.
26313 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26315 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26316 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26317 directly. Pass built executable to script as
26318 $(built-program-cmd).
26319 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26320 $testprogram without using LD_LIBRARY_PATH and $ldso.
26322 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26323 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26324 $(rtld-installed-name).
26325 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26326 (rtld_installed_name): Likewise.
26327 (library_path): Likewise.
26328 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26329 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26330 $(run-program-prefix) to tst-tables.sh.
26331 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26332 it to run tst-table-from and tst-table-to.
26333 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26334 Pass it to tst-table.sh.
26335 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26336 $(run-program-prefix) to tst-gettext.sh.
26337 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26339 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26341 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26342 to run tst-gettext.
26343 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26344 to run tst-gettext2.
26345 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26346 to run tst-translit.
26347 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26348 $(run-program-prefix) to tst-mtrace.sh.
26349 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26351 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26352 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26353 $(rtld-installed-name).
26354 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26355 (rtld_installed_name): Likewise.
26356 (run_program_prefix): New variable. Use it to run wordexp-test.
26358 * Makeconfig (ARCH): Remove all definitions.
26359 (machine): Likewise.
26360 [ARCH]: Remove conditional code.
26361 [!objdir]: Give error.
26362 [!objdir] (objpfx): Remove.
26363 [!objdir] (common-objpfx): Likewise.
26364 [!objdir] (common-objdir): Likewise.
26365 * configure.in (config_makefile): Remove. Hardcode Makefile in
26366 AC_CONFIG_FILES call.
26367 * configure: Regenerated.
26370 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26372 (testout): Likewise.
26374 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26375 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26376 $(rtld-installed-name).
26377 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26378 (rtld_installed_name): Likwise.
26379 (runit): Remove function.
26380 (run_getconf): New variable, Use it for running getconf binary.
26382 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26385 * string/test-memmem.c (check_result): New function.
26386 (do_one_test): Use it.
26387 (check1): New function.
26388 (test_main): Use it.
26390 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26392 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26394 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26396 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26397 (_G_LSEEK64): Likewise.
26398 (_G_MMAP64): Likewise.
26399 (_G_FSTAT64): Likewise.
26400 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26401 (_G_LSEEK64): Likewise.
26402 (_G_MMAP64): Likewise.
26403 (_G_FSTAT64): Likewise.
26404 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26405 unconditional. Call __mmap64 directly.
26406 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26407 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26408 __lseek64 directly.
26409 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26410 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26412 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26413 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26414 __lseek64 directly.
26415 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26416 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26417 __lseek64 directly.
26418 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26419 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26420 __lseek64 directly.
26421 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26422 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26423 __fxstat64 directly.
26424 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26425 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26427 (freopen64) [!_G_OPEN64]: Remove conditional code.
26428 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26430 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26431 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26433 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26434 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26436 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26437 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26439 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26440 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26442 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26443 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26445 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26446 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26448 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26450 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26453 * manual/memory.texi (Malloc Tunable Parameters): Add note
26454 about free list pointers overwriting some perturb bytes.
26455 Wording suggested by Roland McGrath.
26457 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26459 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26460 (lgamma_test): Likewise.
26461 (tgamma_test): Likewise.
26463 2012-10-16 Florian Weimer <fweimer@redhat.com>
26466 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26467 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26469 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26471 * NEWS: Mention BZ #14716.
26472 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26473 when removing AVAILABLE1_USES_J macro.
26475 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26478 (__bswap_64): __uint64_t for unsigned 64-bit int.
26480 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26482 * include/string.h (memmem): Declare libc hidden alias.
26483 * string/memmem.c (memmem): Define libc hidden alias.
26484 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26485 __read, __close instead of open, read, close.
26487 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26490 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26492 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26493 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26494 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26496 (__rawmemchr_sse2): Likewise.
26497 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26498 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26499 (__strchr_sse2): Likewise.
26500 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26501 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26502 (__strcasecmp_sse2): Likewise.
26503 (__strncasecmp_sse2): Likewise.
26504 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26505 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26506 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26507 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26508 (__strrchr_sse2): Likewise.
26509 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26511 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26512 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26513 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26514 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26515 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26516 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26517 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26518 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26519 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26520 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26521 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26522 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26523 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26524 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26525 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26526 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26527 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26528 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26529 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26530 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26531 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26532 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26533 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26534 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26535 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26536 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26537 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26538 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26539 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26540 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26542 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26544 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26545 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26546 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26547 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26549 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26551 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26552 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26553 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26554 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26556 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26557 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26558 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26559 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26560 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26561 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26562 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26563 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26564 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26565 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26566 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26567 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26568 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26569 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26570 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26571 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26572 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26573 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26575 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26577 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26578 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26579 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26581 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26582 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26583 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26584 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26585 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26586 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26587 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26588 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26589 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26591 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26595 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26596 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26598 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26599 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26600 * include/ifunc-impl-list.h: New file.
26601 * misc/ifunc-impl-list.c: Likewise.
26602 * misc/Makefile (routines): Add ifunc-impl-list.
26603 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26604 * string/test-string.h: Include <ifunc-impl-list.h>.
26605 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26606 TEST_NAME]: New variables.
26607 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26609 (test_init): Call __libc_ifunc_impl_list to initialize
26610 func_list if TEST_IFUNC and TEST_NAME are defined.
26612 * string/Makefile (strop-tests): Add bcopy and bzero.
26613 * string/test-bcopy.c: New file.
26614 * string/test-bzero.c: Likewise.
26615 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26617 * string/test-memset.c: Support bzero test if TEST_BZERO is
26619 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26621 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26623 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26626 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26628 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26629 * configure: Regenerated.
26631 * Makeconfig (+link-static-before-libc): Don't include
26632 $(link-static-libc).
26634 * libio/libio.h (_IO_pos_t): Remove.
26636 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26638 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26641 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26643 * crypt/crypt-entry.c: Include fips-private.h.
26644 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26645 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26646 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26647 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26649 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26651 * crypt/crypt-private.h: Include stdbool.h.
26652 (_ufc_setup_salt_r): Return bool.
26653 * crypt/crypt-entry.c: Include errno.h.
26654 (__crypt_r): Return NULL with EINVAL for bad salt.
26655 * crypt/crypt_util.c (bad_for_salt): New.
26656 (_ufc_setup_salt_r): Check that salt is long enough and within
26657 the specified alphabet.
26658 * crypt/badsalttest.c: New file.
26659 * crypt/Makefile (tests): Add it.
26660 ($(objpfx)badsalttest): New.
26662 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26664 * NEWS: Add entry for BZ #14602.
26666 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26668 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26670 * math/libm-test.inc: Update comment listing what functions and
26672 (isgreater_test): New function.
26673 (isgreaterequal_test): Likewise.
26674 (isless_test): Likewise.
26675 (islessequal_test): Likewise.
26676 (islessgreater_test): Likewise.
26677 (isunordered_test): Likewise.
26678 (main): Call the new functions.
26680 2012-10-09 Roland McGrath <roland@hack.frob.com>
26682 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26683 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26684 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26685 * sysdeps/i386/configure: Regenerated.
26686 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26687 * sysdeps/mach/configure: Regenerated.
26688 * sysdeps/mach/hurd/configure: Regenerated.
26689 * sysdeps/powerpc/configure: Regenerated.
26690 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26691 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26692 * sysdeps/s390/s390-32/configure: Regenerated.
26693 * sysdeps/s390/s390-64/configure: Regenerated.
26694 * sysdeps/sh/configure: Regenerated.
26695 * sysdeps/sparc/configure: Regenerated.
26696 * sysdeps/unix/sysv/linux/configure: Regenerated.
26697 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26698 * sysdeps/x86_64/configure: Regenerated.
26700 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26701 defined. Don't check if MAP is NULL.
26703 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26705 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26706 (_G_stat64): Likewise.
26707 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26708 (_G_stat64): Likewise.
26709 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26710 instead of struct _G_stat64.
26711 * libio/fileops.c (mmap_remap_check): Likewise.
26712 (decide_maybe_mmap): Likewise.
26713 (_IO_new_file_seekoff): Likewise.
26714 (_IO_file_stat): Likewise.
26715 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26717 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26718 instead of struct _G_stat64.
26719 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26721 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26724 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26726 (CHECK_EOL): New macro.
26727 (two_way_short_needle): Check beginning of haystack for EOL. Use
26729 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26730 Replace with CHECK_EOL.
26731 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26732 Replace with CHECK_EOL.
26734 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26736 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26738 * math/libm-test.inc: Update comment listing what functions and
26740 (finite_test): New function.
26741 (isinf_test): Likewise.
26742 (isnan_test): Likewise.
26743 (fpclassify_test): Test subnormal input.
26744 (isfinite_test): Likewise.
26745 (isnormal_test): Likewise.
26746 (main): Call the new functions.
26748 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26751 * Makerules (%.dynsym): Force C locale when running
26752 $(OBJDUMP) --dynamic-syms.
26754 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26756 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26759 2012-10-06 David S. Miller <davem@davemloft.net>
26761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26762 upper 32-bits of the length value in %o2 since we use branch-on-register
26763 tests which consider the entire 64-bit register.
26765 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26767 * string/test-strstr.c (check2): Add a test for page boundary.
26769 2012-10-05 David S. Miller <davem@davemloft.net>
26771 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26774 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26777 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26778 and bzero when HWCAP_SPARC_CRYPTO is present.
26780 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26783 * string/test-strstr.c (check2): New function.
26784 (test_main): Call check2.
26786 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26788 * string/bug-strcasestr1.c (do_test): Moved to ...
26789 * string/test-strcasestr.c (check1): Here. New function.
26790 (do_one_test): Break out result checking code into ...
26791 (check_result): This. New function.
26792 (do_one_test): Call check_result.
26793 (test_main): Call check1.
26794 * string/bug-strchr1.c (do_test): Moved to ...
26795 * string/test-strchr.c (check1): Here. New function.
26796 (do_one_test): Break out result checking code into ...
26797 (check_result): This. New function.
26798 (do_one_test): Call check_result.
26799 (test_main): Call check1.
26800 * string/bug-strstr1.c (main): Moved to ...
26801 * string/test-strstr.c (check1): Here. New function.
26802 (do_one_test): Break out result checking code into ...
26803 (check_result): This. New function.
26804 (do_one_test): Call check_result.
26805 (test_main): Call check1.
26806 * string/bug-strcasestr1.c: Removed.
26807 * string/bug-strchr1.c: Likewise.
26808 * string/bug-strstr1.c: Likewise.
26810 * elf/Makefile (dl-routines): Add hwcaps.
26811 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26812 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26813 (_dl_important_hwcaps): Moved to ...
26814 * elf/dl-hwcaps.c: Here. New file.
26815 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26818 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26819 if IS_IN_rtld isn't defined.
26821 * elf/dl-support.c (_dl_sysinfo_map): New.
26822 Include "get-dynamic-info.h" and "setup-vdso.h".
26823 (_dl_non_dynamic_init): Call setup_vdso.
26824 * elf/dynamic-link.h: Don't include <assert.h>.
26825 (elf_get_dynamic_info): Moved to ...
26826 * elf/get-dynamic-info.h: Here. New file.
26827 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26828 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26829 * elf/setup-vdso.h: Here. New file.
26830 * elf/rtld.c: Include "setup-vdso.h".
26831 (dl_main): Call setup_vdso.
26833 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26835 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26836 creal in comment listing functions tested. List finite, isinf,
26837 isnan, isless, islessequal, isgreater, isgreaterequal,
26838 islessgreater, isunordered, lgamma_r and pow10 as functions and
26839 macros not tested. Mention which functions not tested are aliases
26840 for other functions. Fix typo. Note that signs of NaNs are not
26843 * scripts/config.guess: Update from config.git.
26844 * scripts/config.sub: Likewise.
26846 2012-10-04 Roland McGrath <roland@hack.frob.com>
26848 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26849 * misc/madvise.c (madvise): Renamed to __madvise.
26850 Make madvise a weak alias.
26851 * include/sys/mman.h: Declare __madvise.
26852 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26853 * sysdeps/unix/syscalls.list
26854 (madvise): Make __madvise the strong name, and madvise a weak alias.
26855 * sysdeps/unix/sysv/linux/syscalls.list
26856 (madvise, mmap): Remove redundant entries.
26857 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26858 * malloc/malloc.c (mtrim): Likewise.
26859 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26861 2012-10-03 Roland McGrath <roland@hack.frob.com>
26863 * sysdeps/mach/hurd/dl-cache.c: File removed.
26864 * config.h.in (USE_LDCONFIG): New #undef.
26865 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26866 * configure: Regenerated.
26867 * elf/Makefile (dl-routines): Add dl-cache only under
26868 [$(use-ldconfig) = yes].
26869 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26870 cache on [USE_LDCONFIG].
26871 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26873 * elf/rtld.c (dl_main): Likewise.
26875 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26877 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26878 _SC_LEVEL4_CACHE_LINESIZE.
26880 2012-10-03 Roland McGrath <roland@hack.frob.com>
26882 * sysdeps/unix/bsd/confstr.h: File removed.
26884 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26886 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26889 2012-10-02 Roland McGrath <roland@hack.frob.com>
26891 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26892 Make 'mapoff' field ElfW(Off) rather than off_t.
26894 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26896 * nscd/Makefile: Remove nscd-cflags and all its users.
26897 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26898 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26901 * malloc.c (malloc_printerr): Clarify error message.
26903 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26907 Set bit_FMA_Usable if FMA is supported.
26908 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26910 (bit_FMA4_Usable): Updated.
26911 (index_FMA_Usable): New macro.
26912 (CPUID_FMA): Likewise
26913 (HAS_FMA): Defined with bit_FMA_Usable.
26915 2012-10-01 Roland McGrath <roland@hack.frob.com>
26917 * bits/types.h (__swblk_t): Type removed.
26918 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26919 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26921 (__SWBLK_T_TYPE): Likewise.
26922 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26923 (__SWBLK_T_TYPE): Likewise.
26924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26925 (__SWBLK_T_TYPE): Likewise.
26926 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26927 (__SWBLK_T_TYPE): Likewise.
26929 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26930 Honza Horak <hhorak@redhat.com>
26932 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26933 (xdr_mapname): Use YPMAXMAP as maxsize.
26934 (xdr_peername): Use YPMAXPEER as maxsize.
26935 (xdr_keydat): Use YPAXRECORD as maxsize.
26936 (xdr_valdat): Use YPMAXRECORD as maxsize.
26938 2012-10-01 Roland McGrath <roland@hack.frob.com>
26940 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26942 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26943 * csu/init-first.c: ... here.
26944 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26945 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26946 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26947 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26948 * sysdeps/i386/init-first.c: File removed.
26949 * sysdeps/sh/init-first.c: File removed.
26951 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26955 if x * y might underflow to zero and z is zero.
26956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26958 * math/libm-test.inc (min_subnorm_value): New variable.
26959 (fma_test): Add more tests.
26960 (fma_test_towardzero): Likewise.
26961 (fma_test_downward): Likewise
26962 (fma_test_upward): Likewise.
26963 (initialize): Set min_subnorm_value.
26965 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26970 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26971 mode for addition resulting in exact zero.
26972 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26975 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26977 * math/libm-test.inc (fma_test): Add more tests.
26978 (fma_test_towardzero): New function.
26979 (fma_test_downward): Likewise.
26980 (fma_test_upward): Likewise.
26981 (main): Call the new functions.
26983 2012-09-28 David S. Miller <davem@davemloft.net>
26985 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26987 2012-09-28 Roland McGrath <roland@hack.frob.com>
26989 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26990 instead of SIGALRM.
26992 * sysdeps/gnu/_G_config.h: Moved to ...
26993 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26994 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26995 * sysdeps/generic/_G_config.h: ... here.
26997 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26999 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27001 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27002 Conditionalize target on [libnss_test1.so-version].
27004 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27006 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27007 (elfobjdir): Move out of conditionals.
27009 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27010 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27011 (__nss_lookup_function): Conditionalize label remove_from_tree on
27012 [!DO_STATIC_NSS || SHARED], matching its only use.
27014 2012-09-28 David S. Miller <davem@davemloft.net>
27016 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27017 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27019 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27021 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27023 when HWCAP_SPARC_CRYPTO is present.
27025 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27027 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27029 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27032 * stdio-common/vfprintf.c (process_string_arg): Revert
27035 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27037 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27039 * stdio-common/tst-sprintf.c: Include <locale.h>
27040 (main): Test sprintf's handling of incomplete multibyte
27043 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27045 * elf/dl-runtime.c (VERSYMIDX): Removed.
27046 * elf/dl-version.c (VERSYMIDX): Likewise.
27047 * elf/do-rel.h (VERSYMIDX): Likewise.
27048 (VALIDX): Likewise.
27049 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27050 * elf/rtld.c (VALIDX): Likewise.
27051 (ADDRIDX): Likewise.
27052 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27053 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27054 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27055 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27056 (VALIDX): Likewise.
27057 (ADDRIDX): Likewise.
27059 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27061 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27063 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27066 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27068 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27069 addresses are in the same scope as 192.0.2/24.
27070 * posix/gai.conf: Document new scope table defaults.
27072 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27075 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27076 for ftell. Compute offsets from write pointers instead.
27077 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27079 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27082 * libio/Makefile (tests): New test case tst-fseek.
27083 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27084 combination works in wide mode.
27085 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27086 state when the external buffer state changes.
27088 2012-09-27 David S. Miller <davem@davemloft.net>
27091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27092 pass reloc->r_addend in as the 'high' argument to
27093 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27097 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27099 * rt/tst-aio2.c: Include <pthread.h>.
27100 * rt/tst-aio3.c: Likewise.
27102 2012-09-27 Steve Ellcey <sellcey@mips.com>
27104 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27106 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27108 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27109 contents on [SHARED].
27111 2012-09-26 Marek Polacek <polacek@redhat.com>
27115 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27116 for C++ and GCC <4.3 as well as for non GCC compilers.
27118 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27122 2012-09-25 Roland McGrath <roland@hack.frob.com>
27124 * Makefile.in (all, install): Declare with .PHONY.
27125 Reported by Michael Hope <michael.hope@linaro.org>.
27127 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27129 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27130 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27132 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27134 (sydep_routines): Add the new and the internal functions.
27135 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27136 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27138 (GLIBC_2.17): Add the new function.
27139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27140 (GLIBC_2.17): Likewise.
27141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27142 (GLIBC_2.17): Likewise.
27143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27144 (GLIBC_2.17): Likewise.
27145 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27147 2012-09-25 Alan Modra <amodra@gmail.com>
27149 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27150 Add release barrier before setting once_control to say
27151 initialisation is done. Add hints on lwarx. Use macro in
27153 (clear_once_control): Add release barrier.
27155 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27158 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27160 * math/s_clog10.c (__clog10): Likewise.
27161 * math/s_clog10f.c (__clog10f): Likewise.
27162 * math/s_clog10l.c (__clog10l): Likewise.
27163 * math/s_clogf.c (__clogf): Likewise.
27164 * math/s_clogl.c (__clogl): Likewise.
27165 * math/Makefile (libm-calls): Add x2y2m1.
27166 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27167 (__x2y2m1): Likewise.
27168 (__x2y2m1l): Likewise.
27169 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27170 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27171 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27172 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27173 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27174 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27175 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27176 * sysdeps/i386/fpu/libm-test-ulps: Update.
27177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27180 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27181 int as type of variable DEPTH.
27182 (glob): Use size_t instead of int as type of variables NEWCOUNT
27185 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27187 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27188 Add s_sincosf-sse2.
27189 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27190 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27191 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27192 macros for using routine as __sincosf_ia32.
27193 Use macro for function declaration and weak_alias.
27194 * sysdeps/i386/fpu/libm-test-ulps: Update.
27196 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27199 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27200 subnormal argument.
27201 * math/s_cexpf.c (__cexpf): Likewise.
27202 * math/s_csinf.c (__csinf): Likewise.
27203 * math/s_csinhf.c (__csinhf): Likewise.
27204 * math/s_ctanf.c (__ctanf): Likewise.
27205 * math/s_ctanhf.c (__ctanhf): Likewise.
27206 * math/s_ccosh.c (__ccoshf): Likewise.
27207 * math/s_cexp.c (__cexpl): Likewise.
27208 * math/s_csin.c (__csin): Likewise.
27209 * math/s_csinh.c (__csinh): Likewise.
27210 * math/s_ctan.c (__ctan): Likewise.
27211 * math/s_ctanh.c (ctanh): Likewise.
27212 * math/s_ccoshl.c (__ccoshl): Likewise.
27213 * math/s_cexpl.c (__cexpl): Likewise.
27214 * math/s_csinl.c (__csinl): Likewise.
27215 * math/s_csinhl.c (__csinhl): Likewise.
27216 * math/s_ctanl.c (__ctanl): Likewise.
27217 * math/s_ctanhl.c (__ctanhl): Likewise.
27219 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27221 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27222 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27223 (_IO_off_t): Define to __off_t, not _G_off_t.
27224 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27225 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27226 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27227 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27228 type of __dummy and __dummy2 fields.
27229 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27230 (_G_ssize_t): Likewise.
27231 (_G_off_t): Likewise.
27232 (_G_pid_t): Likewise.
27233 (_G_uid_t): Likewise.
27234 (_G_wchar_t): Likewise.
27235 (_G_wint_t): Likewise.
27236 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27237 (_G_ssize_t): Likewise.
27238 (_G_off_t): Likewise.
27239 (_G_pid_t): Likewise.
27240 (_G_uid_t): Likewise.
27241 (_G_wchar_t): Likewise.
27242 (_G_wint_t): Likewise.
27243 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27244 (_G_ssize_t): Likewise.
27245 (_G_off_t): Likewise.
27246 (_G_pid_t): Likewise.
27247 (_G_uid_t): Likewise.
27248 (_G_wchar_t): Likewise.
27249 (_G_wint_t): Likewise.
27251 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27253 * malloc/arena.c: Include malloc-sysdep.h.
27254 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27255 is sufficient to shrink the heap or an unmap is needed.
27256 * sysdeps/generic/malloc-sysdep.h: New file. Define
27257 new function check_may_shrink_heap.
27258 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27259 new function check_may_shrink_heap.
27261 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27263 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27266 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27268 * catgets/test-gencat.sh: Add "set -e".
27269 * elf/tst-pathopt.sh: Likewise.
27270 * grp/tst_fgetgrent.sh: Likewise.
27271 * iconvdata/run-iconv-test.sh: Likewise.
27272 * intl/tst-gettext.sh: Likewise.
27273 * intl/tst-gettext2.sh: Likewise.
27274 * intl/tst-gettext4.sh: Likewise.
27275 * intl/tst-gettext6.sh: Likewise.
27276 * intl/tst-translit.sh: Likewise.
27277 * io/ftwtest-sh: Likewise.
27278 * libio/test-freopen.sh: Likewise.
27279 * malloc/tst-mtrace.sh: Likewise.
27280 * posix/globtest.sh: Likewise.
27281 * posix/tst-getconf.sh: Likewise.
27282 * posix/wordexp-tst.sh: Likewise.
27283 * stdio-common/tst-printf.sh: Likewise.
27284 * stdio-common/tst-unbputc.sh: Likewise.
27285 * stdlib/tst-fmtmsg.sh: Likewise.
27286 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27287 * catgets/Makefile: Do not specify -e option when running
27288 testsuite shell scripts.
27289 * elf/Makefile: Likewise.
27290 * grp/Makefile: Likewise.
27291 * iconvdata/Makefile: Likewise.
27292 * intl/Makefile: Likewise.
27293 * io/Makefile: Likewise.
27294 * libio/Makefile: Likewise.
27295 * malloc/Makefile: Likewise.
27296 * posix/Makefile: Likewise.
27297 * stdio-common/Makefile: Likewise.
27298 * stdlib/Makefile: Likewise.
27299 * sysdeps/x86_64/Makefile: Likewise.
27301 * io/ftwtest-sh: Add copyright header.
27302 * posix/globtest.sh: Likewise.
27303 * posix/tst-getconf.sh: Likewise.
27304 * posix/wordexp-tst.sh: Likewise.
27305 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27307 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27310 * Makeconfig (+link): Defined as $(+link-static) if
27311 $(build-shared) isn't yes.
27312 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27314 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27316 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27319 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27320 new chunk size with MALLOC_ALIGN_MASK.
27322 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27325 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27327 (__printf_fphex): Determine rounding using get_rounding_mode and
27329 * stdio-common/tst-printf-round.c (struct hex_test): New
27331 (hex_tests): New variable.
27332 (test_hex_in_one_mode): New function.
27333 (do_test): Also run tests for hex float output.
27335 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27337 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27338 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27339 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27340 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27341 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27342 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27343 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27344 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27346 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27348 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27349 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27350 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27351 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27353 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27356 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27358 * elf/tst-rtld-load-self.sh: New test.
27359 * elf/Makefile: Run it.
27361 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27363 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27364 (tst-writev-ENV): Remove.
27365 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27367 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27369 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27371 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27373 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27375 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27377 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27378 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27382 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27385 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27386 * config.make.in (have-cpp-asm-debuginfo): Removed.
27387 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27388 * configure: Regenerated.
27390 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27393 * stdio-common/printf_fp.c: Include <stdbool.h> and
27395 (___printf_fp): Determine rounding using get_rounding_mode and
27397 * stdio-common/tst-printf-round.c: New file.
27398 * stdio-common/Makefile (tests): Add tst-printf-round.
27399 (link-libm): New variable.
27400 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27402 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27405 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27406 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27408 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27411 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27413 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27414 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27415 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27416 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27418 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27421 * include/rounding-mode.h: New file.
27422 * sysdeps/generic/get-rounding-mode.h: Likewise.
27423 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27424 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27425 (MAX_VALUE): New macro.
27426 (MIN_VALUE): Likewise.
27427 (overflow_value): New function.
27428 (underflow_value): Likewise.
27429 (round_and_return): Use overflow_value and underflow_value to
27430 determine return values in overflow and underflow cases. Use
27431 round_away to determine rounding depending on rounding mode.
27432 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27433 determine return values in overflow and underflow cases.
27434 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27435 (struct test_results): New structure.
27436 (struct test): Use struct test_results to store expected results
27437 for all rounding modes.
27438 (TEST): Include expected results for all rounding modes.
27439 (test_in_one_mode): New function.
27440 (do_test): Use test_in_one_mode to compute and check results.
27441 Check results for all rounding modes.
27442 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27445 2012-12-09 Allan McRae <allan@archlinux.org>
27447 * sysdeps/i386/fpu/libm-test-ulps: Update
27449 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27451 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27452 (_G_int32_t): Likewise.
27453 (_G_uint16_t): Likewise.
27454 (_G_uint32_t): Likewise.
27455 (_G_HAVE_BOOL): Likewise.
27456 (_G_HAVE_ATEXIT): Likewise.
27457 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27458 (_G_HAVE_IO_FILE_OPEN): Likewise.
27459 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27460 (_G_int32_t): Likewise.
27461 (_G_uint16_t): Likewise.
27462 (_G_uint32_t): Likewise.
27463 (_G_HAVE_BOOL): Likewise.
27464 (_G_HAVE_ATEXIT): Likewise.
27465 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27466 (_G_HAVE_IO_FILE_OPEN): Likewise.
27467 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27468 (_G_int32_t): Likewise.
27469 (_G_uint16_t): Likewise.
27470 (_G_uint32_t): Likewise.
27471 (_G_HAVE_BOOL): Likewise.
27472 (_G_HAVE_ATEXIT): Likewise.
27473 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27474 (_G_HAVE_IO_FILE_OPEN): Likewise.
27476 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27478 * csu/libc-tls.c: Update copyright years.
27480 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27482 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27483 [!_G_USING_THUNKS]: Remove conditional code.
27484 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27485 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27487 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27488 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27489 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27490 (_G_VTABLE_LABEL_PREFIX): Likewise.
27491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27492 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27493 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27494 (_G_VTABLE_LABEL_PREFIX): Likewise.
27495 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27496 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27497 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27498 (_G_VTABLE_LABEL_PREFIX): Likewise.
27499 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27501 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27503 * libio/Makefile: Include ../Makeconfig before tests.
27504 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27505 only if $(build-shared) is yes.
27507 * iconv/gconv_db.c: Update copyright years.
27509 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27511 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27512 unwind info if defined PIC. Fix special cases description.
27513 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27515 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27517 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27519 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27521 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27523 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27526 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27527 (LDLIBS-tst-chk4): This.
27528 (LDFLAGS-tst-chk5): Renamed to ...
27529 (LDLIBS-tst-chk5): This.
27530 (LDFLAGS-tst-chk6): Renamed to ...
27531 (LDLIBS-tst-chk6): This.
27532 (LDFLAGS-tst-lfschk4): Renamed to ...
27533 (LDLIBS-tst-lfschk4): This.
27534 (LDFLAGS-tst-lfschk5): Renamed to ...
27535 (LDLIBS-tst-lfschk5): This.
27536 (LDFLAGS-tst-lfschk6): Renamed to ...
27537 (LDLIBS-tst-lfschk6): This.
27539 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27540 on $(common-objpfx)soversions.mk.
27542 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27545 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27548 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27550 * malloc/arena.c (arena_get_retry): New function that gets
27551 another arena for the caller to try its request on.
27552 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27553 current arena cannot fulfill the request.
27554 (__libc_memalign): Likewise.
27555 (__libc_memalign): Likewise.
27556 (__libc_pvalloc): Likewise.
27557 (__libc_calloc): Likewise.
27559 2012-09-05 John Tobey <john.tobey@gmail.com>
27562 * manual/arith.texi (Operations on Complex): Fix description
27563 of carg branch cut.
27565 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27568 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27572 * manual/memory.texi (Memory): Make order of menu items match
27575 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27577 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27578 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27579 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27581 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27583 * csu/libc-tls.c (static_dtv): Renamed to ...
27584 (_dl_static_dtv): This. Make it global.
27585 (_dl_initial_dtv): Removed.
27586 (__libc_setup_tls): Updated.
27587 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27588 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27591 2012-09-06 Petr Machata <pmachata@redhat.com>
27593 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27594 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27595 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27596 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27598 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27601 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27602 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27605 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27608 * Makeconfig (link-static-before-libc): Replace $(+prector)
27610 (link-static-after-libc): Replace $(+postctor) with
27612 (link-bounded): Replace $(+prector)/$(+postctor) with
27613 $(+prectorT)/$(+postctorT).
27614 (+prectorT): New macro.
27615 (+postctorT): Likewise.
27617 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27619 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27620 (round_str): Handle values above the maximum for IBM long double
27622 * stdlib/tst-strtod-round.c (tests): Regenerated.
27624 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27626 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27628 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27629 zarch_nohighgprs around the zarch optimized routines.
27630 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27631 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27635 2012-09-05 David S. Miller <davem@davemloft.net>
27637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27639 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27640 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27641 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27642 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27645 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27647 * malloc/arena.c: Fold copyright years.
27648 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27650 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27652 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27654 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27656 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27658 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27660 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27661 change internal state upon failure.
27663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27665 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27666 * malloc/memusage.c (mmap): Likewise.
27667 (mmap64, mremap): Likewise. Adjust name in comment.
27669 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27671 * libio/fileops.c: Fix typos in comments.
27672 * libio/oldfileops.c: Likewise.
27673 * libio/wfileops.c: Likewise.
27675 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27678 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27679 (tst-malloc-usable-ENV): Set environment for test case.
27680 * malloc/hooks.c (malloc_check_get_size): New function to get
27682 * malloc/malloc.c (musable): Use malloc_check_get_size.
27683 * malloc/tst-malloc-usable.c: New test case.
27685 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27687 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27689 2012-09-05 Allan McRae <allan@archlinux.org>
27692 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27693 determine header location.
27694 * configure: Regenerated.
27696 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27698 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27700 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27701 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27703 (test): Regenerate.
27705 2012-09-04 David S. Miller <davem@davemloft.net>
27707 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27708 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27709 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27711 2012-09-04 Florian Weimer <fweimer@redhat.com>
27713 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27716 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27718 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27721 * libio/iogetdelim.c: Include <limits.h>.
27722 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27723 + len + 1 would overflow.
27725 2012-09-03 Andreas Jaeger <aj@suse.de>
27727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27728 * sysdeps/i386/fpu/libm-test-ulps: Update.
27730 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27732 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27733 Add s_sinf-sse2, s_conf-sse2.
27735 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27736 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27737 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27738 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27740 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27741 for using routine as __sinf_ia32.
27742 Use macro for function declaration and weak_alias.
27743 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27744 for using routine as __cosf_ia32.
27745 Use macro for function declaration and weak_alias.
27747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27748 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27750 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27751 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27754 * math/libm-test.inc (cos_test): Add more test cases.
27755 (sin_test): Likewise.
27756 (sincos_test): Likewise.
27758 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27761 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27763 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27765 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27768 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27769 first element of the GOT.
27770 (elf_machine_load_address): Return the difference between
27771 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27773 2012-09-01 Allan McRae <allan@archlinux.org>
27776 * configure.in (AWK): Require gawk version 3.0 or later.
27777 * configure: Regenerated.
27779 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27781 * sysdeps/unix/sysv/linux/kernel-features.h
27782 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27783 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27784 [__NR_clock_getres]: Make code unconditional.
27785 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27786 (clock_getcpuclockid): Remove code left unreachable by removal of
27788 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27789 code unconditional.
27790 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27791 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27792 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27793 Make code unconditional.
27794 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27795 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27796 * sysdeps/unix/sysv/linux/clock_settime.c
27797 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27799 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27800 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27802 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27805 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27806 scripts/test-installation.pl.
27808 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27809 and $ld_so_version if it is set.
27811 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27814 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27815 failure if reading from procfs failed.
27816 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27818 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27820 * sysdeps/unix/sysv/linux/kernel-features.h
27821 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27822 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27823 Remove conditional code.
27824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27825 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27826 Remove conditional code.
27827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27828 * sysdeps/unix/sysv/linux/i386/fxstat.c
27829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27831 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27834 * sysdeps/unix/sysv/linux/i386/lxstat.c
27835 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27837 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27838 Remove conditional code.
27839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27840 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27841 Remove conditional code.
27842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27844 <kernel-features.h>.
27845 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27847 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27848 Remove conditional code.
27849 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27850 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27851 Remove conditional.
27853 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27856 * NEWS: Add fixed bug number.
27858 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27861 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27862 underflowing exponent in case of negative sign.
27863 * stdlib/tst-strtod-round-data: Add more tests.
27864 * stdlib/tst-strtod-round.c (tests): Regenerated.
27867 * stdlib/strtod_l.c (NDIG): Remove.
27868 (HEXNDIG): Likewise.
27869 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27870 smallest representable value.
27871 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27872 lie within an exact representation of 1/2 ulp of the result.
27873 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27875 (TENS_P9_IDX): Define unconditionally.
27876 (TENS_P9_SIZE): Likewise.
27877 (TENS_P10_IDX): Likewise.
27878 (TENS_P10_SIZE): Likewise.
27879 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27880 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27881 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27882 entries for 10^2^13 and 10^2^14.
27883 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27884 (TENS_P13_IDX): Define.
27885 (TENS_P13_SIZE): Likewise.
27886 (TENS_P14_IDX): Likewise.
27887 (TENS_P14_SIZE): Likewise.
27888 (_fpioconst_pow10): Change array size to
27889 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27891 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27892 1024]: Add entries for 10^2^13 and 10^2^14.
27893 [LAST_POW10 > _LAST_POW10]: Remove #error.
27894 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27895 (_fpioconst_pow10): Change array size to
27896 FPIOCONST_POW10_ARRAY_SIZE.
27897 * stdlib/gen-fpioconst.c: New file.
27898 * stdlib/gen-tst-strtod-round.c: Likewise.
27899 * stdlib/tst-strtod-round-data: Likewise.
27900 * stdlib/tst-strtod-round.c: Likewise.
27901 * stdlib/Makefile (tests): Add tst-strtod-round.
27904 * stdlib/strtod_l.c: Include <stdint.h>.
27905 (NDEBUG): Do not define.
27906 (round_and_return): Change EXPONENT parameter to type intmax_t.
27907 Rearrange calculations to avoid internal overflow possibilities.
27908 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27909 Rearrange calculations to avoid internal overflow possibilities.
27910 Assert that number fits inside MPNSIZE limbs.
27911 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27912 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27913 calculations and add assertions to avoid internal overflow
27914 possibilities. Add casts to avoid signed/unsigned operations.
27915 * stdlib/tst-strtod-overflow.c: New file.
27916 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27918 2012-08-25 Marek Polacek <polacek@redhat.com>
27920 * time/time.h: Fix some typos in comments.
27922 2012-08-23 Roland McGrath <roland@hack.frob.com>
27924 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27925 * posix/tst-rfc3484-2.c: Likewise.
27926 * posix/tst-rfc3484-3.c: Likewise.
27928 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27930 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27931 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27933 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27935 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27936 #include of fxstatat64.c.
27938 2012-08-22 Roland McGrath <roland@hack.frob.com>
27940 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27941 * shadow/getspent_r.c: Likewise.
27942 * shadow/getspnam.c: Likewise.
27943 * shadow/getspnam_r.c: Likewise.
27944 * gshadow/getsgent.c: Likewise.
27945 * gshadow/getsgent_r.c: Likewise.
27946 * gshadow/getsgnam.c: Likewise.
27947 * gshadow/getsgnam_r.c: Likewise.
27948 * inet/getnetbyad.c: Likewise.
27949 * inet/getnetbyad_r.c: Likewise.
27950 * inet/getnetbynm.c: Likewise.
27951 * inet/getnetbynm_r.c: Likewise.
27952 * inet/getnetent.c: Likewise.
27953 * inet/getnetent_r.c: Likewise.
27954 * inet/getproto.c: Likewise.
27955 * inet/getproto_r.c: Likewise.
27956 * inet/getprtent.c: Likewise.
27957 * inet/getprtent_r.c: Likewise.
27958 * inet/getprtname.c: Likewise.
27959 * inet/getprtname_r.c: Likewise.
27960 * inet/getrpcbyname.c: Likewise.
27961 * inet/getrpcbyname_r.c: Likewise.
27962 * inet/getrpcbynumber.c: Likewise.
27963 * inet/getrpcbynumber_r.c: Likewise.
27964 * inet/getrpcent.c: Likewise.
27965 * inet/getrpcent_r.c: Likewise.
27966 * inet/getaliasent.c: Likewise.
27967 * inet/getaliasent_r.c: Likewise.
27968 * inet/getaliasname.c: Likewise.
27969 * inet/getaliasname_r.c: Likewise.
27970 * nscd/getgrgid_r.c: Likewise.
27971 * nscd/getgrnam_r.c: Likewise.
27972 * nscd/gethstbyad_r.c: Likewise.
27973 * nscd/gethstbynm3_r.c: Likewise.
27974 * nscd/getpwnam_r.c: Likewise.
27975 * nscd/getpwuid_r.c: Likewise.
27976 * nscd/getsrvbynm_r.c: Likewise.
27977 * nscd/getsrvbypt_r.c: Likewise.
27978 * nscd/gai.c: Likewise.
27980 * configure.in (build_nscd): New substituted variable, set
27981 by --disable-build-nscd and defaults to $use_nscd.
27982 * configure: Regenerated.
27983 * config.make.in (build-nscd): New substituted variable.
27984 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27985 Change conditional to require [$(build-nscd) = yes] as well.
27986 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27989 * configure.in (use_nscd): New substituted variable, set by
27990 --disable-nscd. If enabled, define USE_NSCD.
27991 * configure: Regenerated.
27992 * config.h.in: Add USE_NSCD.
27993 * config.make.in (use-nscd): New substituted variable.
27994 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27995 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27996 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27997 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27998 (CFLAGS-getgrnam_r.c): Likewise.
27999 (CFLAGS-initgroups.c): Likewise.
28000 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28001 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28003 * inet/getnetgrent_r.c
28004 (nscd_setnetgrent): New function, broken out of ...
28005 (setnetgrent): ... here. Call it.
28006 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28007 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28008 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28009 * nscd/Makefile (routines, aux): Move definitions after include of
28010 Makeconfig. Conditionalize on [$(use-nscd) != no].
28011 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28012 Conditionalize on [USE_NSCD].
28013 (is_nscd, nscd_init_cb): Likewise.
28014 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28015 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28016 * nss/nss_db/db-init.c: Likewise.
28017 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28019 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28020 (make_request): Use it.
28021 (cache_valid_p): New function.
28022 (__check_pf): Use it.
28023 * NEWS: Add item for --disable-nscd.
28025 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28027 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28028 to support sed >= 4.2.1-20-ga9bf076.
28029 * configure: Regenerated.
28031 2012-08-22 Roland McGrath <roland@hack.frob.com>
28033 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28034 Conditionalize whole body on [IREL].
28036 2012-08-22 Jeff Law <law@redhat.com>
28039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28040 if the family is PF_UNSPEC.
28042 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28044 * Makerules (lib-version): Rename from V.
28045 (install-lib-nosubdir): Change V to lib-version.
28047 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28050 * powerpc32/power6/wcschr.c: New file.
28051 * powerpc32/power6/wcscpy.c: New file.
28052 * powerpc32/power6/wcsrchr.c: New file.
28053 * powerpc64/power6/wcschr.c: New file.
28054 * powerpc64/power6/wcscpy.c: New file.
28055 * powerpc64/power6/wcsrchr.c: New file.
28057 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28059 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28060 (two_way_short_needle): Use it.
28061 * string/strstr.c (AVAILABLE1_USES_J): Define.
28062 * string/strcasestr.c: Likewise.
28064 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28066 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28069 * NEWS: Add an entry.
28070 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28071 define their defaults.
28072 (two_way_short_needle): Detect end-of-string on-the-fly.
28073 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28074 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28075 * string/bug-strcasestr1.c: New test.
28076 * string/Makefile: Run it.
28078 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28081 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28082 the first character.
28084 2012-08-21 Roland McGrath <roland@hack.frob.com>
28086 * csu/elf-init.c (__libc_csu_irel): Function removed.
28087 * csu/libc-start.c (apply_irel): New function.
28088 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28090 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28092 * sysdeps/unix/sysv/linux/kernel-features.h
28093 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28094 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28095 <kernel-features.h>.
28096 [__NR_fadvise64_64]: Make code unconditional.
28097 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28098 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28099 !__NR_fadvise64_64)]: Likewise.
28100 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28101 !__NR_fadvise64_64))]: Likewise.
28102 [__NR_fadvise64]: Make code unconditional.
28103 [!__NR_fadvise64]: Remove conditional code.
28104 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28105 <kernel-features.h>.
28106 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28108 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28111 not include <kernel-features.h>.
28112 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28114 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28116 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28117 include <kernel-features.h>.
28118 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28120 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28123 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28126 slight instruction rearrangements per scrollpipe analysis.
28127 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28129 2012-08-20 Roland McGrath <roland@hack.frob.com>
28131 * manual/syslog.texi (syslog; vsyslog, closelog):
28132 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28133 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28135 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28136 DSOCAPS to match condition on defining it.
28138 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28140 * sysdeps/unix/sysv/linux/kernel-features.h
28141 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28149 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28150 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28152 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28153 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28155 * sysdeps/unix/sysv/linux/kernel-features.h
28156 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28157 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28159 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28160 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28161 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28162 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28163 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28164 Make code unconditional.
28165 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28166 (__mmap64) [!__NR_mmap2]: Likewise.
28167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28168 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28169 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28170 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28171 [__NR_mmap2]: Make code unconditional.
28172 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28173 (__mmap64) [!__NR_mmap2]: Likewise.
28175 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28177 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28179 2012-08-18 Andreas Jaeger <aj@suse.de>
28181 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28183 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28185 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28186 * include/unistd.h (__have_sock_cloexec): Likewise.
28187 (__have_pipe2): Likewise.
28188 (__have_dup3): Likewise.
28190 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28193 * include/unistd.h (__have_pipe2): Change define into an extern int.
28194 (__have_dup3): Likewise.
28195 * socket/have_sock_cloexec.c: Include fcntl.h.
28196 (__have_pipe2): New variable.
28197 (__have_dup3): Likewise.
28199 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28201 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28203 2012-08-17 Marek Polacek <polacek@redhat.com>
28205 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28206 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28208 2012-08-17 Roland McGrath <roland@hack.frob.com>
28210 * configure.in: Add AC_SUBST for sysheaders.
28211 * configure: Regenerated.
28212 * config.make.in (sysheaders): New substituted variable.
28214 * sysdeps/unix/mkfifo.c: Moved ...
28215 * sysdeps/posix/mkfifo.c: ... here.
28216 * sysdeps/unix/mkfifoat.c: Moved ...
28217 * sysdeps/posix/mkfifoat.c: ... here.
28219 * sysdeps/unix/utime.c: Moved ...
28220 * sysdeps/posix/utime.c: ... here.
28222 * sysdeps/unix/time.c: Moved ...
28223 * sysdeps/posix/time.c: ... here.
28224 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28225 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28227 * sysdeps/unix/nice.c: Moved ...
28228 * sysdeps/posix/nice.c: ... here.
28230 * sysdeps/unix/alarm.c: Moved ...
28231 * sysdeps/posix/alarm.c: ... here.
28233 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28235 2012-08-17 Jeff Law <law@redhat.com>
28237 * intl/Makefile (codeset_mo): New variable.
28238 ($(codeset_mo)): New target.
28239 (tst-codeset.out): Depend on that. Remove explicit rule.
28240 (tst-gettext3.out, tst-gettext5.out): Likewise.
28241 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28242 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28243 * intl/tst-codeset.sh: Remove.
28244 * intl/tst-gettext3.sh: Likewise.
28245 * intl/tst-gettext5.sh: Likewise.
28247 2012-08-17 Roland McGrath <roland@hack.frob.com>
28249 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28250 * sysdeps/unix/syscalls.list: ... here.
28252 * sysdeps/posix/getaddrinfo.c
28253 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28254 (gaiconf_init, gaiconf_reload): Use them.
28255 [!_STATBUF_ST_NSEC]
28256 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28257 Define using time_t rather than struct timespec.
28259 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28260 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28262 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28264 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28265 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28268 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28269 __libc_cleanup_push argument.
28271 * bits/param.h: New file.
28272 * misc/sys/param.h: New file.
28273 * include/sys/param.h: New file.
28274 * misc/Makefile (headers): Add bits/param.h.
28275 * sysdeps/generic/sys/param.h: File removed.
28276 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28277 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28278 * sysdeps/mach/hurd/bits/param.h: New file.
28279 * sysdeps/mach/hurd/sys/param.h: File removed.
28281 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28284 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28286 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28287 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28290 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28291 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28292 rather than -D_IO_MTSAFE_IO conditionally.
28293 * stdio-common/Makefile (CPPFLAGS): Likewise.
28294 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28295 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28296 Use $(libio-mtsafe).
28297 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28298 of -D_IO_MTSAFE_IO.
28299 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28300 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28301 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28302 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28303 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28304 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28305 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28306 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28307 (CFLAGS-fread_u_chk.c): Likewise.
28308 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28309 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28310 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28311 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28312 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28313 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28314 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28315 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28316 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28318 * libio/Makefile: Test [$(libc-reentrant) = yes]
28319 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28322 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28323 * sysdeps/pthread/configure: File removed.
28324 * sysdeps/pthread/Makeconfig: New file.
28325 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28326 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28328 2012-08-16 Gary Benson <gbenson@redhat.com>
28330 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28331 unmapping the first object in a namespace.
28333 2012-08-16 Roland McGrath <roland@hack.frob.com>
28335 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28336 (__internal_setnetgrent): ... this. Add internal_function to
28337 definition. Add libc_hidden_def.
28338 (setnetgrent): Update caller.
28339 (internal_endnetgrent): Renamed to ...
28340 (__internal_endnetgrent): ... this. Add internal_function to
28341 definition. Add libc_hidden_def.
28342 (endnetgrent): Update caller.
28343 (internal_getnetgrent_r): Renamed to ...
28344 (__internal_getnetgrent_r): ... this. Add internal_function to
28345 definition. Add libc_hidden_def.
28346 (__getnetgrent_r): Update caller.
28347 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28349 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28351 * stdlib/longlong.h: Update from GCC.
28353 2012-08-16 Roland McGrath <roland@hack.frob.com>
28355 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28356 on _QL, which is set by umul_ppmm but never used.
28357 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28358 variables, which are set by GMP macros but never used.
28359 * stdio-common/_itowa.c (_itowa): Likewise.
28360 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28361 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28363 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28365 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28366 struct La_sh_regs is not constant.
28367 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28368 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28369 and struct La_sparc64_regs are not constant.
28371 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28373 * sysdeps/unix/sysv/linux/kernel-features.h
28374 (__ASSUME_POSIX_TIMERS): Remove.
28375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28377 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28378 Make code unconditional.
28379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28380 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28381 Make code unconditional.
28382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28383 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28384 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28386 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28387 Make code unconditional.
28388 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28389 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28390 (__libc_missing_posix_timers): Remove.
28392 2012-08-15 Roland McGrath <roland@hack.frob.com>
28394 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28395 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28397 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28399 * elf/dl-sym.c: Include <stdlib.h>.
28401 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28402 constants, which avoids warnings in 32-bit builds.
28404 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28405 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28407 * misc/lseek.c: File moved to ...
28408 * io/lseek.c: ... here.
28410 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28412 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28413 shifting LEN more than 31 bits at once.
28415 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28418 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28419 segmentation fault for a case of two empty input strings.
28420 * string/test-strncasecmp.c (check1): Renamed to...
28421 (bz12205): ...this.
28422 (bz14195): Add new testcase for two empty input strings and N > 0.
28423 (test_main): Call new testcase, adapt for renamed function.
28425 2012-08-15 Andreas Jaeger <aj@suse.de>
28428 * crypt/md5test2.c: New test, based on test supplied by Serge
28429 Belyshev <belyshev@depni.sinp.msu.ru>.
28430 * crypt/Makefile (xtests): Add md5test-giant..
28431 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28433 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28436 * crypt/md5.c (md5_process_block): Don't assume the buffer
28437 length is less than 2**32.
28438 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28439 length is less than 2**64.
28441 2012-08-15 Roland McGrath <roland@hack.frob.com>
28443 * string/str-two-way.h: Include <sys/param.h>.
28444 (MAX): Macro removed.
28446 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28447 Move #define and #undef of memmove to just before and after
28448 including <string.h>.
28450 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28451 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28452 and after including <string.h>. Move declarations of
28453 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28454 to before #include "string/memmove.c".
28456 * include/dirent.h: Declare __getdirentries.
28458 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28459 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28461 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28463 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28464 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28465 * sysdeps/i386/configure: Regenerated.
28466 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28467 STABS_CURRENT_FILE, and STABS_FUN.
28468 (END): Remove call to STABS_FUN_END.
28469 (STABS_CURRENT_FILE1): Delete.
28470 (STABS_CURRENT_FILE): Likewise.
28471 (STABS_FUN): Likewise.
28472 (STABS_FUN_END): Likewise.
28473 (STABS_FUN2): Likewise.
28474 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28475 * sysdeps/x86_64/configure: Regenerated.
28477 2012-08-14 Roland McGrath <roland@hack.frob.com>
28479 * elf/dl-open.c: Include <atomic.h>.
28480 * elf/dl-lookup.c: Likewise.
28482 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28484 * sysdeps/unix/sysv/linux/kernel-features.h
28485 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28486 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28488 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28490 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28491 condition on __ASSUME_CLONE_THREAD_FLAGS.
28493 2012-08-14 Andreas Jaeger <aj@suse.de>
28495 * sysdeps/i386/fpu/libm-test-ulps: Update.
28497 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28499 * include/atomic.h (atomic_exchange_and_add): Split into ...
28500 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28503 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28507 2012-08-13 Jeff Law <law@redhat.com>
28509 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28510 null byte in the output string.
28512 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28514 * sysdeps/unix/sysv/linux/kernel-features.h
28515 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28516 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28517 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28518 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28519 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28520 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28521 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28523 2012-08-09 Jeff Law <law@redhat.com>
28526 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28527 When avoid_arena is set, don't retry in the that arena. Pick the
28528 next one, whatever it might be.
28529 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28530 (arena_lock): Pass in new parameter to arena_get2.
28531 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28533 (__libc_malloc): Unify retrying after main arena failure with
28534 __libc_memalign version.
28535 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28537 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28540 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28541 to __redirect_strstr.
28542 (__strstr_sse42): Use typeof __redirect_strstr.
28543 (__strstr_ia32): Likewise.
28544 (__libc_strstr): New prototype.
28545 (strstr): Renamed to ...
28546 (__libc_strstr): This.
28547 (strstr): New strong alias of __libc_strstr.
28548 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28549 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28552 (__libc_time): New prototype.
28553 (time_ifunc): Replace time with __libc_time.
28554 (time): New strong alias and hidden definition of __libc_time.
28555 (__GI_time): Remove strong alias.
28556 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28557 Include <stddef.h>.
28558 (memmove): Redefined to __redirect_memmove.
28559 (__memmove_sse2): Use typeof __redirect_memmove.
28560 (__memmove_ssse3): Likewise.
28561 (__memmove_ssse3_back): Likewise.
28562 (__libc_memmove): New prototype.
28563 (memmove): Renamed to ...
28564 (__libc_memmove): This.
28565 (memmove): New strong alias of __libc_memmove.
28567 2012-08-08 Mark Salter <msalter@redhat.com>
28570 (R_MN10300_TLS_GD): Define.
28571 (R_MN10300_TLS_LD): Likewise.
28572 (R_MN10300_TLS_LDO): Likewise.
28573 (R_MN10300_TLS_GOTIE): Likewise.
28574 (R_MN10300_TLS_IE): Likewise.
28575 (R_MN10300_TLS_LE): Likewise.
28576 (R_MN10300_TLS_DTPMOD): Likewise.
28577 (R_MN10300_TLS_DTPOFF): Likewise.
28578 (R_MN10300_TLS_TPOFF): Likewise.
28579 (R_MN10300_SYM_DIFF): Likewise.
28580 (R_MN10300_ALIGN): Likewise.
28581 (R_MN10300_NUM): Update.
28583 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28585 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28588 2012-08-08 Roland McGrath <roland@hack.frob.com>
28590 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28592 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28593 sysdeps/unix -> sysdeps/posix move.
28594 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28596 2012-08-07 Allan McRae <allan@archlinux.org>
28599 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28600 (SUNOS_CPP): Likewise.
28601 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28603 (open_input): Call CPP using execvp.
28605 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28607 * sysdeps/unix/sysv/linux/kernel-features.h
28608 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28609 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28610 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28611 (__ASSUME_WAITID_SYSCALL): Likewise.
28612 * sysdeps/unix/sysv/linux/dl-execstack.c
28613 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28614 code unconditional.
28615 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28617 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28618 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28619 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28621 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28623 [__ASSUME_WAITID_SYSCALL]: Likewise.
28624 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28626 2012-08-07 Roland McGrath <roland@hack.frob.com>
28628 * sysdeps/unix/closedir.c: Renamed to ...
28629 * sysdeps/posix/closedir.c: ... here.
28630 * sysdeps/unix/dirfd.c: Renamed to ...
28631 * sysdeps/posix/dirfd.c: ... here.
28632 * sysdeps/unix/dirstream.h: Renamed to ...
28633 * sysdeps/posix/dirstream.h: ... here.
28634 * sysdeps/unix/fdopendir.c: Renamed to ...
28635 * sysdeps/posix/fdopendir.c: ... here.
28636 * sysdeps/unix/opendir.c: Renamed to ...
28637 * sysdeps/posix/opendir.c: ... here.
28638 * sysdeps/unix/readdir.c: Renamed to ...
28639 * sysdeps/posix/readdir.c: ... here.
28640 * sysdeps/unix/readdir_r.c: Renamed to ...
28641 * sysdeps/posix/readdir_r.c: ... here.
28642 * sysdeps/unix/rewinddir.c: Renamed to ...
28643 * sysdeps/posix/rewinddir.c: ... here.
28644 * sysdeps/unix/seekdir.c: Renamed to ...
28645 * sysdeps/posix/seekdir.c: ... here.
28646 * sysdeps/unix/telldir.c: Renamed to ...
28647 * sysdeps/posix/telldir.c: ... here.
28648 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28649 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28650 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28651 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28653 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28654 * bits/fcntl.h: ... here.
28656 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28658 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28659 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28660 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28661 (struct flock): Move l_start, l_len to the beginning.
28662 Use __pid_t for l_pid.
28663 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28664 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28665 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28666 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28667 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28668 [__USE_LARGEFILE64] (struct flock64): New type.
28669 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28671 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28672 * bits/dirent.h: ... here.
28674 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28675 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28677 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28680 Change from 2.6.0 to 2.6.16.
28681 * sysdeps/unix/sysv/linux/configure: Regenerated.
28682 * sysdeps/unix/sysv/linux/kernel-features.h
28683 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28684 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28686 (__ASSUME_UTIMES): Likewise.
28687 (__ASSUME_CLONE_STOPPED): Remove.
28688 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28689 architectures, not kernel version.
28690 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28691 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28692 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28693 (__ASSUME_WAITID_SYSCALL): Likewise.
28694 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28695 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28696 * README: State 2.6.16 as minimum Linux kernel version. Do not
28697 refer to older versions.
28699 2012-08-06 Roland McGrath <roland@hack.frob.com>
28701 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28702 Define alphasort64 as an alias.
28703 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28704 Define versionsort64 as an alias.
28705 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28706 Define scandir64 as an alias.
28707 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28708 Define scandirat64 as an alias.
28709 * dirent/alphasort64.c (alphasort64):
28710 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28711 * dirent/versionsort64.c: Likewise.
28712 * dirent/scandir64.c: Likewise.
28713 * dirent/scandirat64.c: Likewise.
28714 * sysdeps/wordsize-64/alphasort.c: File removed.
28715 * sysdeps/wordsize-64/alphasort64.c: File removed.
28716 * sysdeps/wordsize-64/scandir.c: File removed.
28717 * sysdeps/wordsize-64/scandir64.c: File removed.
28718 * sysdeps/wordsize-64/scandirat.c: File removed.
28719 * sysdeps/wordsize-64/scandirat64.c: File removed.
28720 * sysdeps/wordsize-64/versionsort.c: File removed.
28721 * sysdeps/wordsize-64/versionsort64.c: File removed.
28722 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28724 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28725 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28726 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28727 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28728 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28731 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28733 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28735 [defined __arch64__ || defined __sparcv9]
28736 (__INO_T_MATCHES_INO64_T): New macro.
28737 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28738 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28739 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28740 * sysdeps/unix/sysv/linux/bits/dirent.h
28741 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28742 (_DIRENT_MATCHES_DIRENT64): New macro.
28744 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28745 Define lockf64 as an alias.
28746 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28747 Define fseeko64 as an alias.
28748 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28749 Define ftello64 as an alias.
28750 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28751 Define _IO_fgetpos64 and fgetpos64 as aliases.
28752 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28753 Define _IO_fsetpos64 and fsetpos64 as aliases.
28754 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28755 Conditionalize body on this.
28756 * libio/fseeko64.c: Likewise.
28757 * libio/ftello64.c: Likewise.
28758 * libio/iofgetpos64.c: Likewise.
28759 * libio/iofsetpos64.c: Likewise.
28760 * sysdeps/wordsize-64/lockf.c: File removed.
28761 * sysdeps/wordsize-64/lockf64.c: File removed.
28762 * sysdeps/wordsize-64/fseeko.c: File removed.
28763 * sysdeps/wordsize-64/fseeko64.c: File removed.
28764 * sysdeps/wordsize-64/ftello.c: File removed.
28765 * sysdeps/wordsize-64/ftello64.c: File removed.
28766 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28767 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28768 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28769 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28781 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28783 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28785 [defined __arch64__ || defined __sparcv9]
28786 (__OFF_T_MATCHES_OFF64_T): New macro.
28787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28788 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28790 (__OFF_T_MATCHES_OFF64_T): New macro.
28792 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28794 * stdlib/secure-getenv.c (__secure_getenv): Replace
28795 GLIBC_2_16 with GLIBC_2_17.
28797 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28799 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28802 2012-08-03 David S. Miller <davem@davemloft.net>
28804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28806 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28808 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28810 (__ASSUME_CORRECT_SI_PID): Likewise.
28811 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28812 (__ASSUME_TMPFS_NAME): Likewise.
28813 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28814 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28815 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28816 (HAVE_AUX_SECURE): Make definition unconditional.
28817 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28818 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28820 2012-08-03 Roland McGrath <roland@hack.frob.com>
28822 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28823 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28824 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28825 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28826 __eloop_threshold instead of SYMLOOP_MAX.
28828 * sysdeps/generic/eloop-threshold.h: New file.
28829 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28831 * elf/chroot_canon.c (chroot_canon): Likewise.
28833 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28836 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28837 Change to 2.6.0 everywhere.
28838 * sysdeps/unix/sysv/linux/configure: Regenerated.
28839 * sysdeps/unix/sysv/linux/kernel-features.h
28840 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28841 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28843 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28844 (__ASSUME_FUTEX_REQUEUE): Remove.
28845 (__ASSUME_STATFS64): Define unconditionally.
28846 (__ASSUME_AT_SECURE): Likewise.
28847 (__ASSUME_CORRECT_SI_PID): Likewise.
28848 (__ASSUME_TGKILL): Define without depending on kernel version for
28850 (__ASSUME_UTIMES): Likewise.
28851 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28853 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28854 (__ASSUME_TMPFS_NAME): Likewise.
28855 * README: Update reference to Linux kernel versions.
28857 2012-08-02 Marek Polacek <polacek@redhat.com>
28860 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28861 libc_cv_asm_type_prefix with %.
28862 * configure: Regenerated.
28863 * include/libc-symbols.h: Remove comment about
28864 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28865 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28866 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28867 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28868 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28869 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28870 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28871 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28872 * elf/tst-unique2mod1.c: Likewise.
28873 * elf/tst-unique1mod2.c: Likewise.
28874 * elf/tst-unique1mod1.c: Likewise.
28875 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28876 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28877 Replace ASM_TYPE_DIRECTIVE with .type.
28878 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28879 * sysdeps/i386/sysdep.h: Likewise.
28880 * sysdeps/x86_64/sysdep.h: Likewise.
28881 * sysdeps/sh/sysdep.h: Likewise.
28882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28883 Do not define ASM_TYPE_DIRECTIVE.
28884 * sysdeps/powerpc/sysdep.h: Likewise.
28885 * sysdeps/powerpc/powerpc32/sysdep.h:
28886 Replace ASM_TYPE_DIRECTIVE with .type.
28887 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28888 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28889 * sysdeps/i386/fpu/e_powf.S: Likewise.
28890 * sysdeps/i386/fpu/e_expl.S: Likewise.
28891 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28893 * sysdeps/i386/fpu/e_pow.S: Likewise.
28894 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28896 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28897 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28898 * sysdeps/i386/fpu/e_log2.S: Likewise.
28899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28901 * sysdeps/i386/fpu/e_powl.S: Likewise.
28902 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28903 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28904 * sysdeps/i386/fpu/e_logl.S: Likewise.
28905 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28906 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28907 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28908 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28909 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28910 * sysdeps/i386/fpu/e_log.S: Likewise.
28911 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28912 * sysdeps/i386/fpu/e_logf.S: Likewise.
28913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28915 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28916 * sysdeps/i386/fpu/e_log10.S: Likewise.
28917 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28918 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28919 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28920 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28921 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28922 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28923 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28924 * sysdeps/i386/i686/strtok.S: Likewise.
28925 * sysdeps/i386/i386-mcount.S: Likewise.
28926 * sysdeps/i386/strtok.S: Likewise.
28927 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28929 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28930 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28931 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28932 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28933 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28934 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28935 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28936 * sysdeps/x86_64/_mcount.S: Likewise.
28937 * sysdeps/x86_64/strtok.S: Likewise.
28938 * sysdeps/sh/_mcount.S: Likewise.
28940 2012-08-01 Roland McGrath <roland@hack.frob.com>
28942 * libio/iofopen.c: Include <fcntl.h>.
28943 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28944 (_IO_fopen64, fopen64): Define as aliases.
28945 * libio/iofopen64.c: Include <fcntl.h>.
28946 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28947 Conditionalize body on this.
28948 * sysdeps/wordsize-64/iofopen.c: File removed.
28949 * sysdeps/wordsize-64/iofopen64.c: File removed.
28951 2012-08-01 Marek Polacek <polacek@redhat.com>
28953 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28954 Use dlfcn directly instead of a variable.
28955 (binfmt-subdir): Do not define.
28958 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28960 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28961 Remove all definitions.
28962 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28963 <kernel-features.h>.
28964 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28965 (miss_F_GETOWN_EX): Remove all definitions.
28966 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28968 [!__ASSUME_FCNTL64]: Remove conditional code.
28969 [__ASSUME_FCNTL64]: Make code unconditional.
28970 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28971 <kernel-features.h>.
28972 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28973 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28974 (lockf64) [__NR_fcntl64]: Make code unconditional.
28975 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28977 * sysdeps/unix/sysv/linux/kernel-features.h
28978 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28979 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28980 Make code unconditional.
28981 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28982 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28984 [__NR_vfork]: Make code unconditional.
28985 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28986 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28988 [__NR_vfork]: Make code unconditional.
28989 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28990 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28992 2012-08-01 Roland McGrath <roland@hack.frob.com>
28994 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28995 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28997 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28998 Define mkstemp64 as an alias.
28999 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29000 Define mkstemps64 as an alias.
29001 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29002 Define mkostemp64 as an alias.
29003 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29004 Define mkostemps64 as an alias.
29005 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29006 Conditionalize body on this.
29007 * misc/mkostemp64.c: Likewise.
29008 * misc/mkostemps64.c: Likewise.
29009 * misc/mkstemps64.c: Likewise.
29010 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29011 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29012 * sysdeps/wordsize-64/mkostemp.c: File removed.
29013 * sysdeps/wordsize-64/mkstemp.c: File removed.
29014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29015 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29017 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29020 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29021 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29022 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29023 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29025 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29026 compat_symbol macros from <shlib-compat.h> rather than the underlying
29027 default_symbol_version and symbol_version macros, so that DEFAULT
29028 lines in shlib-versions are respected.
29029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29031 2012-08-01 Florian Weimer <fweimer@redhat.com>
29033 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29034 Declare with warn_unused_result.
29035 (setgid, setregid, setegid, setresgid): Likewise.
29036 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29038 * WUR-REPORT: Remove set*id functions.
29040 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29042 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29044 2012-07-31 Roland McGrath <roland@hack.frob.com>
29047 * include/sys/socket.h (__libc_accept, __libc_accept4):
29048 Add attribute_hidden.
29049 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29051 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29053 * inet/getnetgrent_r.c (setup): Likewise.
29055 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29057 2012-07-31 David S. Miller <davem@davemloft.net>
29059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29061 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29064 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29065 value between 1.0 and 2.0 and smaller part has absolute value less
29067 * math/s_clog10.c (__clog10): Likewise.
29068 * math/s_clog10f.c (__clog10f): Likewise.
29069 * math/s_clog10l.c (__clog10l): Likewise.
29070 * math/s_clogf.c (__clogf): Likewise.
29071 * math/s_clogl.c (__clogl): Likewise.
29072 * math/libm-test.inc (clog_test): Add more tests.
29073 (clog10_test): Likewise.
29074 * sysdeps/i386/fpu/libm-test-ulps: Update.
29075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29077 2012-07-31 Florian Weimer <fweimer@redhat.com>
29079 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29080 Exit with zero in case no suitable GID is found, and write a
29081 message to standard error.
29083 2012-07-30 Roland McGrath <roland@hack.frob.com>
29085 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29087 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29088 (MAXPATHLEN): Removed.
29089 (NOGROUP, NODEV): New macros.
29090 (setbit, clrbit, isset, isclr): New macros.
29091 (howmany, roundup, powerof2): New macros.
29092 (DEV_BSIZE): New macro.
29094 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29095 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29097 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29098 definition on [!__NO_LONG_DOUBLE_MATH].
29100 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29101 PTR_MANGLE and PTR_DEMANGLE.
29103 * socket/accept4.c (accept4): Rename to __libc_accept4.
29104 Define accept4 as a weak alias.
29106 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29107 on [_DIRENT_HAVE_D_TYPE].
29108 * io/ftw.c (ftw_dir): Likewise.
29110 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29112 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29114 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29115 Use the BSD numbers rather than the arbitrary ones we had.
29116 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29117 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29118 (SIGXCPU, SIGXFSZ): New macros.
29121 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29122 initializer on [_LIBC_REENTRANT].
29124 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29125 definitions inside [_POSIX_MAPPED_FILES].
29127 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29129 * dirent/opendir.c: Include <fcntl.h>.
29131 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29132 (__libc_getspecific): Likewise.
29133 (__libc_key_create): Likewise.
29135 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29136 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29137 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29138 (tmpfile64): Define as alias.
29139 * sysdeps/wordsize-64/tmpfile.c: File removed.
29140 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29141 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29144 * stdio-common/vfscanf.c: Include <stdbool.h>.
29145 * nss/makedb.c: Likewise.
29146 * stdio-common/_i18n_number.h: Likewise.
29147 * argp/argp-help.c: Likewise.
29148 * posix/wordexp.c: Likewise.
29149 * sysdeps/posix/spawni.c: Likewise.
29150 * nss/nss_files/files-initgroups.c: Likewise.
29151 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29152 * nss/nss_files/files-initgroups.c: Likewise.
29153 * nss/nss_db/db-netgrp.c: Likewise.
29154 * nss/nss_db/db-initgroups.c: Likewise.
29155 * io/fchmodat.c: Include <sys/stat.h>.
29157 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29158 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29160 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29163 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29164 Add multiple inclusion protection.
29166 2012-07-27 David S. Miller <davem@davemloft.net>
29168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29170 2012-07-27 Gary Benson <gbenson@redhat.com>
29173 * elf/rtld.c: Include <stap-probe.h>.
29174 (dl_main): Added static probes "init_start" and "init_complete".
29175 * elf/dl-load.c: Include <stap-probe.h>.
29176 (lose): Take new parameter "nsid".
29177 Added static probe "map_failed".
29178 (_dl_map_object_from_fd): Pass namespace id to lose.
29179 Added static probe "map_start".
29180 (open_verify): Pass namespace id to lose.
29181 * elf/dl-open.c: Include <stap-probe.h>.
29182 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29183 and "reloc_complete".
29184 * elf/dl-close.c: Include <stap-probe.h>.
29185 (_dl_close_worker): Added static probes "unmap_start" and
29187 * elf/rtld-debugger-interface.txt: New file documenting the above.
29189 2012-07-26 Roland McGrath <roland@hack.frob.com>
29191 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29192 rather than a string variable.
29193 * sunrpc/rpc_main.c (h_output): Likewise.
29194 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29196 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29198 * inet/check_native.c: New file.
29200 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29203 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29204 if larger part has absolute value 1.0.
29205 * math/s_clog10.c (__clog10): Likewise.
29206 * math/s_clog10f.c (__clog10f): Likewise.
29207 * math/s_clog10l.c (__clog10l): Likewise.
29208 * math/s_clogf.c (__clogf): Likewise.
29209 * math/s_clogl.c (__clogl): Likewise.
29210 * math/libm-test.inc (clog_test): Add more tests.
29211 (clog10_test): Likewise.
29212 * sysdeps/i386/fpu/libm-test-ulps: Update.
29213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29215 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29216 (pltexit): Likewise.
29217 (La_regs): Likewise.
29218 (La_retval): Likewise.
29219 (int_retval): Likewise.
29220 Update #error for removed macros to refer only to definitions in
29222 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29224 (pltexit): Likewise.
29225 (La_regs): Likewise.
29226 (La_retval): Likewise.
29227 (int_retval): Likewise.
29228 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29230 (pltexit): Likewise.
29231 (La_regs): Likewise.
29232 (La_retval): Likewise.
29233 (int_retval): Likewise.
29234 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29236 (pltexit): Likewise.
29237 (La_regs): Likewise.
29238 (La_retval): Likewise.
29239 (int_retval): Likewise.
29240 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29242 (pltexit): Likewise.
29243 (La_regs): Likewise.
29244 (La_retval): Likewise.
29245 (int_retval): Likewise.
29246 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29248 (pltexit): Likewise.
29249 (La_regs): Likewise.
29250 (La_retval): Likewise.
29251 (int_retval): Likewise.
29252 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29254 (pltexit): Likewise.
29255 (La_regs): Likewise.
29256 (La_retval): Likewise.
29257 (int_retval): Likewise.
29258 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29259 macro definitions in tst-audit.h.
29260 * sysdeps/i386/tst-audit.h: New file.
29261 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29262 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29263 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29264 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29265 * sysdeps/sh/tst-audit.h: Likewise.
29266 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29267 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29268 * sysdeps/x86_64/tst-audit.h: Likewise.
29270 2012-07-26 Andreas Jaeger <aj@suse.de>
29272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29275 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29276 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29277 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29279 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29280 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29281 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29283 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29286 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29288 (si_call_addr, si_syscall, si_arch): Define new macro.
29289 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29291 (si_call_addr, si_syscall, si_arch): Define new marcro.
29292 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29294 (si_call_addr, si_syscall, si_arch): Define new macro.
29295 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29297 (si_call_addr, si_syscall, si_arch): Define new macro.
29299 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29303 Change to 2.4.21 where previously 2.4.1.
29304 * sysdeps/unix/sysv/linux/configure: Regenerated.
29305 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29306 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29307 Linux kernel version.
29308 (__ASSUME_STD_AUXV): Remove.
29309 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29311 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29312 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29313 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29314 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29315 (__ASSUME_NETLINK_SUPPORT): Likewise.
29316 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29317 (__no_netlink_support): Remove conditional definition.
29318 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29320 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29321 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29322 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29323 (if_nameindex_ioctl): Remove.
29324 (if_nameindex_netlink): Do not handle __no_netlink_support.
29325 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29327 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29328 Remove conditional code.
29329 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29331 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29333 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29334 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29335 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29337 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29338 [!__ASSUME_STD_AUXV]: Remove conditional code.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29340 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29341 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29343 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29344 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29346 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29348 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29349 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29351 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29353 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29356 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29359 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29360 code unconditional.
29361 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29363 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29365 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29368 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29370 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29373 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29374 code unconditional.
29375 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29377 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29379 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29382 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29383 code unconditional.
29384 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29386 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29388 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29391 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29393 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29394 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29395 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29396 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29397 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29398 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29399 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29400 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29401 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29402 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29403 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29404 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29405 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29406 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29407 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29408 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29409 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29411 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29413 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29414 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29417 2012-07-25 Florian Weimer <fweimer@redhat.com>
29419 * Versions.def: Add GLIBC_2.17.
29420 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29421 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29422 Introduce __libc_secure_getenv.
29423 * stdlib/Versions (2.17): Add secure_getenv
29424 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29425 * stdlib/secure-getenv.c: Rename __secure_getenv to
29426 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29427 symbol __secure_getenv for GLIBC_2.0.
29428 * stdlib/tst-secure-getenv.c: New.
29429 * stdlib/Makefile (tests): Add testcase.
29430 * manual/startup.texi (Environment Access): Document
29432 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29433 __libc_secure_getenv.
29434 * inet/ruserpass.c (ruserpass): Likewise.
29435 * malloc/mtrace.c (mtrace): Likewise.
29436 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29437 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29438 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29439 * sysdeps/posix/tempname.c: Likewise. Evaluate
29440 HAVE_SECURE_GETENV.
29441 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29442 __secure_getenv to __libc_secure_getenv.
29443 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29456 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29458 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29459 (struct La_i86_retval): Likewise.
29460 (struct La_x86_64_regs): Likewise.
29461 (struct La_x86_64_retval): Likewise.
29462 (struct La_x32_regs): Likewise.
29463 (struct La_x32_retval): Likewise.
29464 (struct La_ppc32_regs): Likewise.
29465 (struct La_ppc32_retval): Likewise.
29466 (struct La_ppc64_regs): Likewise.
29467 (struct La_ppc64_retval): Likewise.
29468 (struct La_sh_regs): Likewise.
29469 (struct La_sh_retval): Likewise.
29470 (struct La_s390_32_regs): Likewise.
29471 (struct La_s390_32_retval): Likewise.
29472 (struct La_s390_64_regs): Likewise.
29473 (struct La_s390_64_retval): Likewise.
29474 (struct La_sparc32_regs): Likewise.
29475 (struct La_sparc32_retval): Likewise.
29476 (struct La_sparc64_regs): Likewise.
29477 (struct La_sparc64_retval): Likewise.
29478 (struct audit_ifaces): Remove architecture-specific pltenter and
29480 * sysdeps/i386/ldsodefs.h: New file.
29481 * sysdeps/powerpc/ldsodefs.h: Likewise.
29482 * sysdeps/s390/ldsodefs.h: Likewise.
29483 * sysdeps/sh/ldsodefs.h: Likewise.
29484 * sysdeps/sparc/ldsodefs.h: Likewise.
29485 * sysdeps/x86_64/ldsodefs.h: Likewise.
29487 2012-07-25 Marek Polacek <polacek@redhat.com>
29490 * math/libm-test.inc (yn_test): Add another test.
29491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29492 to ERANGE when the result is +-Inf.
29493 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29494 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29495 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29496 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29498 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29500 * conform/data/time.h-data (NULL): Use macro-constant. Require
29502 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29504 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29506 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29508 * configure.in <sysdeps resolving>: Correct printing
29510 * configure: Regenerate.
29512 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29514 * math/w_ilogb.c: Include <limits.h>.
29515 * math/w_ilogbl.c: Likewise.
29517 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29519 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29520 va_copy. Document allowing for unavailable va_copy only as
29521 pre-C99 compatibility.
29522 * manual/string.texi (Copying and Concatenation): Use va_copy
29523 instead of __va_copy in concat example.
29525 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29527 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29528 (__sendto): Use create_address_port. Initialize APORT and deallocate
29531 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29532 with O_NOLINK passed to __file_name_lookup.
29534 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29535 with O_NOLINK passed to __file_name_lookup.
29537 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29538 negative N or less than NGIDS.
29540 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29541 type to string_t. Set ERANGE as errno and return it if NAME is not big
29542 enough. Use memcpy instead of strncpy.
29544 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29546 * elf/Makefile (check-data): Remove.
29547 (localplt.data): New vpath directive.
29548 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29549 instead of $(check-data).
29550 * scripts/data/localplt-generic.data: Move to ...
29551 * sysdeps/generic/localplt.data: ... here.
29552 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29553 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29554 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29557 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29560 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29563 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29566 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29569 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29573 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29575 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29576 PPC32 and PPC64 files.
29577 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29578 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29580 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29582 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29583 __makecontext_ret to ...
29584 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29585 ... here and call exit if uc_link is NULL. New file.
29586 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29587 __makecontext_ret.S.
29588 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29589 __makecontext_ret to ...
29590 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29591 ... here and call exit if uc_link is NULL. New file.
29592 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29593 __makecontext_ret.S.
29595 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29597 * elf/elf.h (R_390_IRELATIVE): New definition.
29598 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29599 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29600 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29602 (elf_machine_lazy_rel): Likewise.
29603 * sysdeps/s390/dl-irel.h: New file.
29604 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29605 * sysdeps/s390/s390-64/memset.S: New asm code.
29606 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29607 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29608 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29609 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29610 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29611 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29612 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29613 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29614 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29615 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29616 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29617 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29618 * sysdeps/s390/s390-32/memset.S: New asm code.
29619 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29621 2012-07-17 Marek Polacek <polacek@redhat.com>
29624 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29625 * sysdeps/s390/s390-64/configure.in: Likewise.
29626 * sysdeps/sparc/configure.in: Likewise.
29627 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29628 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29629 * sysdeps/i386/configure.in: Likewise.
29630 * sysdeps/x86_64/configure.in: Likewise.
29631 * sysdeps/sh/configure.in: Likewise.
29632 * sysdeps/s390/s390-32/configure: Regenerated.
29633 * sysdeps/s390/s390-64/configure: Likewise.
29634 * sysdeps/x86_64/configure: Likewise.
29635 * sysdeps/sh/configure: Likewise.
29636 * sysdeps/powerpc/powerpc64/configure: Likewise.
29637 * sysdeps/powerpc/powerpc32/configure: Likewise.
29638 * sysdeps/sparc/configure: Likwise.
29639 * sysdeps/i386/configure: Likewise.
29641 * elf/dl-open.c: Comment fixes.
29643 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29645 * Makefile [CXX] (check-data): Remove.
29646 [CXX] (c++-types.data): New vpath directive.
29647 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29648 vpath. Do not allow for C++ type data being missing.
29649 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29650 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29651 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29652 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29653 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29654 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29655 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29658 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29661 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29664 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29667 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29670 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29673 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29676 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29679 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29680 definitions to architecture-specific files.
29681 (TLS_IE): Likewise.
29682 (TLS_LD): Likewise.
29683 (TLS_GD): Likewise.
29684 * sysdeps/i386/tls-macros.h: New file.
29685 * sysdeps/powerpc/tls-macros.h: Likewise.
29686 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29687 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29688 * sysdeps/sh/tls-macros.h: Likewise.
29689 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29690 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29691 * sysdeps/x86_64/tls-macros.h: Likewise.
29693 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29695 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29696 zero value for regular exit case.
29698 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29699 (__start_context): Preserve zero value for regular exit case.
29701 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29702 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29704 * manual/setjmp.texi (setcontext): Clarify normal process
29705 termination when uc_link is the null pointer.
29706 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29709 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29711 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29712 preprocessor. Test for each exception mask separately.
29714 2012-07-16 Andreas Jaeger <aj@suse.de>
29716 * po/ru.po: Update from translation team.
29718 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29720 * conform/data/string.h-data (NULL): Use macro-constant. Require
29722 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29723 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29724 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29725 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29728 2012-07-13 Andreas Jaeger <aj@suse.de>
29730 * po/fr.po: Update from translation team.
29732 2012-07-12 Marek Polacek <polacek@redhat.com>
29735 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29739 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29743 Change to 2.4.1 where previously 2.4.0.
29744 * sysdeps/unix/sysv/linux/configure: Regenerated.
29745 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29746 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29748 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29749 (__ASSUME_AT_CLKTCK): Remove.
29750 (__ASSUME_AT_PAGESIZE): Likewise.
29751 (__ASSUME_AT_XID): Likewise.
29752 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29753 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29754 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29756 (HAVE_AUX_PAGESIZE): Likewise.
29757 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29758 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29759 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29761 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29765 the temporary buffer used to invoke __gethostbyname2_r,
29766 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29767 host_data / struct gaih_addrtuple.
29768 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29769 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29770 header file nss/nsswitch.h.
29771 * nss/nsswitch.h (global scope): Add definition of implementation
29772 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29773 resolv/nss_dns/dns-host.c).
29775 2012-07-11 Andreas Jaeger <aj@suse.de>
29777 * po/fr.po: Update from translation team.
29779 * po/sv.po: Update from translation team
29780 * po/fr.po: Another update from translation team.
29782 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29784 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29785 for subnormals or multiply small sinh result by itself.
29786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29789 2012-07-11 David S. Miller <davem@davemloft.net>
29791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29793 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29796 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29797 (INTERNAL_MARK): Shift it here.
29799 2012-07-10 Marek Polacek <polacek@redhat.com>
29802 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29803 libc_cv_asm_global_directive with .globl.
29804 * configure: Regenerated.
29805 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29807 * sysdeps/i386/configure: Regenerated.
29808 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29810 * sysdeps/x86_64/configure: Regenerated.
29811 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29812 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29813 * elf/tst-unique2mod2.c: Likewise.
29814 * elf/tst-unique2mod1.c: Likewise.
29815 * elf/tst-unique1mod2.c: Likewise.
29816 * elf/tst-unique1mod1.c: Likewise.
29817 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29818 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29820 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29821 * sysdeps/mach/sysdep.h: Likewise.
29822 * sysdeps/i386/sysdep.h: Likewise.
29823 * sysdeps/i386/i386-mcount.S: Likewise.
29824 * sysdeps/x86_64/_mcount.S: Likewise.
29825 * sysdeps/x86_64/sysdep.h: Likewise.
29826 * sysdeps/sh/_mcount.S: Likewise.
29827 * sysdeps/sh/sysdep.h: Likewise.
29828 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29829 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29830 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29831 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29832 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29833 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29834 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29835 * locale/localeinfo.h: Likewise.
29836 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29837 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29839 2012-07-09 Roland McGrath <roland@hack.frob.com>
29842 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29844 * manual/message.texi (The Uniforum approach): Likewise.
29845 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29846 (glibc iconv Implementation): Likewise.
29848 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29851 * math/s_clog.c (__clog): Avoid scaling a value down where that
29852 could result in underflow.
29853 * math/s_clog10.c (__clog10): Likewise.
29854 * math/s_clog10f.c (__clog10f): Likewise.
29855 * math/s_clog10l.c (__clog10l): Likewise.
29856 * math/s_clogf.c (__clogf): Likewise.
29857 * math/s_clogl.c (__clogl): Likewise.
29858 * math/libm-test.inc (clog_test): Add more tests.
29859 (clog10_test): Likewise.
29860 * sysdeps/i386/fpu/libm-test-ulps: Update.
29861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29863 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29866 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29867 by 7 not 8 to examine high bit of fractional part.
29870 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29871 for call to __mcount_internal.
29872 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29873 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29874 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29876 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29879 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29880 approximation for values within 0x1p-13f of an odd multiple of
29882 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29883 exception. Add more tests.
29884 * sysdeps/i386/fpu/libm-test-ulps: Update.
29887 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29888 inputs and return -1 for them. Do not check for +Inf in case not
29889 reachable for +Inf.
29890 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29891 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29892 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29893 and return -1 for them. Do not check for +Inf in case not
29894 reachable for +Inf.
29895 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29897 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29898 and return -1 for them. Do not check for +Inf in case not
29899 reachable for +Inf.
29900 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29901 spurious underflow.
29902 * sysdeps/i386/fpu/libm-test-ulps: Update.
29903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29907 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29909 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29913 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29914 could result in spurious underflow. Scale down values above
29915 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29916 * math/s_csqrtf.c (__csqrtf): Likewise.
29917 * math/s_csqrtl.c (__csqrtl): Likewise.
29918 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29919 spurious underflow.
29920 * sysdeps/i386/fpu/libm-test-ulps: Update.
29921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29923 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29925 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29927 * catgets/xopen-msg.awk: New file.
29928 * catgets/xopen-msg.sed: Removed.
29930 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29932 * intl/po2test.awk: New file.
29933 * intl/po2test.sed: Removed.
29935 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29938 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29939 or multiply small sinh result by itself.
29940 * math/s_ctanf.c (__ctanf): Likewise.
29941 * math/s_ctanh.c (__ctanh): Likewise.
29942 * math/s_ctanhf.c (__ctanhf): Likewise.
29943 * math/s_ctanhl.c (__ctanhl): Likewise.
29944 * math/s_ctanl.c (__ctanl): Likewise.
29945 * math/libm-test.inc (ctan_test_tonearest): New function.
29946 (ctan_test_towardzero): Likewise.
29947 (ctan_test_downward): Likewise.
29948 (ctan_test_upward): Likewise.
29949 (ctanh_test_tonearest): Likewise.
29950 (ctanh_test_towardzero): Likewise.
29951 (ctanh_test_downward): Likewise.
29952 (ctanh_test_upward): Likewise.
29953 (main): Call these new functions.
29954 * sysdeps/i386/fpu/libm-test-ulps: Update.
29955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29957 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29959 * .gitignore: Delete /ports entry.
29961 2012-07-03 Andreas Jaeger <aj@suse.de>
29963 * po/bg.po: Update from translation team.
29964 * po/cs.po: Likewise.
29965 * po/de.po: Likewise.
29966 * po/hr.po: Likewise.
29967 * po/nl.pl: Likewise.
29968 * po/pl.po: Likewise.
29969 * po/vi.po: Likewise.
29971 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29973 * Makeconfig [!+link] (+link-before-libc): New variable.
29974 [!+link] (+link-after-libc): Likewise.
29975 [!+link] (+link-tests): Likewise.
29976 [!+link] (+link): Define in terms of $(+link-before-libc) and
29977 $(+link-after-libc).
29978 [!+link-static] (+link-static-before-libc): New variable.
29979 [!+link-static] (+link-static-after-libc): Likewise.
29980 [!+link-static] (+link-static-tests): Likewise.
29981 [!+link-static] (+link-static): Define in terms of
29982 $(+link-static-before-libc) and $(+link-static-after-libc).
29983 [build-shared] (link-libc-before-gnulib): New variable.
29984 [build-shared] (link-libc-tests): Likewise.
29985 [build-shared] (link-libc): Define in terms of
29986 $(link-libc-before-gnulib).
29987 [!build-shared] (link-libc-tests): New variable.
29988 (link-libc-static-tests): New variable.
29989 [!gnulib] (gnulib-arch): New variable.
29990 [!gnulib] (gnulib-tests): Likewise.
29991 [!gnulib] (static-gnulib-arch): Likewise.
29992 [!gnulib] (static-gnulib-tests): Likewise.
29993 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29994 Define with "=" instead of ":=".
29995 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29996 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29997 * Rules (binaries-all-notests): New variable.
29998 (binaries-all-tests): Likewise.
29999 (binaries-static-notests): Likewise.
30000 (binaries-static-tests): Likewise.
30001 (binaries-all): Define using $(binaries-all-notests) and
30002 $(binaries-all-tests).
30003 (binaries-static): Define using $(binaries-static-notests) and
30004 $(binaries-static-tests).
30005 (binaries-shared-tests): New variable.
30006 (binaries-shared-notests): Likewise.
30007 (binaries-shared): Remove variable.
30008 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30009 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30010 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30011 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30012 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30013 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30014 * elf/Makefile (sln-modules): New variable.
30015 (extra-objs): Add $(sln-modules:=.o).
30016 (ldconfig-modules): Add static-stubs.
30017 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30018 * elf/static-stubs.c: New file.
30021 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30022 by 7 not 8 to examine high bit of fractional part. Use volatile
30023 variables when splitting into final array of floats if
30024 __FLT_EVAL_METHOD__ != 0.
30025 * math/libm-test.inc (cos_test): Add another test.
30026 (sin_test): Likewise.
30027 * sysdeps/i386/fpu/libm-test-ulps: Update.
30030 * math/libm-test.inc (cosh_test): Add more tests.
30032 * version.h (RELEASE): Set to "development".
30033 (VERSION): Set to "2.16.90".
30035 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30037 * NEWS: Update copyright. Remove last-updated date.
30038 Mention math library bug fixes and timezone data changes.
30039 * README: Mention GNU/Hurd, x32, and HPPA support status.
30041 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30043 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30045 2012-06-27 Andreas Jaeger <aj@suse.de>
30047 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30049 2012-06-25 Andreas Jaeger <aj@suse.de>
30051 * sysdeps/s390/fpu/libm-test-ulps: Update.
30053 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30054 Thomas Schwinge <thomas@codesourcery.com>
30056 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30057 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30061 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30063 * sysdeps/mach/start.c: Remove file.
30064 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30065 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30066 * sysdeps/sh/init-first.c: Likewise.
30068 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30069 registers for frame unwinding purposes, add CFI directives.
30070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30071 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30072 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30075 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30076 __fortify_fail returning.
30077 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30079 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30080 sysdeps/sh/____longjmp_chk.S.
30081 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30082 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30083 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30084 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30086 * sysdeps/sh/abort-instr.h: New file.
30087 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30088 process in case exit returns.
30090 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30091 initialize the GOT register before use.
30093 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30094 calculation of ARGC > 4.
30096 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30097 meaningful names to some local labels.
30099 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30100 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30103 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30104 (__arch_compare_and_exchange_val_16_acq): Likewise.
30105 (__arch_compare_and_exchange_val_32_acq): Likewise.
30106 (atomic_exchange_and_add): Fix gUSA sequence.
30107 (atomic_add): Likewise.
30108 (atomic_add_negative): Likewise.
30109 (atomic_add_zero): Likewise.
30110 (atomic_bit_test_set): Likewise.
30112 2012-06-22 Andreas Schwab <schwab@redhat.com>
30115 * include/link.h (struct link_map): Add l_free_initfini.
30116 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30118 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30119 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30120 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30123 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30125 * configure.in: Use AC_LANG_SOURCE.
30126 * configure: Regenerate.
30128 2012-06-22 Roland McGrath <roland@hack.frob.com>
30130 * configure.in (libc_cv_localstatedir): New substituted variable.
30131 * configure: Regenerated.
30132 * config.make.in (localstatedir): New variable, substituted from
30133 libc_cv_localstatedir.
30134 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30135 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30136 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30137 * sysdeps/gnu/configure: Regenerated.
30139 2012-06-21 Jeff Law <law@redhat.com>
30142 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30143 free. Simplify list management for _LIBC case.
30145 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30148 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30149 Clear sign bit of 64-bit integer value before comparing against
30152 * sysdeps/mach/configure: Regenerated.
30154 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30157 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30159 2012-06-21 Jeff Law <law@redhat.com>
30162 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30163 uint16_t for elements in the "seen" array to avoid char overflows.
30164 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30165 * elf/dl-open.c (dl_open_worker): Likewise.
30167 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30169 * scripts/list-sources.sh: Scan PORTS for translations.
30170 * po/libc.pot: Regenerated.
30172 2012-06-21 Andreas Jaeger <aj@suse.de>
30175 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30177 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30178 * bits/byteswap-16.h (__bswap_16): Likewise.
30179 * bits/byteswap.h (__bswap_constant_16): Likewise.
30181 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30184 * sysdeps/i386/fpu_control.h: Removed.
30185 * sysdeps/x86_64/fpu_control.h: Moved to ...
30186 * sysdeps/x86/fpu_control.h: Here.
30188 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30189 (_FPU_SETCW): Likewise.
30191 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30194 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30195 * sysdeps/x86/fpu/bits/mathinline.h: This.
30196 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30200 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30201 functions if __x86_64__ is defined.
30203 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30205 * string/endian.h: Add !__ASSEMBLER__ condition for including
30206 conversion interfaces.
30208 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30212 of ABS(x) in calculating zero to negative powers other than odd
30214 * math/libm-test.inc (pow_test): Add more tests.
30216 2012-06-15 Andreas Jaeger <aj@suse.de>
30218 * manual/contrib.texi (Contributors): Update entry of Liubov
30219 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30222 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30224 * string/string.h: Add __wur to GNU version of strerror_r.
30226 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30229 * string/Makefile (tests): Add tst-strtok_r.
30230 * string/tst-strtok_r.c: New file.
30231 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30232 RAX_LP/RDX_LP on SAVE_PTR.
30234 2012-06-14 Roland McGrath <roland@hack.frob.com>
30236 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30238 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30240 * libm_test.inc (csqrt_test): Allow more spurious underflow
30242 (j0_test): Likewise.
30243 (j1_test): Likewise.
30244 (y0_test): Likewise.
30245 (y1_test): Likewise.
30247 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30249 * po/Makefile (libc.pot): Use UTF-8 charset.
30251 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30254 Suppress sign-conversion warning from FD_SET.
30255 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30256 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30257 not unsigned long int.
30258 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30260 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30264 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30265 __extern_always_inline instead of __extern_inline.
30266 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30267 (__signbit): Likewise.
30268 (__signbitl): Support C++ namespace.
30269 (lrintf): New inline function.
30271 (llrintf): Likewise.
30272 (llrint): Likewise.
30282 (floorf): Likewise.
30283 (nearbyint): Likewise.
30284 (nearbyintf): Likewise.
30286 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30288 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30289 non-default versions.
30291 2012-06-11 Roland McGrath <roland@hack.frob.com>
30294 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30296 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30298 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30299 (FE_UPWARD, FE_DOWNWARD): Don't define.
30300 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30301 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30303 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30305 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30306 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30308 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30310 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30312 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30313 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30315 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30318 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30319 * sysdeps/i386/fpu/Implies: New file.
30320 * sysdeps/x86_64/fpu/Implies: Likewise.
30321 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30322 * sysdeps/x86/fpu/bits/fenv.h: This.
30324 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30327 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30330 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30331 character 0xffff that matches the last element of the
30334 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30339 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30342 values higher than 25.6283.
30344 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30346 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30347 subnormal exponent extraction and add some __builtin_expect.
30348 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30349 Fix for subnormal mantissa calculation.
30351 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30353 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30354 cpu2 is -1 and errno is not ENOSYS.
30356 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30359 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30360 * sysdeps/x86/bits/string.h: This.
30361 * sysdeps/x86_64/bits/string.h: Removed.
30363 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30364 if not compiling for x86-64, but compiling for >= i486.
30366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30367 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30369 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30370 New macro from Linux kernel 3.4.0.
30371 (FP_XSTATE_MAGIC2): Likewise.
30372 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30373 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30374 (struct _fpx_sw_bytes): New struct.
30375 (struct _xsave_hdr): Likewise.
30376 (struct _ymmh_state): Likewise.
30377 (struct _xstate): Likewise.
30379 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30380 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30381 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30382 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30383 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30384 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30386 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30387 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30388 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30389 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30390 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30391 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30393 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30396 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30397 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30398 (sysdep_headers): Include sys/platform/ppc.h.
30399 * sysdeps/powerpc/test-gettimebase.c: Test for
30400 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30401 * manual/Makefile (appendices): Include platform.texi.
30402 * manual/contrib.texi (Contributors): Update @node pointers.
30403 * manual/maint.texi (Maintenance): Likewise.
30404 (Platform): New node.
30405 * manual/platform.texi: New file. Document the new features.
30407 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30408 Jakub Jelinek <jakub@redhat.com>
30411 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30412 where __builtin_expect is unavailable.
30414 2012-06-03 David S. Miller <davem@davemloft.net>
30416 * stdlib/longlong.h: Updated from GCC.
30418 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30421 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30422 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30425 (GLIBC_2.16): Likewise.
30427 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30429 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30431 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30434 (default-abi): New variable.
30435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30436 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30438 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30440 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30442 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30445 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30446 definition. Document in comment.
30448 2012-06-01 David S. Miller <davem@davemloft.net>
30450 * stdlib/longlong.h: Updated from GCC.
30452 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30455 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30456 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30457 sys/debugreg.h sys/io.h here.
30458 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30459 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30461 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30462 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30463 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30464 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30465 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30466 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30468 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30469 Define only if __x86_64__ is defined.
30471 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30474 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30475 Use int64_t for variable i.
30476 * math/libm-test.inc (fmod_test): Add more tests.
30478 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30479 z computation is not scheduled after fetestexcept.
30480 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30481 Use math_force_eval instead of asm to ensure calculation scheduled
30482 before exception test.
30483 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30484 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30486 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30489 computation is not scheduled after fetestexcept.
30491 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30494 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30495 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30497 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30499 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30500 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30502 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30505 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30507 (__WCHAR_MIN): Support __WORDSIZE == 64.
30508 (__WCHAR_MAX): Likewise.
30510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30511 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30515 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30518 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30519 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30521 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30522 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30524 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30525 Defined to 1 if __x86_64__ isn't defined.
30526 (_STAT_VER_LINUX_OLD): New.
30527 (st_atime): Remove duplicate.
30528 (st_mtime): Likewise.
30529 (st_ctime): Likewise.
30531 2012-05-31 David S. Miller <davem@davemloft.net>
30533 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30536 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30538 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30542 * elf/dl-reloc.c: Include <_itoa.h>.
30543 (_dl_reloc_bad_type): Remove use of INTUSE.
30544 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30545 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30546 * stdio-common/psiginfo.c (psiginfo): Likewise.
30547 * stdio-common/psignal.c (psignal): Likewise.
30548 * string/strsignal.c (strsignal): Likewise.
30549 * include/signal.h (_sys_siglist): Declare hidden proto.
30550 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30551 INTVARDEF with libc_hidden_data_def.
30552 * stdio-common/itoa-udigits.c: Likewise.
30553 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30554 (_itoa_lower_digits_internal): Remove declaration.
30555 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30556 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30557 (_sys_sigabbrev_internal): Remove aliases.
30558 (_sys_siglist): Define hidden alias.
30560 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30565 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30568 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30571 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30572 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30573 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30574 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30575 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30576 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30578 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30580 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30582 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30590 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30591 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30592 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30594 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30595 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30596 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30597 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30598 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30599 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30601 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30602 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30604 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30605 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30607 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30608 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30611 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30612 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30614 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30616 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30617 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30618 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30620 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30622 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30624 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30626 * math/math.h (M_El): Use two more decimal places.
30627 (M_LOG2El): Likewise.
30628 (M_LOG10El): Likewise.
30629 (M_LN2l): Likewise.
30630 (M_LN10l): Likewise.
30632 (M_PI_2l): Likewise.
30633 (M_PI_4l): Likewise.
30634 (M_1_PIl): Likewise.
30635 (M_2_PIl): Likewise.
30636 (M_2_SQRTPIl): Likewise.
30637 (M_SQRT2l): Likewise.
30638 (M_SQRT1_2l): Likewise.
30640 2012-05-31 David S. Miller <davem@davemloft.net>
30642 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30643 values between float registers.
30644 * sysdeps/sparc/sparc64/memset.S: Likewise.
30645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30647 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30649 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30650 -D_FORTIFY_SOURCE=1.
30651 (CPPFLAGS-tst-longjmp_chk.c): Define.
30652 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30653 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30654 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30655 CFLAGS-tst-wchar-h.c.
30657 2012-05-31 Marek Polacek <polacek@redhat.com>
30660 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30661 __endmntent_internal): Remove declaration.
30662 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30663 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30664 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30666 2012-05-30 David S. Miller <davem@davemloft.net>
30668 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30669 (___Q_simulate_exceptions): Use real FP ops rather than writing
30671 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30674 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30677 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30678 * sysdeps/x86/bits/xtitypes.h: This.
30680 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30681 * sysdeps/x86/bits/wordsize.h: This.
30683 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30684 * sysdeps/x86/bits/huge_vall.h: This.
30686 * sysdeps/i386/bits/select.h: Removed.
30687 * sysdeps/x86_64/bits/select.h: Renamed to ...
30688 * sysdeps/x86/bits/select.h: This.
30690 * sysdeps/i386/bits/setjmp.h: Removed.
30691 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30692 * sysdeps/x86/bits/setjmp.h: This.
30694 * sysdeps/i386/bits/mathdef.h: Removed.
30695 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30696 * sysdeps/x86/bits/mathdef.h: This.
30698 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30701 * include/sys/socket.h (__connect_internal)
30702 (__libc_sa_len_internal): Remove declaration.
30703 (__connect, __libc_sa_len): Declare hidden_proto.
30704 (SA_LEN): Remove use of INTUSE.
30705 * socket/connect.c: Add libc_hidden_def.
30706 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30707 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30708 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30710 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30711 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30712 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30713 of adding _internal alias.
30715 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30718 * sysdeps/i386/bits/link.h: Removed.
30719 * sysdeps/i386/bits/linkmap.h: Likewise.
30720 * sysdeps/x86_64/bits/link.h: Renamed to ...
30721 * sysdeps/x86/bits/link.h: This.
30722 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30723 * sysdeps/x86/bits/linkmap.h: This.
30725 * sysdeps/i386/bits/endian.h: Removed.
30726 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30727 * sysdeps/x86/bits/endian.h: This.
30729 * sysdeps/i386/bits/byteswap.h: Removed.
30730 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30731 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30732 * sysdeps/x86/bits/byteswap.h: This.
30733 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30734 * sysdeps/x86/bits/byteswap-16.h: This.
30735 * sysdeps/i386/Implies: Add x86.
30736 * sysdeps/x86_64/Implies: Likewise.
30738 2012-05-30 David S. Miller <davem@davemloft.net>
30740 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30741 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30742 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30743 (FP_TRAPPING_EXCEPTIONS): Define.
30744 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30745 (FP_TRAPPING_EXCEPTIONS): Define.
30746 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30747 subnormals only when inexact has been signalled or underflow
30748 exceptions are enabled.
30749 (_FP_PACK_CANONICAL): Likewise.
30751 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30755 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30757 2012-05-30 Richard Henderson <rth@twiddle.net>
30759 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30760 with #ifndef NOT_IN_libc.
30762 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30763 marked to avoid plt entry.
30765 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30768 * Makeconfig (default-abi): New macro.
30769 (abi-includes): Likewise.
30770 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30771 $(abi-$(default-abi)-lib-soname) for soname if defined.
30772 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30774 * Makefile (installed-stubs): Likewise.
30775 * include/stubs-biarch.h: Removed.
30776 * scripts/lib-names.awk: Only handle one library at a time.
30777 * scripts/soversions.awk: Remove WORDSIZE support.
30778 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30780 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30782 (syscall-list-default-condition): Likewise.
30783 (syscall-list-default-condition): Likewise.
30784 (syscall-list-includes): Likewise.
30785 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30786 syscall-list-* with abi-*. Handle undefined abi-variants.
30787 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30788 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30789 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30790 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30791 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30792 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30794 (syscall-list-32-options): Likewise.
30795 (syscall-list-32-condition): Likewise.
30796 (syscall-list-64-options): Likewise.
30797 (syscall-list-64-condition): Likewise.
30798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30800 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30803 (abi-64-ld-soname): New macro.
30804 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30805 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30808 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30809 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30811 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30813 * sysdeps/unix/sysv/linux/kernel-features.h
30814 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30815 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30816 include <kernel-features.h>.
30817 [!__NR_ftruncate64]: Remove conditional code.
30818 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30819 [__NR_ftruncate64]: Make code unconditional.
30820 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30821 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30822 include <kernel-features.h>.
30823 [!__NR_ftruncate64]: Remove conditional code.
30824 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30825 [__NR_ftruncate64]: Make code unconditional.
30826 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30828 include <kernel-features.h>.
30829 [!__NR_ftruncate64]: Remove conditional code.
30830 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30831 [__NR_ftruncate64]: Make code unconditional.
30832 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30834 include <kernel-features.h>.
30835 [!__NR_ftruncate64]: Remove conditional code.
30836 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30837 [__NR_ftruncate64]: Make code unconditional.
30838 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30840 * configure.in (libc_cv_fpie): Weaken to a compile test using
30841 LIBC_TRY_CC_OPTION.
30842 * configure: Regenerated.
30844 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30859 2012-05-27 David S. Miller <davem@davemloft.net>
30861 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30863 (__Q_simulate_exceptions): Return void. Change to simulate
30864 exceptions by writing into the %fsr.
30865 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30866 (__Qp_handle_exceptions): Likewise.
30868 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30869 __Qp_handle_exceptions.
30870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30871 __Qp_handle_exceptions.
30872 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30873 as unused and give dummy FP_RND_NEAREST initializer.
30874 (FP_INHIBIT_RESULTS): Define.
30875 (___Q_simulate_exceptions): Update declaration.
30876 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30878 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30879 as unused and give dummy FP_RND_NEAREST initializer.
30880 (__Qp_handle_exceptions): Update declaration.
30881 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30884 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30886 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30887 the temporary FPU control word.
30888 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30889 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30890 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30891 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30892 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30893 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30894 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30895 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30896 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30897 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30898 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30900 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30902 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30905 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30907 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30908 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30909 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30910 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30912 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30913 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30916 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30918 * po/h.po: Update from translation team.
30920 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30922 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30924 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30925 handling of denormals.
30926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30927 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30928 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30929 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30935 2012-05-26 Marek Polacek <polacek@redhat.com>
30938 * math/libm-test.inc (fma_test): Don't always expect underflow
30941 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30944 * elf/tst-execstack.c: Include stackinfo.h.
30945 (do_test): Adjust test case to ensure that pthread_getattr_np
30946 behaviour remains the same after marking stack executable.
30948 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30950 * sysdeps/unix/sysv/linux/kernel-features.h
30951 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30952 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30954 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30955 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30956 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30958 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30959 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30961 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30963 * configure.in: Define the default includes to being none.
30964 * configure: Regenerated.
30966 2012-05-25 Roland McGrath <roland@hack.frob.com>
30968 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30969 * sysdeps/x86_64/setjmp.S: Likewise.
30970 * sysdeps/i386/bsd-setjmp.S: Likewise.
30971 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30972 * sysdeps/i386/setjmp.S: Likewise.
30973 * sysdeps/i386/__longjmp.S: Likewise.
30974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30975 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30977 * include/stap-probe.h: New file.
30978 * configure.in: Handle --enable-systemtap.
30979 * configure: Regenerated.
30980 * config.h.in (USE_STAP_PROBE): New #undef.
30981 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30982 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30983 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30985 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30988 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30989 to 2.4.0 where earlier.
30990 * sysdeps/unix/sysv/linux/configure: Regenerated.
30991 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30992 <kernel-features.h>.
30993 [__ASSUME_32BITUIDS]: Make code unconditional.
30994 [!__ASSUME_32BITUIDS]: Remove conditional code.
30995 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30996 <kernel-features.h>.
30997 [__ASSUME_32BITUIDS]: Make code unconditional.
30998 [!__ASSUME_32BITUIDS]: Remove conditional code.
30999 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31000 [__ASSUME_32BITUIDS]: Make code unconditional.
31001 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31002 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
31015 <kernel-features.h>.
31016 [__ASSUME_32BITUIDS]: Make code unconditional.
31017 [!__ASSUME_32BITUIDS]: Remove conditional code.
31018 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31019 <kernel-features.h>.
31020 [__ASSUME_32BITUIDS]: Make code unconditional.
31021 [!__ASSUME_32BITUIDS]: Remove conditional code.
31022 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31023 <kernel-features.h>.
31024 [__ASSUME_32BITUIDS]: Make code unconditional.
31025 [!__ASSUME_32BITUIDS]: Remove conditional code.
31026 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31027 <kernel-features.h>.
31028 [__ASSUME_32BITUIDS]: Make code unconditional.
31029 [!__ASSUME_32BITUIDS]: Remove conditional code.
31030 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31031 <kernel-features.h>.
31032 [__ASSUME_32BITUIDS]: Make code unconditional.
31033 [!__ASSUME_32BITUIDS]: Remove conditional code.
31034 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31035 <kernel-features.h>.
31036 [__ASSUME_32BITUIDS]: Make code unconditional.
31037 [!__ASSUME_32BITUIDS]: Remove conditional code.
31038 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31039 <kernel-features.h>.
31040 [__ASSUME_32BITUIDS]: Make code unconditional.
31041 [!__ASSUME_32BITUIDS]: Remove conditional code.
31042 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31043 <kernel-features.h>.
31044 [__NR_setresgid] (__setresgid): Do not declare.
31045 [__ASSUME_32BITUIDS]: Make code unconditional.
31046 [!__ASSUME_32BITUIDS]: Remove conditional code.
31047 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31048 <kernel-features.h>.
31049 [__NR_setresuid] (__setresuid): Do not declare.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
31065 <kernel-features.h>.
31066 [__ASSUME_32BITUIDS]: Make code unconditional.
31067 [!__ASSUME_32BITUIDS]: Remove conditional code.
31068 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31069 <kernel-features.h>.
31070 [__ASSUME_32BITUIDS]: Make code unconditional.
31071 [!__ASSUME_32BITUIDS]: Remove conditional code.
31072 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31073 <kernel-features.h>.
31074 [__ASSUME_32BITUIDS]: Make code unconditional.
31075 [!__ASSUME_32BITUIDS]: Remove conditional code.
31076 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31077 <kernel-features.h>.
31078 [__ASSUME_32BITUIDS]: Make code unconditional.
31079 [!__ASSUME_32BITUIDS]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31081 <kernel-features.h>.
31082 [__ASSUME_32BITUIDS]: Make code unconditional.
31083 [!__ASSUME_32BITUIDS]: Remove conditional code.
31084 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31085 <kernel-features.h>.
31086 [__ASSUME_32BITUIDS]: Make code unconditional.
31087 [!__ASSUME_32BITUIDS]: Remove conditional code.
31088 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31089 <kernel-features.h>.
31090 [__ASSUME_32BITUIDS]: Make code unconditional.
31091 [!__ASSUME_32BITUIDS]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/kernel-features.h
31093 (__ASSUME_SETRESUID_SYSCALL): Remove.
31094 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31095 (__ASSUME_32BITUIDS): Likewise.
31096 (__ASSUME_LDT_WORKS): Likewise.
31097 (__ASSUME_O_DIRECTORY): Likewise.
31098 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31099 architecture but not kernel version.
31100 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31101 (__ASSUME_MMAP2_SYSCALL): Likewise.
31102 (__ASSUME_STAT64_SYSCALL): Likewise.
31103 (__ASSUME_IPC64): Likewise.
31104 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31105 <kernel-features.h>.
31106 [__ASSUME_32BITUIDS]: Make code unconditional.
31107 [!__ASSUME_32BITUIDS]: Remove conditional code.
31108 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31109 <kernel-features.h>.
31110 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31111 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31112 132096]: Remove conditional code.
31113 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31114 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31115 <kernel-features.h>.
31116 [__ASSUME_32BITUIDS]: Make code unconditional.
31117 [!__ASSUME_32BITUIDS]: Remove conditional code.
31118 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31119 <kernel-features.h>.
31120 [__ASSUME_32BITUIDS]: Make code unconditional.
31121 [!__ASSUME_32BITUIDS]: Remove conditional code.
31122 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31123 <kernel-features.h>.
31124 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31126 (__setresgid): Do not declare.
31127 [__ASSUME_32BITUIDS]: Make code unconditional.
31128 [!__ASSUME_32BITUIDS]: Remove conditional code.
31129 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31130 <kernel-features.h>.
31131 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31133 (__setresuid): Do not declare.
31134 [__ASSUME_32BITUIDS]: Make code unconditional.
31135 [!__ASSUME_32BITUIDS]: Remove conditional code.
31136 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31137 <kernel-features.h>.
31138 [__ASSUME_32BITUIDS]: Make code unconditional.
31139 [!__ASSUME_32BITUIDS]: Remove conditional code.
31140 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31141 <kernel-features.h>.
31142 [__ASSUME_32BITUIDS]: Make code unconditional.
31143 [!__ASSUME_32BITUIDS]: Remove conditional code.
31145 2012-05-25 Richard Henderson <rth@twiddle.net>
31147 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31148 dl_hwcap to ifunc resolver.
31149 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31151 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31152 dl_hwcap to ifunc resolver.
31153 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31155 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31158 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31159 for |x| <= 2**-26, not 2**-57.
31160 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31163 2012-05-24 Jeff Law <law@redhat.com>
31165 * stdio-common/Makefile (tests): Add bug25.
31166 * stdio-common/bug25.c: New test.
31168 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31171 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31172 multiple of MALLOC_ALIGNMENT in size.
31173 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31175 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31177 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31179 (FILENAME_MAX): Use macro-int-constant.
31180 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31181 (_IOFBF): Use macro-int-constant.
31182 (_IOLBF): Likewise.
31183 (_IONBF): Likewise.
31184 (SEEK_CUR): Likewise.
31185 (SEEK_END): Likewise.
31186 (SEEK_SET): Likewise.
31187 (TMP_MAX): Likewise.
31188 (EOF): Use macro-int-constant. Require < 0.
31189 (NULL): Use macro-constant. Require == 0.
31190 (stdin): Require type to be FILE *.
31191 (stdout): Likewise.
31192 (stderr): Likewise.
31193 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31194 macro-int-constant.
31195 (EXIT_SUCCESS): Likewise.
31196 (NULL): Use macro-constant. Require == 0.
31197 (RAND_MAX): Use macro-int-constant.
31198 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31199 [C99-based standards] (strtof): Require function.
31200 [C99-based standards] (strtold): Likewise.
31201 [C99-based standards] (strtoll): Likewise.
31202 [C99-based standards] (strtoull): Likewise.
31203 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31204 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31205 [ISO || ISO99 || ISO11] (math.h): Likewise.
31206 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31207 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31210 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31213 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31214 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31215 * intl/dgettext.c (DCGETTEXT): Likewise.
31216 * intl/gettext.c (DCGETTEXT): Likewise.
31217 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31218 * posix/regex_internal.h (gettext): Likewise.
31219 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31220 Remove declaration.
31221 * include/argz.h (__argz_count_internal)
31222 (__argz_stringify_internal): Remove declaration.
31223 (__argz_count, __argz_stringify): Declare hidden proto.
31224 * intl/dcgettext.c: Remove use of INTDEF.
31225 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31226 * string/argz-stringify.c: Likewise.
31227 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31228 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31229 Declare hidden proto.
31230 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31231 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31232 Declare hidden proto.
31233 * include/stdio.h (__asprintf_internal): Don't declare.
31234 (__asprintf): Don't define as macro. Declare hidden proto.
31235 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31236 (__fsetlocking): Declare hidden proto.
31237 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31238 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31240 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31241 (_IO_setlinebuf): Remove use of INTUSE.
31242 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31243 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31244 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31245 Remove declaration.
31246 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31247 (_IO_do_flush): Remove use of INTUSE.
31248 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31249 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31250 (_IO_adjust_column, _IO_least_wmarker)
31251 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31252 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31253 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31254 (_IO_default_doallocate, _IO_wdefault_doallocate)
31255 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31256 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31257 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31258 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31259 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31260 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31261 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31262 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31263 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31264 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31265 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31266 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31267 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31269 (_IO_flush_all_internal, _IO_adjust_column_internal)
31270 (_IO_default_uflow_internal, _IO_default_finish_internal)
31271 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31272 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31273 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31274 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31275 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31276 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31277 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31278 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31279 (_IO_file_close_internal, _IO_file_close_it_internal)
31280 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31281 (_IO_file_init_internal, _IO_file_attach_internal)
31282 (_IO_file_fopen_internal, _IO_file_read_internal)
31283 (_IO_file_sync_internal, _IO_file_seek_internal)
31284 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31285 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31286 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31287 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31288 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31289 (_IO_list_all_internal, _IO_link_in_internal)
31290 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31291 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31292 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31293 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31294 (_IO_do_write_internal, _IO_padn_internal)
31295 (_IO_getline_info_internal, _IO_getline_internal)
31296 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31297 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31298 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31299 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31300 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31301 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31302 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31303 with libc_hidden_ver, remove use of INTUSE.
31304 * libio/genops.c: Likewise.
31305 * libio/freopen.c: Likewise.
31306 * libio/freopen64.c: Likewise.
31307 * libio/iofclose.c: Likewise.
31308 * libio/iofdopen.c: Likewise.
31309 * libio/iofflush.c: Likewise.
31310 * libio/iofflush_u.c: Likewise.
31311 * libio/iofgets.c: Likewise.
31312 * libio/iofgets_u.c: Likewise.
31313 * libio/iofopen.c: Likewise.
31314 * libio/iofopncook.c: Likewise.
31315 * libio/iofread.c: Likewise.
31316 * libio/iofread_u.c: Likewise.
31317 * libio/ioftell.c: Likewise.
31318 * libio/iofwrite.c: Likewise.
31319 * libio/iogetline.c: Likewise.
31320 * libio/iogets.c: Likewise.
31321 * libio/iogetwline.c: Likewise.
31322 * libio/iopadn.c: Likewise.
31323 * libio/iopopen.c: Likewise.
31324 * libio/ioseekoff.c: Likewise.
31325 * libio/ioseekpos.c: Likewise.
31326 * libio/iosetbuffer.c: Likewise.
31327 * libio/iosetvbuf.c: Likewise.
31328 * libio/ioungetc.c: Likewise.
31329 * libio/ioungetwc.c: Likewise.
31330 * libio/iovdprintf.c: Likewise.
31331 * libio/iovsprintf.c: Likewise.
31332 * libio/iovsscanf.c: Likewise.
31333 * libio/memstream.c: Likewise.
31334 * libio/obprintf.c: Likewise.
31335 * libio/oldfileops.c: Likewise.
31336 * libio/oldiofclose.c: Likewise.
31337 * libio/oldiofdopen.c: Likewise.
31338 * libio/oldiofopen.c: Likewise.
31339 * libio/oldiopopen.c: Likewise.
31340 * libio/oldstdfiles.c: Likewise.
31341 * libio/putc.c: Likewise.
31342 * libio/setbuf.c: Likewise.
31343 * libio/setlinebuf.c: Likewise.
31344 * libio/stdfiles.c: Likewise.
31345 * libio/strops.c: Likewise.
31346 * libio/vasprintf.c: Likewise.
31347 * libio/vscanf.c: Likewise.
31348 * libio/vsnprintf.c: Likewise.
31349 * libio/vswprintf.c: Likewise.
31350 * libio/wfiledoalloc.c: Likewise.
31351 * libio/wfileops.c: Likewise.
31352 * libio/wgenops.c: Likewise.
31353 * libio/wmemstream.c: Likewise.
31354 * libio/wstrops.c: Likewise.
31355 * libio/__fpurge.c: Likewise.
31356 * libio/__fsetlocking.c: Likewise.
31357 * assert/assert.c: Likewise.
31358 * debug/fgets_chk.c: Likewise.
31359 * debug/fgets_u_chk.c: Likewise.
31360 * debug/fread_chk.c: Likewise.
31361 * debug/fread_u_chk.c: Likewise.
31362 * debug/gets_chk.c: Likewise.
31363 * debug/obprintf_chk.c: Likewise.
31364 * debug/vasprintf_chk.c: Likewise.
31365 * debug/vdprintf_chk.c: Likewise.
31366 * debug/vsnprintf_chk.c: Likewise.
31367 * debug/vsprintf_chk.c: Likewise.
31368 * malloc/mtrace.c: Likewise.
31369 * misc/error.c: Likewise.
31370 * misc/syslog.c: Likewise.
31371 * stdio-common/asprintf.c: Likewise.
31372 * stdio-common/fxprintf.c: Likewise.
31373 * stdio-common/getw.c: Likewise.
31374 * stdio-common/isoc99_fscanf.c: Likewise.
31375 * stdio-common/isoc99_scanf.c: Likewise.
31376 * stdio-common/isoc99_vfscanf.c: Likewise.
31377 * stdio-common/isoc99_vscanf.c: Likewise.
31378 * stdio-common/isoc99_vsscanf.c: Likewise.
31379 * stdio-common/printf-prs.c: Likewise.
31380 * stdio-common/printf_fp.c: Likewise.
31381 * stdio-common/printf_fphex.c: Likewise.
31382 * stdio-common/printf_size.c: Likewise.
31383 * stdio-common/putw.c: Likewise.
31384 * stdio-common/scanf.c: Likewise.
31385 * stdio-common/sprintf.c: Likewise.
31386 * stdio-common/tmpfile.c: Likewise.
31387 * stdio-common/vfprintf.c: Likewise.
31388 * stdio-common/vfscanf.c: Likewise.
31389 * stdlib/strfmon_l.c: Likewise.
31390 * sunrpc/openchild.c: Likewise.
31391 * sunrpc/xdr_stdio.c: Likewise.
31392 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31393 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31395 2012-05-24 Roland McGrath <roland@hack.frob.com>
31397 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31399 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31400 in the third column, to generate for the shared library an IFUNC
31401 that uses _dl_vdso_vsym.
31402 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31403 * Makeconfig (object-suffixes-noshared): New variable.
31405 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31406 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31407 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31408 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31411 * include/sys/time.h (__gettimeofday): Remove macro.
31412 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31413 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31415 (__gettimeofday): Add libc_hidden_def.
31416 (gettimeofday): Add libc_hidden_weak.
31417 * sysdeps/mach/gettimeofday.c: Likewise.
31418 * sysdeps/posix/gettimeofday.c: Likewise.
31419 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31422 (__gettimeofday_internal): Remove strong_alias.
31423 (__gettimeofday): Add libc_hidden_def.
31424 (gettimeofday): Add libc_hidden_weak.
31425 * sysdeps/unix/syscalls.list (gettimeofday):
31426 Remove __gettimeofday_internal alias.
31428 2012-05-24 Daniel Jacobowitz <drow@false.org>
31429 H.J. Lu <hongjiu.lu@intel.com>
31432 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31433 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31434 (largebin_index_32_big): New.
31435 (largebin_index): Use it for 16-byte alignment.
31436 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31437 correction with front_misalign.
31439 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31467 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31468 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31470 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31474 * math/libm-test.inc (exp_test): Add test from bug 14036.
31475 (pow_test): Add test from bug 10846.
31477 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31479 (special_function): Do not include flags in test name.
31480 (parse_args): Likewise.
31481 * sysdeps/i386/fpu/libm-test-ulps: Update.
31482 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31483 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31484 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31487 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31489 * math/libm-test.inc ("Philosophy"): Update comment about
31491 (UNDERFLOW_EXCEPTION): New macro.
31492 (UNDERFLOW_EXCEPTION_OK): Likewise.
31493 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31494 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31495 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31496 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31497 (INVALID_EXCEPTION_OK): Update value.
31498 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31499 (OVERFLOW_EXCEPTION_OK): Likewise.
31500 (IGNORE_ZERO_INF_SIGN): Likewise.
31501 (test_exceptions): Handle underflow exceptions.
31502 (acos_test): Update for underflow exception expectations.
31503 (cexp_test): Likewise.
31504 (clog_test): Likewise.
31505 (clog10_test): Likewise.
31506 (csqrt_test): Likewise.
31507 (ctan_test): Likewise.
31508 (ctanh_test): Likewise.
31509 (exp_test): Likewise.
31510 (exp10_test): Likewise.
31511 (exp2_test): Likewise.
31512 (expm1_test): Likewise.
31513 (fma_test): Likewise.
31514 (j0_test): Likewise.
31515 (jn_test): Likewise.
31516 (nexttoward_test): Likewise.
31517 (pow_test): Likewise.
31518 (scalbn_test): Likewise.
31519 (scalbln_test): Likewise.
31520 (tan_test): Likewise.
31521 (y1_test): Likewise.
31522 * sysdeps/i386/fpu/libm-test-ulps: Update.
31523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31525 2012-05-23 David S. Miller <davem@davemloft.net>
31527 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31528 (__libc_sigaction): Remove unused local variables.
31530 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31532 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31534 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31536 mktime: avoid signed integer overflow
31537 * time/mktime.c (__mktime_internal): Do not mishandle the case
31538 where diff == INT_MIN.
31540 mktime: simplify computation of average
31541 * time/mktime.c (ranged_convert): Use new time_t_avg function
31542 instead of rolling our own (probably-slower) code.
31544 mktime: do not assume signed right shift propagates sign bit
31545 * time/mktime.c (isdst_differ): New static function.
31546 (__mktime_internal): No need to normalize tm_isdst now.
31547 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31550 mktime: merge another wrapv change from gnulib
31551 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31552 from some compilers.
31554 mktime: remove incorrect attempt at unusual arithmetics
31555 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31556 The code didn't really work on such machines anyway.
31557 (TYPE_MINIMUM): Assume two's complement.
31558 (twos_complement_arithmetic): Verify that long_int and time_t
31559 are two's complement (or unsigned, in the latter case).
31561 mktime: check signed shifts on long_int and time_t, too
31562 * time/mktime.c (SHR): Check that shifts work as desired
31563 on the types long_int and time_t too, as SHR is used on
31566 mktime: do not assume 'long' is wide enough
31567 * time/mktime.c (verify): Move decl up.
31568 (long_int): New type.
31569 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31570 to remove assumption in the code that 'long' is wide enough to
31571 store year values. This assumption is not true on x32 and on
31572 some non-glibc platforms.
31574 mktime: merge wrapv change from gnulib
31575 * time/mktime.c (WRAPV): New macro.
31576 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31577 (guess_time_tm, __mktime_internal): Do not assume that signed
31578 integer overflow wraps around; modern compilers generate code
31579 where this assumption is no longer valid.
31581 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31583 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31584 Replace "jmp L(pseudo_end)" with "ret".
31585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31588 2012-05-23 Andreas Jaeger <aj@suse.de>
31590 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31591 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31593 2012-05-23 Andreas Jaeger <aj@suse.de>
31594 Maximilian Attems <max@stro.at>
31596 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31602 code so that pseudo_end is just ret and the stack pointer is
31603 correct also for static library in error case.
31605 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31607 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31608 move to syscalls.list.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31614 * manual/install.texi (Running make install): Do not mention Linux
31615 kernel version for which pt_chown is not needed.
31616 (Linux): Do not mention problems with nscd with 2.0 kernels.
31617 * INSTALL: Regenerated.
31619 2012-05-23 Andreas Jaeger <aj@suse.de>
31621 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31622 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31624 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31625 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31626 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31627 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31628 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31629 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31630 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31631 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31632 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31633 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31634 * sysdeps/unix/sysv/linux/bits/in.h
31635 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31637 2012-05-22 Roland McGrath <roland@hack.frob.com>
31639 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31640 (PREPARE_VERSION): Just use assert instead, it will be elided
31641 under [NDEBUG] anyway.
31643 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31645 * sysdeps/unix/sysv/linux/Makefile: Include
31646 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31647 (sysdep_routines): Remove sysctl.
31648 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31649 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31651 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31652 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31654 2012-05-22 Andreas Jaeger <aj@suse.de>
31656 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31657 that pseudo_end is just ret and the stack pointer is correct also
31658 for static library in error case.
31660 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31663 * nss/nsswitch.c (defconfig_entries): New variable.
31664 (__nss_database_lookup): Don't leak defconfig entries.
31665 (nss_parse_service_list): Don't leak on error paths.
31666 (free_database_entries): New function.
31667 (free_defconfig): New function.
31668 (free_mem): Move common code to free_database_entries.
31670 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31672 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31674 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31676 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31677 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31680 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31681 (INTERNAL_SYSCALL_TYPES): Likewise.
31682 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31683 (LOAD_REGS_TYPES_[1-6]): Likewise.
31684 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31685 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31687 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31690 copysignl for GLIBC_2_0.
31691 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31692 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31694 logbl for GLIBC_2_0.
31695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31696 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31698 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31701 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31703 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31706 * time/mktime.c: Update copyright years.
31708 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31710 mktime: merge comment-quoting-style change from gnulib
31711 * time/mktime.c: Quote 'like this' in comments.
31712 The GNU coding standards suggest that we no longer quote `like this',
31713 as "`" and "'" are typically rendered asymmetrically nowadays.
31714 The typical gnulib style is to quote 'like this' when quoting
31715 code, and "like this" when quoting English.
31717 * time/mktime.c (compile-command): Add "-I.".
31719 mktime: merge mktime-internal.h change from gnulib
31720 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31722 mktime: merge time_r change from gnulib
31723 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31725 mktime: merge DEBUG change from gnulib
31726 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31727 case system <time.h> has a #define.
31729 mktime: merge <sys/types.h> change from gnulib
31730 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31731 since <time.t> is now guaranteed to define time_t.
31733 mktime: merge HAVE_CONFIG_H change from gnulib
31734 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31736 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31741 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31743 (struct rusage): Use anonymous union to pad each field to
31746 2012-05-21 David S. Miller <davem@davemloft.net>
31748 * Makefules (o-iterator): Remove .s cases.
31749 (compile-command.s): Delete.
31750 (COMPILE.s): Delete.
31751 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31753 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31755 * configure.in (libc_cv_predef_stack_protector): Only consider
31756 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31757 * configure: Regenerated.
31759 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31762 New macro. Use R*LP on int and pointer.
31763 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31765 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31766 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31768 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31769 [__WORDSIZE_TIME64_COMPAT32] instead of
31770 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31771 (struct utmp): Likewise.
31772 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31773 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31775 (__WORDSIZE_TIME64_COMPAT32): This.
31776 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31777 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31778 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31779 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31780 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31781 (__WORDSIZE_TIME64_COMPAT32): New macro.
31783 2012-05-21 Andreas Jaeger <aj@suse.de>
31785 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31786 only if [SHARED]. Add prototype for __wcschr_ia32.
31788 2012-05-21 Roland McGrath <roland@hack.frob.com>
31790 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31791 of %rbp unmolested in the jmp_buf while mangling the low bits.
31792 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31793 unmolested high bits of %rbp while demangling the low bits.
31794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31796 2012-05-21 Andreas Jaeger <aj@suse.de>
31798 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31799 * sunrpc/svc_simple.c: Use it for registerrpc.
31800 * sunrpc/xcrypt.c: Use it for passwd2des.
31802 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31804 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31806 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31807 Don't define if [__SYSCALL_WORDSIZE != 32].
31808 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31811 2012-05-21 Bruno Haible <bruno@clisp.org>
31812 Andreas Jaeger <aj@suse.de>
31814 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31815 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31816 inptr and inend for must_buffer_ch.
31817 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31818 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31819 * stdio-common/Makefile (tests): Remove bug15.
31820 (bug15-ENV): Remove macro.
31821 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31824 2012-05-19 Andreas Jaeger <aj@suse.de>
31825 Roland McGrath <roland@hack.frob.com>
31827 * manual/contrib.texi: Completely rewritten. It contains now an
31828 alphabetical list of contributors and their contributions.
31830 2012-05-21 Richard Henderson <rth@twiddle.net>
31832 * misc/getauxval.c (__getauxval): Use unsigned long int.
31833 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31834 (getauxval): Use unsigned long int.
31836 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31840 2012-05-21 Roland McGrath <roland@hack.frob.com>
31842 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31843 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31844 __alignof__ (long double).
31846 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31850 2012-05-20 Richard Henderson <rth@twiddle.net>
31852 * misc/getauxval.c: New file.
31853 * misc/sys/auxv.h: New file.
31854 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31855 (routines): Add getauxval.
31856 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31857 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31858 * elf/dl-sysdep.c (_dl_auxv): Remove.
31859 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31860 * elf/dl-support.c (_dl_auxv): New variable.
31861 (_dl_aux_init): Initialize it.
31862 * manual/startup.texi (Auxiliary Vector): New node.
31863 * sysdeps/generic/bits/hwcap.h: New file.
31864 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31865 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31866 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31867 * sysdeps/sparc/sysdep.h: ... here. Include it.
31868 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31869 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31881 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31885 2012-05-19 David S. Miller <davem@davemloft.net>
31887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31889 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31892 * math/s_ccosh.c: Include <float.h>
31893 (__ccosh): Avoid internal overflow calculating sinh and cosh
31894 values before multiplying by sin and cos values.
31895 * math/s_ccoshf.c: Likewise.
31896 * math/s_ccoshl.c: Likewise.
31897 * math/s_csin.c: Likewise.
31898 * math/s_csinf.c: Likewise.
31899 * math/s_csinl.c: Likewise.
31900 * math/s_csinh.c: Likewise.
31901 * math/s_csinhf.c: Likewise.
31902 * math/s_csinhl.c: Likewise.
31903 * math/libm-test.inc (ccos_test): Add more tests.
31904 (ccosh_test): Likewise.
31905 (csin_test): Likewise.
31906 (csinh_test): Likewise.
31907 * sysdeps/i386/fpu/libm-test-ulps: Update.
31908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31910 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31912 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31913 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31915 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31917 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31920 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31921 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31922 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31923 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31924 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31925 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31926 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31927 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31928 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31929 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31930 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31931 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31932 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31933 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31934 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31935 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31936 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31937 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31938 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31939 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31940 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31941 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31942 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31943 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31944 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31945 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31946 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31947 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31948 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31949 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31951 2012-05-18 Andreas Jaeger <aj@suse.de>
31953 * csu/.gitignore: Delete.
31955 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31957 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31958 (timex): Use __syscall_slong_t.
31960 2012-05-18 Andreas Jaeger <aj@suse.de>
31961 Carlos O'Donell <carlos_odonell@mentor.com>
31963 * manual/install.texi (Configuring and compiling): Update
31964 description about files modified in the source directory.
31965 * INSTALL: Regenerated.
31967 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31969 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31970 value. Use "or" to set return value to -1.
31971 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31972 negate return value.
31974 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31976 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31977 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31978 failure if the compiler has Graphite support disabled.
31979 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31981 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31982 (CFLAGS-memmove.c): Likewise.
31983 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31986 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31988 * sysdeps/x86_64/x32/_itoa.h: New file.
31990 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31991 getdents system call only if kernel and user dirents have the
31992 same d_ino and d_off.
31994 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31995 LLONG_MAX != LONG_MAX.
31996 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31997 (_fitoa_word): Likewise.
31999 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32001 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32002 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32003 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32005 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32006 include <bits/wordsize.h>. Check __x86_64__ instead of
32008 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32009 if __x86_64__ is defined. Use anonymous union on fpstate.
32011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32014 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32016 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32017 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32018 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32019 Refer to _rtld_local_ro instead of _rtld_global_ro.
32020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32022 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32024 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32026 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32027 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32028 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32030 * sysdeps/powerpc/powerpc32/dl-machine.c
32031 (__elf_machine_runtime_setup) [PROF]: Don't reference
32034 2012-05-18 Andreas Jaeger <aj@suse.de>
32036 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32037 function only available for GCCs before 3.4 since GCC 3.4
32038 introduced a builtin.
32040 (llrintf): Likewise.
32041 (llrint): Likewise.
32048 (nearbyint): Likewise.
32049 (nearbyintf): Likewise.
32053 (floorf): Likewise.
32055 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32057 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32058 on both fields and cast pointer to __syscall_ulong_t.
32060 * bits/types.h (__fsword_t): New type.
32061 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32062 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32064 (__FSWORD_T_TYPE): Likewise.
32065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32066 (__FSWORD_T_TYPE): Likewise.
32067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32068 (__FSWORD_T_TYPE): Likewise.
32069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32070 (__FSWORD_T_TYPE): Likewise.
32071 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32072 __SWORD_TYPE with __fsword_t.
32073 (statfs64): Likewise.
32075 2012-05-17 David S. Miller <davem@davemloft.net>
32077 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32079 2012-05-17 Andreas Jaeger <aj@suse.de>
32081 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32084 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32086 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32088 2012-05-17 Andreas Jaeger <aj@suse.de>
32090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32093 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32095 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32097 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32099 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32100 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32102 2012-05-17 Andreas Jaeger <aj@suse.de>
32103 Carlos O'Donell <carlos_odonell@mentor.com>
32106 * sysdeps/x86_64/multiarch/init-arch.h
32107 (bit_YMM_Usable): Rename to...
32108 (bit_AVX_Usable): ... this.
32109 (bit_FMA4_Usable): New macro.
32110 (bit_XMM_state): New macro.
32111 (bit_YMM_state): New macro.
32112 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32113 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32114 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32115 (CPUID_OSXSAVE): New macro.
32116 (CPUID_AVX): New macro.
32117 (CPUID_FMA4): New macro.
32118 (index_YMM_Usable): Rename to...
32119 (index_AVX_Usable): ... this.
32120 (HAS_AVX): Use HAS_ARCH_FEATURE.
32121 (HAS_FMA4): Likewise.
32122 (HAS_YMM_USABLE): Remove.
32123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32124 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32126 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32127 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32128 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32129 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32130 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32132 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32134 * math/libm-test.c: Support platforms without multiple rounding modes.
32135 * math/bug-nextafter.c: Support platforms without FP exceptions.
32136 * math/bug-nexttoward.c: Likewise.
32137 * math/test-fenv.c: Likewise.
32138 * math/test-misc.c: Likewise.
32139 * stdlib/bug-getcontext.c: Likewise.
32141 2012-05-17 Andreas Jaeger <aj@suse.de>
32143 * manual/examples/search.c (critter_cmp): Change signature to
32145 * manual/string.texi (Collation Functions): Likewise.
32147 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32149 * bits/types.h: Fold copyright years.
32150 * bits/typesizes.h: Likewise.
32151 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32155 * time/time.h: Likewise.
32157 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32160 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32161 in instead of returning them. Return void.
32162 (__libc_mallinfo): Accumulate over all arenas.
32163 (__malloc_stats): Adjust for change in int_mallinfo interface.
32165 2012-05-16 Roland McGrath <roland@hack.frob.com>
32168 * configure.in (NM): Add AC_CHECK_TOOL for it.
32169 (libc_extra_cflags): New substituted variable.
32170 Check for -fstack-protector being used implicitly.
32171 * configure: Regenerated.
32172 * config.make.in (config-extra-cflags): New variable,
32173 gets @libc_extra_cflags@.
32174 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32177 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32178 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32179 * configure: Regenerated.
32180 * config.make.in (CPPUNDEFS): New substituted variable.
32181 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32182 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32183 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32185 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32187 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32188 (mq_attr): Use __syscall_slong_t.
32190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32193 Check __x86_64__ instead of __WORDSIZE.
32194 (_STAT_VER_LINUX): Likewise.
32195 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32196 __syscall_ulong_t and __syscall_slong_t.
32197 (stat64): Likewise.
32199 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32201 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32205 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32207 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32209 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32212 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32213 include <bits/wordsize.h>. Check __x86_64__ instead of
32215 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32217 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32220 include <bits/wordsize.h>. Check __x86_64__ instead of
32222 (user_regs_struct): Use "__extension__ unsigned long long"
32223 instead of "unsigned long" if __x86_64__ is defined.
32224 (user): Likewise. Pad after pointer field if __ILP32__ is
32227 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32229 * configure.in (makeinfo): Require version 4.5 or later. Allow
32231 * configure: Regenerated.
32232 * manual/install.texi (texinfo): Increase version requirement to
32234 * INSTALL: Regenerated.
32236 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32240 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32242 * sysdeps/x86_64/x32/ffs.c: New file.
32244 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32246 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32247 defined. Use __syscall_ulong_t.
32248 (shminfo): Use __syscall_ulong_t.
32249 (shm_info): Likewise.
32251 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32254 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32256 (msgqnum_t): Use __syscall_ulong_t.
32257 (msglen_t): Likewise.
32258 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32261 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32262 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32264 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32266 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32267 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32269 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32272 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32273 include <bits/wordsize.h>. Check __x86_64__ instead of
32276 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32277 "unsigned long long int" if __x86_64__ is defined.
32278 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32281 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32282 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32284 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32286 (GET_PC): Cast to uintptr_t first.
32287 (GET_FRAME): Likewise.
32288 (GET_STACK): Likewise.
32290 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32291 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32296 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32299 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32303 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32315 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32320 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32322 * Makerules (+depfiles): Also collect depfiles from .oS in
32324 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32325 .oS, $(libnldbl-routines)).
32327 * Makerules (native-compile-mkdep-flags): Define.
32328 * sunrpc/Makefile (extra-objs): Add $(addprefix
32329 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32330 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32331 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32332 calling $(make-target-directory).
32334 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32336 * bits/types.h (__snseconds_t): Removed.
32337 * time/time.h (struct timespec): Replace __snseconds_t with
32339 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32340 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32343 (__SNSECONDS_T_TYPE): Likewise.
32344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32345 (__SNSECONDS_T_TYPE): Likewise.
32346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32347 (__SNSECONDS_T_TYPE): Likewise.
32349 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32351 * sysdeps/mach/hurd/bits/typesizes.h
32352 (__SYSCALL_SLONG_TYPE): New macro.
32353 (__SYSCALL_ULONG_TYPE): Likewise.
32355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32357 * bits/types.h (__syscall_slong_t): New type.
32358 (__syscall_ulong_t): Likewise.
32360 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32361 (__SYSCALL_ULONG_TYPE): Likewise.
32362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32363 (__SYSCALL_SLONG_TYPE): Likewise.
32364 (__SYSCALL_ULONG_TYPE): Likewise.
32365 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32366 (__SYSCALL_SLONG_TYPE): Likewise.
32367 (__SYSCALL_ULONG_TYPE): Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32369 (__SYSCALL_SLONG_TYPE): Likewise.
32370 (__SYSCALL_ULONG_TYPE): Likewise.
32372 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32375 Add sigaltstack-offsets.sym.
32376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32377 <sigaltstack-offsets.h>.
32378 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32379 longjmp_msg pointer.
32380 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32381 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32383 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32385 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32387 * elf/stackguard-macros.h: Remove file.
32388 * sysdeps/generic/stackguard-macros.h: New file.
32389 * sysdeps/i386/stackguard-macros.h: Likewise.
32390 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32391 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32392 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32393 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32394 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32395 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32396 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32397 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32398 <elf/stackguard-macros.h>.
32401 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32402 __aligned__ in attribute.
32403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32404 (gregset_t): Likewise.
32406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32408 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32409 * sysdeps/x86_64/64/Implies-after: Here. New file.
32410 * sysdeps/x86_64/x32/Implies-after: New file.
32412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32414 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32415 and access return value for _dl_profile_fixup. Use R10_LP to
32418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32420 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32424 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32425 * sysdeps/x86_64/x32/sysdep.h: New file.
32427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32429 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32430 * sysdeps/x86_64/setjmp.S: Likewise.
32432 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32436 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32438 remove unused global constant.
32440 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32442 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32443 include of <not-cancel.h>.
32445 2012-05-15 Roland McGrath <roland@hack.frob.com>
32447 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32449 2012-05-15 Jeff Law <law@redhat.com>
32450 Andreas Jaeger <aj@suse.de>
32453 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32455 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32456 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32457 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32458 code changing __hst_map_handle.map.
32460 2012-05-15 Roland McGrath <roland@hack.frob.com>
32462 * configure.in (sysnames): Look for Implies-before and Implies-after
32464 * configure: Regenerated.
32466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32469 8-byte data alignment with LP_SIZE alignment.
32471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32473 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32476 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32480 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32482 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32483 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32484 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32490 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32491 (stackinfo_sub_sp): Likewise.
32493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32495 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32500 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32510 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32514 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32515 into R11_LP and load __x86_64_shared_cache_size_half into
32518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32523 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32527 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32529 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32531 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32532 powerpc32/power7/fpu/s_logb.c via #include.
32533 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32534 powerpc32/power7/fpu/s_logbf.c via #include.
32535 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32536 powerpc32/power7/fpu/s_logbl.c via #include.
32538 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32540 * README.libm: Remove file.
32542 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32544 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32545 count for x32. Use R*_LP and omit operand-size suffix.
32547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32549 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32550 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32551 * sysdeps/x86_64/x32/shlib-versions: New file.
32553 2012-05-14 Roland McGrath <roland@hack.frob.com>
32555 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32556 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32557 Use _dl_fatal_printf instead.
32559 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32561 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32562 set if not set by the user. Do not allow for being unset.
32563 * sysdeps/unix/sysv/linux/configure: Regenerated.
32565 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32568 the `q' suffix from lea and replace .quad with ASM_ADDR.
32570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32573 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32575 (PTR_DEMANGLE): Likewise.
32577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32579 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32581 (ASM_ADDR): Likewise.
32582 (RAX_LP): Likewise.
32583 (RBP_LP): Likewise.
32584 (RBX_LP): Likewise.
32585 (RCX_LP): Likewise.
32586 (RDI_LP): Likewise.
32587 (RSI_LP): Likewise.
32588 (RSP_LP): Likewise.
32591 (R10_LP): Likewise.
32592 (R10_LP): Likewise.
32593 (R11_LP): Likewise.
32594 (R12_LP): Likewise.
32595 (R13_LP): Likewise.
32596 (R14_LP): Likewise.
32597 (R15_LP): Likewise.
32599 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32601 * sysdeps/x86_64/x32/dl-machine.h: New file.
32603 2012-05-14 Andreas Jaeger <aj@suse.de>
32605 * manual/Makefile (subdir): Remove export of subdir.
32606 (all): Remove target.
32607 (.PHONY): Remove all from list.
32608 (mkinstalldirs): Remove.
32609 (.PHONY): Remove installdirs from list.
32610 ($(inst_infodir)/libc.info): Use make-target-directory.
32611 (installdirs): Remove.
32612 (subdir_%): Remove.
32613 (glibc-targets): Remove.
32616 ($(objpfx)stubs ../po/manual.pot): Remove.
32617 ($(objpfx)stamp%): Remove.
32618 (make-target-directory): Remove.
32619 (subdir_install): Remove.
32620 (routines): Remove.
32627 * manual/.gitignore: Remove, it's not needed anymore.
32628 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32630 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32632 (texis): Renamed to $(objpfx)texis.
32633 (texis-path): New, contains path to generated files.
32634 (chapters.%): Use texis-path for complete path, add extra argument
32636 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32637 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32638 (summary,texi, stamp-summary): Use complete path of
32639 files. Generate files in build dir.
32640 (dir-add.texi): Build in build dir.
32641 (libm-err.texi,stamp-libm-err): Likewise.
32642 (version.texi, stamp-version): Likewise.
32643 (.%c.texi): Likewise.
32644 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32645 (mostlyclean): Remove target.
32646 (realclean): Remove target.
32647 (generated): Add new variable with contents from mostlyclean and
32648 realclean, remove entries duplicated in common-mostlyclean, add
32649 stamp-libm-err and stamp-version.
32650 (generated-dirs): Add libc directory.
32651 ($(inst_infodir)/libc.info): Install files from build dir.
32653 * manual/install.texi (Configuring and compiling): Adjust since
32654 the info files are not part of the tar ball anymore.
32656 2012-05-14 Andreas Jaeger <aj@suse.de>
32658 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32661 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32665 to 2.2.0 where earlier.
32666 * sysdeps/unix/sysv/linux/configure: Regenerated.
32667 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32668 Remove conditional code.
32669 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32670 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32671 Remove conditional code.
32672 [!__NR_lchown]: Likewise.
32673 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32674 [__NR_lchown]: Likewise.
32675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32676 comment referencing __ASSUME_LCHOWN_SYSCALL.
32677 * sysdeps/unix/sysv/linux/i386/sigaction.c
32678 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32679 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32680 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32681 Remove conditional code.
32682 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32683 (__protocol_available): Remove #if 0 code.
32684 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32686 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32687 * sysdeps/unix/sysv/linux/kernel-features.h
32688 (__ASSUME_GETCWD_SYSCALL): Don't define.
32689 (__ASSUME_REALTIME_SIGNALS): Likewise.
32690 (__ASSUME_PREAD_SYSCALL): Likewise.
32691 (__ASSUME_PWRITE_SYSCALL): Likewise.
32692 (__ASSUME_POLL_SYSCALL): Likewise.
32693 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32694 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32696 (__ASSUME_SIOCGIFNAME): Don't define.
32697 (__ASSUME_MSG_NOSIGNAL): Likewise.
32698 (__ASSUME_SENDFILE): Define unconditionally.
32699 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32700 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32702 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32703 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32704 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32705 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32706 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32707 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32708 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32713 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32719 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32725 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32734 Remove conditional code.
32735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32736 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32737 Remove conditional code.
32738 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32739 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32740 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32741 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32742 Remove conditional code.
32743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32744 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32745 Remove conditional code.
32746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32747 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32748 Remove conditional code.
32749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32750 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32751 Remove conditional code.
32752 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32753 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32754 Remove conditional code.
32755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32756 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32757 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32758 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32759 * sysdeps/unix/sysv/linux/sigaction.c
32760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32762 * sysdeps/unix/sysv/linux/sigpending.c
32763 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32764 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/sigprocmask.c
32766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32768 * sysdeps/unix/sysv/linux/sigsuspend.c
32769 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32770 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32772 (__libc_missing_rt_sigs): Remove.
32773 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32774 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32775 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32776 Remove conditional code.
32777 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32778 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32780 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32781 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32783 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32785 2012-05-14 Andreas Jaeger <aj@suse.de>
32787 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32788 it's not used in glibc.
32789 (__coshm1): Likewise.
32790 (__acosh1p): Likewise.
32793 * manual/string.texi (Copying and Concatenation): Add missing
32794 variable in concat example.
32795 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32797 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32801 __builtin_clzl with __builtin_clzll.
32803 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32806 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32809 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32811 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32812 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32813 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32814 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32816 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32818 * NEWS: Update ia64 info.
32820 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32822 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32825 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32827 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32828 * sysdeps/unix/syscalls.list (dup3): Likewise.
32829 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32830 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32832 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32834 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32835 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32837 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32839 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32841 (TLS_IE): Use mov/add instead of movq/addq to load thread
32843 (TLS_GD_PREFIX): New.
32846 2012-05-11 David S. Miller <davem@davemloft.net>
32848 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32849 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32850 (_FPU_SETCW): Likewise.
32852 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32854 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32855 is 32-byte aligned.
32857 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32860 * iconvdata/gb18030.c: Update tables.
32861 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32862 characters specially.
32863 (BODY for TO_LOOP): Add encoding of missing ranges.
32865 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32868 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32869 * sysdeps/mach/hurd/dup3.c: Likewise.
32870 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32871 * sysdeps/powerpc/memmove.c:: Likewise.
32873 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32875 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32876 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32878 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32880 * elf/elf.h (R_X86_64_RELATIVE64): New.
32881 (R_X86_64_NUM): Updated.
32882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32883 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32884 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32885 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32886 tst-quad1pie tst-quad2pie
32887 (modules-names): Add tst-quadmod1 tst-quadmod2.
32888 ($(objpfx)tst-quad1): New dependency.
32889 ($(objpfx)tst-quad2): Likewise.
32890 ($(objpfx)tst-quad1pie): Likewise.
32891 ($(objpfx)tst-quad2pie): Likewise.
32892 * sysdeps/x86_64/tst-quad1.c: New file.
32893 * sysdeps/x86_64/tst-quad1pie.c: New file.
32894 * sysdeps/x86_64/tst-quad2.c: Likewise.
32895 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32896 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32897 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32898 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32899 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32901 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32903 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32904 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32905 * streams/stropts.h (t_scalar_t): Define type.
32907 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32908 (_PATH_PRESERVE): Set to "/var/lib".
32909 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32911 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32914 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32915 if __dir_mkfile succeeded.
32917 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32918 checking for _hurd_dtablesize. Unlock it right after having
32919 finished _hurd_dtable allocation.
32921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32923 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32924 * sysdeps/mach/hurd/configure: Regenerated.
32925 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32926 special-casing to...
32927 * sysdeps/gnu/configure.in: ... this new file.
32928 * sysdeps/unix/sysv/linux/configure: Regenerated.
32929 * sysdeps/gnu/configure: New generated file.
32931 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32932 for Linux: use nsec instead of usec, as well as:
32933 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32934 members of type struct timespec.
32935 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32937 (struct stat64): Likewise.
32938 (_STATBUF_ST_NSEC): New macro.
32939 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32941 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32942 __strtoul_internal rather than strtoul.
32944 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32946 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32951 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32952 which preserves existing values.
32953 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32955 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32957 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32958 TIMEOUT values. Return EINVAL for NFDS values either negative or
32959 greater than FD_SETSIZE.
32961 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32963 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32964 allocated, call __vm_protect to finish enabling the existing space, and
32965 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32966 allocate the remainder.
32968 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32970 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32971 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32975 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32976 sysdeps/mach/hurd/readlink.c.
32978 * posix/tst-sysconf.c (posix_options): Only use
32979 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32980 _POSIX_SYNCHRONIZED_IO when they are defined
32981 * sysdeps/mach/hurd/bits/posix_opt.h:
32982 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32983 (_XOPEN_REALTIME): Undefine macro.
32984 (_XOPEN_REALTIME_THREADS): Undefine macro.
32985 (_XOPEN_SHM): Undefine macro.
32986 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32988 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32990 (_POSIX_ASYNC_IO): Undefine macro.
32991 (_POSIX_PRIORITIZED_IO): Undefine macro.
32992 (_POSIX_SPIN_LOCKS): Define macro to -1.
32994 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32995 SA_NODEFER, SA_RESETHAND.
32996 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32997 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33002 * elf/Makefile (pldd-modules): Define unconditionally.
33004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33006 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33010 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33011 Return ENOENT when name is empty.
33012 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33016 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33018 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33022 Fix mlock in all cases except non-readable pages.
33023 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33024 instead of VM_PROT_ALL as parameter to __vm_wire function.
33026 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33027 (__mkdir): When path is `/', just fail with EEXIST.
33028 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33030 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33032 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33033 <sys/uio.h> (for writev).
33034 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33035 and <sys/param.h> (for MIN).
33037 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33039 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33040 REQUESTED_TIME. Properly set the remaining time and return EINTR
33043 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33045 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33046 Depend on against $(link-rpcuserlibs).
33048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33050 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33051 (__libc_stack_end): Do not use attribute_relro.
33052 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33053 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33054 to libthread-provided value.
33055 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33058 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33061 * bits/libc-lock.h (__libc_once_get): New macro.
33062 * sysdeps/mach/bits/libc-lock.h: Likewise.
33063 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33065 instead of using implementation details.
33067 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33068 * libio/freopen.c: Likewise.
33069 * libio/freopen64.c: Likewise.
33070 * misc/syslog.c: Likewise.
33071 * nscd/connections.c: Likewise.
33072 * nscd/netgroupcache.c: Likewise.
33073 * sysdeps/posix/getcwd.c: Likewise.
33075 2012-05-10 Roland McGrath <roland@hack.frob.com>
33077 * math/w_ilogbf.c: Add #include <limits.h>.
33079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33081 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33082 path instead of returning without unlocking.
33084 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33085 immediate-write ioctls.
33086 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33088 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33090 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33091 __builtin_frame_address instead of making assumptions about the
33092 location of the return address relative to DATA. Force early load of
33093 the return address.
33094 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33095 __builtin_frame_address.
33098 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33099 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33100 implement dup3 and do some further code clean-ups.
33101 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33102 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33104 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33106 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33108 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33109 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33110 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33111 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33112 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33115 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33116 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33117 when handler == SIG_ERR, not when handler != SIG_ERR.
33119 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33121 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33122 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33125 accept4 for GNU Hurd.
33126 * include/sys/socket.h (__libc_accept4): New prototype.
33127 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33128 to implement __libc_accept4.
33129 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33131 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33133 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33134 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33135 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33136 signal-defines.sym.
33138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33140 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33142 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33144 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33145 assertion on O_CLOEXEC flag.
33146 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33147 * hurd/intern-fd.c: Likewise.
33148 * hurd/port2fd.c: Likewise.
33150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33153 * bits/in.h (IPV6_PKTINFO): Define new macro.
33154 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33156 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33161 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33163 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33166 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33167 * math/libm-test.inc (logb_test) : Additional logb tests.
33169 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33170 Andreas Jaeger <aj@suse.de>
33172 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33173 * configure: Regenerated.
33174 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33175 * config.make.in (link-obsolete-rpc): New substituted variable.
33176 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33177 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33178 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33179 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33180 so that libc.a contains the symbols.
33181 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33182 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33183 * sunrpc/auth_none.c: Likewise.
33184 * sunrpc/auth_unix.c: Likewise.
33185 * sunrpc/authdes_prot.c: Likewise.
33186 * sunrpc/authuxprot.c: Likewise.
33187 * sunrpc/clnt_gen.c: Likewise.
33188 * sunrpc/clnt_perr.c: Likewise.
33189 * sunrpc/clnt_raw.c: Likewise.
33190 * sunrpc/clnt_simp.c: Likewise.
33191 * sunrpc/clnt_tcp.c: Likewise.
33192 * sunrpc/clnt_udp.c: Likewise.
33193 * sunrpc/clnt_unix.c: Likewise.
33194 * sunrpc/des_crypt.c: Likewise.
33195 * sunrpc/des_soft.c: Likewise.
33196 * sunrpc/get_myaddr.c: Likewise.
33197 * sunrpc/key_call.c: Likewise.
33198 * sunrpc/key_prot.c: Likewise.
33199 * sunrpc/netname.c: Likewise.
33200 * sunrpc/pm_getmaps.c: Likewise.
33201 * sunrpc/pm_getport.c: Likewise.
33202 * sunrpc/pmap_clnt.c: Likewise.
33203 * sunrpc/pmap_prot.c: Likewise.
33204 * sunrpc/pmap_prot2.c: Likewise.
33205 * sunrpc/pmap_rmt.c: Likewise.
33206 * sunrpc/publickey.c: Likewise.
33207 * sunrpc/rpc_cmsg.c: Likewise.
33208 * sunrpc/rpc_common.c: Likewise.
33209 * sunrpc/rpc_dtable.c: Likewise.
33210 * sunrpc/rpc_prot.c: Likewise.
33211 * sunrpc/rpc_thread.c: Likewise.
33212 * sunrpc/rtime.c: Likewise.
33213 * sunrpc/svc.c: Likewise.
33214 * sunrpc/svc_auth.c: Likewise.
33215 * sunrpc/svc_raw.c: Likewise.
33216 * sunrpc/svc_run.c: Likewise.
33217 * sunrpc/svc_tcp.c: Likewise.
33218 * sunrpc/svc_udp.c: Likewise.
33219 * sunrpc/svc_unix.c: Likewise.
33220 * sunrpc/svcauth_des.c: Likewise.
33221 * sunrpc/xcrypt.c: Likewise.
33222 * sunrpc/xdr.c: Likewise.
33223 * sunrpc/xdr_array.c: Likewise.
33224 * sunrpc/xdr_float.c: Likewise.
33225 * sunrpc/xdr_intXX_t.c: Likewise.
33226 * sunrpc/xdr_mem.c: Likewise.
33227 * sunrpc/xdr_rec.c: Likewise.
33228 * sunrpc/xdr_ref.c: Likewise.
33229 * sunrpc/xdr_sizeof.c: Likewise.
33230 * sunrpc/xdr_stdio.c: Likewise.
33232 2012-05-10 Roland McGrath <roland@hack.frob.com>
33234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33235 change. Update copyright years.
33237 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33239 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33241 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33242 Joseph Myers <joseph@codesourcery.com>
33243 Paul Pluzhnikov <ppluzhnikov@google.com>
33246 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33248 [cross-compiling] (extra-libs): Likewise.
33249 [cross-compiling] (extra-libs-others): Likewise.
33250 [cross-compiling] (librpcsvc-routines): Likewise.
33251 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33252 [cross-compiling] (omit-deps): Likewise.
33253 (sunrpc-CPPFLAGS): New variable.
33254 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33255 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33256 (cross-rpcgen-objs): New variable.
33257 (extra-objs): Append $(cross-rpcgen-objs).
33258 ($(cross-rpcgen-objs)): New rule.
33259 ($(objpfx)cross-rpcgen): Likewise.
33260 (rpcgen-cmd): Define to use $(built-program-file). Expand
33262 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33263 ($(objpfx)x%.stmp): Likewise.
33264 * sunrpc/proto.h [IS_IN_build] (_): Define.
33265 [IS_IN_build] (_libc_intl_domainname): Likewise.
33267 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33270 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33271 and R_X86_64_TPOFF64.
33273 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33275 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33276 sysdeps/unix/sysv/syscalls.list.
33279 * sysdeps/unix/sysv/syscalls.list: Remove file.
33281 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33284 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33285 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33286 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33287 (__LC_IDENTIFICATION): Make these macros useful in #if
33288 expressions, as required by C99.
33290 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33292 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33293 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33296 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33298 * stdlib/longlong.h: Updated from GCC.
33300 2012-05-09 Andreas Jaeger <aj@suse.de>
33302 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33303 default is first entry.
33304 (run_mode): Set type.
33305 (main): Remove informal message about syslog.
33306 (options): Fix typo.
33309 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33312 (llrintf): Likewise.
33313 (llrint): Likewise.
33316 (nearbyint): Likewise.
33317 (nearbyintf): Likewise.
33319 2012-05-09 Andreas Jaeger <aj@suse.de>
33320 Pedro Alves <palves@redhat.com>
33322 * nscd/nscd.c (run_mode): Use enum.
33323 (main): Cleanup coding style issue.
33325 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33326 Andreas Jaeger <aj@suse.de>
33328 * nscd/nscd.c (go_background): Replaced with...
33329 (run_mode): ... this.
33330 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33331 (options): Add -F --foreground.
33332 (main): Implement it.
33333 (parse_opt): Parse it.
33335 2012-05-09 Andreas Jaeger <aj@suse.de>
33338 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33339 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33340 -Wconversion warning.
33341 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33344 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33346 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33348 (LC_ALL): Use macro-int-constant.
33349 (LC_COLLATE): Likewise.
33350 (LC_CTYPE): Likewise.
33351 (LC_MESSAGES): Likewise.
33352 (LC_MONETARY): Likewise.
33353 (LC_NUMERIC): Likewise.
33354 (LC_TIME): Likewise.
33355 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33356 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33358 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33360 [C99-based standards] (float_t): Expect type.
33361 [C99-based standards] (double_t): Expect type.
33362 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33364 [C99-based standards] (HUGE_VALL): Likewise.
33365 [C99-based standards] (INFINITY): Likewise.
33366 [C99-based standards] (NAN): Likewise.
33367 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33368 [C99-based standards] (FP_NAN): Likewise.
33369 [C99-based standards] (FP_NORMAL): Likewise.
33370 [C99-based standards] (FP_SUBNORMAL): Likewise.
33371 [C99-based standards] (FP_ZERO): Likewise.
33372 [C99-based standards] (FP_FAST_FMA): Use
33373 optional-macro-int-constant. Specify type. Require == 1.
33374 [C99-based standards] (FP_FAST_FMAF): Likewise.
33375 [C99-based standards] (FP_FAST_FMAL): Likewise.
33376 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33377 [C99-based standards] (FP_ILOGBNAN): Likewise.
33378 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33380 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33381 [C99-based standards] (math_errhandling): Specify type.
33382 [ISO99 || ISO11] (signgam): Do not allow.
33383 [non-C99-based standards] (copysignf): Do not allow.
33384 [non-C99-based standards] (exp2f): Likewise.
33385 [non-C99-based standards] (log2f): Likewise.
33386 [non-C99-based standards] (modff): Allow.
33387 [non-C99-based standards] (erff): Do not allow.
33388 [non-C99-based standards] (erfcf): Likewise.
33389 [non-C99-based standards] (gammaf): Likewise.
33390 [non-C99-based standards] (hypotf): Likewise.
33391 [non-C99-based standards] (j0f): Likewise.
33392 [non-C99-based standards] (j1f): Likewise.
33393 [non-C99-based standards] (jnf): Likewise.
33394 [non-C99-based standards] (lgammaf): Likewise.
33395 [non-C99-based standards] (tgammaf): Likewise.
33396 [non-C99-based standards] (y0f): Likewise.
33397 [non-C99-based standards] (y1f): Likewise.
33398 [non-C99-based standards] (ynf): Likewise.
33399 [non-C99-based standards] (isnanf): Likewise.
33400 [non-C99-based standards] (acoshf): Likewise.
33401 [non-C99-based standards] (asinhf): Likewise.
33402 [non-C99-based standards] (atanhf): Likewise.
33403 [non-C99-based standards] (cbrtf): Likewise.
33404 [non-C99-based standards] (expm1f): Likewise.
33405 [non-C99-based standards] (ilogbf): Likewise.
33406 [non-C99-based standards] (log1pf): Likewise.
33407 [non-C99-based standards] (logbf): Likewise.
33408 [non-C99-based standards] (nextafterf): Likewise.
33409 [non-C99-based standards] (remainderf): Likewise.
33410 [non-C99-based standards] (rintf): Likewise.
33411 [non-C99-based standards] (scalbf): Likewise.
33412 [non-C99-based standards] (copysignl): Likewise.
33413 [non-C99-based standards] (exp2l): Likewise.
33414 [non-C99-based standards] (log2l): Likewise.
33415 [non-C99-based standards] (modfl): Allow.
33416 [non-C99-based standards] (erfl): Do not allow.
33417 [non-C99-based standards] (erfcl): Likewise.
33418 [non-C99-based standards] (gammal): Likewise.
33419 [non-C99-based standards] (hypotl): Likewise.
33420 [non-C99-based standards] (j0l): Likewise.
33421 [non-C99-based standards] (j1l): Likewise.
33422 [non-C99-based standards] (jnl): Likewise.
33423 [non-C99-based standards] (lgammal): Likewise.
33424 [non-C99-based standards] (tgammal): Likewise.
33425 [non-C99-based standards] (y0l): Likewise.
33426 [non-C99-based standards] (y1l): Likewise.
33427 [non-C99-based standards] (ynl): Likewise.
33428 [non-C99-based standards] (isnanl): Likewise.
33429 [non-C99-based standards] (acoshl): Likewise.
33430 [non-C99-based standards] (asinhl): Likewise.
33431 [non-C99-based standards] (atanhl): Likewise.
33432 [non-C99-based standards] (cbrtl): Likewise.
33433 [non-C99-based standards] (expm1l): Likewise.
33434 [non-C99-based standards] (ilogbl): Likewise.
33435 [non-C99-based standards] (log1pl): Likewise.
33436 [non-C99-based standards] (logbl): Likewise.
33437 [non-C99-based standards] (nextafterl): Likewise.
33438 [non-C99-based standards] (remainderl): Likewise.
33439 [non-C99-based standards] (rintl): Likewise.
33440 [non-C99-based standards] (scalbl): Likewise.
33441 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33442 [non-C99-based standards] (FP_*): Do not allow.
33443 [C99-based standards] (FP_*): Change to
33444 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33445 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33447 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33448 (SIG_ERR): Likewise.
33449 [X/Open-based standards] (SIG_HOLD): Likewise.
33450 (SIG_IGN): Likewise.
33451 (SIGABRT): Use macro-int-constant. Specify type. Require
33453 (SIGFPE): Likewise.
33454 (SIGILL): Likewise.
33455 (SIGINT): Likewise.
33456 (SIGSEGV): Likewise.
33457 (SIGTER): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33476 [X/Open-based standards] (SIGTRAP): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33481 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33484 2012-05-08 Ian Wienand <ianw@vmware.com>
33487 * time/tzset.c (__tzset_parse_tz): Update default rules for
33488 daylight time changes in the Energy Policy Act of 2005.
33490 2012-05-09 Andreas Jaeger <aj@suse.de>
33493 * elf/ldconfig.c (parse_conf): Change string to make clear that
33494 ldconfig only issued a warning if ld.so.conf does not exist.
33496 2012-05-08 David S. Miller <davem@davemloft.net>
33498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33499 movxtod instead of popping the value on the stack.
33501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33503 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33505 * config.h.in: Add HAVE_ARM_PCS_VFP.
33507 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33510 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33511 checking but the checks are disabled for any reason.
33513 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33515 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33516 and ELF64_R_TYPE with ELFW(R_TYPE).
33518 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33520 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33521 (ulimit): Likewise.
33523 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33524 (settimeofday): Likewise.
33526 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33528 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33529 a struct th_u2 inside the union, and move tu_block/tu_code into
33530 a new th_u3 union of tu_block/tu_code inside of that. Move
33531 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33532 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33533 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33534 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33535 (th_stuff): Change to th_u1.tu_stuff.
33537 (th_msg): Change to th_u1.th_u2.tu_data.
33539 2012-05-07 David S. Miller <davem@davemloft.net>
33541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33544 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33545 (SETUP_PIC_REG): Use it.
33546 (SETUP_PIC_REG_LEAF): Use it.
33548 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33552 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33554 (EXPL_FINITE): Likewise.
33555 (FLDLOG): Likewise.
33556 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33557 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33561 (EXPL_FINITE): Likewise.
33562 (FLDLOG): Likewise.
33563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33564 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33566 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33567 test of -max_value argument for long double.
33568 * sysdeps/i386/fpu/libm-test-ulps: Update.
33569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33571 2012-05-06 David S. Miller <davem@davemloft.net>
33573 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33574 quad soft-float symbols whose references which are compiler
33576 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33578 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33582 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33584 (EXPL_FINITE): Likewise.
33585 (FLDLOG): Likewise.
33588 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33589 Adjust comments for base varying.
33590 (__expl_finite): Change alias to EXPL_FINITE.
33591 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33593 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33594 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33595 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33596 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33597 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33599 (EXPL_FINITE): Likewise.
33600 (FLDLOG): Likewise.
33603 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33604 Adjust comments for base varying.
33605 (__expl_finite): Change alias to EXPL_FINITE.
33606 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33611 * math/libm-test.inc (check_float_internal): Correct ulp
33612 calculation for subnormal expected results.
33614 2012-05-06 Andreas Jaeger <aj@suse.de>
33616 * Makeconfig (+math-flags): New, set to -frounding-math.
33617 (+cflags): Add +math-flags so that all of glibc gets compiled with
33620 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33622 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33624 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33630 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33631 (__ieee754_expl): Allow for and saturate large arguments.
33632 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33633 (u_threshold): Likewise.
33634 (__exp): Call __ieee754_exp before checking for overflow and
33636 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33637 (u_threshold): Likewise.
33638 (__expf): Call __ieee754_expf before checking for overflow and
33640 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33641 (u_threshold): Likewise.
33642 (__expl): Call __ieee754_expl before checking for overflow and
33644 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33645 (__ieee754_expl): Allow for and saturate large arguments.
33646 * math/libm-test.inc (exp_test): Add another test. Do not allow
33647 missing overflow exception on overflow.
33648 (expm1_test): Do not allow missing overflow exception on overflow.
33650 * sysdeps/i386/fpu/e_expl.c: Move to ...
33651 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33652 rather than using inline asm.
33653 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33654 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33655 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33657 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33660 (signal): Likewise.
33664 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33666 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33667 sysdeps/unix/common/syscalls.list.
33668 (fchmod): Likewise.
33669 (fchown): Likewise.
33670 (ftruncate): Likewise.
33671 (getrusage): Likewise.
33672 (gettimeofday): Likewise.
33673 (setpgid): Likewise.
33674 (setregid): Likewise.
33675 (setreuid): Likewise.
33676 (sigaction): Likewise.
33677 (truncate): Likewise.
33678 (vhangup): Likewise.
33679 * sysdeps/unix/common/syscalls.list: Remove file.
33680 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33681 * sysdeps/unix/sysv/linux/Implies: Likewise.
33683 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33685 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33687 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33691 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33694 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33697 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33700 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33703 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33706 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33709 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33713 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33715 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33717 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33720 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33724 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33728 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33730 * sysdeps/unix/common/bits/dirent.h: Remove file.
33731 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33733 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33734 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33735 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33736 * sysdeps/unix/bsd/isatty.c: Likewise.
33737 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33738 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33739 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33741 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33744 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33745 long double comparison inaccuracies.
33746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33749 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33751 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33754 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33757 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33758 nonzero digits before rounding a hex value.
33759 * stdlib/tst-strtod.c (tests): Add another test.
33761 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33763 * sysdeps/s390/fpu/libm-test-ulps: Update.
33765 2012-05-03 Andreas Jaeger <aj@suse.de>
33767 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33768 does not get optimized out.
33769 (malloc_opt_barrier): New.
33771 2012-05-03 Andreas Jaeger <aj@suse.de>
33772 Roland McGrath <roland@hack.frob.com>
33774 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33775 intermediate file deletion.
33776 (generated): Add .symlist files.
33778 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33781 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33782 Redirect under this condition.
33783 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33784 [__USE_GNU] (__dprintf_chk): Not under this condition.
33785 [__USE_GNU] (__vdprintf_chk): Likewise.
33786 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33787 under this condition.
33788 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33789 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33790 [__USE_XOPEN2K8] (vdprintf): Likewise.
33791 [__USE_GNU] (__dprintf_chk): Not under this condition.
33792 [__USE_GNU] (__vdprintf_chk): Likewise.
33793 [__USE_GNU] (dprintf): Likewise.
33794 [__USE_GNU] (vdprintf): Likewise.
33796 2012-05-03 Roland McGrath <roland@hack.frob.com>
33798 * elf/Makefile (common-generated): Set this instead of generated for
33799 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33800 $(all-built-dso)-derived lists.
33802 2012-05-03 Andreas Jaeger <aj@suse.de>
33804 * sysdeps/i386/fpu/libm-test-ulps: Update.
33807 * FAQ.in: Likewise.
33808 * scripts/gen-FAQ.pl: Likewise.
33809 * manual/install.texi (Installation): Point to online location of
33811 * Makefile (files-for-dist): Remove FAQ.
33814 2012-05-02 Allan McRae <allan@archlinux.org>
33816 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33817 (LDFLAGS-reldepmod5.so): Likewise.
33818 (LDFLAGS-reldep6mod1.so): Likewise.
33819 (LDFLAGS-reldep6mod4.so): Likewise.
33820 (LDFLAGS-reldep8mod3.so): Likewise.
33821 (LDFLAGS-unload4mod1.so): Likewise.
33822 (LDFLAGS-unload4mod2.so): Likewise.
33823 (LDFLAGS-tst-initorder): Likewise.
33824 (LDFLAGS-tst-initordera2.so): Likewise.
33825 (LDFLAGS-tst-initordera3.so): Likewise.
33826 (LDFLAGS-tst-initordera4.so): Likewise.
33827 (LDFLAGS-tst-initorderb2.so): Likewise.
33828 (LDFLAGS-noload): Likewise.
33829 (LDFLAGS-next): Likewise.
33830 (LDFLAGS-order2mod1.so): Likewise.
33831 (LDFLAGS-order2mod2.so): Likewise.
33832 (LDFLAGS-tst-initorder2): Likewise.
33833 (LDFLAGS-tst-initorder2a.so): Likewise.
33834 (LDFLAGS-tst-initorder2b.so): Likewise.
33835 (LDFLAGS-tst-initorder2c.so): Likewise.
33836 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33838 2012-05-02 David S. Miller <davem@davemloft.net>
33840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33842 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33845 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33847 2012-05-02 Andreas Jaeger <aj@suse.de>
33849 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33850 since we manipulate rounding mode.
33851 (CPPFLAGS-test-idouble.c): Likewise.
33852 (CPPFLAGS-test-ifloat.c): Likewise.
33853 (CFLAGS-test-ldouble.c): Likewise.
33854 (CFLAGS-test-double.c): Likewise.
33855 (CFLAGS-test-float.c): Likewise.
33856 (CFLAGS-test-misc.c): Likewise.
33857 (CFLAGS-test-test-fenv.c): Likewise.
33859 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33864 comparisons to determine direction to adjust input.
33866 2012-05-01 Roland McGrath <roland@hack.frob.com>
33868 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33869 output to the target.
33871 * scripts/localplt.awk: New file.
33872 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33873 (check-localplt-CFLAGS): Variable removed.
33874 ($(all-built-dso:=.jmprel)): New static pattern rule.
33875 (generated): Add those targets.
33876 (localplt-built-dso): New variable.
33877 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33879 * elf/check-localplt.c: File removed.
33881 * scripts/check-execstack.awk: New file.
33882 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33883 (check-execstack-CFLAGS): Variable removed.
33884 ($(objpfx)check-execstack.h): Target removed.
33885 ($(objpfx)execstack-default): New target.
33886 (generated): Add that instead of check-execstack.h.
33887 ($(all-built-dso:=.phdr)): New static pattern rule.
33888 (generated): Add those targets.
33889 * elf/check-execstack.c: File removed.
33891 * scripts/check-textrel.awk: New file.
33892 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33893 (check-textrel-CFLAGS): Variable removed.
33894 (all-built-dso): Use := to define.o
33895 ($(all-built-dso:=.dyn)): New static pattern rule.
33896 (generated): Add those targets.
33897 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33898 * config.make.in (READELF): New substituted variable.
33899 * elf/check-textrel.c: File removed.
33901 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33903 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33905 * conform/data/ctype.h-data [C99-based standards] (isblank):
33907 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33908 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33909 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33910 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33911 Specify type. Require positive value.
33912 (EILSEQ): Likewise.
33913 (ERANGE): Likewise.
33914 [ISO || POSIX] (EILSEQ): Do not expect.
33915 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33916 Specify type. Require positive value.
33917 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33918 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33919 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33920 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33921 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33922 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33923 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33924 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33925 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33926 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33928 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33929 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33930 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33932 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33933 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33934 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33935 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33991 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33992 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33993 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33995 (FLT_ROUNDS): Expect as macro, not constant.
33996 (FLT_MANT_DIG): Use macro-int-constant.
33997 (DBL_MANT_DIG): Likewise.
33998 (LDBL_MANT_DIG): Likewise.
33999 (FLT_DIG): Likewise.
34000 (DBL_DIG): Likewise.
34001 (LDBL_DIG): Likewise.
34002 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34003 (DBL_MIN_EXP): Likewise.
34004 (LDBL_MIN_EXP): Likewise.
34005 (FLT_MAX_EXP): Use macro-int-constant.
34006 (DBL_MAX_EXP): Likewise.
34007 (LDBL_MAX_EXP): Likewise.
34008 (FLT_MAX_10_EXP): Likewise.
34009 (DBL_MAX_10_EXP): Likewise.
34010 (LDBL_MAX_10_EXP): Likewise.
34011 (FLT_MAX): Use macro-constant.
34012 (DBL_MAX): Likewise.
34013 (LDBL_MAX): Likewise.
34014 (FLT_EPSILON): Use macro-constant. Give upper bound.
34015 (DBL_EPSILON): Likewise.
34016 (LDBL_EPSILON): Likewise.
34017 (FLT_MIN): Likewise.
34018 (DBL_MIN): Likewise.
34019 (LDBL_MIN): Likewise.
34020 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34021 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34022 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34023 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34024 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34025 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34026 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34027 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34028 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34029 [ISO11] (FLT_TRUE_MIN): Likewise.
34030 [ISO11] (LDBL_TRUE_MIN): Likewise.
34031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34032 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34033 (SCHAR_MIN): Use macro-int-constant. Specify type.
34034 (SCHAR_MAX): Likewise.
34035 (UCHAR_MAX): Likewise.
34036 (CHAR_MIN): Likewise.
34037 (CHAR_MAX): Likewise.
34038 (MB_LEN_MAX): Use macro-int-constant.
34039 (SHRT_MIN): Use macro-int-constant. Specify type.
34040 (SHRT_MAX): Likewise.
34041 (USHRT_MAX): Likewise.
34042 (INT_MAX): Likewise.
34043 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34045 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34047 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34049 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34050 bound negative. Suffix upper bound with "L".
34051 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34053 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34055 [C99-based standards] (LLONG_MAX): Likewise.
34056 [C99-based standards] (ULLONG_MAX): Likewise.
34057 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34059 [ISO11] (max_align_t): Require type.
34060 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34062 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34063 from $CFLAGS, without defining away __attribute__ calls.
34064 (checknamespace): Use $CFLAGS_namespace.
34066 * conform/conformtest.pl (@keywords): Only include C99 keywords
34067 for standards based on C99 or C11.
34069 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34071 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34074 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34075 usability of symbols in #if.
34077 * conform/conformtest.pl: If macro or constant types start
34078 "promoted:", expect the symbol to be of the following type
34079 promoted by the integer promotions.
34081 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34082 in one place. Also handle "macro-constant".
34084 * conform/conformtest.pl: Only accept expected macro values with
34085 "==". Parse all "macro" lines in one place.
34086 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34088 * conform/conformtest.pl: Handle braced types on "constant" lines
34089 instead of handling "typed-constant".
34090 * conform/data/signal.h-data: Use "constant" instead of
34093 * conform/conformtest.pl: Handle "optional-" at start of lines in
34094 one place rather than duplicating several cases. Handle each
34095 format of "macro" line with initial "optional-".
34097 * conform/conformtest.pl: Only accept expected constant or
34098 optional-constant values with "==". Parse all "constant" lines in
34099 one place. Parse all "optional-constant" lines in one place.
34100 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34101 * conform/data/fmtmsg.h-data: Likewise.
34102 * conform/data/netinet/in.h-data: Likewise.
34103 * conform/data/tar.h-data: Likewise.
34104 * conform/data/limits.h-data: Use "==" form on "constant" and
34105 "optional-constant" lines.
34107 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34108 Use -std=c99 for XOPEN2K.
34109 (@knownproblems): Remove.
34110 (newtoken): Don't check %isknown.
34112 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34113 Do not expect macro.
34114 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34115 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34116 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34117 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34118 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34119 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34120 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34121 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34122 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34123 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34124 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34125 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34126 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34127 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34128 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34129 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34130 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34131 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34132 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34138 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34141 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34142 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34144 [XPG3] (acosh): Likewise.
34145 [XPG3] (asinh): Likewise.
34146 [XPG3] (atanh): Likewise.
34147 [XPG3] (cbrt): Likewise.
34148 [XPG3] (expm1): Likewise.
34149 [XPG3] (ilogb): Likewise.
34150 [XPG3] (log1p): Likewise.
34151 [XPG3] (logb): Likewise.
34152 [XPG3] (nextafter): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34155 [XPG3] (remainder): Likewise.
34156 [XPG3] (rint): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34164 [UNIX98 || XOPEN2K] (scalb): Expect.
34165 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34166 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34303 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34304 _XOPEN_SOURCE_EXTENDED for XPG4.
34306 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34308 * Makeconfig (localtime): Remove variable.
34309 (inst_localtime-file): Likewise.
34311 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34332 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34336 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34337 comparisons to determine direction to adjust input.
34338 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34339 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34340 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34342 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34344 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34346 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34347 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34349 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34351 * math/libm-test.inc (nexttoward_test): Add more tests.
34353 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34357 in version GLIBC_2.1, not GLIBC_2.0.
34358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34361 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34364 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34366 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34367 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34368 * math/libm-test.inc (acos_test): Add more tests.
34369 (asin_test): Likewise.
34370 * sysdeps/i386/fpu/libm-test-ulps: Update.
34371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34374 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34376 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34377 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34378 * math/libm-test.inc (acos_test_tonearest): New function.
34379 (acos_test_towardzero): Likewise.
34380 (acos_test_downward): Likewise.
34381 (acos_test_upward): Likewise.
34382 (asin_test_tonearest): Likewise.
34383 (asin_test_towardzero): Likewise.
34384 (asin_test_downward): Likewise.
34385 (asin_test_upward): Likewise.
34386 (main): Call the new functions.
34387 * sysdeps/i386/fpu/libm-test-ulps: Update.
34388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34392 * math/e_exp10.c: Include <float.h>.
34393 (__ieee754_exp10): Handle underflow here rather than multiplying
34394 large negative argument by M_LN10.
34395 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34397 * math/e_exp10l.c: Include <float.h>.
34398 (__ieee754_exp10l): Handle underflow here rather than multiplying
34399 large negative argument by M_LN10l.
34400 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34401 spurious overflow exception on underflow.
34403 2012-04-29 Marek Polacek <polacek@redhat.com>
34405 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34406 (__fortify_function): New macro.
34407 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34408 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34409 __extern_always_inline.
34410 * libio/bits/stdio2.h: Likewise.
34411 * libio/bits/stdio.h: Likewise.
34412 * string/string.h: Likewise.
34413 * string/bits/string3.h: Likewise.
34414 * include/stdio.h: Likewise.
34415 * stdlib/bits/stdlib.h: Likewise.
34416 * stdlib/stdlib.h: Likewise.
34417 * rt/bits/mqueue2.h: Likewise.
34418 * rt/mqueue.h: Likewise.
34419 * posix/bits/unistd.h: Likewise.
34420 * posix/unistd.h: Likewise.
34421 * io/bits/poll2.h: Likewise.
34422 * io/bits/fcntl2.h: Likewise.
34423 * io/fcntl.h: Likewise.
34424 * io/sys/poll.h: Likewise.
34425 * misc/bits/syslog.h: Likewise.
34426 * misc/bits/syslog-ldbl.h: Likewise.
34427 * misc/sys/syslog.h: Likewise.
34428 * socket/bits/socket2.h: Likewise.
34429 * socket/sys/socket.h: Likewise.
34430 * debug/tst-chk1.c: Likewise.
34431 * wcsmbs/bits/wchar2.h: Likewise.
34432 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34433 * wcsmbs/wchar.h: Likewise.
34435 2012-04-29 Andreas Jaeger <aj@suse.de>
34437 * Makerules (tests): Remove enable-check-abi protection.
34438 (check-abi-warn): Remove.
34439 (check-abi-%): Remove check-abi-warn usage.
34441 * configure.in: Remove check-abi configure option.
34442 * configure: Regenerated.
34443 * config.make.in (enable-check-abi): Remove.
34445 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34448 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34449 double functions to double *_finite functions.
34452 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34453 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34455 * stdio-common/Makefile (tests): Add tst-sprintf3.
34456 * stdio-common/tst-sprintf3.c: New file.
34458 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34459 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34461 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34463 * conform/conformtest.pl: Remove duplicate typed-constant
34466 2012-04-28 David S. Miller <davem@davemloft.net>
34468 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34469 (check-abi-%): Remove AWK script prerequisite and explicit
34471 (check-abi): Rewrite to just diff the symlist with the abilist.
34472 (config-tls, config-abi-config): Delete, no longer used.
34473 (update-abi-%): Remove AWK script and explicit abilist directory.
34474 (update-abi): Rewrite to simply compare and conditionally copy the
34475 symlist and the sysdep abilist file. Remove update-abi-config
34477 * abilist/ld.abilist: Remove.
34478 * abilist/libBrokenLocale.abilist: Remove.
34479 * abilist/libanl.abilist: Remove.
34480 * abilist/libcrypt.abilist: Remove.
34481 * abilist/libdl.abilist: Remove.
34482 * abilist/librt.abilist: Remove.
34483 * abilist/libthread_db.abilist: Remove.
34484 * abilist/libutil.abilist: Remove.
34485 * scripts/extract-abilist.awk: Remove.
34486 * scripts/merge-abilist.awk: Remove.
34487 * sysdeps/generic/libcidn.abilist: New file.
34488 * sysdeps/generic/libnss_compat.abilist: New file.
34489 * sysdeps/generic/libnss_db.abilist: New file.
34490 * sysdeps/generic/libnss_dns.abilist: New file.
34491 * sysdeps/generic/libnss_files.abilist: New file.
34492 * sysdeps/generic/libnss_hesiod.abilist: New file.
34493 * sysdeps/generic/libnss_nis.abilist: New file.
34494 * sysdeps/generic/libnss_nisplus.abilist: New file.
34495 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34496 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34497 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34499 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34500 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34501 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34502 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34503 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34504 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34505 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34506 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34507 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34509 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34510 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34511 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34512 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34514 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34515 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34516 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34517 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34518 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34519 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34521 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34522 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34523 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34525 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34530 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34532 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34534 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34536 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34538 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34540 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34542 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34628 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34629 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34630 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34633 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34634 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34635 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34636 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34637 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34638 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34639 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34640 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34641 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34649 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34657 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34693 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34695 * conform/conformtest.pl: Fix typo in handling typed-constant from
34698 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34700 * README: Cut down references to pre-2.6 Linux kernels and
34701 Linuxthreads. Update lists of configurations in libc and ports
34702 and sort alphabetically. Say "or newer" with Linux kernel version
34705 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34707 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34710 * math/libm-test.inc (logb_test_downward): New test to expose
34711 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34714 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34717 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34719 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34720 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34722 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34724 * sysdeps/unix/i386/brk.S: Remove file.
34725 * sysdeps/unix/i386/dl-brk.S: Likewise.
34726 * sysdeps/unix/i386/pipe.S: Likewise.
34727 * sysdeps/unix/i386/sigreturn.S: Likewise.
34728 * sysdeps/unix/i386/syscall.S: Likewise.
34729 * sysdeps/unix/i386/vfork.S: Likewise.
34730 * sysdeps/unix/i386/wait.S: Likewise.
34732 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34733 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34735 * configure.in (arm*-none*): Do not allow without
34736 --enable-hacker-mode.
34737 (netbsd*): Remove case setting base_os.
34738 (386bsd*): Likewise.
34739 (freebsd*): Likewise.
34742 (sunos*): Likewise.
34743 (ultrix*): Likewise.
34744 (newsos*): Likewise.
34745 (dynix*): Likewise.
34751 (minix*): Likewise.
34752 (irix4*): Likewise.
34753 (irix6*): Likewise.
34754 (solaris[2-9]*): Likewise.
34756 * configure: Regenerated.
34758 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34761 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34762 overflow or cancellation in calculating denominator.
34763 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34765 down expression to avoid unexpected rounding in newer GCCs.
34766 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34768 2012-04-26 David S. Miller <davem@davemloft.net>
34770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34771 long-double compat symbols.
34772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34786 2012-04-25 David S. Miller <davem@davemloft.net>
34788 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34789 HWCAP_* values only after the memory barriers have been defined.
34790 (atomic_full_barrier): Define.
34791 (atomic_read_barrier): Define.
34792 (atomic_write_barrier): Define.
34794 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34796 * shlib-versions: Add libgcc_s version information.
34797 * sysdeps/generic/libgcc_s.h: Remove.
34798 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34800 * sysdeps/gnu/unwind-resume.c: Likewise.
34801 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34803 2012-04-25 David S. Miller <davem@davemloft.net>
34805 * sysdeps/unix/sparc/brk.S: Delete.
34806 * sysdeps/unix/sparc/dl-brk.S: Delete.
34807 * sysdeps/unix/sparc/pipe.S: Delete.
34808 * sysdeps/unix/sparc/sysdep.S: Delete.
34809 * sysdeps/unix/sparc/sysdep.h: Delete.
34810 * sysdeps/unix/sparc/vfork.S: Delete.
34811 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34812 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34813 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34814 (ret_ERRVAL, r0, r1, MOVE): Define.
34815 (JUMPTARGET): Remove.
34816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34817 sysdeps/unix/sparc/sysdep.h
34818 (ENTRY, END): Remove.
34819 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34821 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34823 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34824 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34827 * timezone/README: Update upstream location and email address for
34829 * timezone/zdump.c: Update from tzcode 2012b.
34830 * timezone/zic.c: Likewise.
34832 * configure.in (libc_cv_as_needed): Remove test.
34833 * configure: Regenerated.
34834 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34835 conditional definition.
34836 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34837 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34838 * config.make.in (have-as-needed): Remove variable.
34840 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34841 Paul Pluzhnikov <ppluzhnikov@google.com>
34843 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34846 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34848 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34849 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34850 * sysdeps/sh/strlen.S: Likewise.
34852 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34854 * sysdeps/unix/fork.S: Remove file.
34855 * sysdeps/unix/i386/fork.S: Likewise.
34856 * sysdeps/unix/sparc/fork.S: Likewise.
34858 * sysdeps/unix/system.c: Remove file.
34859 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34861 * sysdeps/unix/getegid.S: Remove file.
34862 * sysdeps/unix/geteuid.S: Likewise.
34864 2012-04-24 Roland McGrath <roland@hack.frob.com>
34866 * scripts/check-localplt.awk: New file.
34867 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34869 * scripts/data/localplt-generic.data: Add a comment.
34871 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34872 NODE when __dir_mkfile failed.
34873 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34874 Reported by Ludovic Courtès <ludo@gnu.org>.
34876 2012-04-24 Andreas Jaeger <aj@suse.de>
34878 * Makerules (common-clean): Also remove gen-as-const-headers
34881 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34883 * Makerules (native-compile): Do not change working directory for
34884 build. Use $(OUTPUT_OPTION) in command.
34885 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34887 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34890 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34891 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34892 * math/libm-test.inc (floor_test): Add more tests.
34893 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34895 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34897 * sysdeps/unix/getdents.c: Remove file.
34898 * sysdeps/unix/sysv/getdents.c: Likewise.
34899 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34901 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34902 sysdeps/unix/mman/syscalls.list.
34904 (mprotect): Likewise.
34906 (munmap): Likewise.
34907 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34908 * sysdeps/unix/mman/syscalls.list: Remove.
34909 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34911 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34912 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34913 * configure: Regenerated.
34914 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34915 $(libgcc_s_suffix).
34916 * config.make.in (libgcc_s_suffix): Remove variable.
34918 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34920 * sysdeps/unix/sysv/gethostname.c: Move to ...
34921 * sysdeps/posix/gethostname.c: ... here.
34923 * sysdeps/unix/execve.S: Remove file.
34925 * sysdeps/unix/_exit.S: Remove file.
34927 2012-04-23 Andreas Jaeger <aj@suse.de>
34930 * manual/Makefile: Remove make dist support, there's no
34931 need for a stand-alone documentation tar ball.
34932 (TEXI2DVI): Define always, it's not in Makeconfig.
34935 (edition): Removed.
34936 (glibc-doc-$(edition).tar): Removed
34940 (ETAGS): Remove, it's in Makeconfig.
34941 (move-if-change): Remove, it's in Makeconfig.
34943 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34946 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34947 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34948 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34949 (strtod_l, strtof_l, strtold_l): Remove __wur.
34950 It is not necessarily an error to ignore strtol's return value.
34951 One can reliably look at the stored endptr to decide whether
34952 the number had valid syntax.
34954 2012-04-21 Andreas Jaeger <aj@suse.de>
34957 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34959 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34961 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34962 * sysdeps/unix/sysv/Versions: Remove file.
34964 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34969 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34973 version from __vm86.
34975 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34977 * sysdeps/unix/common/lxstat.c: Remove file.
34978 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34980 * sysdeps/unix/sysv/Makefile: Remove file.
34982 * sysdeps/unix/sysv/direct.h: Remove file.
34984 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34985 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34986 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34987 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34988 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34989 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34990 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34992 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34994 * sysdeps/unix/xmknod.c: Remove file.
34995 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34997 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34999 * sysdeps/unix/sysv/i386/time.S: Remove file.
35001 * sysdeps/unix/fxstat.c: Remove file.
35002 * sysdeps/unix/xstat.c: Likewise.
35003 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35005 * sysdeps/unix/sysv/sigaction.c: Remove file.
35007 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35008 (sysdep_headers): Remove variable.
35009 [termio.h not in sysdep_headers] (generated): Likewise.
35010 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35011 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35012 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35013 * sysdeps/unix/sysv/tcflow.c: Likewise.
35014 * sysdeps/unix/sysv/tcflush.c: Likewise.
35015 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35016 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35017 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35018 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35019 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35021 * sysdeps/unix/siglist.c: Remove file.
35023 * sysdeps/unix/getppid.S: Remove file.
35025 * sysdeps/unix/mkdir.c: Remove file.
35026 * sysdeps/unix/rmdir.c: Likewise.
35028 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35030 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35032 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35033 errlist-compat value.
35035 2012-04-18 David S. Miller <davem@davemloft.net>
35037 * sysdeps/generic/memcopy.h (reg_char): Delete.
35038 * debug/strcat_chk.c: Use char, not reg_char.
35039 * debug/strcpy_chk.c: Likewise.
35040 * debug/strncat_chk.c: Likewise.
35041 * debug/strncpy_chk.c: Likewise.
35042 * string/memchr.c: Likewise.
35043 * string/memrchr.c: Likewise.
35044 * string/rawmemchr.c: Likewise.
35045 * string/strcat.c: Likewise.
35046 * string/strchr.c: Likewise.
35047 * string/strchrnul.c: Likewise.
35048 * string/strcmp.c: Likewise.
35049 * string/strcpy.c: Likewise.
35050 * string/strncat.c: Likewise.
35051 * string/strncmp.c: Likewise.
35052 * string/strncpy.c: Likewise.
35054 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35056 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35057 __builtin_memcopy is called when src and dest ranges are known to not
35060 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35062 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35063 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35064 fwd_align_merge macro call.
35065 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35066 bwd_align_merge macro call.
35067 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35069 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35071 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35072 bwd_align_merge macros.
35073 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35074 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35075 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35077 2012-04-18 David S. Miller <davem@davemloft.net>
35079 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35081 2012-04-18 Andreas Jaeger <aj@suse.de>
35084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35085 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35086 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35088 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35089 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35090 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35092 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35093 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35094 Adjust for changed ldbl-128 files.
35096 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35097 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35098 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35100 2012-04-17 David S. Miller <davem@davemloft.net>
35102 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35104 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35106 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35107 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35108 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35109 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35110 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35111 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35113 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35116 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35117 * math/libm-test.inc: Add ilogb errno and exception tests.
35118 * math/w_ilogb.c: New file: ilogb wrapper.
35119 * math/w_ilogbf.c: New file: ilogbf wrapper.
35120 * math/w_ilogbl.c: New file: ilogbl wrapper.
35121 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35122 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35123 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35124 exception being thrown with 0.0 as argument.
35125 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35126 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35127 exception being thrown with 0.0 as argument.
35128 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35129 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35130 exception being thrown with 0.0 as argument.
35131 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35132 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35133 exception being thrown with 0.0 as argument.
35134 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35135 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35136 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35137 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35138 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35139 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35140 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35141 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35142 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35144 2012-04-17 Petr Baudis <pasky@ucw.cz>
35146 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35149 2012-04-16 Marek Polacek <polacek@redhat.com>
35151 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35153 2012-04-16 Marek Polacek <polacek@redhat.com>
35155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35156 operands of fdivp instruction.
35158 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35160 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35161 * elf/tst-auditmod3b.c: Likewise.
35162 * elf/tst-auditmod4b.c: Likewise.
35163 * elf/tst-auditmod5b.c: Likewise.
35164 * elf/tst-auditmod6b.c: Likewise.
35165 * elf/tst-auditmod6c.c: Likewise.
35166 * elf/tst-auditmod7b.c: Likewise.
35167 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35168 * sysdeps/x86_64/preconfigure.in: Likewise.
35169 * sysdeps/x86_64/preconfigure: Regenerated.
35171 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35173 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35176 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35179 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35181 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35184 * locale/iso-639.def: Fix gl language name. Spotted by
35187 2012-04-12 Roland McGrath <roland@hack.frob.com>
35190 * libio/libio.h (__io_write_fn): Update comment.
35192 2012-04-12 Petr Baudis <pasky@ucw.cz>
35195 * stdio.texi (Hook Functions): The user provided writer function
35196 is not allowed to return -1.
35198 2012-04-11 David S. Miller <davem@davemloft.net>
35200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35202 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35204 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35205 Add a leading slash to rtkaio.
35207 2012-04-11 Jim Meyering <meyering@redhat.com>
35210 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35211 It is not necessarily an error to ignore fwrite's return
35212 value. One can reliably use ferror to test for errors after
35215 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35217 * bits/types.h (__snseconds_t): New type.
35218 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35220 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35222 (__SNSECONDS_T_TYPE): Likewise.
35223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35224 (__SNSECONDS_T_TYPE): Likewise.
35225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35226 (__SNSECONDS_T_TYPE): Likewise.
35228 2012-04-10 Andreas Jaeger <aj@suse.de>
35231 * manual/time.texi (Processor Time): Return type of times is
35232 elapsed real time since an arbitrary point in the past.
35233 (CPU Time): Move CLK_TCK from here...
35234 (Processor Time): ...to here. Correct description.
35235 * manual/conf.texi (Constants for Sysconf): Correct description of
35238 2012-04-10 David S. Miller <davem@davemloft.net>
35241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35242 where the is a gap between DT_REL(A) and DT_JMPREL.
35244 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35246 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35247 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35248 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35250 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35252 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35253 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35254 (dl_main): Handle --inhibit-cache.
35255 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35257 * elf/dl-load.c (_dl_map_object): Use it.
35258 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35260 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35263 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35264 (__ieee754_powl): Saturate large exponents rather than testing for
35265 overflow of y*log2(x).
35266 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35267 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35271 * math/s_ctan.c: Include <float.h>.
35272 (__ctan): Avoid internal overflow or cancellation in calculating
35274 * math/s_ctanf.c: Likewise.
35275 * math/s_ctanl.c: Likewise.
35276 * math/s_ctanh.c: Likewise.
35277 * math/s_ctanhf.c: Likewise.
35278 * math/s_ctanhl.c: Likewise.
35279 * math/libm-test.inc (ctan_test): Add more tests.
35280 (ctanh_test): Likewise.
35281 * sysdeps/i386/fpu/libm-test-ulps: Update.
35282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35284 2012-04-09 Andreas Jaeger <aj@suse.de>
35287 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35288 is an optional BSD extension.
35291 * manual/stdio.texi (Opening Streams): Document additional fopen
35294 2012-04-09 Roland McGrath <roland@hack.frob.com>
35296 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35297 %eax without telling the compiler.
35299 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35302 * manual/install.texi: Use sourceware.org.
35304 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35307 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35308 (__ieee754_pow): Generate overflow and underflow using huge*huge
35309 and tiny*tiny rather than just returning constant infinity or zero
35310 for large exponents.
35311 * math/libm-test.inc (pow_test): Require overflow exceptions for
35312 applicable cases of large exponents.
35315 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35316 (__ieee754_pow): Use iterative multiplication algorithm only for
35317 integer exponents with absolute value below 1024. Check for odd
35318 integer exponents when using algorithm for real exponents.
35319 * math/libm-test.inc (pow_test): Add more tests.
35320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35322 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35325 * math/libm-test.inc (exp_test): Do not allow overflow exception
35328 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35331 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35332 instead of __kernel_standard_f.
35334 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35336 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35337 * sysdeps/x86_64/memset_chk.S: Likewise.
35339 2012-04-08 Andreas Jaeger <aj@suse.de>
35342 * manual/startup.texi (Environment Access): Describe return value
35343 for putenv and setenv.
35346 * manual/filesys.texi (Directory Entries): Add description for
35350 * manual/filesys.texi (Directory Entries): Clarify that it's file
35351 system not operating system in the description of DT_UNKNOWN.
35354 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35356 2012-04-08 Stephen Compall <s11@member.fsf.org>
35359 * manual/llio.texi (Opening and Closing Files): Add cross
35360 reference to explain mode argument.
35362 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35364 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35365 * sysdeps/x86_64/memset_chk.S: Likewise.
35367 2012-04-07 David S. Miller <davem@davemloft.net>
35369 * elf/elf.h (R_SPARC_WDISP10): Define.
35370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35373 R_SPARC_SIZE64 and R_SPARC_H34.
35375 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35378 conditions and remove no longer applicable assertion.
35380 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35382 * bits/byteswap.h: Include <features.h>.
35383 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35384 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35386 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35388 * bits/byteswap.h (__bswap_16): Removed.
35389 Include <bits/byteswap-16.h> to get __bswap_16.
35390 * sysdeps/i386/bits/byteswap.h: Likewise.
35391 * sysdeps/s390/bits/byteswap.h: Likewise.
35392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35393 * bits/byteswap-16.h: New file.
35394 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35395 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35396 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35397 * string/Makefile (headers): Add bits/byteswap-16.h.
35399 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35402 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35404 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35405 * nss/tst-nss-static.c: New.
35407 2012-04-06 Robert Millan <rmh@gnu.org>
35410 * manual/llio.texi (File Position Primitive): lseek
35411 refers to WHENCE when it really means OFFSET.
35413 2012-04-06 Andreas Jaeger <aj@suse.de>
35415 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35416 strncmp declarations.
35418 * abilist/libc.abilist: Add __poll and __ppoll.
35420 2012-04-05 David S. Miller <davem@davemloft.net>
35422 * scripts/check-local-headers.sh: Accept a host triplet in the
35423 path matched by the exclude regexp.
35425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35427 * sysdeps/powerpc/powerpc32/dl-machine.h
35428 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35429 * sysdeps/s390/s390-32/dl-machine.h
35430 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35431 * sysdeps/sparc/sparc32/dl-machine.h
35432 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35433 * sysdeps/sparc/sparc64/dl-machine.h
35434 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35436 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35438 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35439 undefined symbol errors.
35441 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35444 2012-04-05 Michael Matz <matz@suse.de>
35447 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35449 2012-04-05 Andreas Jaeger <aj@suse.de>
35452 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35455 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35457 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35458 which ROUND is no valid rounding mode.
35460 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35462 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35464 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35466 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35468 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35469 an exception using FPU order intentionally.
35471 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35473 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35474 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35475 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35476 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35478 2012-04-05 Simon Josefsson <simon@josefsson.org>
35481 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35482 EINVAL when BUFLEN is too smal.
35484 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35487 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35488 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35490 2012-04-03 Andreas Jaeger <aj@suse.de>
35493 * manual/setjmp.texi (System V contexts): Fix sentence.
35496 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35497 New macro for this case.
35498 [!__GNUC__] (__bswap_64): New inline function for this case.
35499 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35500 * bits/byteswap.h: Likewise.
35501 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35502 ull, guard with __GLIBC_HAVE_LONG_LONG.
35504 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35505 __GLIBC_HAVE_LONG_LONG.
35507 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35508 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35510 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35513 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35514 inptr and inend, rather than using last_ch.
35516 2012-04-02 David S. Miller <davem@davemloft.net>
35518 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35519 * stdio-common/printf-parse.h (read_int): Change return type to
35520 'int', return -1 on INT_MAX overflow.
35521 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35522 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35523 overflows INT_MAX. Check for overflow of in-format-string precision
35524 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35525 SIZE_MAX not INT_MAX for integer overflow test.
35526 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35527 skip the construct in the format string but do not record anything.
35528 * stdio-common/bug22.c: Adjust to test both width/prevision
35529 INT_MAX overflow as well as total length INT_MAX overflow. Check
35530 explicitly for proper errno values.
35532 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35534 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35536 * string/test-strcmp.c [! WIDE]: Likewise.
35537 * time/tst-mktime2.c: Likewise for INT_MAX.
35538 * string/test-string.h: #include <sys/param.h> for MIN.
35540 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35541 * sysdeps/i386/init-first.c (init): Likewise.
35542 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35543 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35544 * sysdeps/sh/init-first.c (init): Likewise.
35546 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35548 * po/ru.po: Update from translation team.
35549 * po/vi.po: Likewise.
35551 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35553 * resolv/nss_dns/dns-host.c: Merge copyright years.
35555 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35557 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35558 Optimize memcpy with prefetch if
35559 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35560 src, dst pointers have unequal 16 byte alignments.
35562 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35565 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35566 from a CNAME entry and return the minimum ttl for the query.
35567 (gaih_getanswer_slice): Likewise.
35569 2012-03-30 Jeff Law <law@redhat.com>
35571 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35573 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35574 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35576 * resolv/nss_dns/dns-host.c: Update copyright year.
35578 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35580 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35581 requests to save a system call. Fix check that all bytes are sent.
35583 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35584 comments for sendmmsg.
35586 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35589 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35590 with only 1 character between 0x0041 and 0x01b0.
35591 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35592 * wcsmbs/tst-mbsnrtowcs.c: New file.
35594 2012-03-29 David S. Miller <davem@davemloft.net>
35596 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35597 small copies by hand.
35599 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35602 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35603 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35606 2012-03-28 David S. Miller <davem@davemloft.net>
35608 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35609 that branches into memcpy.
35610 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35613 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35616 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35617 implementation too.
35618 * sysdeps/sparc/mempcpy.S: New file.
35620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35621 the IFUNC routine in the libc case.
35622 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35624 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35625 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35626 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35627 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35628 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35629 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35630 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35631 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35633 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35634 loop to 256 bytes instead of 64 bytes and fix test signedness.
35636 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35637 * sysdeps/sparc/sparc32/Makefile: rather than here...
35638 * sysdeps/sparc/sparc64/Makefile: and here.
35640 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35642 * malloc/mallocbug.c: Avoid warnings about unused variables.
35644 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35647 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35648 in the right place. Discard and retry query if response is
35649 larger than input buffer size.
35651 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35656 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35657 x for large integer exponent.
35658 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35659 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35660 sign of result as needed afterwards.
35661 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35663 result for underflowing pow the same as for overflow.
35664 (__kernel_standard_l): Handle powl overflow and underflow here
35665 rather than calling __kernel_standard.
35666 * math/libm-test.inc (pow_test): Add more tests.
35681 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35682 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35683 (__kernel_standard_l): New function.
35684 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35686 * math/w_acosl.c (__acosl): Likewise.
35687 * math/w_asinl.c (__asinl): Likewise.
35688 * math/w_atan2l.c (__atan2l): Likewise.
35689 * math/w_atanhl.c (__atanhl): Likewise.
35690 * math/w_coshl.c (__coshl): Likewise.
35691 * math/w_exp10l.c (__exp10l): Likewise.
35692 * math/w_exp2l.c (__exp2l): Likewise.
35693 * math/w_fmodl.c (__fmodl): Likewise.
35694 * math/w_hypotl.c (__hypotl): Likewise.
35695 * math/w_j0l.c (__j0l, __y0l): Likewise.
35696 * math/w_j1l.c (__j1l, __y1l): Likewise.
35697 * math/w_jnl.c (__jnl, __ynl): Likewise.
35698 * math/w_lgammal.c (__lgammal): Likewise.
35699 * math/w_log10l.c (__log10l): Likewise.
35700 * math/w_log2l.c (__log2l): Likewise.
35701 * math/w_logl.c (__logl): Likewise.
35702 * math/w_powl.c (__powl): Likewise.
35703 * math/w_remainderl.c (__remainderl): Likewise.
35704 * math/w_scalbl.c (sysv_scalbl): Likewise.
35705 * math/w_sinhl.c (__sinhl): Likewise.
35706 * math/w_sqrtl.c (__sqrtl): Likewise.
35707 * math/w_tgammal.c (__tgammal): Likewise.
35708 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35709 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35710 * math/libm-test.inc (acos_test): Add more tests.
35711 (acosh_test): Likewise.
35712 (asin_test): Likewise.
35713 (atanh_test): Likewise.
35714 (exp_test): Likewise.
35715 (exp10_test): Likewise.
35716 (exp2_test): Likewise.
35717 (expm1_test): Likewise.
35718 (lgamma_test): Likewise.
35719 (log_test): Likewise.
35720 (log10_test): Likewise.
35721 (log1p_test): Likewise.
35722 (log2_test): Likewise.
35723 (pow_test): Do not allow some spurious overflow exceptions.
35724 (sqrt_test): Add more tests.
35725 (tgamma_test): Likewise.
35726 (y0_test): Likewise.
35727 (y1_test): Likewise.
35728 (yn_test): Likewise.
35730 2012-03-27 Anton Blanchard <anton@samba.org>
35732 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35734 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35738 2012-03-27 David S. Miller <davem@davemloft.net>
35740 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35742 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35743 have-as-vis3 check.
35745 2012-03-27 Andreas Jaeger <aj@suse.de>
35747 * sysdeps/x86_64/elf/configure.in: Moved to ...
35748 * sysdeps/x86_64/configure.in: ... here.
35749 * sysdeps/x86_64/elf/start.S: Moved to ...
35750 * sysdeps/x86_64/start.S: ... here.
35751 * sysdeps/x86_64/elf/configure: Delete.
35753 * sysdeps/x86_64/configure.in: Merge contents from
35754 sysdeps/i386/configure.in (without i686 check).
35756 * sysdeps/i386/elf/Versions: Merge into ...
35757 * sysdeps/i386/Versions: ... this.
35758 * sysdeps/i386/elf/Versions: Delete file.
35759 * sysdeps/i386/elf/start.S: Moved to ...
35760 * sysdeps/i386/start.S: ...here.
35761 * sysdeps/i386/elf/configure.in: Merge into...
35762 * sysdeps/i386/configure.in: ...here.
35763 * sysdeps/i386/elf/configure.in: Delete file.
35764 * sysdeps/i386/elf/configure: Delete file.
35766 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35767 * debug/backtracesyms.c: ... here.
35768 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35769 * debug/backtracesymsfd.c: ... here.
35770 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35771 * sysdeps/generic/ifunc-sel.h: ... here.
35773 * sysdeps/unix/i386/start.c: Delete file.
35774 * sysdeps/unix/sparc/start.c: Delete file.
35775 * sysdeps/unix/start.c: Delete file.
35777 * sysdeps/sh/elf/configure.in: Moved to ...
35778 * sysdeps/sh/configure.in: ... here.
35779 * sysdeps/sh/elf/start.S: Moved to ...
35780 * sysdeps/sh/start.S: ... here.
35781 * sysdeps/sh/elf/configure: Delete file.
35783 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35784 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35785 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35786 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35787 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35788 * sysdeps/powerpc/powerpc64/start.S: here.
35789 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35790 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35791 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35792 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35793 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35795 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35796 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35797 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35798 * sysdeps/powerpc/powerpc32/start.S: ... here.
35799 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35800 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35801 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35803 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35804 * sysdeps/powerpc/ifunc-sel.h: ... here.
35805 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35806 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35808 * sysdeps/sparc/elf/configure.in: Moved to ...
35809 * sysdeps/sparc/configure.in: ... here.
35810 * sysdeps/sparc/elf/configure: Delete file.
35811 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35812 * sysdeps/sparc/sparc32/start.S: ... here.
35813 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35814 * sysdeps/sparc/sparc64/start.S: ... here.
35815 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35816 * sysdeps/sparc/sparc32/Makefile: ... this.
35817 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35818 * sysdeps/sparc/sparc64/Makefile: ... this.
35820 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35821 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35822 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35823 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35824 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35825 * sysdeps/s390/s390-32/setjmp.S: ... here.
35826 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35827 * sysdeps/s390/s390-32/configure.in: ... here.
35828 * sysdeps/s390/s390-32/elf/configure: Delete file.
35829 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35830 * sysdeps/s390/s390-32/start.S: ... here.
35832 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35833 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35834 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35835 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35836 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35837 * sysdeps/s390/s390-64/setjmp.S: ... here.
35838 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35839 * sysdeps/s390/s390-64/configure.in: ... here
35840 * sysdeps/s390/s390-64/elf/configure: Delete file.
35841 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35842 * sysdeps/s390/s390-64/start.S: ... here.
35843 * sysdeps/s390/s390-64/elf/configure: Delete.
35845 * configure.in: Remove support for elf directories in sysdeps.
35847 * configure: Regenerated.
35848 * sysdeps/i386/configure: Regenerated.
35849 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35850 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35851 * sysdeps/s390/s390-32/configure: Regenerated.
35852 * sysdeps/s390/s390-64/configure: Regenerated.
35853 * sysdeps/sh/configure: Regenerated.
35854 * sysdeps/sparc/configure: Regenerated.
35855 * sysdeps/x86_64/configure: Regenerated.
35857 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35862 denormal result into account.
35864 2012-03-25 Roland McGrath <roland@hack.frob.com>
35866 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35867 Reported by Allan McRae <allan@archlinux.org>.
35869 2012-03-23 Jeff Law <law@redhat.com>
35871 * nss/getnssent.c (__nss_getent): Fix typo.
35873 2012-03-23 David S. Miller <davem@davemloft.net>
35875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35877 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35879 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35880 to pad to uint64_t for each field.
35881 (dl_tls_index): Replace unsigned long with uint64_t.
35883 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35884 Paul Pluzhnikov <ppluzhnikov@google.com>
35887 * grp/Makefile (otherlibs): Don't set it.
35888 * inet/Makefile (otherlibs): Likewise.
35889 * login/Makefile (otherlibs): Likewise.
35890 * nscd/Makefile (otherlibs): Likewise.
35891 * posix/Makefile (otherlibs): Likewise.
35892 * pwd/Makefile (otherlibs): Likewise.
35893 * rt/Makefile (otherlibs): Likewise.
35894 * sunrpc/Makefile (otherlibs): Likewise.
35895 * nss/Makefile (otherlibs): Likewise.
35896 Add libnss_files to routines and static-only-routines.
35897 ($(objpfx)getent): Remove rule.
35898 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35899 static-only-routines.
35901 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35904 * math/s_cexp.c: Include <float.h>.
35905 (__cexp): Handle exp result overflowing not necessarily
35906 overflowing both real and imaginary parts of result.
35907 * math/s_cexpf.c: Likewise.
35908 * math/s_cexpl.c: Likewise.
35909 * math/libm-test.inc (cexp_test): Add more tests.
35910 * sysdeps/i386/fpu/libm-test-ulps: Update.
35911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35913 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35915 * include/link.h (ELFW): New macro.
35916 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35917 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35919 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35921 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35924 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35926 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35928 (struct La_x32_retval): Likewise.
35930 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35932 * sysdeps/x86_64/preconfigure.in: New file.
35933 * sysdeps/x86_64/preconfigure: New generated file.
35935 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35938 * math/e_exp2l.c: Include <float.h>.
35939 (__ieee754_exp2l): Handle overflow and underflow cases
35940 separately. Only pass fractional part of argument to
35942 * math/libm-test.inc (exp2_test): Add more tests.
35944 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35945 negating x to take absolute value.
35946 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35948 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35949 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35951 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35952 computing low part if x was negated.
35953 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35955 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35957 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35958 la_x32_gnu_pltexit.
35959 (pltexit): Cast int_retval to ptrdiff_t.
35960 * elf/tst-auditmod3b.c: Likewise.
35961 * elf/tst-auditmod4b.c: Likewise.
35962 * elf/tst-auditmod5b.c: Likewise.
35963 * elf/tst-auditmod6b.c: Likewise.
35964 * elf/tst-auditmod6c.c: Likewise.
35965 * elf/tst-auditmod7b.c: Likewise.
35967 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35968 and x32_gnu_pltexit.
35970 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35971 __ELF_NATIVE_CLASS.
35972 (La_x32_regs): New macro.
35973 (La_x32_retval): Likewise.
35974 (la_x32_gnu_pltenter): New function prototype.
35975 (la_x32_gnu_pltexit): Likewise.
35977 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35984 * configure.in (libc_cv_cc_nofma): Check for option to disable
35985 generation of FMA instructions.
35986 * configure: Regenerate.
35987 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35988 * sysdeps/ieee754/dbl-64/Makefile: New file.
35989 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35990 Remove brandred-fma4.
35991 (CFLAGS-brandred-fma4.c): Remove.
35992 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35993 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35998 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36000 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36001 LLONG_MAX != LONG_MAX.
36002 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36003 (_fitoa_word): Likewise.
36004 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36005 LLONG_MAX != LONG_MAX.
36006 * stdio-common/_itowa.h: Include <_itoa.h>.
36007 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36008 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36009 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36010 only if not defined.
36011 (_ITOA_WORD_TYPE): Likewise.
36012 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36013 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36015 2012-03-21 David S. Miller <davem@davemloft.net>
36017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36019 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36021 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36022 of x86_64 when setting libc_cv_slibdir, libdir and
36024 * sysdeps/unix/sysv/linux/configure: Regenerated.
36026 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36028 * manual/lang.texi (Old Varargs): Remove section.
36029 (How Variadic): Update menu.
36030 (va_start): Do not mention varargs.h.
36032 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36033 Joseph Myers <joseph@codesourcery.com>
36035 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36037 * configure: Regenerated.
36039 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36041 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36042 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36045 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36048 * Makefile (files-for-dist): Remove NOTES.
36049 (NOTES): Remove rule.
36050 * README: Don't refer to NOTES.
36051 * manual/creature.texi: Don't include macros.texi.
36052 * manual/intro.texi (creature.texi): Remove comment referring to
36055 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36056 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36057 * configure: Regenerated.
36058 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36059 LIBC_TRY_CC_OPTION.
36060 (libc_cv_as_i686): Likewise.
36061 (libc_cv_cc_avx): Likewise.
36062 (libc_cv_cc_sse2avx): Likewise.
36063 (libc_cv_cc_fma4): Likewise.
36064 (libc_cv_cc_novzeroupper): Likewise.
36065 * sysdeps/i386/configure: Regenerated.
36068 * sysdeps/i386/fpu/s_cexp.S: Remove.
36069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36070 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36071 * math/libm-test.inc (cexp_test): Add more tests.
36072 * sysdeps/i386/fpu/libm-test-ulps: Update.
36073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36075 2012-03-21 Allan McRae <allan@archlinux.org>
36077 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36079 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36082 * math/w_exp2.c: Do not include <float.h>.
36083 (o_threshold, u_threshold): Remove.
36084 (__exp2): Calculate result before checking finiteness and calling
36086 * math/w_exp2f.c: Likewise.
36087 * math/w_exp2l.c: Likewise.
36088 * math/libm-test.inc (exp2_test): Require overflow exception for
36092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36093 range of signed 64-bit integers before using fistpll. Remove
36094 checks for whether integers fit in mantissa bits.
36095 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36096 the range of signed 32-bit integers before using fistpl. Remove
36097 checks for whether integers fit in mantissa bits.
36098 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36099 (__ieee754_powl): Test for y outside the range of signed 64-bit
36100 integers before using fistpll. Reduce 64-bit values to 63-bit
36102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36103 divide-by-zero is raised for zero to large negative powers.
36104 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36105 (__ieee754_powl): Test for y outside the range of signed 64-bit
36106 integers before using fistpll. Reduce 64-bit values to 63-bit
36108 * math/libm-test.inc (pow_test): Add more tests.
36110 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36112 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36113 <stdio-common/_itoa.h>.
36114 * debug/segfault.c: Likewise.
36115 * elf/dl-cache.c: Likewise.
36116 * elf/dl-minimal.c: Likewise.
36117 * elf/dl-misc.c: Likewise.
36118 * elf/dl-sysdep.c: Likewise.
36119 * elf/dl-version.c: Likewise.
36120 * elf/rtld.c: Likewise.
36121 * hurd/hurdsock.c: Likewise.
36122 * hurd/lookup-retry.c: Likewise.
36123 * malloc/malloc.c: Likewise.
36124 * malloc/mtrace.c: Likewise.
36125 * nscd/nscd_getgr_r.c: Likewise.
36126 * nscd/nscd_getpw_r.c: Likewise.
36127 * nscd/nscd_getserv_r.c: Likewise.
36128 * posix/getopt_init.c: Likewise.
36129 * posix/wordexp.c: Likewise.
36130 * stdio-common/_itoa.c: Likewise.
36131 * stdio-common/printf_fphex.c: Likewise.
36132 * stdio-common/vfprintf.c: Likewise.
36133 * string/_strerror.c: Likewise.
36134 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36135 * sysdeps/i386/i686/hp-timing.h: Likewise.
36136 * sysdeps/mach/_strerror.c: Likewise.
36137 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36138 * sysdeps/mach/hurd/sethostid.c: Likewise.
36139 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36140 * sysdeps/mach/xpg-strerror.c: Likewise.
36141 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36142 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36143 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36144 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36145 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36146 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36147 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36148 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36149 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36150 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36151 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36152 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36153 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36154 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36155 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36156 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36157 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36158 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36159 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36160 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36161 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36163 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36165 * stdio-common/_itoa.h: Moved to ...
36166 * sysdeps/generic/_itoa.h: Here.
36168 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36170 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36171 instead of "_itoa.h" and "_itowa.h".
36172 * stdio-common/vfprintf.: Likewise.
36174 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36176 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36178 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36179 (__signbit): Likwise.
36180 (llrintf): Likwise.
36183 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36185 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36188 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36190 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36191 OVERFLOW_EXCEPTION_OK.
36192 * math/libm-test.inc ("Philosophy"): Update comment about
36194 (OVERFLOW_EXCEPTION): Define.
36195 (OVERFLOW_EXCEPTION_OK): Likewise.
36196 (INVALID_EXCEPTION_OK): Renumber.
36197 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36198 (IGNORE_ZERO_INF_SIGN): Likewise.
36199 (test_exceptions): Handle FE_OVERFLOW.
36200 (exp10_test): Expect overflow exceptions.
36201 (exp2_test): Likewise.
36202 (expm1_test): Likewise.
36203 (nextafter_test): Likewise.
36204 (pow_test): Likewise.
36205 (scalbn_test): Likewise.
36206 (scalbln_test): Likewise.
36208 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36210 * sysdeps/x86_64/bits/atomic.h
36211 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36213 (atomic_exchange_acq): Likewise.
36214 (__arch_exchange_and_add_body): Likewise.
36215 (__arch_add_body): Likewise.
36216 (atomic_add_negative): Likewise.
36217 (atomic_add_zero): Likewise.
36219 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36221 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36222 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36224 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36226 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36227 Check __x86_64__ instead of __WORDSIZE.
36229 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36231 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36233 2012-03-19 David S. Miller <davem@davemloft.net>
36235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36237 * sysdeps/sparc/fpu/fenv_private.h: New file.
36238 * sysdeps/sparc/fpu/math_private.h: Use it.
36239 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36241 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36242 (libc_feholdexcept_setroundl): Remove.
36243 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36245 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36246 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36248 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36250 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36251 int64_t instead of long int.
36252 (INSERT_WORDS64): Likwise.
36254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36256 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36257 _Unwind_GetCFA return to _Unwind_Ptr first.
36259 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36262 * math/s_clog.c: Include <float.h>.
36263 (__clog): Scale large or subnormal inputs.
36264 * math/s_clogf.c: Likewise.
36265 * math/s_clogl.c: Likewise.
36266 * math/s_clog10.c: Include <float.h>.
36267 (M_LOG10_2): Define.
36268 (__clog10): Scale large or subnormal inputs.
36269 * math/s_clog10f.c: Likewise.
36270 * math/s_clog10l.c: Likewise.
36271 * math/libm-test.inc (clog_test): Add more tests.
36272 (clog10_test): Likewise.
36273 * sysdeps/i386/fpu/libm-test-ulps: Update.
36274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36277 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36279 * math/libm-test.inc (atan2_test): Add another test.
36281 * Makerules (common-objdir-compile): Remove.
36282 * sysdeps/unix/Makefile (config-generated): Do not add
36283 $(unix-generated) to variable.
36284 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36285 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36287 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36289 [generic bits/local_lim.h] (before-compile): Do not append to
36291 [generic bits/local_lim.h] (common-generated): Likewise.
36292 [generic sys/param.h] (before-compile): Do not append to variable.
36293 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36294 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36295 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36296 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36298 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36299 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36300 [generic sys/param.h] ($(addprefix
36301 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36302 [generic sys/param.h] (common-generated): Do not append to
36304 [generic sys/param.h] (sysdep_headers): Likewise.
36305 [generic bits/errno.h] (before-compile): Do not append to
36307 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36309 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36310 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36311 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36312 [generic bits/errno.h] (common-generated): Do not append to
36314 [generic bits/ioctls.h] (before-compile): Do not append to
36316 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36318 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36319 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36320 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36322 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36323 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36324 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36325 [generic bits/ioctls.h] (common-generated): Do not append to
36327 [generic sys/syscall.h] (syscall.h): Remove variable.
36328 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36330 [generic sys/syscall.h] (before-compile): Do not append to
36332 [generic sys/syscall.h] (common-generated): Likewise.
36333 * sysdeps/unix/errnos-tmpl.c: Remove file.
36334 * sysdeps/unix/errnos.awk: Likewise.
36335 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36336 * sysdeps/unix/ioctls.awk: Likewise.
36337 * sysdeps/unix/mk-local_lim.c: Likewise.
36338 * sysdeps/unix/snarf-ioctls: Likewise.
36340 2012-03-19 Richard Henderson <rth@twiddle.net>
36342 * sysdeps/i386/fpu/fenv_private.h: New file.
36343 * sysdeps/i386/fpu/math_private.h: Use it.
36344 (math_opt_barrier, math_force_eval): Remove.
36345 (libc_feholdexcept_setround_53bit): Remove.
36346 (libc_feupdateenv_53bit): Remove.
36347 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36348 (math_opt_barrier, math_force_eval): Remove.
36349 (libc_feholdexcept): Remove.
36350 (libc_feholdexcept_setround): Remove.
36351 (libc_fetestexcept, libc_fesetenv): Remove.
36352 (libc_feupdateenv_test): Remove.
36353 (libc_feupdateenv, libc_feholdsetround): Remove.
36354 (libc_feresetround): Remove.
36356 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36357 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36359 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36360 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36361 (libc_feupdateenv_testl): New.
36362 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36363 (libc_feupdateenv_testf): New.
36364 (libc_feupdateenv): Use libc_feupdateenv_test.
36365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36368 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36369 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36370 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36371 (libc_feresetround_noex): New.
36372 (libc_feresetround_noexf): New.
36373 (libc_feresetround_noexl): New.
36374 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36375 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36376 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36377 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36380 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36382 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36383 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36384 SET_RESTORE_ROUND_NOEX.
36385 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36386 SET_RESTORE_ROUND_NOEXF.
36387 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36388 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36389 (libc_feholdsetroundf): New.
36390 (libc_feresetround, libc_feresetroundf): New.
36392 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36393 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36394 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36396 * sysdeps/generic/math_private.h: Include <fenv.h>.
36397 (default_libc_feholdexcept): New.
36398 (default_libc_feholdexcept_setround): New.
36399 (default_libc_fesetenv, default_libc_feupdateenv): New.
36400 (libc_feholdexcept): Only define if undefined.
36401 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36402 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36403 (libc_feholdexcept_setroundl): Likewise.
36404 (libc_feholdexcept_setround_53bit): Likewise.
36405 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36406 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36407 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36408 (libc_feupdateenv_53bit): Likewise.
36409 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36410 (libc_feholdexcept): Convert from macro to inline function.
36411 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36412 (libc_fesetenv, libc_feupdateenv): Likewise.
36414 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36415 not previously defined.
36416 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36417 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36418 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36419 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36420 * sysdeps/ieee754/flt-32/math_private.h: New file.
36421 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36422 math_private.h below SET_FLOAT_WORD.
36423 (__isnan, __isinf_ns, __finite): Remove.
36424 (__isnanf, __isinf_nsf, __finitef): Remove.
36426 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36430 2012-03-17 David S. Miller <davem@davemloft.net>
36433 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36436 2012-03-16 David S. Miller <davem@davemloft.net>
36438 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36442 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36444 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36445 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36446 sysdep_routines when subdir is sysvipc.
36447 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36448 __getshmlba helper.
36450 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36452 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36454 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36457 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36459 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36460 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36461 (__lround): Renamed to ...
36462 (__llround): This. Replace long int with long long int.
36463 Define lround functions as aliases of llround functions.
36464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36466 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36468 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36469 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36470 adresses to uintptr_t. Replace "long int" and "unsigned long
36471 int" with "greg_t" on va_arg.
36473 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36475 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36476 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36478 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36479 Move e_machine check before EI_CLASS check. Handle x32
36480 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36481 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36482 SKIP_EM_IA_64 and include
36483 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36485 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36486 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36487 (add_system_dir): New macro.
36489 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36490 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36492 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36503 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36505 * math/w_j0f.c (j0f): Likewise.
36507 * math/w_j0l.c (__j0l): Likewise.
36509 * math/w_j1.c (j1): Likewise.
36511 * math/w_j1f.c (j1f): Likewise.
36513 * math/w_j1l.c (__j1l): Likewise.
36515 * math/w_jn.c (jn): Likewise.
36517 * math/w_jnf.c (jnf): Likewise.
36519 * math/w_jnl.c (__jnl): Likewise.
36521 * math/libm-test.inc (j0_test): Add more tests.
36522 (j1_test): Likewise.
36523 (jn_test): Likewise. Add trailing semicolon to existing test.
36524 (y0_test): Likewise.
36525 (y1_test): Likewise.
36526 * sysdeps/i386/fpu/libm-test-ulps: Update.
36527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36531 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36532 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36533 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36534 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36535 (__tanl): Set errno for infinite argument.
36536 * sysdeps/i386/fpu/mptan.c: Remove.
36537 * sysdeps/i386/fpu/s_tan.S: Likewise.
36538 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36539 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36540 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36541 * math/libm-test.inc (tan_test): Add more tests and enable more
36542 tests for double and long double.
36543 * sysdeps/i386/fpu/libm-test-ulps: Update.
36544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36546 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36548 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36549 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36551 2012-03-16 Roland McGrath <roland@hack.frob.com>
36553 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36554 * configure.in: Use it for both main tree and add-ons.
36555 * configure: Regenerated.
36557 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36559 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36561 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36563 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36567 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36568 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36571 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36573 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36575 != 0 for prec == 2.
36576 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36577 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36578 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36579 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36580 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36581 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36582 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36583 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36584 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36585 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36586 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36587 * math/libm-test.inc (cos_test): Add more tests and enable more
36588 tests for long double.
36589 (sin_test): Likewise.
36590 (sincos_test): Likewise.
36591 * sysdeps/i386/fpu/libm-test-ulps: Update.
36592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36594 2012-03-16 David S. Miller <davem@davemloft.net>
36596 * sysdeps/sparc/fpu/math_private.h: New file.
36598 2012-03-15 David S. Miller <davem@davemloft.net>
36600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36614 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36615 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36617 * sysdeps/sparc/sparc-ifunc.h: New file.
36618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36656 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36663 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36665 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36669 2012-03-15 Andreas Jaeger <aj@suse.de>
36672 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36673 ieee754/flt-32 implementation for sin, cos and sincos.
36674 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36675 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36676 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36677 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36678 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36679 ieee754/flt-32 implementation for tan.
36681 * math/libm-test.inc (cos_test): Enable some large input tests for
36683 (sin_test): Likewise.
36684 (sincos_test): Likewise.
36685 (tan_test): Add tests for large input.
36687 * sysdeps/i386/fpu/libm-test-ulps: Update.
36689 2012-03-15 Andreas Jaeger <aj@suse.de>
36692 * math/libm-test.inc (cos_test): Add more test cases.
36693 (sin_test): Likewise.
36694 (sincos_test): Likewise.
36696 2012-03-15 Andreas Jaeger <aj@suse.de>
36699 * math/libm-test.inc (cos_test): Add a test case for large input
36701 (sin_test): Likewise.
36702 (sincos_test): Likewise.
36704 2012-03-15 Andreas Jaeger <aj@suse.de>
36705 Joseph Myers <joseph@codesourcery.com>
36708 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36709 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36710 * sysdeps/i386/fpu/branred.c: Likewise.
36711 * sysdeps/i386/fpu/dosincos.c: Likewise.
36712 * sysdeps/i386/fpu/mpa.c: Likewise.
36713 * sysdeps/i386/fpu/s_cos.S: Likewise.
36714 * sysdeps/i386/fpu/s_sin.S: Likewise.
36715 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36716 * sysdeps/i386/fpu/sincos32.c: Likewise.
36718 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36720 (libc_feupdateenv_53bit): Define.
36721 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36723 (libc_feupdateenv_53bit): Define.
36725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36726 53 bit (without extend i386 double precision).
36728 * math/libm-test.inc (sincos_test): Add tests for large input.
36732 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36734 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36738 2012-03-15 David S. Miller <davem@davemloft.net>
36740 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36741 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36742 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36743 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36768 fmin/fmax sysdep routines.
36769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36771 2012-03-14 David S. Miller <davem@davemloft.net>
36773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36845 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36850 * sysdeps/sparc/configure.in: New file.
36851 * sysdeps/sparc/configure: Generate.
36852 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36853 * configure: Regenerate.
36854 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36855 * config.make.in (have-as-vis3): New.
36856 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36857 available use -Av9d instead of -Av9a.
36858 * sysdeps/sparc/sparc64/Makefile: Likewise.
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36874 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36875 fzeros/fnegs to load 0x80000000 into a float register instead of
36877 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36879 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36883 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36884 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36885 ($(inst_includedir)/bits/syscall.h): Remove rule.
36886 ($(objpfx)bits/syscall.d): Include instead of
36887 $(objpfx)syscall-list.d.
36888 (generated): Change syscall-list.h and syscall-list.d to
36889 bits/syscall.h and bits/syscall.d.
36891 2012-03-14 Roland McGrath <roland@hack.frob.com>
36894 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36896 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36899 * math/s_csqrt.c: Include <float.h>.
36900 (__csqrt): Scale large or subnormal inputs.
36901 * math/s_csqrtf.c: Likewise.
36902 * math/s_csqrtl.c: Likewise.
36903 * math/libm-test.inc (csqrt_test): Add more tests.
36904 * sysdeps/i386/fpu/libm-test-ulps: Update.
36905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36908 * math/libm-test.inc (hypot_test): Add more tests.
36910 2012-03-13 David S. Miller <davem@davemloft.net>
36913 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36914 double-precision for the calculation instead of scaling.
36916 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36918 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36919 manipulate bits before adding and subtracting TWO52[sx].
36920 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36921 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36923 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36925 2012-03-13 David S. Miller <davem@davemloft.net>
36927 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36928 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36929 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36930 rtld-global-offsets.h
36931 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36933 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36936 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36938 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36939 'err' in the ifdef scope in which it is actually used.
36941 * nss/nss_db/db-init.c: Include string.h
36943 2012-03-12 David S. Miller <davem@davemloft.net>
36945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36946 masking out of the most significant byte of random value used.
36947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36948 Fix coding style in previous change.
36950 * sysdeps/unix/sysv/linux/kernel-features.h
36951 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36952 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36954 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36957 2012-03-11 David S. Miller <davem@davemloft.net>
36959 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36960 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36961 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36962 for 'resultvar' otherwise things get truncated on 64-bit.
36964 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36965 Fix masking out of the most significant byte of random value used.
36967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36969 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36973 2012-03-09 David S. Miller <davem@davemloft.net>
36975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36976 variables with appropriate CPP guards.
36977 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36978 from the frame pointer, not the stack pointer. Correct layout
36979 comments. Fix test on resulting framesize and the management of
36980 the outregs buffer for pltexit. Preserve floating point return
36981 values across _dl_call_pltexit call.
36982 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36983 framesize and the management of the outregs buffer for pltexit.
36984 Preserve floating point return values across _dl_call_pltexit
36986 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36987 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36988 (la_sparc64_gnu_pltexit): New functions.
36989 (print_exit): Fix format string for return register value.
36991 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36993 * sunrpc/Makefile (others): Add rpcgen.
36994 ($(objpfx)rpcgen): Remove special build rule and dependency on
36996 * sunrpc/rpcgen.c: New file.
36998 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37001 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37002 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37003 * sysdeps/i386/crti.S: Likewise.
37004 * sysdeps/i386/crtn.S: Likewise.
37005 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37006 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37007 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37008 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37009 * sysdeps/sh/crti.S: Likewise.
37010 * sysdeps/sh/crtn.S: Likewise.
37011 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37014 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37016 * locale/programs/locfile-kw.gperf: Likewise.
37017 * locale/programs/charmap-kw.h: Regenerated.
37018 * locale/programs/locfile-kw.h: Likewise.
37021 * intl/plural.y: Replace FSF snail mail address with URL.
37022 * intl/plural.c: Regenerated.
37024 2012-03-09 Richard Henderson <rth@twiddle.net>
37026 * include/math_private.h: Remove file.
37027 * math/math_private.h: Move file ...
37028 * sysdeps/generic/math_private.h: ... here.
37030 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37031 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37032 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37034 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37035 and <math_private.h>.
37036 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37037 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37038 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37039 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37040 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37041 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37042 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37044 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37048 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37050 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37051 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37052 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37053 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37054 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37057 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37124 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37127 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37130 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37131 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37132 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37133 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37134 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37135 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37136 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37137 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37138 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37139 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37140 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37141 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37142 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37148 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37151 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37152 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37154 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37155 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37156 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37158 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37160 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37161 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37162 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37164 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37165 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37172 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37173 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37174 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37185 * sysdeps/ieee754/k_standard.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37301 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37305 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37308 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37313 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37318 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37334 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37335 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37346 * sysdeps/ieee754/s_lib_version.c: Likewise.
37347 * sysdeps/ieee754/s_matherr.c: Likewise.
37348 * sysdeps/ieee754/s_signgam.c: Likewise.
37349 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37350 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37352 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37353 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37354 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37355 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37356 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37357 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37358 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37359 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37360 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37361 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37362 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37363 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37364 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37366 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37367 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37368 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37371 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37373 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37374 * sunrpc/rpc_main.c: Likewise.
37375 * sunrpc/rpc_svcout.c: Likewise.
37377 2012-03-09 David S. Miller <davem@davemloft.net>
37379 * include/math_private.h: New file.
37381 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37383 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37384 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37385 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37386 from <bits/socket_type.h>.
37387 (enum __socket_type): Don't define here.
37388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37390 bits/socket_type.h.
37393 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37394 checking __USE_GNU.
37396 * Makerules ($(inst_includedir)/%.h): New rule.
37397 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37398 (install-others): Remove variable setting.
37399 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37401 2012-03-08 Richard Henderson <rth@twiddle.net>
37403 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37404 from macro to inline function; merge with the
37405 !__LIBC_INTERNAL_MATH_INLINES version.
37406 (__ieee754_sqrtf): Likewise.
37408 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37409 to inline function.
37410 (__rintf, __floor, __floorf): Likewise.
37412 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37413 macro to inline function.
37414 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37417 not <math/math_private.h>.
37419 2012-03-08 David S. Miller <davem@davemloft.net>
37421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37423 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37425 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37427 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37429 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37430 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37432 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37434 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37435 be defined individually, they must be defined as a block. Define
37436 S for printing a string instead of hidint the different by using a
37437 macro for adding the 'l'.
37438 * stdio-common/tst-fphex-wide.c: Adjust.
37440 2012-03-07 Marek Polacek <polacek@redhat.com>
37442 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37444 2012-03-08 Marek Polacek <polacek@redhat.com>
37447 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37448 * stdio-common/tst-fphex.c: Define a few macros to make the
37449 test reusable. Use them.
37450 * stdio-common/tst-fphex-wide.c: New file.
37452 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37455 * manual/macros.texi (gnusystems): New macro.
37456 (nongnusystems): Likewise.
37457 (gnulinuxhurdsystems): Likewise.
37458 (gnuhurdsystems): Likewise..
37459 (gnulinuxsystems): Likewise.
37460 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37461 variants of the GNU system, not "GNU system".
37462 * manual/conf.texi: Likewise.
37463 * manual/errno.texi: Likewise. Update example of errno macro
37465 * manual/filesys.texi: Likewise.
37466 (getumask): Document as specific to GNU/Hurd.
37467 * manual/install.texi: Likewise. Reword some references to
37469 * manual/intro.texi: Likewise.
37470 * manual/io.texi: Likewise.
37471 (File Name Portability): Detail which constraints are inapplicable
37472 to all GNU systems and which are only inapplicable to GNU/Hurd.
37473 * manual/job.texi: Likewise.
37474 * manual/llio.texi: Likewise.
37475 (O_NOCTTY): Document as present on GNU/Linux.
37476 * manual/maint.texi: Likewise.
37477 * manual/memory.texi: Likewise.
37478 * manual/pattern.texi: Likewise.
37479 * manual/pipe.texi: Likewise.
37480 * manual/process.texi: Likewise.
37481 * manual/resource.texi: Likewise.
37482 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37484 * manual/setjmp.texi: Likewise.
37485 * manual/signal.texi: Likewise.
37486 * manual/startup.texi: Likewise.
37487 * manual/stdio.texi: Likewise.
37488 * manual/terminal.texi: Likewise.
37489 (ONLCR): Document as POSIX.
37490 (OXTABS): Document availability on GNU/Linux as XTABS.
37491 (ONOEOT): Document availability separately from other bits.
37492 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37493 * manual/time.texi: Likewise.
37494 * manual/users.texi: Likewise.
37495 * INSTALL: Regenerated.
37496 * sysdeps/gnu/errlist.c: Regenerated.
37498 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37499 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37500 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37502 * configure: Regenerated.
37504 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37506 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37507 default includes instead of AC_HEADER_CHECK.
37508 * sysdeps/i386/configure: Regenerated.
37511 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37512 * math/s_cacoshf.c (__cacoshf): Likewise.
37513 * math/s_cacoshl.c (__cacoshl): Likewise.
37514 * math/s_casinh.c (__casinh): Set signs of result from argument.
37515 * math/s_casinhf.c (__casinhf): Likewise.
37516 * math/s_casinhl.c (__casinhl): Likewise.
37517 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37518 (casinh_test): Add more tests.
37519 * sysdeps/i386/fpu/libm-test-ulps: Update.
37520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37524 * po/zh_TW.po: Update from translation team.
37526 * login/Makefile (distribute): Remove variable.
37527 * catgets/Makefile: Likewise.
37528 * mach/Makefile: Likewise.
37529 * malloc/Makefile: Likewise.
37530 * misc/Makefile: Likewise.
37531 * iconv/Makefile: Likewise.
37532 * nscd/Makefile: Likewise.
37533 * hurd/Makefile: Likewise.
37534 * manual/Makefile: Likewise.
37535 * locale/Makefile: Likewise.
37536 * intl/Makefile: Likewise.
37537 * conform/Makefile: Likewise.
37538 * nss/Makefile: Likewise.
37539 * time/Makefile: Likewise.
37540 * soft-fp/Makefile: Likewise.
37541 * dirent/Makefile: Likewise.
37542 * gmon/Makefile: Likewise.
37543 * po/Makefile: Likewise.
37544 * rt/Makefile: Likewise.
37545 * socket/Makefile: Likewise.
37546 * math/Makefile: Likewise.
37547 * signal/Makefile: Likewise.
37548 * debug/Makefile: Likewise.
37549 * elf/Makefile: Likewise.
37550 * timezone/Makefile: Likewise.
37551 * stdlib/Makefile: Likewise.
37552 * iconvdata/Makefile: Likewise.
37553 * sunrpc/Makefile: Likewise.
37554 * io/Makefile: Likewise.
37555 * argp/Makefile: Likewise.
37556 * inet/Makefile: Likewise.
37557 * hesiod/Makefile: Likewise.
37558 * grp/Makefile: Likewise.
37559 * csu/Makefile: Likewise.
37560 * wctype/Makefile: Likewise.
37561 * crypt/Makefile: Likewise.
37562 * libio/Makefile: Likewise.
37563 * string/Makefile: Likewise.
37564 * nis/Makefile: Likewise.
37565 * resolv/Makefile: Likewise.
37566 * stdio-common/Makefile: Likewise.
37567 * wcsmbs/Makefile: Likewise.
37568 * dlfcn/Makefile: Likewise.
37569 * posix/Makefile: Likewise.
37572 * timezone/Makefile: Don't install timezone files, just the programs
37575 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37577 * nss/databases.def: Add missing gshadow entry.
37579 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37581 2012-03-06 Marek Polacek <polacek@redhat.com>
37584 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37585 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37586 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37587 * stdio-common/tst-long-dbl-fphex.c: New file.
37589 2012-03-06 David S. Miller <davem@davemloft.net>
37591 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37592 (set_obp_int): New function.
37593 (get_obp_int): New function.
37594 (__get_clockfreq_via_dev_openprom): Likewise.
37595 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37596 Avoid unused variable warnings on 'val' and use builtin_expect.
37597 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37599 (INLINE_CLONE_SYSCALL): Likewise.
37601 2012-03-05 David S. Miller <davem@davemloft.net>
37603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37605 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37609 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37610 only for |x| >= 40.
37611 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37613 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37616 Replace gettimeofday with __vdso_gettimeofday.
37618 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37619 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37620 __vdso_clock_gettime and __vdso_getcpu.
37622 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37623 time with __vdso_time.
37625 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37627 * manual/lang.texi (size_t): Note types to which size_t may be
37628 equivalent with the GNU C Library, but do not describe when
37629 differences between them are significant.
37631 2012-03-05 Andreas Jaeger <aj@suse.de>
37633 * sysdeps/i386/fpu/libm-test-ulps: Update.
37635 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37638 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37639 (__ieee754_pow): Save and restore rounding mode and use
37640 round-to-nearest for main computations.
37641 * math/libm-test.inc (pow_test_tonearest): New function.
37642 (pow_test_towardzero): Likewise.
37643 (pow_test_downward): Likewise.
37644 (pow_test_upward): Likewise.
37645 (main): Call the new functions.
37646 * sysdeps/i386/fpu/libm-test-ulps: Update.
37647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37650 * math/libm-test.inc (cosh_test_tonearest): New function.
37651 (cosh_test_towardzero): Likewise.
37652 (cosh_test_downward): Likewise.
37653 (cosh_test_upward): Likewise.
37654 (sinh_test_tonearest): Likewise.
37655 (sinh_test_towardzero): Likewise.
37656 (sinh_test_downward): Likewise.
37657 (sinh_test_upward): Likewise.
37658 (main): Call the new functions.
37659 * sysdeps/i386/fpu/libm-test-ulps: Update.
37660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37662 2012-03-05 Tom de Vries <tom@codesourcery.com>
37664 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37665 default stack guard is set in last bytes.
37666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37668 2012-03-05 Kees Cook <keescook@chromium.org>
37670 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37673 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37674 possibly allocate from heap instead of stack.
37675 * stdio-common/bug-vfprintf-nargs.c: New file.
37676 * stdio-common/Makefile (tests): Add nargs overflow test.
37678 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37682 2012-03-03 Marek Polacek <polacek@redhat.com>
37684 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37685 * math/math_private.h: Likewise.
37686 * stdlib/tst-strtod.c: Likewise.
37687 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37688 * sysdeps/x86_64/bits/atomic.h: Likewise.
37690 2012-03-02 David S. Miller <davem@davemloft.net>
37692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37696 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37697 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37698 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37699 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37701 2012-03-02 Roland McGrath <roland@hack.frob.com>
37704 * manual/examples/README: New file, says the example source files
37705 can be used under GPL>=2.
37706 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37707 line containing just "*/".
37708 * manual/examples/add.c: Add copyright header (GPL>=2).
37709 * manual/examples/argp-ex1.c: Likewise.
37710 * manual/examples/argp-ex2.c: Likewise.
37711 * manual/examples/argp-ex3.c: Likewise.
37712 * manual/examples/argp-ex4.c: Likewise.
37713 * manual/examples/atexit.c: Likewise.
37714 * manual/examples/db.c: Likewise.
37715 * manual/examples/dir.c: Likewise.
37716 * manual/examples/dir2.c: Likewise.
37717 * manual/examples/execinfo.c: Likewise.
37718 * manual/examples/filecli.c: Likewise.
37719 * manual/examples/filesrv.c: Likewise.
37720 * manual/examples/fmtmsgexpl.c: Likewise.
37721 * manual/examples/genpass.c: Likewise.
37722 * manual/examples/inetcli.c: Likewise.
37723 * manual/examples/inetsrv.c: Likewise.
37724 * manual/examples/isockad.c: Likewise.
37725 * manual/examples/longopt.c: Likewise.
37726 * manual/examples/memopen.c: Likewise.
37727 * manual/examples/memstrm.c: Likewise.
37728 * manual/examples/mkfsock.c: Likewise.
37729 * manual/examples/mkisock.c: Likewise.
37730 * manual/examples/mygetpass.c: Likewise.
37731 * manual/examples/pipe.c: Likewise.
37732 * manual/examples/popen.c: Likewise.
37733 * manual/examples/rprintf.c: Likewise.
37734 * manual/examples/search.c: Likewise.
37735 * manual/examples/select.c: Likewise.
37736 * manual/examples/setjmp.c: Likewise.
37737 * manual/examples/sigh1.c: Likewise.
37738 * manual/examples/sigusr.c: Likewise.
37739 * manual/examples/stpcpy.c: Likewise.
37740 * manual/examples/strdupa.c: Likewise.
37741 * manual/examples/strftim.c: Likewise.
37742 * manual/examples/strncat.c: Likewise.
37743 * manual/examples/subopt.c: Likewise.
37744 * manual/examples/swapcontext.c: Likewise.
37745 * manual/examples/termios.c: Likewise.
37746 * manual/examples/testopt.c: Likewise.
37747 * manual/examples/testpass.c: Likewise.
37748 * manual/examples/timeval_subtract.c: Likewise.
37751 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37753 * manual/timeval_subtract.c.texi: ... here, new file.
37755 2012-03-02 David S. Miller <davem@davemloft.net>
37757 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37759 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37762 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37763 (__sin): Save and restore rounding mode and use round-to-nearest
37764 for all computations.
37765 (__cos): Save and restore rounding mode and use round-to-nearest
37766 for all computations.
37767 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37769 (tan): Save and restore rounding mode and use round-to-nearest for
37771 * math/libm-test.inc (cos_test_tonearest): New function.
37772 (cos_test_towardzero): Likewise.
37773 (cos_test_downward): Likewise.
37774 (cos_test_upward): Likewise.
37775 (sin_test_tonearest): Likewise.
37776 (sin_test_towardzero): Likewise.
37777 (sin_test_downward): Likewise.
37778 (sin_test_upward): Likewise.
37779 (tan_test_tonearest): Likewise.
37780 (tan_test_towardzero): Likewise.
37781 (tan_test_downward): Likewise.
37782 (tan_test_upward): Likewise.
37783 (main): Call the new functions.
37784 * sysdeps/i386/fpu/libm-test-ulps: Update.
37785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37788 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37789 small n, then large n, before computing and testing k+n.
37790 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37795 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37796 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37801 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37802 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37803 * math/libm-test.inc (scalbn_test): Add more tests.
37804 (scalbln_test): Likewise.
37806 * manual/filesys.texi (mode_t): Describe constraints on size and
37807 signedness, not exact equivalence to a particular type.
37809 (ino64_t): Likewise.
37811 (nlink_t): Likewise.
37812 (blkcnt_t): Likewise.
37813 (blkcnt64_t): Likewise.
37814 * manual/llio.texi (off_t): Likewise.
37817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37818 (__ieee754_exp): Save and restore rounding mode and use
37819 round-to-nearest for all computations.
37820 * math/libm-test.inc (exp_test_tonearest): New function.
37821 (exp_test_towardzero): Likewise.
37822 (exp_test_downward): Likewise.
37823 (exp_test_upward): Likewise.
37824 (main): Call the new functions.
37825 * sysdeps/i386/fpu/libm-test-ulps: Update.
37826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37828 2012-03-01 Chris Demetriou <cgd@google.com>
37830 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37831 have predictable order.
37833 2012-03-01 David S. Miller <davem@davemloft.net>
37835 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37837 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37838 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37839 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37840 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37842 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37843 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37844 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37846 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37847 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37848 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37849 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37850 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37854 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37855 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37856 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37858 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37859 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37860 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37861 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37862 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37865 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37867 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37868 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37871 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37872 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37874 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37875 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37876 * sysdeps/sparc/elf/configure: Regenerated.
37878 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37880 * configure.in (AS, LD): Require binutils 2.20 or later.
37881 * configure: Regenerated.
37882 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37883 as required minimum version.
37884 * INSTALL: Regenerated.
37888 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37889 before squaring exponent.
37890 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37891 bottom long double and 27 bits of top long double before squaring
37893 * math/libm-test.inc (erfc_test): Add more tests.
37894 * sysdeps/i386/fpu/libm-test-ulps: Update.
37895 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898 2012-03-01 Kai Tietz <ktietz@redhat.com>
37900 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37901 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37902 containing bit-fields.
37903 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37904 * soft-fp/single.h (_FP_UNION_S): Likewise.
37905 * soft-fp/double.h (_FP_UNION_D): Likewise.
37907 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37910 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37911 not include ../strcmp.S.
37912 [USE_AS_STRNCASECMP_L]: Likewise.
37913 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37914 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37915 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37916 (__strncasecmp_l_ia32): Define as alias to
37917 __strncasecmp_l_nonascii.
37920 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37921 * sysdeps/i386/fpu/libm-test-ulps: Update.
37922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37924 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37927 2012-02-29 Jeff Law <law@redhat.com>
37929 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37930 out of bounds read.
37932 2012-02-29 Marek Polacek <polacek@redhat.com>
37935 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37936 * elf/Makefile: Add rules to run tst-unused-dep.out.
37938 2012-02-28 David S. Miller <davem@davemloft.net>
37940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37944 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37945 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37947 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37949 * math/libm-test.inc (llround_test): Move one test from
37950 lround_test. Use TEST_f_L in moved test.
37951 (lround_test): Move misplaced test to llround_test. Add testcase
37954 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37956 * sysdeps/x86_64/fpu/e_expf.S: New file.
37957 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37959 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37962 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37963 of remain_len that may cause incomplete multi-byte character and
37965 * posix/bug-regex33.c: New file.
37966 * posix/Makefile (tests): Add bug-regex33.
37968 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37970 * manual/macros.texi: New file.
37971 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37972 * manual/libc.texinfo: Include macros.texi.
37973 * manual/creatute.texi: Likewise.
37974 * manual/install.texi: Likewise.
37975 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37976 @glibcadj{} in references to the GNU C Library.
37977 * manual/charset.texi: Likewise.
37978 * manual/conf.texi: Likewise.
37979 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37980 when not using those macros.
37981 * manual/creature.texi: Likewise.
37982 * manual/crypt.texi: Likewise.
37983 * manual/errno.texi: Likewise.
37984 * manual/filesys.texi: Likewise.
37985 * manual/header.texi: Likewise.
37986 * manual/install.texi: Likewise.
37987 * manual/intro.texi: Likewise.
37988 * manual/io.texi: Likewise.
37989 * manual/job.texi: Likewise.
37990 * manual/lang.texi: Likewise.
37991 * manual/libc.texiinfo: Likewise.
37992 * manual/llio.texi: Likewise.
37993 * manual/locale.texi: Likewise.
37994 * manual/maint.texi: Likewise.
37995 * manual/math.texi: Likewise.
37996 * manual/memory.texi: Likewise.
37997 * manual/message.texi: Likewise.
37998 * manual/nss.texi: Likewise.
37999 * manual/pattern.texi: Likewise.
38000 * manual/process.texi: Likewise.
38001 * manual/resource.texi: Likewise.
38002 * manual/search.texi: Likewise.
38003 * manual/setjmp.texi: Likewise.
38004 * manual/signal.texi: Likewise.
38005 * manual/socket.texi: Likewise.
38006 * manual/startup.texi: Likewise.
38007 * manual/stdio.texi: Likewise.
38008 * manual/string.texi: Likewise.
38009 * manual/sysinfo.texi: Likewise.
38010 * manual/syslog.texi: Likewise.
38011 * manual/terminal.texi: Likewise.
38012 * manual/time.texi: Likewise.
38013 * manual/users.texi: Likewise.
38014 * INSTALL: Regenerated.
38015 * NOTES: Regenerated.
38016 * sysdeps/gnu/errlist.c: Regenerated.
38018 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38020 * include/dirent.h: Include <dirstream.h> before
38023 2012-02-28 David S. Miller <davem@davemloft.net>
38025 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38026 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38027 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38028 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38030 2012-02-27 David S. Miller <davem@davemloft.net>
38032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38034 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38035 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38038 frame pointer instead of stack pointer relative arg slot.
38039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38040 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38041 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38043 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38046 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38048 2012-02-27 David S. Miller <davem@davemloft.net>
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38056 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38059 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38061 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38062 later. Allow versions 5-9.
38063 * configure: Regenerated.
38064 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38065 required minimum version and 4.6 as recommended version. Do not
38066 mention bugs in GCC 2.7 and 2.8.
38067 * INSTALL: Regenerated.
38069 2012-02-27 David S. Miller <davem@davemloft.net>
38071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38077 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38081 manipulate bits before adding and subtracting TWO112[sx].
38082 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38084 2012-02-27 Roland McGrath <roland@hack.frob.com>
38087 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38088 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38089 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38090 being in POSIX, because they are in 1003.1-2008.
38092 * rt/tst-aio.c: Include <fcntl.h>.
38093 * rt/tst-aio7.c: Likewise.
38094 * rt/tst-aio64.c: Likewise.
38096 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38098 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38100 * manual/install.texi (--with-headers): Describe headers as
38101 interface headers, not private headers.
38102 (Specific advice for GNU/Linux systems): Describe use of headers
38103 from "make headers_install", not private headers from older
38105 * INSTALL: Regenerated.
38106 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38108 * sysdeps/unix/sysv/linux/configure: Regenerated.
38110 * manual/llio.texi (fclean): Remove documentation.
38112 * manual/Makefile (libc-texi-generated): New variable. Include
38114 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38115 $(libc-texi-generated), not duplicated list of files.
38116 (version.texi, stamp-version): New rules.
38117 (realclean): Remove $(libc-texi-generated), not individual files
38118 from that list. Do not remove dir-add.texinfo.
38119 * manual/libc.texinfo: Comment out uses of edition numbers and
38120 references to printed manual. Remove last-updated dates.
38121 (EDITION): Comment out.
38123 (VERSION, UPDATED): Remove.
38124 (version.texi): Include.
38126 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38128 * sysdeps/posix/spawni.c: Include <signal.h>.
38129 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38130 * sysdeps/pthread/aio_fsync.c: Likewise.
38132 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38134 * conform/Makefile (tests): Run only when not cross-compiling and
38135 when fast-check is not defined.
38137 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38138 * conform/data/limits.h-data: Fixes for POSIX2008.
38139 * conform/run-conformtest.sh: Run all tests.
38140 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38142 * include/bits/dlfcn.h: Likewise.
38143 * include/langinfo.h: Likewise.
38144 * include/monetary.h: Likewise.
38145 * include/sys/poll.h: Likewise.
38147 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38149 * posix/spawn.h: Define __need_sigset_t.
38150 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38151 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38152 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38153 to get sigevent_t only.
38154 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38155 only for __USE_GNU.
38156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38157 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38158 process_vm_writev only for __USE_GNU.
38159 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38161 * conform/Makefile: For now ignore errors from run-conformtest.
38162 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38163 POSIX to avoid namespace pollution. Don't prepend headers.
38164 * conform/data/aio.h-data: Fixes for POSIX testing.
38165 * conform/data/fcntl.h-data: Likewise.
38166 * conform/data/glob.h-data: Likewise.
38167 * conform/data/grp.h-data: Likewise.
38168 * conform/data/pthread.h-data: Likewise.
38169 * conform/data/pwd.h-data: Likewise.
38170 * conform/data/signal.h-data: Likewise.
38171 * conform/data/spawn.h-data: Likewise.
38172 * conform/data/stdio.h-data: Likewise.
38173 * conform/data/stdlib.h-data: Likewise.
38174 * conform/data/stropts.h-data: Likewise.
38175 * conform/data/sys/mman.h-data: Likewise.
38176 * conform/data/sys/stat.h-data: Likewise.
38177 * conform/data/sys/types.h-data: Likewise.
38178 * conform/data/sys/wait.h-data: Likewise.
38179 * conform/data/time.h-data: Likewise.
38180 * conform/data/unistd.h-data: Likewise.
38181 * conform/data/utime.h-data: Likewise.
38183 * io/sys/stat.h: fchmod was always in POSIX.
38184 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38185 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38186 * rt/aio.h: Define __need_timespec before including <time.h>.
38187 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38188 struct. Add forward declaration of pthread_attr_t and use it in
38190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38192 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38193 always remove CLK_TCK definition.
38195 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38197 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38199 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38201 * conform/run-conformtest.sh: New file.
38202 * conform/Makefile: Run run-conformtest for tests.
38203 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38206 * conform/data/uchar.h-data: New file.
38207 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38208 * conform/data/arpa/inet.h-data: Likewise.
38209 * conform/data/assert.h-data: Likewise.
38210 * conform/data/complex.h-data: Likewise.
38211 * conform/data/cpio.h-data: Likewise.
38212 * conform/data/ctype.h-data: Likewise.
38213 * conform/data/dirent.h-data: Likewise.
38214 * conform/data/dlfcn.h-data: Likewise.
38215 * conform/data/errno.h-data: Likewise.
38216 * conform/data/fcntl.h-data: Likewise.
38217 * conform/data/float.h-data: Likewise.
38218 * conform/data/fmtmsg.h-data: Likewise.
38219 * conform/data/fnmatch.h-data: Likewise.
38220 * conform/data/ftw.h-data: Likewise.
38221 * conform/data/glob.h-data: Likewise.
38222 * conform/data/grp.h-data: Likewise.
38223 * conform/data/iconv.h-data: Likewise.
38224 * conform/data/inttypes.h-data: Likewise.
38225 * conform/data/langinfo.h-data: Likewise.
38226 * conform/data/libgen.h-data: Likewise.
38227 * conform/data/limits.h-data: Likewise.
38228 * conform/data/locale.h-data: Likewise.
38229 * conform/data/math.h-data: Likewise.
38230 * conform/data/monetary.h-data: Likewise.
38231 * conform/data/mqueue.h-data: Likewise.
38232 * conform/data/ndbm.h-data: Likewise.
38233 * conform/data/net/if.h-data: Likewise.
38234 * conform/data/netdb.h-data: Likewise.
38235 * conform/data/netinet/in.h-data: Likewise.
38236 * conform/data/nl_types.h-data: Likewise.
38237 * conform/data/poll.h-data: Likewise.
38238 * conform/data/pthread.h-data: Likewise.
38239 * conform/data/pwd.h-data: Likewise.
38240 * conform/data/regex.h-data: Likewise.
38241 * conform/data/sched.h-data: Likewise.
38242 * conform/data/search.h-data: Likewise.
38243 * conform/data/semaphore.h-data: Likewise.
38244 * conform/data/setjmp.h-data: Likewise.
38245 * conform/data/signal.h-data: Likewise.
38246 * conform/data/spawn.h-data: Likewise.
38247 * conform/data/stdarg.h-data: Likewise.
38248 * conform/data/stdio.h-data: Likewise.
38249 * conform/data/stdlib.h-data: Likewise.
38250 * conform/data/string.h-data: Likewise.
38251 * conform/data/strings.h-data: Likewise.
38252 * conform/data/stropts.h-data: Likewise.
38253 * conform/data/sys/ipc.h-data: Likewise.
38254 * conform/data/sys/mman.h-data: Likewise.
38255 * conform/data/sys/msg.h-data: Likewise.
38256 * conform/data/sys/resource.h-data: Likewise.
38257 * conform/data/sys/select.h-data: Likewise.
38258 * conform/data/sys/sem.h-data: Likewise.
38259 * conform/data/sys/shm.h-data: Likewise.
38260 * conform/data/sys/socket.h-data: Likewise.
38261 * conform/data/sys/stat.h-data: Likewise.
38262 * conform/data/sys/statvfs.h-data: Likewise.
38263 * conform/data/sys/time.h-data: Likewise.
38264 * conform/data/sys/timeb.h-data: Likewise.
38265 * conform/data/sys/times.h-data: Likewise.
38266 * conform/data/sys/types.h-data: Likewise.
38267 * conform/data/sys/uio.h-data: Likewise.
38268 * conform/data/sys/un.h-data: Likewise.
38269 * conform/data/sys/utsname.h-data: Likewise.
38270 * conform/data/sys/wait.h-data: Likewise.
38271 * conform/data/syslog.h-data: Likewise.
38272 * conform/data/tar.h-data: Likewise.
38273 * conform/data/termios.h-data: Likewise.
38274 * conform/data/utime.h-data: Likewise.
38275 * conform/data/utmpx.h-data: Likewise.
38276 * conform/data/varargs.h-data: Likewise.
38277 * conform/data/wchar.h-data: Likewise.
38278 * conform/data/wctype.h-data: Likewise.
38279 * conform/data/wordexp.h-data: Likewise.
38281 * include/stropts.h: New file.
38282 * include/uchar.h: New file.
38283 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38284 * include/assert.h: Likewise.
38285 * include/ctype.h: Likewise.
38286 * include/dirent.h: Likewise.
38287 * include/dlfcn.h: Likewise.
38288 * include/fcntl.h: Likewise.
38289 * include/fnmatch.h: Likewise.
38290 * include/glob.h: Likewise.
38291 * include/grp.h: Likewise.
38292 * include/libio.h: Likewise.
38293 * include/locale.h: Likewise.
38294 * include/math.h: Likewise.
38295 * include/net/if.h: Likewise.
38296 * include/netdb.h: Likewise.
38297 * include/netinet/in.h: Likewise.
38298 * include/pthread.h: Likewise.
38299 * include/pwd.h: Likewise.
38300 * include/regex.h: Likewise.
38301 * include/sched.h: Likewise.
38302 * include/search.h: Likewise.
38303 * include/setjmp.h: Likewise.
38304 * include/signal.h: Likewise.
38305 * include/stdio.h: Likewise.
38306 * include/stdlib.h: Likewise.
38307 * include/string.h: Likewise.
38308 * include/sys/cdefs.h: Likewise.
38309 * include/sys/mman.h: Likewise.
38310 * include/sys/msg.h: Likewise.
38311 * include/sys/resource.h: Likewise.
38312 * include/sys/select.h: Likewise.
38313 * include/sys/socket.h: Likewise.
38314 * include/sys/stat.h: Likewise.
38315 * include/sys/statvfs.h: Likewise.
38316 * include/sys/time.h: Likewise.
38317 * include/sys/times.h: Likewise.
38318 * include/sys/uio.h: Likewise.
38319 * include/sys/utsname.h: Likewise.
38320 * include/sys/wait.h: Likewise.
38321 * include/termios.h: Likewise.
38322 * include/time.h: Likewise.
38323 * include/ulimit.h: Likewise.
38324 * include/unistd.h: Likewise.
38325 * include/utime.h: Likewise.
38326 * include/wchar.h: Likewise.
38327 * include/wctype.h: Likewise.
38328 * include/wordexp.h: Likewise.
38330 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38332 * time/time.h: TIME_UTC must be a macro.
38333 Make timespec_get available for ISO C11 only as well.
38335 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38337 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38338 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38340 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38342 * configure.in: Use -o not -a in test for unsupported multi-arch.
38344 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38346 * manual/texinfo.tex: Update to version 2012-01-19.16.
38348 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38350 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38352 2012-02-24 Roland McGrath <roland@hack.frob.com>
38355 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38356 * manual/fdl-1.3.texi: New file.
38357 * manual/fdl-1.1.texi: File removed.
38360 * manual/libc.texinfo (FDL_VERSION): New @set.
38361 Use it for mention of FDL in cover text.
38362 (Documentation License): Use it in @include file name.
38364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38365 Roland McGrath <roland@hack.frob.com>
38368 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38369 (not LONG_LONG_MAX and LONG_LONG_MIN.
38370 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38371 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38373 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38375 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38379 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38380 manipulate bits before adding and subtracting TWO23[sx].
38381 * math/libm-test.inc (nearbyint_test): Add more tests.
38383 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38386 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38387 bits before adding and subtracting TWO23[sx].
38388 * math/libm-test.inc (rint_test): Add more tests.
38389 (rint_test_tonearest): Likewise.
38390 (rint_test_towardzero): Likewise.
38391 (rint_test_downward): Likewise.
38392 (rint_test_upward: Likewise.
38394 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38397 * include/stdc-predef.h: New file. Extracted from features.h.
38398 * include/features.h: Include stdc-predef.h.
38399 * Makefile (headers): Add stdc-predef.h.
38400 * CONFORMANCE (Compiler limitations): Update.
38402 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38404 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38406 2012-02-21 David S. Miller <davem@davemloft.net>
38408 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38409 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38411 2012-02-20 David S. Miller <davem@davemloft.net>
38413 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38414 using a normal save/restore sequence, rather than allocating a
38415 dummy stack frame just to store a frame pointer and restore.
38416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38418 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38420 * manual/install.texi: Fix stray word in line-wrapped comment.
38422 2012-02-20 David S. Miller <davem@davemloft.net>
38424 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38425 both binutils and gcc support GOTDATA.
38427 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38428 "rd %pc" in the PIC register setup sequences.
38430 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38431 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38432 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38433 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38434 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38436 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38439 (SYSCALL_ERROR_HANDLER): Likewise.
38440 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38443 (SYSCALL_ERROR_HANDLER): Likewise.
38445 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38446 (HAVE_GCC_GOTDATA): New.
38447 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38448 relocation support in both binutils and gcc.
38449 * sysdeps/sparc/elf/configure: Regenerate.
38451 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38452 * sysdeps/sparc/sparc32/elf/configure: Delete.
38453 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38454 * sysdeps/sparc/sparc64/elf/configure: Delete.
38455 * sysdeps/sparc/elf/configure.in: New file.
38456 * sysdeps/sparc/elf/configure: Generate.
38458 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38459 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38460 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38461 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38462 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38464 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38466 * manual/install.texi: Do not mention specific glibc version
38468 * manual/libc.texinfo (VERSION, UPDATED): Update.
38469 (@copying): Use @copyright{} and range of years.
38471 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38474 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38475 [crti.S not in sysdirs] (generated): Do not append.
38476 [crti.S not in sysdirs] (omit-deps): Likewise.
38477 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38478 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38479 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38480 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38481 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38483 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38484 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38485 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38486 * csu/defs.awk: Remove file.
38487 * sysdeps/generic/initfini.c: Likewise.
38488 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38490 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38493 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38495 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38496 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38497 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38500 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38502 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38503 (__EPOLL_PACKED): Define to empty if not defined by
38505 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38509 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38511 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38512 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38513 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38514 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38516 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38520 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38522 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38525 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38529 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38531 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38532 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38534 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38536 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38537 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38539 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38541 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38544 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38546 * math/w_acos.c: Use non-signaling floating-point comparisons.
38547 * math/w_acosf.c: Likewise.
38548 * math/w_acosh.c: Likewise.
38549 * math/w_acoshf.c: Likewise.
38550 * math/w_acoshl.c: Likewise.
38551 * math/w_acosl.c: Likewise.
38552 * math/w_asin.c: Likewise.
38553 * math/w_asinf.c: Likewise.
38554 * math/w_asinl.c: Likewise.
38555 * math/w_atanh.c: Likewise.
38556 * math/w_atanhf.c: Likewise.
38557 * math/w_atanhl.c: Likewise.
38558 * math/w_exp2.c: Likewise.
38559 * math/w_exp2f.c: Likewise.
38560 * math/w_exp2l.c: Likewise.
38561 * math/w_j0.c: Likewise.
38562 * math/w_j0f.c: Likewise.
38563 * math/w_j0l.c: Likewise.
38564 * math/w_j1.c: Likewise.
38565 * math/w_j1f.c: Likewise.
38566 * math/w_j1l.c: Likewise.
38567 * math/w_jn.c: Likewise.
38568 * math/w_jnf.c: Likewise.
38569 * math/w_log.c: Likewise.
38570 * math/w_log10.c: Likewise.
38571 * math/w_log10f.c: Likewise.
38572 * math/w_log10l.c: Likewise.
38573 * math/w_log2.c: Likewise.
38574 * math/w_log2f.c: Likewise.
38575 * math/w_log2l.c: Likewise.
38576 * math/w_logf.c: Likewise.
38577 * math/w_logl.c: Likewise.
38578 * math/w_sqrt.c: Likewise.
38579 * math/w_sqrtf.c: Likewise.
38580 * math/w_sqrtl.c: Likewise.
38581 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38582 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38584 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38585 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38587 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38590 * manual/string.texi (strnlen): Use correct parameter name in
38591 equivalent expression.
38593 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38596 * manual/users.texi (seteuid): Consistently use neweuid for
38599 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38602 * manual/nss.texi (Services in the NSS configuration): Correct
38603 list of services in example configuration file.
38605 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38608 * manual/arith.texi: Remove statements about negative zero
38609 behaving identically to zero.
38611 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38614 * manual/install.texi: Do not document upgrading from libc5.
38616 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38619 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38621 2012-02-18 David S. Miller <davem@davemloft.net>
38623 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38624 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38625 %o7 across the call.
38626 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38629 SETUP_PIC_REG_LEAF.
38630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38631 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38632 * sysdeps/sparc/crtn.S: Likewise.
38634 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38636 * aout/Makefile: Remove.
38638 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38641 * manual/examples/argp-ex1.c (main): Format definition in GNU
38643 * manual/examples/argp-ex2.c (main): Likewise.
38644 * manual/examples/argp-ex3.c (main): Likewise.
38645 * manual/examples/argp-ex4.c (main): Likewise.
38646 * manual/examples/longopt.c (main): Use new-style prototype
38648 * manual/examples/strncat.c (main): Specify return type and use
38649 (void) for arguments.
38650 * manual/examples/subopt.c (main): Use char **argv argument.
38652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38655 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38658 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38661 * manual/string.texi (strchr): Change when strchrnul is
38664 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38667 * manual/locale.texi (setlocale): Document LOCPATH.
38669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38672 * manual/process.texi (execle): Move @dots{} before last argument.
38674 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38677 * manual/charset.texi (Generic Charset Conversion): Fix typo
38678 (LC_TYPE -> LC_CTYPE).
38680 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38683 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38684 (scalbnf): Likewise.
38685 (scalbnl): Likewise.
38686 (scalbln): Likewise.
38687 (scalblnf): Likewise.
38688 (scalblnl): Likewise.
38689 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38690 (vwarnx): Likewise.
38693 * manual/filesys.texi (telldir): Use braces around return type.
38694 * manual/llio.texi (mmap): Add space after comma.
38695 (mmap64): Likewise.
38696 * manual/math.texi (jn): Use @var{} on parameter names.
38702 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38704 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38706 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38707 (sched_get_priority_max): Likewise.
38708 * manual/signal.texi (sigvec): Add space after comma.
38709 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38711 (if_indextoname): Likewise.
38712 (if_freenameindex): Likewise.
38713 (sendto): Use ',' instead of '.' in prototype.
38714 * manual/startup.texi (syscall): Use @dots{} instead of literal
38716 * manual/stdio.texi (__fpending): Separate initial words of
38717 paragraph from @deftypefun line.
38718 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38720 (vsyslog): Use @var{} on parameter names.
38721 * manual/terminal.texi (stty): Use @var{} on parameter names.
38722 * manual/users.texi (getutmp): Use @var{} on parameter names.
38723 (getutmpx): Likewise.
38725 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38728 * manual/stdio.texi (fopen): Fix typos in description of
38731 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38734 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38735 get clock_id definition.
38737 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38740 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38741 (madvise): Cast every argument to void on its own.
38743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38746 * manual/startup.texi (Exit Status): Fix typo.
38748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38751 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38752 * manual/examples/argp-ex2.c: Likewise.
38753 * manual/examples/argp-ex3.c: Likewise.
38755 2012-02-16 Richard Henderson <rth@redhat.com>
38757 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38758 * sysdeps/s390/s390-32/initfini.c: Remove.
38759 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38760 * sysdeps/s390/s390-64/initfini.c: Remove.
38762 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38764 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38765 compiler output for sysdeps/generic/initfini.c.
38766 * sysdeps/sh/elf/initfini.c: Remove file.
38768 2012-02-16 David S. Miller <davem@davemloft.net>
38771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38773 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38774 * sysdeps/sparc/crti.S: New file.
38775 * sysdeps/sparc/crtn.S: New file.
38776 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38777 * sysdeps/sparc/sparc64/Makefile: Likewise.
38779 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38782 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38784 2012-02-15 Roland McGrath <roland@hack.frob.com>
38787 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38789 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38790 (write, read, close): Likewise.
38791 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38793 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38795 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38796 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38797 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38798 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38800 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38804 2012-02-14 Marek Polacek <polacek@redhat.com>
38806 * sysdeps/x86_64/crti.S: New file.
38807 * sysdeps/x86_64/crtn.S: New file.
38808 * sysdeps/x86_64/elf/initfini.c: Remove file.
38810 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38812 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38813 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38814 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38815 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38817 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38821 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38823 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38824 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38825 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38826 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38828 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38832 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38834 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38835 __feraiseexcept instead of feraiseexcept.
38837 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38838 nanosleep invocations.
38839 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38840 strings, and add error checking for a nanosleep invocations.
38842 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38844 Replace FSF snail mail address with URLs, as per GNU coding standards.
38845 Most of the snail mail addresses were wrong anyway, and omitting
38846 them makes the source code easier to maintain. Almost all of the
38847 changes are to license notices and to locale LC_IDENTIFICATION
38848 addresses, except for this one:
38849 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38850 not its snail mail address.
38852 2012-02-09 Richard Henderson <rth@twiddle.net>
38854 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38855 of kernel-features.h.
38857 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38859 2012-02-08 Marek Polacek <polacek@redhat.com>
38861 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38862 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38863 * sysdeps/gnu/_G_config.h: Likewise.
38864 * sysdeps/generic/_G_config.h: Likewise.
38866 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38868 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38872 * sysdeps/powerpc/powerpc32/crti.S: New file.
38873 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38874 * sysdeps/powerpc/powerpc64/crti.S: New file.
38875 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38877 * Makeconfig (have-initfini): Don't set.
38878 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38879 * configure.in (nopic_initfini): Don't substitute.
38880 * config.h.in (HAVE_INITFINI): Don't #undef.
38881 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38882 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38884 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38886 Support crti.S and crtn.S provided directly by architectures.
38887 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38888 [crti.S in sysdirs] (omit-deps): Likewise.
38889 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38890 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38891 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38892 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38893 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38894 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38895 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38896 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38897 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38898 compiler output for sysdeps/generic/initfini.c.
38899 * sysdeps/i386/elf/Makefile: Remove file.
38900 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38902 2012-02-07 Marek Polacek <polacek@redhat.com>
38904 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38905 * sysdeps/gnu/_G_config.h: Likewise.
38906 * sysdeps/mach/hurd/_G_config.h: Likewise.
38908 2012-02-07 Marek Polacek <polacek@redhat.com>
38910 * math/Makefile (tests): Add tst-CMPLX2.
38911 * math/tst-CMPLX2.c: New file.
38913 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38915 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38917 * math/libm-test.inc (jn_test): Add missing L suffix.
38919 2012-02-06 Marek Polacek <polacek@redhat.com>
38921 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38922 * sysdeps/i386/fpu/e_powf.S: Likewise.
38923 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38924 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38925 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38926 * sysdeps/i386/fpu/e_pow.S: Likewise.
38927 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38928 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38929 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38930 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38931 * sysdeps/i386/fpu/e_log2.S: Likewise.
38932 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38933 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38934 * sysdeps/i386/fpu/e_powl.S: Likewise.
38935 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38936 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38937 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38938 * sysdeps/i386/fpu/e_logl.S: Likewise.
38939 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38940 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38945 * sysdeps/i386/fpu/e_log.S: Likewise.
38946 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38947 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38948 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38949 * sysdeps/i386/fpu/e_logf.S: Likewise.
38950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38952 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38953 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38954 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38955 * sysdeps/i386/fpu/e_log10.S: Likewise.
38956 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38957 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38958 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38959 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38960 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38961 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38962 * sysdeps/i386/asm-syntax.h: Likewise.
38963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38966 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38967 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38969 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38970 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38972 * sysdeps/powerpc/sysdep.h: Likewise.
38973 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38976 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38979 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38981 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38983 * sysdeps/i386/sysdep.h: Include <features.h>.
38984 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38987 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38989 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38991 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38994 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38996 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38997 (SETUP_PIC_REG): Use GET_PC_THUNK.
38998 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39001 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39003 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39004 for non-PIC compilation.
39005 (SETUP_PIC_REG): Add .p2align directive.
39006 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39007 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39008 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39009 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39010 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39011 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39012 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39014 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39015 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39016 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39017 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39018 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39019 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39020 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39023 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39024 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39025 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39027 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39028 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39029 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39034 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39035 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39036 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39039 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39040 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39041 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39042 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39043 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39044 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39045 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39046 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39048 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39050 * math/tst-CMPLX.c: Include <stdio.h>.
39052 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39054 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39056 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39057 * sysdeps/sparc/bits/mathdef.h: Likewise.
39059 2012-01-31 Marek Polacek <polacek@redhat.com>
39061 * libio/libio.h: Don't define _PARAMS.
39062 * locale/programs/config.h: Don't define PARAMS.
39063 * stdlib/strtol_l.c: Likewise.
39064 (__strtol_l): Remove PARAMS from the prototype.
39066 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39068 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39069 names. Just use the correct names. Remove unnecessary wrapper
39071 * malloc/arena.c: Likewise.
39072 * malloc/hooks.c: Likewise.
39074 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39075 ARENA_TEST says not to. Simplify test for creation of a new arena.
39076 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39078 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39080 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39082 (update_get_addr): New function.
39083 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39084 GET_ADDR_MODULE parameter.
39086 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39088 * crypt/cert.c: Remove __STDC__ conditionals.
39089 * crypt/crypt-entry.c: Likewise.
39090 * crypt/crypt_util.c: Likewise.
39091 * libio/filedoalloc.c: Likewise.
39092 * libio/fileops.c: Likewise.
39093 * libio/genops.c: Likewise.
39094 * libio/iofclose.c: Likewise.
39095 * libio/iofdopen.c: Likewise.
39096 * libio/iofopen.c: Likewise.
39097 * libio/iofopen64.c: Likewise.
39098 * libio/iogetdelim.c: Likewise.
39099 * libio/iopopen.c: Likewise.
39100 * libio/obprintf.c: Likewise.
39101 * libio/oldfileops.c: Likewise.
39102 * libio/oldiofclose.c: Likewise.
39103 * libio/oldiofdopen.c: Likewise.
39104 * libio/oldiofopen.c: Likewise.
39105 * libio/oldiopopen.c: Likewise.
39106 * libio/wfiledoalloc.c: Likewise.
39107 * libio/wgenops.c: Likewise.
39108 * locale/programs/xmalloc.c: Likewise.
39109 * misc/syslog.c: Likewise.
39110 * stdio-common/xbug.c: Likewise.
39111 * string/memchr.c: Likewise.
39112 * string/memcmp.c: Likewise.
39113 * string/memrchr.c: Likewise.
39114 * string/rawmemchr.c: Likewise.
39115 * sysdeps/posix/getcwd.c: Likewise.
39116 * time/strftime_l.c: Likewise.
39118 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39120 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39121 * config.make.in (config-cflags-sse2avx): Define.
39122 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39125 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39127 * scripts/config.guess: Update from upstream config git repository.
39128 * scripts/config.sub: Likewise.
39130 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39132 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39134 (R_TILEPRO_*, R_TILEGX_*): New macros.
39136 * scripts/firstversions.awk: Fix bug in version range handling.
39138 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39140 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39142 * include/sys/epoll.h: New file.
39143 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39146 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39148 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39149 Avoid unnecessary __WORDSIZE == 64 test.
39150 (fmaxf): Use VEX format if possible.
39155 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39156 * math/math_private.h: Remove libc_fegetround* and
39158 * sysdeps/i386/configure.in: Check for -msse2avx.
39159 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39160 also if SSE2AVX is defined.
39161 Remove libc_fegetround* and libc_fesetround*.
39162 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39163 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39172 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39174 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39176 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39180 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39183 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39185 * Makeconfig (libm): Define.
39186 * elf/Makefile: Add rules to build and run tst-relsort1.
39187 * elf/tst-relsort1.c: New file.
39188 * elf/tst-relsort1mod1.c: New file.
39189 * elf/tst-relsort1mod2.c: New file.
39191 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39193 * math/s_ldexp.c: Remove __STDC__ conditionals.
39194 * math/s_ldexpf.c: Likewise.
39195 * math/s_ldexpl.c: Likewise.
39196 * math/s_nextafter.c: Likewise.
39197 * math/s_nexttowardf.c: Likewise.
39198 * math/s_significand.c: Likewise.
39199 * math/s_significandf.c: Likewise.
39200 * math/s_significandl.c: Likewise.
39201 * math/w_jnl.c: Likewise.
39202 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39203 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39204 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39205 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39206 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39212 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39216 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39217 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39218 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39220 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39221 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39222 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39223 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39224 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39225 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39226 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39227 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39229 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39230 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39233 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39234 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39235 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39236 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39237 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39238 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39242 * sysdeps/ieee754/k_standard.c: Likewise.
39243 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39244 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39245 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39246 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39247 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39250 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39251 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39252 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39253 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39254 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39255 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39256 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39257 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39258 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39259 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39260 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39275 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39279 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39318 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39322 * sysdeps/ieee754/s_matherr.c: Likewise.
39323 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39324 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39328 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39330 * crypt/md5.h: Remove __STDC__ conditionals.
39331 * libio/libioP.h: Likewise.
39332 * locale/programs/config.h: Likewise.
39333 * sysdeps/generic/sysdep.h: Likewise.
39334 * sysdeps/i386/asm-syntax.h: Likewise.
39335 * sysdeps/s390/asm-syntax.h: Likewise.
39336 * sysdeps/unix/sysdep.h: Likewise.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39340 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39342 * libio/libio.h: Remove __STDC__ conditionals.
39343 * malloc/obstack.h: Likewise.
39344 * math/complex.h: Likewise.
39345 * math/math.h: Likewise.
39346 * sysdeps/generic/_G_config.h: Likewise.
39347 * sysdeps/gnu/_G_config.h: Likewise.
39348 * sysdeps/mach/hurd/_G_config.h: Likewise.
39349 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39350 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39351 * sysdeps/sparc/bits/mathdef.h: Likewise.
39353 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39356 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39357 Clean up HAS_* macros.
39358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39359 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39361 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39363 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39364 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39365 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39366 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39367 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39369 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39371 * elf/tst-unique3.cc (gets): Remove declaration.
39372 * elf/tst-unique3lib.cc (gets): Likewise.
39373 * elf/tst-unique3lib2.cc (gets): Likewise.
39374 * elf/tst-unique4.cc (gets): Likewise.
39376 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39378 * include/stdio.h: Add C++ protection. Add gets declarations and
39380 * debug/tst-chk1.c: Don't declare gets here.
39381 * stdio-common/tst-gets.c: Likewise.
39383 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39385 * posix/glob: Remove directory.
39387 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39389 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39391 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39393 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39394 of the non-standard EPFNOSUPPORT.
39396 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39398 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39399 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39400 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39402 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39404 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39406 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39408 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39410 * nscd/grpcache.c (cache_addgr): Likewise.
39411 * nscd/hstcache.c (cache_addhst): Likewise.
39412 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39413 * nscd/pwdcache.c (cache_addpw): Likewise.
39414 * nscd/servicescache.c (cache_addserv): Likewise.
39416 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39418 * malloc/malloc.c: Various cleanups.
39419 * malloc/hooks.c: Likewise.
39421 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39422 * stdlib/bug-fmtmsg1.c: New file.
39424 * stdlib/fmtmsg.c (init): Add missing unlock.
39425 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39427 2012-01-12 Marek Polacek <polacek@redhat.com>
39429 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39432 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39434 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39435 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39436 macro to ensure uniqueness of label name.
39437 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39438 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39440 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39442 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39444 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39445 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39449 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39451 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39453 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39454 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39455 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39457 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39459 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39460 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39461 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39464 * math/bits/math-finite.h: Add ldexp support.
39466 2012-01-10 Marek Polacek <polacek@redhat.com>
39468 * locale/programs/localedef.h (show_archive_content): Add noreturn
39471 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39473 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39475 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39477 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39479 * io/Makefile (headers): Add bits/poll2.h.
39481 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39484 typo #include statement.
39486 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39488 * include/sys/cdefs.h: Define __attribute_alloc_size.
39489 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39490 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39491 * elf/pldd.c: Likewise.
39492 * iconv/iconv_charmap.c: Likewise.
39493 * iconv/iconvconfig.c: Likewise.
39494 * iconv/strtab.c: Likewise.
39495 * locale/programs/locale.c: Likewise.
39496 * locale/programs/localedef.h: Likewise.
39497 * locale/programs/simple-hash.c: Likewise.
39498 * nscd/nscd.h: Likewise.
39499 * nss/makedb.c: Likewise.
39500 * sysdeps/generic/ldconfig.h: Likewise.
39501 * locale/programs/localedef.c: Remove xmalloc prototype.
39502 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39504 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39509 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39511 * math/Makefile (tests): Add tst-CMPLX.
39512 * math/tst-CMPLX.c: New file.
39514 * math/complex.h (CMPLXL): Fix typo.
39516 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39517 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39519 * debug/tst-chk1.c: Add poll and ppoll tests.
39520 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39521 * include/sys/poll.h: Add hidden proto for ppoll.
39522 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39523 * sysdeps/mach/hurd/ppoll.c: Likewise.
39524 * io/ppoll.c: Likewise.
39525 * debug/poll_chk.c: New file.
39526 * debug/ppoll_chk.c: New file.
39527 * include/bits/poll2.h: New file.
39528 * io/bits/poll2.h: New file.
39531 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39533 * configure.in: static is always set to yes. Remove.
39534 * config.make.in: Don't set build-static.
39535 * Makeconfig: Remove use of build-static.
39536 * dlfcn/Makefile: Likewise.
39537 * elf/Makefile: Likewise.
39538 * math/Makefile: Likewise.
39539 * misc/Makefile: Likewise.
39540 * nptl/Makefile: Likewise.
39541 * sysdeps/mach/hurd/Makefile: Likewise.
39543 * configure.in: PWD_P is not used anymore.
39544 * config.make.in: Remove PWD_P entry.
39546 * configure.in: Remove last remnants of RANLIB.
39547 No need to check for signed size_t anymore.
39548 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39550 Remove __builtin_expect test because we require at least gcc 3.4.
39551 * aclocal.m4: Likewise.
39553 * wcsmbs/mbrtoc16.c: Implement using towc function.
39554 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39555 * wcsmbs/wcsmbsload.c: Likewise.
39556 * iconv/gconv_simple.c: Likewise.
39557 * iconv/gconv_int.h: Likewise.
39558 * iconv/gconv_builtin.h: Likewise.
39559 * iconv/iconv_prog.c: Remove CHAR16 handling.
39561 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39563 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39565 * configure.in: Remove --with-elf and --enable-bounded options.
39566 Dont set base_machine for ia64. More non-ELF conditions removed.
39567 Remove testing and setting of leading underscore information.
39568 * config.make.in (build-bounded): Set to no.
39569 * config.h.in: Remove NO_UNDERSCORES entry.
39570 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39572 * csu/start.c: Remove !NO_UNDERSCORE code.
39573 * locale/localeinfo.h: Likewise.
39574 * sysdeps/generic/machine-gmon.h: Likewise.
39575 * sysdeps/generic/sysdep.h: Likewise.
39576 * sysdeps/i386/sysdep.h: Likewise.
39577 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39578 * sysdeps/mach/sysdep.h: Likewise.
39579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39581 * sysdeps/sh/sysdep.h: Likewise.
39582 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39583 * sysdeps/unix/i386/sysdep.S: Likewise.
39584 * sysdeps/unix/sparc/start.c: Likewise.
39585 * sysdeps/unix/sparc/sysdep.S: Likewise.
39586 * sysdeps/unix/sparc/sysdep.h: Likewise.
39587 * sysdeps/unix/start.c: Likewise.
39588 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39589 * sysdeps/x86_64/sysdep.h: Likewise.
39591 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39594 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39596 * argp/argp-fmtstream.h: Use const instead __const.
39597 * argp/argp.h: Likewise.
39598 * assert/assert.h: Likewise.
39599 * bits/fenv.h: Likewise.
39600 * bits/sched.h: Likewise.
39601 * bits/sigset.h: Likewise.
39602 * bits/sigthread.h: Likewise.
39603 * catgets/nl_types.h: Likewise.
39604 * conform/data/pthread.h-data: Likewise.
39605 * crypt/crypt-private.h: Likewise.
39606 * crypt/crypt.h: Likewise.
39607 * crypt/crypt_util.c: Likewise.
39608 * ctype/ctype.h: Likewise.
39609 * debug/execinfo.h: Likewise.
39610 * debug/mbsnrtowcs_chk.c: Likewise.
39611 * debug/mbsrtowcs_chk.c: Likewise.
39612 * debug/wcsnrtombs_chk.c: Likewise.
39613 * debug/wcsrtombs_chk.c: Likewise.
39614 * debug/wcstombs_chk.c: Likewise.
39615 * dirent/dirent.h: Likewise.
39616 * dlfcn/dlfcn.h: Likewise.
39617 * elf/neededtest4.c: Likewise.
39618 * grp/grp.h: Likewise.
39619 * gshadow/gshadow.h: Likewise.
39620 * iconv/gconv.h: Likewise.
39621 * iconv/gconv_int.h: Likewise.
39622 * iconv/gconv_simple.c: Likewise.
39623 * iconv/iconv.h: Likewise.
39624 * iconv/loop.c: Likewise.
39625 * iconv/skeleton.c: Likewise.
39626 * include/aio.h: Likewise.
39627 * include/aliases.h: Likewise.
39628 * include/argz.h: Likewise.
39629 * include/arpa/inet.h: Likewise.
39630 * include/assert.h: Likewise.
39631 * include/dirent.h: Likewise.
39632 * include/dlfcn.h: Likewise.
39633 * include/execinfo.h: Likewise.
39634 * include/fcntl.h: Likewise.
39635 * include/fenv.h: Likewise.
39636 * include/glob.h: Likewise.
39637 * include/grp.h: Likewise.
39638 * include/libintl.h: Likewise.
39639 * include/mntent.h: Likewise.
39640 * include/netdb.h: Likewise.
39641 * include/pwd.h: Likewise.
39642 * include/rpc/netdb.h: Likewise.
39643 * include/sched.h: Likewise.
39644 * include/search.h: Likewise.
39645 * include/shadow.h: Likewise.
39646 * include/signal.h: Likewise.
39647 * include/stdio.h: Likewise.
39648 * include/stdlib.h: Likewise.
39649 * include/string.h: Likewise.
39650 * include/sys/socket.h: Likewise.
39651 * include/sys/stat.h: Likewise.
39652 * include/sys/statfs.h: Likewise.
39653 * include/sys/statvfs.h: Likewise.
39654 * include/sys/syslog.h: Likewise.
39655 * include/sys/time.h: Likewise.
39656 * include/sys/uio.h: Likewise.
39657 * include/time.h: Likewise.
39658 * include/unistd.h: Likewise.
39659 * include/utmp.h: Likewise.
39660 * include/wchar.h: Likewise.
39661 * include/wctype.h: Likewise.
39662 * inet/aliases.h: Likewise.
39663 * inet/arpa/inet.h: Likewise.
39664 * inet/netinet/ether.h: Likewise.
39665 * inet/netinet/in.h: Likewise.
39666 * intl/libintl.h: Likewise.
39667 * io/bits/fcntl2.h: Likewise.
39668 * io/fcntl.h: Likewise.
39669 * io/ftw.h: Likewise.
39670 * io/sys/poll.h: Likewise.
39671 * io/sys/stat.h: Likewise.
39672 * io/sys/statfs.h: Likewise.
39673 * io/sys/statvfs.h: Likewise.
39674 * io/utime.h: Likewise.
39675 * libio/bits/stdio.h: Likewise.
39676 * libio/bits/stdio2.h: Likewise.
39677 * libio/libio.h: Likewise.
39678 * libio/libioP.h: Likewise.
39679 * libio/stdio.h: Likewise.
39680 * locale/lc-ctype.c: Likewise.
39681 * locale/locale.h: Likewise.
39682 * login/utmp.h: Likewise.
39683 * malloc/arena.c: Likewise.
39684 * malloc/malloc.c: Likewise.
39685 * malloc/malloc.h: Likewise.
39686 * malloc/mcheck.c: Likewise.
39687 * malloc/mtrace.c: Likewise.
39688 * math/bits/mathcalls.h: Likewise.
39689 * math/fenv.h: Likewise.
39690 * math/math_private.h: Likewise.
39691 * misc/bits/error.h: Likewise.
39692 * misc/bits/syslog.h: Likewise.
39693 * misc/err.h: Likewise.
39694 * misc/error.h: Likewise.
39695 * misc/fstab.h: Likewise.
39696 * misc/mntent.h: Likewise.
39697 * misc/regexp.h: Likewise.
39698 * misc/search.h: Likewise.
39699 * misc/sgtty.h: Likewise.
39700 * misc/sys/mman.h: Likewise.
39701 * misc/sys/syslog.h: Likewise.
39702 * misc/sys/uio.h: Likewise.
39703 * misc/sys/xattr.h: Likewise.
39704 * misc/ttyent.h: Likewise.
39705 * nis/rpcsvc/ypclnt.h: Likewise.
39706 * nss/nss.h: Likewise.
39707 * posix/bits/unistd.h: Likewise.
39708 * posix/fnmatch.h: Likewise.
39709 * posix/glob.h: Likewise.
39710 * posix/sched.h: Likewise.
39711 * posix/spawn.h: Likewise.
39712 * posix/sys/wait.h: Likewise.
39713 * posix/unistd.h: Likewise.
39714 * posix/wordexp.h: Likewise.
39715 * pwd/pwd.h: Likewise.
39716 * resolv/netdb.h: Likewise.
39717 * resource/sys/resource.h: Likewise.
39718 * rt/aio.h: Likewise.
39719 * rt/bits/mqueue2.h: Likewise.
39720 * rt/mqueue.h: Likewise.
39721 * shadow/shadow.h: Likewise.
39722 * signal/signal.h: Likewise.
39723 * socket/send.c: Likewise.
39724 * socket/sendto.c: Likewise.
39725 * socket/sys/socket.h: Likewise.
39726 * stdio-common/printf.h: Likewise.
39727 * stdlib/bits/stdlib.h: Likewise.
39728 * stdlib/fmtmsg.h: Likewise.
39729 * stdlib/monetary.h: Likewise.
39730 * stdlib/stdlib.h: Likewise.
39731 * stdlib/ucontext.h: Likewise.
39732 * streams/stropts.h: Likewise.
39733 * string/argz.h: Likewise.
39734 * string/bits/string2.h: Likewise.
39735 * string/string.h: Likewise.
39736 * string/strings.h: Likewise.
39737 * sunrpc/rpc/auth.h: Likewise.
39738 * sunrpc/rpc/auth_des.h: Likewise.
39739 * sunrpc/rpc/clnt.h: Likewise.
39740 * sunrpc/rpc/netdb.h: Likewise.
39741 * sunrpc/rpc/pmap_clnt.h: Likewise.
39742 * sunrpc/rpc/xdr.h: Likewise.
39743 * sysdeps/generic/inttypes.h: Likewise.
39744 * sysdeps/generic/net/if.h: Likewise.
39745 * sysdeps/generic/sys/swap.h: Likewise.
39746 * sysdeps/gnu/net/if.h: Likewise.
39747 * sysdeps/gnu/utmpx.h: Likewise.
39748 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39749 * sysdeps/i386/i486/bits/string.h: Likewise.
39750 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39751 * sysdeps/s390/bits/string.h: Likewise.
39752 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39753 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39754 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39755 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39756 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39757 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39758 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39759 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39760 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39761 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39762 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39763 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39764 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39765 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39766 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39767 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39768 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39773 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39774 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39775 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39776 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39777 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39778 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39780 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39781 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39782 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39783 * sysvipc/sys/ipc.h: Likewise.
39784 * sysvipc/sys/msg.h: Likewise.
39785 * sysvipc/sys/sem.h: Likewise.
39786 * sysvipc/sys/shm.h: Likewise.
39787 * termios/termios.h: Likewise.
39788 * time/sys/time.h: Likewise.
39789 * time/time.h: Likewise.
39790 * wcsmbs/bits/wchar2.h: Likewise.
39791 * wcsmbs/uchar.h: Likewise.
39792 * wcsmbs/wchar.h: Likewise.
39793 * wctype/wctype.h: Likewise.
39796 * Makeconfig: Remove all but ELF support including AIX support.
39797 * Makerules: Likewise.
39798 * config.h.in: Likewise.
39799 * config.make.in: Likewise.
39800 * configure: Likewise.
39801 * configure.in: Likewise.
39802 * csu/Makefile: Likewise.
39803 * csu/version.c: Likewise.
39804 * debug/Makefile: Likewise.
39805 * dlfcn/Makefile: Likewise.
39806 * elf/Makefile: Likewise.
39807 * extra-lib.mk: Likewise.
39808 * iconv/Makefile: Likewise.
39809 * include/libc-symbols.h: Likewise.
39810 * include/shlib-compat.h: Likewise.
39811 * resolv/Makefile: Likewise.
39812 * resolv/res_libc.c: Likewise.
39813 * rt/Makefile: Likewise.
39814 * sysdeps/i386/asm-syntax.h: Likewise.
39815 * sysdeps/i386/sysdep.h: Likewise.
39816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39817 * sysdeps/mach/sysdep.h: Likewise.
39818 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39819 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39820 * sysdeps/s390/asm-syntax.h: Likewise.
39821 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39822 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39823 * sysdeps/sh/sysdep.h: Likewise.
39824 * sysdeps/unix/sparc/sysdep.h: Likewise.
39825 * sysdeps/wordsize-32/divdi3.c: Likewise.
39826 * sysdeps/x86_64/sysdep.h: Likewise.
39828 * argp/Versions: Remove _argp_unlock_xxx.
39831 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39832 * abilist/libBrokenLocale.abilist: Likewise.
39833 * abilist/libanl.abilist: Likewise.
39834 * abilist/libc.abilist: Likewise.
39835 * abilist/libcrypt.abilist: Likewise.
39836 * abilist/libdl.abilist: Likewise.
39837 * abilist/libm.abilist: Likewise.
39838 * abilist/libnsl.abilist: Likewise.
39839 * abilist/libpthread.abilist: Likewise.
39840 * abilist/libresolv.abilist: Likewise.
39841 * abilist/librt.abilist: Likewise.
39842 * abilist/libthread_db.abilist: Likewise.
39843 * abilist/libutil.abilist: Likewise.
39844 * abilist/libnss_db.abilist: New file.
39846 * scripts/abilist.awk: Add support for indirect functions.
39848 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39850 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39852 * shlib-versions: Remove entries for ports architectures.
39854 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39856 * elf/stackguard-macros.h: Remove support for IA-64.
39857 * elf/tst-auditmod1.c: Likewise.
39858 * sysdeps/generic/ldsodefs.h: Likewise.
39860 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39861 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39865 * configure.in: Remove --enable-omitfp support.
39867 * config.make.in: Likewise.
39868 * Makeconfig: Likewise.
39869 * manual/install.texi: Likewise.
39871 In case anyone cares, the IA-64 architecture could move to ports.
39872 * sysdeps/ia64/*: Removed.
39873 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39874 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39877 * configure.in: Remove entries for unsupported architectures.
39880 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39881 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39883 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39884 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39885 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39886 fall back to using wcrtomb.
39887 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39888 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39890 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39891 * wcsmbs/tst-c16c32-1.c: New file.
39893 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39896 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39898 * elf/tst-unique3.cc: Add explicit declaration of gets.
39899 * elf/tst-unique3lib.cc: Likewise.
39900 * elf/tst-unique3lib2.cc: Likewise.
39901 * elf/tst-unique4.cc: Likewise.
39903 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39905 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39908 * assert/assert.h (static_assert): Don't define for C++.
39909 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39910 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39912 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39914 * iconv/loop.c (single loop): Fix assertion in storing of
39917 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39919 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39921 * posix/getconf.c: Update copyright year.
39922 * nss/getent.c: Likewise.
39923 * nss/makedb.c: Likewise.
39924 * iconv/iconvconfig.c: Likewise.
39925 * iconv/iconv_prog.c: Likewise.
39926 * elf/ldconfig.c: Likewise.
39927 * elf/pldd.c: Likewise.
39928 * elf/sotruss.ksh: Likewise.
39929 * catgets/gencat.c: Likewise.
39930 * csu/version.c: Likewise.
39931 * elf/ldd.bash.in: Likewise.
39932 * elf/sprof.c (print_version): Likewise.
39933 * locale/programs/locale.c: Likewise.
39934 * locale/programs/localedef.c: Likewise.
39935 * login/programs/pt_chown.c: Likewise.
39936 * nscd/nscd.c (print_version): Likewise.
39937 * debug/xtrace.sh: Likewise.
39938 * malloc/memusage.sh: Likewise.
39939 * malloc/mtrace.pl: Likewise.
39940 * debug/catchsegv.sh: Likewise.
39942 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39944 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39947 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39950 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39951 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39953 * iconv/gconv_int.h: Likewise.
39954 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39955 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39956 from libc for GLIBC_2.16.
39957 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39958 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39959 * wcsmbs/uchar.h: Really define mbstate_t.
39960 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39961 * wcsmbs/c16rtomb.c: New file.
39962 * wcsmbs/mbrtoc16.c: New file.
39963 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39964 for C/POSIX locale.
39965 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39966 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39968 * wcsmbs/wchar.h: Add missing __restrict.
39970 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39973 * time/Makefile (routines): Add timespec_get.
39974 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39975 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39976 timespec for ISO C11.
39977 * time/timespec_get.c: New file.
39978 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39979 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39982 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39983 * stdlib/stdlib.h: Declare aligned_alloc.
39984 * Versions.def: Add GLIBC_2.16 for libc.
39985 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39988 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39991 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39995 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39998 * assert/assert.h (static_assert): Define.
40000 * version.h: Update for 2.16 development version.
40003 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40006 * version.h (RELEASE): Bump for 2.15 release.
40007 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40009 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40010 Patch by Marek Polacek <mpolacek@redhat.com>.
40012 * bits/byteswap.h: Protect long long constants with __extension__.
40013 * sysdeps/i386/bits/byteswap.h: Likewise.
40014 * sysdeps/ia64/bits/byteswap.h: Likewise.
40015 * sysdeps/s390/bits/byteswap.h: Likewise.
40016 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40018 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40022 destination buffer.
40023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40025 2011-12-23 Marek Polacek <polacek@redhat.com>
40027 * elf/dl-addr.c (determine_info): Add inline keyword.
40028 * elf/tst-auditmod4b.c (check_avx): Likewise.
40029 * elf/tst-auditmod6b.c (check_avx): Likewise.
40030 * elf/tst-auditmod6c.c (check_avx): Likewise.
40031 * elf/tst-auditmod7b.c (check_avx): Likewise.
40033 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40035 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40038 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40042 processing for last bytes.
40044 2011-08-06 Bruno Haible <bruno@clisp.org>
40047 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40048 U+0385, not to U+1FEE.
40051 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40052 entry for U+00A5 U+0301.
40054 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40057 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40058 buffer for the output is too small.
40060 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40064 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40065 SSE flags if possible.
40067 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40070 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40071 processing for last bytes.
40073 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40075 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40076 (syscall-list-default-options, syscall-list-default-condition)
40077 (syscall-list-includes): Define.
40078 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40079 list of ABIs and options and #if conditions for each ABI. Do not
40080 handle common syscalls between ABIs specially.
40081 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40083 (syscall-list-variants, syscall-list-32bit-options)
40084 (syscall-list-32bit-condition, syscall-list-64bit-options)
40085 (syscall-list-64bit-condition): Define.
40086 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40087 (syscall-list-variants, syscall-list-32bit-options)
40088 (syscall-list-32bit-condition, syscall-list-64bit-options)
40089 (syscall-list-64bit-condition): Define.
40090 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40092 (syscall-list-variants, syscall-list-32bit-options)
40093 (syscall-list-32bit-condition, syscall-list-64bit-options)
40094 (syscall-list-64bit-condition): Define.
40095 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40097 (syscall-list-variants, syscall-list-32bit-options)
40098 (syscall-list-32bit-condition, syscall-list-64bit-options)
40099 (syscall-list-64bit-condition): Define.
40101 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40103 * locale/iso-639.def: Add brx entry.
40106 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40107 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40109 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40110 __feraiseexcept_renamed.
40112 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40115 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40116 EPOLLET with unsigned values.
40117 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40118 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40120 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40121 to large cancellation.
40122 * math/s_cacoshf.c: Likewise.
40123 * math/s_cacoshl.c: Likewise.
40125 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40129 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40130 * math/s_cacoshf.c: Likewise.
40131 * math/s_cacoshl.c: Likewise.
40133 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40136 * iconv/gconv.h: Define __GCONV_SWAP.
40137 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40138 * iconvdata/utf-16.c: Likewise.
40139 * iconvdata/utf-32.c: Likewise.
40141 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40144 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40145 numerator after shifting it by one limb.
40147 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40150 under [__USE_EXTERN_INLINES].
40152 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40155 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40157 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40159 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40160 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40162 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40163 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40164 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40165 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40166 for strncasecmp/strncasecmp_l compilation.
40167 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40168 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40170 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40173 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40176 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40179 * time/tzfile.c (__tzfile_read): Check values from file header.
40181 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40183 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40184 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40185 * powerpc/powerpc32/dl-start.S: Likewise.
40186 * powerpc/powerpc32/elf/start.S: Likewise.
40187 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40188 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40189 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40190 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40191 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40192 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40193 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40194 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40195 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40196 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40197 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40198 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40199 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40200 * powerpc/powerpc32/memset.S: Likewise.
40201 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40202 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40203 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40204 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40205 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40206 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40207 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40208 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40209 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40210 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40211 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40212 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40213 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40215 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40217 * math/libm-test.inc: Added more nearbyint tests.
40218 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40223 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40225 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40228 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40230 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40231 Add wcscpy-ssse3 wcscpy-c.
40232 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40233 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40234 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40235 * sysdeps/x86_64/wcschr.S: New file.
40236 * sysdeps/x86_64/wcsrchr.S: New file.
40237 * string/test-strcmp.c: Remove checking of wcscmp function for
40239 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40240 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40241 wcsrchr-sse2 wcsrchr-c.
40242 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40243 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40244 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40245 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40246 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40247 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40248 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40249 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40250 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40251 * wcsmbc/wcschr.c (WCSCHR): New macro.
40253 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40255 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40256 * wcsmbs/test-wcsrchr.c: New file.
40257 * string/test-strrchr.c: Add wcsrchr support.
40259 * wcsmbs/test-wcscpy.c: New file.
40260 * string/test-strcpy.c: Add wcscpy support.
40263 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40265 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40268 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40271 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40273 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40275 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40276 Minor optimizations.
40278 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40279 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40280 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40282 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40284 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40285 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40286 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40287 for gcc to avoid warnings.
40288 * inet/Makefile (tests): Add tst-checks.
40289 * inet/tst-checks.c: New file.
40291 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40294 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40297 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40298 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40300 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40302 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40304 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40307 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40309 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40311 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40312 conditional on GCC version.
40313 (__arch_compare_and_exchange_val_8_acq)
40314 (__arch_compare_and_exchange_val_16_acq)
40315 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40316 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40317 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40319 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40321 * sysdeps/sh/backtrace.c: New file.
40323 2011-12-02 Andreas Schwab <schwab@redhat.com>
40325 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40328 2011-12-01 Andreas Schwab <schwab@redhat.com>
40330 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40331 falling back to utime.
40333 2011-11-30 Andreas Schwab <schwab@redhat.com>
40335 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40336 expectations for float.
40338 2011-11-29 Andreas Schwab <schwab@redhat.com>
40340 * locale/weight.h (findidx): Add parameter len.
40341 * locale/weightwc.h (findidx): Likewise.
40342 * posix/fnmatch_loop.c (FCT): Adjust caller.
40343 * posix/regcomp.c (build_equiv_class): Likewise.
40344 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40345 * posix/regexec.c (check_node_accept_bytes): Likewise.
40346 * string/strcoll_l.c (STRCOLL): Likewise.
40347 * string/strxfrm_l.c (STRXFRM): Likewise.
40349 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40351 * Makefile.in: Remove CVSOPT handling.
40352 * configure.in: Remove use of AC_REVISION.
40353 * iconvdata/Makefile (distribute): No need to filter out CVS.
40354 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40357 2011-11-16 Andreas Schwab <schwab@redhat.com>
40359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40360 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40361 [USE_AS_STRNCASECMP_L]: Likewise.
40362 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40363 NO_TLS_DIRECT_SEG_REFS.
40364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40365 Fix argument offsets for non-PIC.
40366 [USE_AS_STRNCASECMP_L]: Likewise.
40367 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40368 NO_TLS_DIRECT_SEG_REFS.
40370 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40372 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40374 * locale/loadlocale.c (_nl_load_locale): Likewise.
40376 2011-11-15 Andreas Schwab <schwab@redhat.com>
40378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40379 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40381 (SYSCALL_GETTIME): Set errno on error.
40383 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40384 count references to noai6ai_cached.
40386 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40388 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40390 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40391 FD_CLOEXEC for /proc/self/maps.
40393 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40394 FD_CLOEXEC for /proc/meminfo.
40396 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40399 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40400 FD_CLOEXEC for given file.
40402 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40404 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40405 FD_CLOEXEC for /etc/hosts.
40406 (_gethtent): Likewise.
40408 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40410 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40411 cancellation and set FD_CLOEXEC for /etc/netgroup.
40413 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40414 reading /etc/publickey.
40416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40417 allow cancellation when reading /etc/group.
40419 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40421 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40423 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40424 when using data file.
40426 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40428 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40429 (write_nis_obj): Use "c" and "e" in fopen.
40431 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40433 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40435 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40437 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40439 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40442 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40444 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40446 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40448 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40449 file parsing and set FD_CLOEXEC.
40451 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40453 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40455 2011-11-14 Andreas Schwab <schwab@redhat.com>
40457 * malloc/arena.c (arena_get2): Don't call reused_arena when
40458 _int_new_arena failed.
40460 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40462 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40463 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40464 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40468 to compile strcasecmp and strncasecmp.
40469 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40470 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40472 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40474 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40476 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40477 locale-defines.sym to gen-as-const-headers.
40478 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40479 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40481 to compile strcasecmp and strncasecmp.
40482 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40483 strcasecmp_l and strncasecmp_l.
40484 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40485 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40486 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40487 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40488 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40489 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40490 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40491 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40492 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40493 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40494 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40496 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40498 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40499 result of SYSDEP_GETTIME_CPU to retval.
40500 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40501 parameter list to macro. Remove trailing semicolon. Adjust users.
40503 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40506 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40508 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40510 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40511 from unused variable.
40513 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40515 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40518 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40521 * sunrpc/rpc_prot.c (rejected): Fix case value.
40523 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40524 unsigned long long int to avoid warnings in shift.
40526 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40528 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40531 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40532 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40533 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40535 * nis/nis_table.c (nis_list): Use variable of correct type for
40536 result of __follow_path call.
40538 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40540 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40541 of math functions ceil, trunc, floor, round, and sqrt, when
40542 avaliable on the platform.
40543 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40545 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40546 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40547 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40549 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40551 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40552 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40554 2011-11-11 Roland McGrath <roland@hack.frob.com>
40556 * include/unistd.h: Fix __readlink return type.
40557 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40559 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40561 * stdlib/ucontext.h: Undo last change for makecontext.
40563 2011-11-11 Andreas Schwab <schwab@redhat.com>
40565 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40567 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40568 * setjmp/setjmp.h: Mark functions as non-leaf.
40569 * setjmp/bits/setjmp2.h: Likewise.
40570 * stdlib/ucontext.h: Likewise.
40572 2011-11-10 Andreas Schwab <schwab@redhat.com>
40574 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40575 (reused_arena): Don't check arena limit.
40576 (arena_get2): Atomically check arena limit.
40578 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40580 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40581 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40586 2011-11-07 Andreas Schwab <schwab@redhat.com>
40588 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40589 handler when locking.
40591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40592 Fix size of allocated buffer.
40594 2011-11-04 Andreas Schwab <schwab@redhat.com>
40597 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40598 declarations for long double functions.
40599 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40601 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40603 2011-11-03 Andreas Schwab <schwab@redhat.com>
40605 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40608 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40611 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40613 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40615 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40617 * include/alloca.h (stackinfo_alloca_round): Define.
40618 (extend_alloca): Use it.
40619 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40620 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40623 * scripts/check-local-headers.sh: Ignore libaudit.h.
40625 * nscd/Makefile (extra-objs): Make recursively expanded.
40627 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40629 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40632 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40633 * posix/tst-rfc3484-2.c: Likewise.
40634 * posix/tst-rfc3484-3.c: Likewise.
40636 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40638 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40640 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40641 process_vm_writev from libc using GLIBC_2.15 version.
40643 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40645 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40647 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40650 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40653 * nss/getent.c (initgroups_keys): Show error message in case no group
40656 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40657 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40658 __bump_nl_timestamp.
40659 * nscd/connections (nscd_init): When host database is served open
40660 netlink socket and request notification about configuration changes.
40661 (main_loop_poll): Track netlink file descriptor and bump timestamp
40662 in case data becomes available.
40663 (main_loop_epoll): Likewise.
40664 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40665 (database_pers_head): Add extra_data fileds.
40666 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40667 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40668 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40670 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40671 in6ai data, call __free_in6ai.
40672 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40673 Add -DHAVE_NETLINK.
40674 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40675 interface information. Reuse previous data if netlink timestamp
40677 (__bump_nl_timestamp): New function.
40678 (__free_in6ai): New function.
40680 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40683 close_not_cancel_no_status here.
40684 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40686 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40689 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40692 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40693 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40694 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40696 2011-07-03 Andreas Jaeger <aj@suse.de>
40699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40700 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40701 * math/libm-test.inc (sin_test): Add test case.
40703 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40706 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40707 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40709 * elf/chroot_canon.c (chroot_canon): Cleanups.
40711 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40714 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40715 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40717 * string/test-strchr.c: Make usable for strchrnul testing.
40718 * string/test-strchrnul.c: New file.
40719 * string/Makefile (strop-tests): Add strchrnul.
40721 * po/it.po: Update from translation team.
40722 * po/es.po: Likewise.
40724 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40726 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40727 the three constants needed as parameters. Drop the others.
40728 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40729 __m128i_strloadu_tolower.
40730 Create and initialize variable zero and use it in all the places
40731 where _mm_setzero_si128 was used.
40733 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40734 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40735 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40738 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40739 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40740 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40741 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40742 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40743 __mpranred, __mptan.
40744 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40745 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40746 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40747 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40751 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40754 2011-10-28 Andreas Schwab <schwab@redhat.com>
40756 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40757 redefine if SHARED.
40758 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40761 wide char related routines to wcsmbs subdir.
40763 2011-10-27 Andreas Schwab <schwab@redhat.com>
40766 * misc/sys/cdefs.h (__THROWNL): Define.
40767 * posix/unistd.h: Use __THREADNL instead of __THREAD
40768 for memory synchronization functions.
40770 2011-10-26 Roland McGrath <roland@hack.frob.com>
40773 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40775 * manual/stdio.texi (Obstack Streams): Node removed.
40777 2011-10-26 Andreas Schwab <schwab@redhat.com>
40779 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40780 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40783 * math/math_private.h (math_force_eval): Allow non-addressable
40785 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40787 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40789 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40790 file is not needed.
40792 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40794 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40795 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40796 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40797 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40798 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40799 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40801 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40802 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40803 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40804 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40805 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40806 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40807 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40809 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40810 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40811 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40812 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40813 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40814 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40815 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40816 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40818 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40819 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40821 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40822 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40825 place. Use VEX encoding when compiling for AVX.
40827 2011-10-25 Andreas Schwab <schwab@redhat.com>
40829 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40832 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40834 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40836 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40837 useless if() expression.
40838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40839 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40840 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40841 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40843 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40846 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40848 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40850 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40852 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40853 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40854 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40856 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40858 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40860 2011-10-25 Andreas Schwab <schwab@redhat.com>
40862 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40864 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40866 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40868 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40869 .text section. Avoid duplicate constants.
40870 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40880 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40882 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40887 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40888 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40894 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40895 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40896 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40897 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40898 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40899 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40910 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40911 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40912 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40913 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40914 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40916 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40918 * sysdeps/x86_64/dla.h: Move to ...
40919 * sysdeps/x86_64/fpu/dla.h: ...here.
40920 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40921 situations. Use __builtin_fma only for gcc 4.6 and up.
40923 * config.make.in: Add have-mfma4 entry.
40924 * configure.in: Substitute libc_cv_cc_fma4.
40925 * math/Makefile (dbl-only-routines): Add sincostab.
40926 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40927 Use __sincostab not sincos.
40928 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40935 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40936 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40937 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40938 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40940 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40941 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40943 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40944 define aliases when function name is a macro.
40945 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40946 sysdeps/ieee754/dbl-64/sincos.tbl.
40947 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40948 fma4-enabled routines.
40949 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40950 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40951 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40952 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40953 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40954 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40958 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40959 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40960 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40961 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40962 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40964 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40965 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40966 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40967 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40969 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40970 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40972 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40974 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40976 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40977 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40978 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40980 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40991 2011-10-24 Andreas Schwab <schwab@redhat.com>
40993 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40997 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40999 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41003 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41004 Remove unused variable magic_bits.
41005 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41007 * string/strnlen.c: Define and use STRNLEN macro.
41008 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41009 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41011 * wcsmbs/wcslen.c: Define and use WCSLEN.
41012 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41013 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41014 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41015 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41016 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41017 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41018 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41020 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41023 strnlen-sse2-no-bsf.
41024 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41026 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41027 Add strnlen support.
41028 (USE_AS_STRNLEN): New macro.
41029 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41030 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41031 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41032 * sysdeps/x86_64/wcslen.S: New file.
41034 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41036 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41037 XMM-moves are used for copying on small sizes.
41039 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41041 * wcsmbs/Makefile (strop-tests): Add wcschr.
41042 * wcsmbs/test-wcschr.c: New file.
41043 * string/test-strchr.c: Update.
41044 Add wcschr support.
41047 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41049 * wcsmbs/Makefile (strop-tests): Add wcslen.
41050 * wcsmbs/test-wcslen.c: New file.
41051 * string/test-strlen.c: Update.
41052 Add wcslen support.
41055 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41057 * po/it.po: Update from translation team.
41059 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41061 * sysdeps/x86_64/wcscmp.S: Update.
41062 Fix wrong comparison semantics.
41063 wcscmp shall use signed comparison not unsigned.
41064 Don't use substraction to avoid overflow bug.
41065 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41066 * wcsmbc/wcscmp.c: Likewise.
41067 * string/test-strcmp.c: Likewise.
41068 Add new tests to check cases with negative values.
41070 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41072 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41073 * sysdeps/x86_64/dla.h: ...here. New file.
41074 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41081 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41084 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41087 __ynl_finite aliases.
41089 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41093 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41095 [DLA_FMA] (EMULV): Use DLA_FMA.
41096 [DLA_FMA] (MUL12): Use EMULV.
41097 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41098 that are not needed.
41099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41101 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41102 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41104 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41107 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41109 * math/s_nan.c: Undef __nan.
41110 * math/s_nanf.c: Undef __nanf.
41111 * math/s_nanl.c: Undef __nanl.
41112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41115 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41117 * math/s_catan.c: Add branch predictions.
41118 * math/s_catanf.c: Likewise.
41119 * math/s_catanh.c: Likewise.
41120 * math/s_catanhf.c: Likewise.
41121 * math/s_catanhl.c: Likewise.
41122 * math/s_catanl.c: Likewise.
41123 * math/s_cexp.c: Likewise.
41124 * math/s_cexpf.c: Likewise.
41125 * math/s_cexpl.c: Likewise.
41126 * math/s_clog.c: Likewise.
41127 * math/s_clog10.c: Likewise.
41128 * math/s_clog10f.c: Likewise.
41129 * math/s_clog10l.c: Likewise.
41130 * math/s_clogf.c: Likewise.
41131 * math/s_clogl.c: Likewise.
41132 * math/s_csqrt.c: Likewise.
41133 * math/s_csqrtf.c: Likewise.
41134 * math/s_csqrtl.c: Likewise.
41135 * math/s_ctanf.c: Likewise.
41136 * math/s_ctanh.c: Likewise.
41137 * math/s_ctanhf.c: Likewise.
41138 * math/s_ctanhl.c: Likewise.
41139 * math/s_ctanl.c: Likewise.
41141 * math/math_private.h: Define __nan, __nanf, __nanl.
41142 * math/s_cacosh.c: Include <math_private.h>.
41143 * math/s_cacoshl.c: Likewise.
41144 * math/s_casinh.c: Likewise.
41145 * math/s_casinhf.c: Likewise.
41146 * math/s_casinhl.c: Likewise.
41147 * math/s_ccos.c: Rely entire on ccosh.
41148 * math/s_ccosf.c: Rely entire on ccoshf.
41149 * math/s_ccosl.c: Rely entirely on ccoshl.
41150 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41151 Remove tests for FE_INVALID.
41152 * math/s_ccoshf.c: Likewise.
41153 * math/s_ccoshl.c: Likewise.
41154 * math/s_csin.c: Likewise.
41155 * math/s_csinf.c: Likewise.
41156 * math/s_csinh.c Likewise.
41157 * math/s_csinhf.c: Likewise.
41158 * math/s_csinhl.c: Likewise.
41159 * math/s_csinl.c: Likewise.
41160 * math/s_ctan.c: Likewise.
41161 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41162 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41165 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41168 compilation problems.
41170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41173 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41175 * sysdeps/i386/configure.in: Test for -mfma4 option.
41176 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41177 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41178 COMMON_CPUID_INDEX_80000001.
41179 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41180 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41181 use it if FMA3 is not supported.
41182 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41184 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41185 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41187 2011-10-20 Andreas Schwab <schwab@redhat.com>
41190 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41191 it would create a cycle with a link time dependency.
41193 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41195 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41197 * string/Makefile (strop-tests): Add rawmemchr.
41198 * string/test-rawmemchr.c: New file.
41200 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41202 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41203 when compiling str{,n}casecmp and when AVX is available. Hook up
41204 new optimized code in initializers.
41206 2011-10-19 Andreas Schwab <schwab@redhat.com>
41208 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41209 __feraiseexcept instead of feraiseexcept.
41211 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41213 * math/math_private.h: Define defaults for libc_fetestexcept and
41215 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41216 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41217 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41218 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41219 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41220 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41221 libc_fetestexcept and libc_feupdateenv.
41223 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41224 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41225 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41226 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41227 libc_feholdexcept_setround.
41229 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41230 Add s_nearbyint-c and s_nearbyintf-c.
41231 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41232 nearbyintf inlines.
41233 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41235 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41238 * math/math_private.h: Define defaults for libc_fegetround,
41239 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41240 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41241 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41242 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41243 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41244 standard functions.
41245 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41246 Remove comments and hacks for old compiler versions.
41247 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41248 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41249 libc_feholdexceptl.
41251 2011-10-18 Andreas Schwab <schwab@redhat.com>
41253 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41254 (__feraiseexcept_renamed): Add __NTH.
41255 (feraiseexcept): Add __NTH. Rename local variables to fix
41256 namespace violations.
41258 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41262 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41264 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41265 recently added interfaces.
41266 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41268 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41269 about macro parameter expansion.
41271 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41272 __NO_MATH_INLINES is defined. Cleanups.
41274 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41275 and __floorf is target has SSE4.1.
41276 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41278 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41279 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41281 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41283 (floorf): Likewise.
41285 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41287 2011-10-17 Andreas Schwab <schwab@redhat.com>
41289 * misc/sys/cdefs.h: Fix last change.
41291 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41294 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41296 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41298 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41300 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41301 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41304 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41306 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41307 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41308 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41309 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41310 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41311 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41312 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41313 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41314 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41315 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41316 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41317 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41318 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41319 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41321 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41322 ceil, ceilf, floor, floorf.
41324 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41325 Perform IRELATIVE relocations last.
41327 * elf/do-rel.h: Add another parameter nrelative, replacing the
41328 local variable with the same name. Change name of the function
41329 to end in Rel or Rela (uppercase).
41330 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41331 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41332 elf_dynamic_do_##reloc function.
41334 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41336 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41337 is sufficient, at least on modern CPUs.
41339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41341 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41342 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41344 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41346 * math/bits/math-finite.h: Add entries for exp.
41347 * math/e_expl.c: Add __*_finite alias.
41348 * sysdeps/i386/fpu/e_exp.S: Likewise.
41349 * sysdeps/i386/fpu/e_expf.S: Likewise.
41350 * sysdeps/i386/fpu/e_expl.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41352 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41353 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41355 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41356 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41357 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41359 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41360 is sufficient, at least on modern CPUs.
41362 * ctype/ctype-info.c (__ctype_init): Define.
41363 * include/ctype.h (__ctype_init): Declare.
41364 (__ctype_b_loc): The variable is always initialized.
41365 (__ctype_toupper_loc): Likewise.
41366 (__ctype_tolower_loc): Likewise.
41367 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41368 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41370 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41372 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41374 * configure.in: Also look in $cxxmachine/include for C++ system
41377 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41379 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41380 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41381 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41382 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41383 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41384 (USE_AS_WMEMCMP): New macro.
41386 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41387 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41388 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41389 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41391 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41392 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41394 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41395 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41396 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41397 (USE_AS_WMEMCMP): New macro.
41398 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41399 * sysdeps/string/test-memcmp.c: Update.
41400 Fix simple_wmemcmp.
41402 * wcsmbs/wmemcmp.c: Update.
41403 (WMEMCMP): New macro.
41406 2011-10-12 Andreas Jaeger <aj@suse.de>
41409 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41411 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41413 * libio/iofwide.c (do_length): Avoid warning.
41415 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41417 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41419 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41421 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41422 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41423 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41424 * sysdeps/i386/i686/fpu/e_log.S: New file.
41425 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41426 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41428 * ctype/ctype.h: Add support for inlined isXXX functions when
41429 compiling C++ code.
41431 2011-10-14 Andreas Schwab <schwab@redhat.com>
41433 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41437 2011-10-13 Roland McGrath <roland@hack.frob.com>
41440 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41442 2011-10-13 Andreas Schwab <schwab@redhat.com>
41444 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41445 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41448 * sysdeps/x86_64/memrchr.S: Check for zero size.
41450 * string/stratcliff.c: Add memrchr tests.
41452 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41455 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41456 rawmemchr-sse2 rawmemchr-sse2-bsf.
41457 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41458 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41459 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41460 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41461 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41462 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41463 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41464 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41465 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41467 * string/memrchr.c (MEMRCHR): New macro.
41469 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41471 Add integration with gcc's -ffinite-math-only and optimize wrapper
41473 * Versions.def: Define GLIBC_2.15 version for libm.
41474 * math/Makefile (headers): Add bits/math-finite.h.
41475 * math/bits/math-finite.h: New file.
41476 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41477 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41478 * math/e_acoshl.c: Add __*_finite alias.
41479 * math/e_acosl.c: Likewise.
41480 * math/e_asinl.c: Likewise.
41481 * math/e_atan2l.c: Likewise.
41482 * math/e_atanhl.c: Likewise.
41483 * math/e_coshl.c: Likewise.
41484 * math/e_exp10.c: Likewise.
41485 * math/e_exp10f.c: Likewise.
41486 * math/e_exp10l.c: Likewise.
41487 * math/e_exp2l.c: Likewise.
41488 * math/e_fmodl.c: Likewise.
41489 * math/e_gammal_r.c: Likewise.
41490 * math/e_hypotl.c: Likewise.
41491 * math/e_j0l.c: Likewise.
41492 * math/e_j1l.c: Likewise.
41493 * math/e_jnl.c: Likewise.
41494 * math/e_lgammal_r.c: Likewise.
41495 * math/e_log10l.c: Likewise.
41496 * math/e_log2l.c: Likewise.
41497 * math/e_logl.c: Likewise.
41498 * math/e_powl.c: Likewise.
41499 * math/e_sinhl.c: Likewise.
41500 * math/e_sqrtl.c: Likewise.
41501 * math/e_scalb.c: Completely rewritten and optimized.
41502 * math/e_scalbf.c: Likewise.
41503 * math/e_scalbl.c: Likewise.
41504 * math/w_acos.c: Likewise.
41505 * math/w_acosf.c: Likewise.
41506 * math/w_acosl.c: Likewise.
41507 * math/w_acosh.c: Likewise.
41508 * math/w_acoshf.c: Likewise.
41509 * math/w_acoshl.c: Likewise.
41510 * math/w_asin.c: Likewise.
41511 * math/w_asinf.c: Likewise.
41512 * math/w_asinl.c: Likewise.
41513 * math/w_atan2.c: Likewise.
41514 * math/w_atan2f.c: Likewise.
41515 * math/w_atan2l.c: Likewise.
41516 * math/w_atanh.c: Likewise.
41517 * math/w_atanhf.c: Likewise.
41518 * math/w_atanhl.c: Likewise.
41519 * math/w_exp10.c: Likewise.
41520 * math/w_exp10f.c: Likewise.
41521 * math/w_exp10l.c: Likewise.
41522 * math/w_fmod.c: Likewise.
41523 * math/w_fmodf.c: Likewise.
41524 * math/w_fmodl.c: Likewise.
41525 * math/w_j0.c: Likewise.
41526 * math/w_j0f.c: Likewise.
41527 * math/w_j0l.c: Likewise.
41528 * math/w_j1.c: Likewise.
41529 * math/w_j1f.c: Likewise.
41530 * math/w_j1l.c: Likewise.
41531 * math/w_jn.c: Likewise.
41532 * math/w_jnf.c: Likewise.
41533 * math/w_log.c: Likewise.
41534 * math/w_logf.c: Likewise.
41535 * math/w_logl.c: Likewise.
41536 * math/w_log10.c: Likewise.
41537 * math/w_log10f.c: Likewise.
41538 * math/w_log10l.c: Likewise.
41539 * math/w_log2.c: Likewise.
41540 * math/w_log2f.c: Likewise.
41541 * math/w_log2l.c: Likewise.
41542 * math/w_pow.c: Likewise.
41543 * math/w_powf.c: Likewise.
41544 * math/w_powl.c: Likewise.
41545 * math/w_remainder.c: Likewise.
41546 * math/w_remainderf.c: Likewise.
41547 * math/w_remainderl.c: Likewise.
41548 * math/w_scalb.c: Likewise.
41549 * math/w_scalbf.c: Likewise.
41550 * math/w_scalbl.c: Likewise.
41551 * math/w_sqrt.c: Likewise.
41552 * math/w_sqrtf.c: Likewise.
41553 * math/w_sqrtl.c: Likewise.
41554 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41555 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41557 * math/math_private.h: Declare __kernel_standard_f.
41558 * math/w_cosh.c: Remove cruft and optimize a bit.
41559 * math/w_coshf.c: Likewise.
41560 * math/w_coshl.c: Likewise.
41561 * math/w_exp2.c: Likewise.
41562 * math/w_exp2f.c: Likewise.
41563 * math/w_exp2l.c: Likewise.
41564 * math/w_hypot.c: Likewise.
41565 * math/w_hypotf.c: Likewise.
41566 * math/w_hypotl.c: Likewise.
41567 * math/w_lgamma.c: Likewise.
41568 * math/w_lgamma_r.c: Likewise.
41569 * math/w_lgammaf.c: Likewise.
41570 * math/w_lgammaf_r.c: Likewise.
41571 * math/w_lgammal.c: Likewise.
41572 * math/w_lgammal_r.c: Likewise.
41573 * math/w_sinh.c: Likewise.
41574 * math/w_sinhf.c: Likewise.
41575 * math/w_sinhl.c: Likewise.
41576 * math/w_tgamma.c: Likewise.
41577 * math/w_tgammaf.c: Likewise.
41578 * math/w_tgammal.c: Likewise.
41579 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41581 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41582 Minor optimizations. Pretty printing. Remove cruft.
41583 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41584 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41587 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41588 * sysdeps/i386/fpu/e_asin.S: Likewise.
41589 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41590 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41591 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41592 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41593 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41594 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41596 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41597 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41598 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41599 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41600 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41601 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41602 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41603 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41604 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41605 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41606 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41607 * sysdeps/i386/fpu/e_log.S: Likewise.
41608 * sysdeps/i386/fpu/e_log10.S: Likewise.
41609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41610 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41611 * sysdeps/i386/fpu/e_log2.S: Likewise.
41612 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41613 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41614 * sysdeps/i386/fpu/e_logf.S: Likewise.
41615 * sysdeps/i386/fpu/e_logl.S: Likewise.
41616 * sysdeps/i386/fpu/e_pow.S: Likewise.
41617 * sysdeps/i386/fpu/e_powf.S: Likewise.
41618 * sysdeps/i386/fpu/e_powl.S: Likewise.
41619 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41620 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41621 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41622 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41623 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41625 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41626 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41627 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41628 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41631 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41632 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41633 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41634 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41635 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41637 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41638 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41639 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41641 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41642 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41645 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41649 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41652 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41653 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41654 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41655 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41657 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41658 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41659 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41660 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41662 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41663 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41664 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41665 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41666 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41667 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41668 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41669 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41670 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41671 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41673 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41674 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41675 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41676 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41677 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41678 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41679 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41680 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41681 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41682 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41683 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41684 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41685 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41686 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41687 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41693 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41696 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41697 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41698 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41699 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41708 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41713 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41714 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41716 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41719 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41720 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41721 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41722 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41723 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41724 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41725 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41726 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41727 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41728 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41729 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41730 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41731 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41732 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41734 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41736 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41738 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41739 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41740 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41741 (__isnanf): Likewise.
41742 (__isinf_ns): Likewise.
41743 (__isinf_nsf): Likewise.
41744 (__finite): Likewise.
41745 (__finitef): Likewise.
41746 (__ieee754_sqrt): Define as macro.
41747 (__ieee754_sqrtf): Define as macro.
41748 (__ieee754_sqrtl): Define as macro.
41749 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41751 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41752 __FINITE_MATH_ONLY__ consistent.
41753 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41755 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41757 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41760 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41762 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41764 * po/ja.po: Update from translation team.
41766 2011-10-08 Roland McGrath <roland@hack.frob.com>
41768 * locale/programs/locarchive.c (prepare_address_space): New function.
41769 (create_archive, enlarge_archive, open_archive): Use it.
41771 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41772 inside [SHARED], where it is used.
41774 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41776 * nss/getent.c (netgroup_keys): Remove unused variable.
41777 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41779 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41781 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41782 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41784 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41785 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41786 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41787 * math/Makefile (libm-calls): Add s_isinf_ns.
41788 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41789 * math/multc3.c: Likewise.
41790 * math/s_casin.c: Likewise.
41791 * math/s_casinf.c: Likewise.
41792 * math/s_casinl.c: Likewise.
41793 * math/s_ccos.c: Likewise.
41794 * math/s_ccosf.c: Likewise.
41795 * math/s_ccosl.c: Likewise.
41796 * math/s_ctan.c: Likewise.
41797 * math/s_ctanf.c: Likewise.
41798 * math/s_ctanh.c: Likewise.
41799 * math/s_ctanhf.c: Likewise.
41800 * math/s_ctanhl.c: Likewise.
41801 * math/s_ctanl.c: Likewise.
41802 * math/w_fmod.c: Likewise.
41803 * math/w_fmodf.c: Likewise.
41804 * math/w_fmodl.c: Likewise.
41805 * math/w_remainder.c: Likewise.
41806 * math/w_remainderf.c: Likewise.
41807 * math/w_remainderl.c: Likewise.
41808 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41809 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41812 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41813 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41814 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41815 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41817 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41819 * stdio-common/printf_fphex.c: Likewise.
41820 * stdio-common/printf_size.c: Likewise.
41822 * math/e_exp10.c: Include math_private.h using <...> not "...".
41823 * math/e_exp10f.c: Likewise.
41824 * math/e_exp10l.c: Likewise.
41825 * math/e_exp2l.c: Likewise.
41826 * math/e_j0l.c: Likewise.
41827 * math/e_j1l.c: Likewise.
41828 * math/e_jnl.c: Likewise.
41829 * math/e_lgammal_r.c: Likewise.
41830 * math/e_rem_pio2l.c: Likewise.
41831 * math/e_scalb.c: Likewise.
41832 * math/e_scalbf.c: Likewise.
41833 * math/e_scalbl.c: Likewise.
41834 * math/k_cosl.c: Likewise.
41835 * math/k_sinl.c: Likewise.
41836 * math/k_tanl.c: Likewise.
41837 * math/s_cacoshf.c: Likewise.
41838 * math/s_catan.c: Likewise.
41839 * math/s_catanf.c: Likewise.
41840 * math/s_catanh.c: Likewise.
41841 * math/s_catanhf.c: Likewise.
41842 * math/s_catanhl.c: Likewise.
41843 * math/s_catanl.c: Likewise.
41844 * math/s_ccosh.c: Likewise.
41845 * math/s_ccoshf.c: Likewise.
41846 * math/s_ccoshl.c: Likewise.
41847 * math/s_cexp.c: Likewise.
41848 * math/s_cexpf.c: Likewise.
41849 * math/s_cexpl.c: Likewise.
41850 * math/s_clog.c: Likewise.
41851 * math/s_clog10.c: Likewise.
41852 * math/s_clog10f.c: Likewise.
41853 * math/s_clog10l.c: Likewise.
41854 * math/s_clogf.c: Likewise.
41855 * math/s_clogl.c: Likewise.
41856 * math/s_csin.c: Likewise.
41857 * math/s_csinf.c: Likewise.
41858 * math/s_csinh.c: Likewise.
41859 * math/s_csinhf.c: Likewise.
41860 * math/s_csinhl.c: Likewise.
41861 * math/s_csinl.c: Likewise.
41862 * math/s_csqrt.c: Likewise.
41863 * math/s_csqrtf.c: Likewise.
41864 * math/s_csqrtl.c: Likewise.
41865 * math/s_ctan.c: Likewise.
41866 * math/s_ctanf.c: Likewise.
41867 * math/s_ctanh.c: Likewise.
41868 * math/s_ctanhf.c: Likewise.
41869 * math/s_ctanhl.c: Likewise.
41870 * math/s_ctanl.c: Likewise.
41871 * math/s_ldexp.c: Likewise.
41872 * math/s_ldexpf.c: Likewise.
41873 * math/s_ldexpl.c: Likewise.
41874 * math/s_significand.c: Likewise.
41875 * math/s_significandf.c: Likewise.
41876 * math/s_significandl.c: Likewise.
41877 * math/w_acos.c: Likewise.
41878 * math/w_acosf.c: Likewise.
41879 * math/w_acosh.c: Likewise.
41880 * math/w_acoshf.c: Likewise.
41881 * math/w_acoshl.c: Likewise.
41882 * math/w_acosl.c: Likewise.
41883 * math/w_asin.c: Likewise.
41884 * math/w_asinf.c: Likewise.
41885 * math/w_asinl.c: Likewise.
41886 * math/w_atan2.c: Likewise.
41887 * math/w_atan2f.c: Likewise.
41888 * math/w_atan2l.c: Likewise.
41889 * math/w_atanh.c: Likewise.
41890 * math/w_atanhf.c: Likewise.
41891 * math/w_atanhl.c: Likewise.
41892 * math/w_cosh.c: Likewise.
41893 * math/w_coshf.c: Likewise.
41894 * math/w_coshl.c: Likewise.
41895 * math/w_dremf.c: Likewise.
41896 * math/w_exp10.c: Likewise.
41897 * math/w_exp10f.c: Likewise.
41898 * math/w_exp10l.c: Likewise.
41899 * math/w_exp2.c: Likewise.
41900 * math/w_exp2f.c: Likewise.
41901 * math/w_fmod.c: Likewise.
41902 * math/w_fmodf.c: Likewise.
41903 * math/w_fmodl.c: Likewise.
41904 * math/w_hypot.c: Likewise.
41905 * math/w_hypotf.c: Likewise.
41906 * math/w_hypotl.c: Likewise.
41907 * math/w_j0.c: Likewise.
41908 * math/w_j0f.c: Likewise.
41909 * math/w_j0l.c: Likewise.
41910 * math/w_j1.c: Likewise.
41911 * math/w_j1f.c: Likewise.
41912 * math/w_j1l.c: Likewise.
41913 * math/w_jn.c: Likewise.
41914 * math/w_jnf.c: Likewise.
41915 * math/w_jnl.c: Likewise.
41916 * math/w_lgamma.c: Likewise.
41917 * math/w_lgamma_r.c: Likewise.
41918 * math/w_lgammaf.c: Likewise.
41919 * math/w_lgammaf_r.c: Likewise.
41920 * math/w_lgammal.c: Likewise.
41921 * math/w_lgammal_r.c: Likewise.
41922 * math/w_log.c: Likewise.
41923 * math/w_log10.c: Likewise.
41924 * math/w_log10f.c: Likewise.
41925 * math/w_log10l.c: Likewise.
41926 * math/w_log2.c: Likewise.
41927 * math/w_log2f.c: Likewise.
41928 * math/w_log2l.c: Likewise.
41929 * math/w_logf.c: Likewise.
41930 * math/w_logl.c: Likewise.
41931 * math/w_pow.c: Likewise.
41932 * math/w_powf.c: Likewise.
41933 * math/w_powl.c: Likewise.
41934 * math/w_remainder.c: Likewise.
41935 * math/w_remainderf.c: Likewise.
41936 * math/w_remainderl.c: Likewise.
41937 * math/w_scalb.c: Likewise.
41938 * math/w_scalbf.c: Likewise.
41939 * math/w_scalbl.c: Likewise.
41940 * math/w_sinh.c: Likewise.
41941 * math/w_sinhf.c: Likewise.
41942 * math/w_sinhl.c: Likewise.
41943 * math/w_sqrt.c: Likewise.
41944 * math/w_sqrtf.c: Likewise.
41945 * math/w_sqrtl.c: Likewise.
41946 * math/w_tgamma.c: Likewise.
41947 * math/w_tgammaf.c: Likewise.
41948 * math/w_tgammal.c: Likewise.
41950 * po/ja.po: Update from translation team.
41952 2011-09-29 Andreas Jaeger <aj@suse.de>
41955 * sunrpc/netname.c (netname2host): Fix logic.
41959 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41961 * math/w_remainder.c (__remainder): Likewise.
41962 * math/w_remainderf.c (__remainderf): Likewise.
41963 * math/libm-test.inc (remainder_test): Add test cases.
41965 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41967 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41970 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41972 * string/test-memcmp.c: Avoid unncessary #defines.
41973 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41975 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41977 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41978 Use new sse2 version for core i3 - i7 as it's faster
41979 than sse42 version.
41980 (bit_Prefer_PMINUB_for_stringop): New.
41981 * sysdeps/x86_64/rawmemchr.S: Update.
41982 Replace with faster SSE2 version.
41983 * sysdeps/x86_64/memrchr.S: New file.
41984 * sysdeps/x86_64/memchr.S: Update.
41985 Replace with faster SSE2 version.
41987 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41989 * elf/dl-load.c (lose): Add cast to avoid warning.
41991 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41993 * po/ca.po: Update from translation team.
41995 * inet/getnetgrent_r.c: Hook up nscd.
41996 * nscd/Makefile (routines): Add nscd_netgroup.
41997 (nscd-modules): Add netgroupcache.
41998 (CFLAGS-netgroupcache.c): Define.
41999 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42000 (cache_search): Add const to second parameter.
42001 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42003 (dbs): Add netgrdb entry.
42004 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42005 (verify_persistent_db): Handle netgrdb.
42006 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42007 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42009 (netgroup_response_header): Define.
42010 (innetgroup_response_header): Define.
42011 (datahead): Add netgroup_response_header and innetgroup_response_header
42013 * nscd/nscd.conf: Add entries for netgroup cache.
42014 * nscd/nscd.h (dbtype): Add netgrdb.
42015 (_PATH_NSCD_NETGROUP_DB): Define.
42016 (netgroup_iov_disabled): Declare.
42017 (xmalloc, xcalloc, xrealloc): Move declarations here.
42018 (cache_search): Adjust prototype.
42019 Add netgroup-related prototypes.
42020 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42021 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42022 (__nscd_innetgr): Declare.
42023 * nscd/selinux.c (perms): Use access_vector_t as element type and
42024 add netgroup-related initializers.
42025 * nscd/netgroupcache.c: New file.
42026 * nscd/nscd_netgroup.c: New file.
42027 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42028 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42029 For four parameters use innetgr.
42030 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42031 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42032 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42033 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42035 * nscd/connections.c (register_traced_file): Don't register file
42036 for disabled databases.
42038 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42040 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42042 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42043 from tree and freeing node.
42045 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42047 * nss/nsswitch.c (__nss_database_lookup): Handle
42048 nss_parse_service_list out of memory case.
42050 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42052 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42053 out of memory case.
42055 2011-10-04 Andreas Schwab <schwab@redhat.com>
42057 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42058 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42060 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42061 elf_machine_rela, elf_machine_lazy_rel.
42062 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42063 (ELF_DYNAMIC_DO_REL): Likewise.
42064 (ELF_DYNAMIC_DO_RELA): Likewise.
42065 (ELF_DYNAMIC_RELOCATE): Likewise.
42066 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42067 to ELF_DYNAMIC_DO_REL.
42068 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42069 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42070 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42072 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42073 skip_ifunc, don't call ifunc function if non-zero.
42074 (elf_machine_rela): Likewise.
42075 (elf_machine_lazy_rel): Likewise.
42076 (elf_machine_lazy_rela): Likewise.
42077 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42078 (elf_machine_lazy_rel): Likewise.
42079 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42081 (elf_machine_lazy_rel): Likewise.
42082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42084 (elf_machine_lazy_rel): Likewise.
42085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42086 (elf_machine_lazy_rel): Likewise.
42087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42088 (elf_machine_lazy_rel): Likewise.
42089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42090 (elf_machine_lazy_rel): Likewise.
42091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42092 (elf_machine_lazy_rel): Likewise.
42093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42094 (elf_machine_lazy_rel): Likewise.
42095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42096 (elf_machine_lazy_rel): Likewise.
42098 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42100 * nss/nss_files/files-init.c (_nss_files_init): Use static
42101 initialization for all the *_traced_file variables.
42103 2011-09-28 Andreas Schwab <schwab@redhat.com>
42105 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42107 2011-09-27 Roland McGrath <roland@hack.frob.com>
42110 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42112 2011-09-27 Andreas Schwab <schwab@redhat.com>
42114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42115 Reread the line before reparsing it.
42117 2011-09-26 Andreas Schwab <schwab@redhat.com>
42119 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42121 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42122 Maxim Kuvyrkov <maxim@codesourcery.com>
42123 Joseph Myers <joseph@codesourcery.com>
42125 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42126 if needed for __stack_chk_guard.
42128 2011-09-19 Roland McGrath <roland@hack.frob.com>
42130 * sysdeps/posix/spawni.c (script_execute): Always define it.
42131 It will be optimized away if unused.
42132 (maybe_script_execute): New function.
42133 (__spawni): Call it.
42135 * Makerules: Don't include tls.make.
42136 (config-tls): Always set to thread.
42137 * tls.make.c: File removed.
42139 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42141 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42142 * config.make.in (CPPFLAGS-config): New substituted variable.
42144 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42146 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42149 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42150 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42152 2011-09-15 Roland McGrath <roland@hack.frob.com>
42154 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42155 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42157 (CALL_FAIL): Likewise.
42158 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42159 (CALL_FAIL): Macro removed.
42160 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42162 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42164 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42165 for __FINITE_MATH_ONLY__ == 1.
42167 2011-09-15 Andreas Schwab <schwab@redhat.com>
42169 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42170 __ieee754_sqrt instead of sqrt.
42171 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42172 __ieee754_sqrtf instead of sqrtf.
42173 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42174 __floorf instead of floorf.
42175 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42176 __floorf, __truncf instead of floorf, truncf.
42178 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42180 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42182 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42183 __extern_always_inline.
42184 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42187 2011-09-14 Andreas Schwab <schwab@redhat.com>
42189 * elf/rtld.c (dl_main): Also relocate in dependency order when
42190 doing symbol dependency testing.
42192 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42194 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42195 Always define `refsym'.
42197 2011-09-13 Andreas Schwab <schwab@redhat.com>
42199 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42200 (__FD_ELT): Renamed from __FDELT.
42201 * misc/bits/select2.h (__FD_ELT): Likewise.
42202 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42203 __FD_MASK instead of __FDELT, __FDMASK.
42204 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42206 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42209 * elf/Makefile (gen-ldd): Fix pattern.
42211 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42212 (init_tls): Likewise.
42214 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42218 2011-09-12 Andreas Schwab <schwab@redhat.com>
42220 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42221 `struct cmsghdr *' instead of `void *'.
42222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42225 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42227 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42229 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42230 ldd_rewrite_script.
42232 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42234 * configure.in: Remove --with-tls option.
42235 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42236 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42237 out in case it is missing.
42238 * sysdeps/ia64/elf/configure.in: Likewise.
42239 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42240 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42241 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42242 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42243 * sysdeps/sh/elf/configure.in: Likewise.
42244 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42245 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42246 * sysdeps/x86_64/elf/configure.in: Likewise.
42247 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42248 * sysdeps/mach/hurd/tls.h: Likewise.
42251 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42254 * configure.in: Fix use of AC_INIT.
42256 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42258 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42260 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42262 * malloc/hooks.c: Likewise.
42265 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42266 variables statically.
42267 (narenas): Initialize.
42268 (list_lock): Initialize.
42269 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42270 initializtion of main_arena and list_lock. Small cleanups.
42271 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42272 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42273 Add initializers to main_arena and mp_.
42274 (malloc_state): Remove pagesize member. Change all users to use
42277 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42278 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42279 is always initialized.
42281 * malloc/malloc.c: Removed unused configurations and dead code.
42282 * malloc/arena.c: Likewise.
42283 * malloc/hooks.c: Likewise.
42284 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42286 * include/tls.h: Removed. USE___THREAD must always be defined.
42287 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42288 * elf/dl-libc.c: Likewise.
42289 * elf/dl-tsd.c: Likewise.
42290 * include/errno.h: Likewise.
42291 * include/netdb.h: Likewise.
42292 * include/resolv.h: Likewise.
42293 * inet/herrno-loc.c: Likewise.
42294 * inet/herrno.c: Likewise.
42295 * malloc/arena.c: Likewise.
42296 * malloc/hooks.c: Likewise.
42297 * malloc/malloc.c: Likewise.
42298 * resolv/res-state.c: Likewise.
42299 * resolv/res_libc.c: Likewise.
42300 * sysdeps/i386/dl-machine.h: Likewise.
42301 * sysdeps/ia64/dl-machine.h: Likewise.
42302 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42303 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42304 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42305 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42306 * sysdeps/sh/dl-machine.h: Likewise.
42307 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42308 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42309 * sysdeps/unix/i386/sysdep.S: Likewise.
42310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42311 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42316 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42321 * sysdeps/x86_64/dl-machine.h: Likewise.
42322 * tls.make.c: Likewise.
42324 * configure.in: Remove --with-__thread option. Make tests for
42325 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42326 tls_model attribute fail if no support is available. Remove
42328 * Makeconfig: Adjust for dropped configure option. All features are
42330 * Makerules: Likewise.
42331 * Versions.def: Likewise.
42332 * argp/argp-fmtstream.c: Likewise.
42333 * argp/argp-fmtstream.h: Likewise.
42334 * argp/argp-help.c: Likewise.
42335 * assert/assert.c: Likewise.
42336 * config.h.in: Likewise.
42337 * config.make.in: Likewise.
42338 * configure: Likewise.
42339 * configure.in: Likewise.
42340 * csu/Versions: Likewise.
42341 * csu/init.c: Likewise.
42342 * elf/tst-audit2.c: Likewise.
42343 * elf/tst-tls10.c: Likewise.
42344 * elf/tst-tls10.h: Likewise.
42345 * elf/tst-tls11.c: Likewise.
42346 * elf/tst-tls12.c: Likewise.
42347 * elf/tst-tls14.c: Likewise.
42348 * elf/tst-tlsmod11.c: Likewise.
42349 * elf/tst-tlsmod12.c: Likewise.
42350 * elf/tst-tlsmod13.c: Likewise.
42351 * elf/tst-tlsmod13a.c: Likewise.
42352 * elf/tst-tlsmod14a.c: Likewise.
42353 * elf/tst-tlsmod15b.c: Likewise.
42354 * elf/tst-tlsmod16a.c: Likewise.
42355 * elf/tst-tlsmod16b.c: Likewise.
42356 * elf/tst-tlsmod7.c: Likewise.
42357 * elf/tst-tlsmod8.c: Likewise.
42358 * elf/tst-tlsmod9.c: Likewise.
42359 * gmon/gmon.c: Likewise.
42360 * grp/fgetgrent_r.c: Likewise.
42361 * grp/putgrent.c: Likewise.
42362 * hurd/fopenport.c: Likewise.
42363 * include/libc-symbols.h: Likewise.
42364 * include/tls.h: Likewise.
42365 * intl/gettextP.h: Likewise.
42366 * intl/loadinfo.h: Likewise.
42367 * locale/global-locale.c: Likewise.
42368 * locale/localeinfo.h: Likewise.
42369 * mach/devstream.c: Likewise.
42370 * malloc/arena.c: Likewise.
42371 * malloc/set-freeres.c: Likewise.
42372 * misc/err.c: Likewise.
42373 * misc/getttyent.c: Likewise.
42374 * misc/mntent_r.c: Likewise.
42375 * posix/getopt.c: Likewise.
42376 * posix/wordexp.c: Likewise.
42377 * pwd/fgetpwent_r.c: Likewise.
42378 * resolv/Versions: Likewise.
42379 * resolv/res_hconf.c: Likewise.
42380 * shadow/fgetspent_r.c: Likewise.
42381 * shadow/putspent.c: Likewise.
42382 * stdio-common/printf_fphex.c: Likewise.
42383 * stdio-common/tmpfile.c: Likewise.
42384 * stdlib/abort.c: Likewise.
42385 * stdlib/fmtmsg.c: Likewise.
42386 * sunrpc/auth_unix.c: Likewise.
42387 * sunrpc/clnt_perr.c: Likewise.
42388 * sunrpc/clnt_tcp.c: Likewise.
42389 * sunrpc/clnt_udp.c: Likewise.
42390 * sunrpc/clnt_unix.c: Likewise.
42391 * sunrpc/openchild.c: Likewise.
42392 * sunrpc/svc_simple.c: Likewise.
42393 * sunrpc/svc_tcp.c: Likewise.
42394 * sunrpc/svc_udp.c: Likewise.
42395 * sunrpc/svc_unix.c: Likewise.
42396 * sunrpc/xdr.c: Likewise.
42397 * sunrpc/xdr_array.c: Likewise.
42398 * sunrpc/xdr_rec.c: Likewise.
42399 * sunrpc/xdr_ref.c: Likewise.
42400 * sunrpc/xdr_stdio.c: Likewise.
42402 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42404 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42406 2011-07-03 Andreas Jaeger <aj@suse.de>
42408 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42409 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42410 regenerate with gen-libm-tests.pl.
42412 2010-05-12 Petr Baudis <pasky@suse.cz>
42415 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42416 around j0() zero points by switching to j1().
42417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42422 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42424 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42426 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42429 Patch in part by Pavel Roskin <proski@gnu.org>.
42432 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42434 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42435 Free memory block if necessary.
42438 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42439 be NULL. Don't lock in this case.
42441 2011-09-09 Roland McGrath <roland@hack.frob.com>
42443 * elf/elf.h (ELFOSABI_GNU): New macro.
42444 (ELFOSABI_LINUX): Define to that.
42446 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42448 * string/strncat.c (strncat): Undef the symbol in case it has been
42449 defined in bits/string.h.
42451 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42453 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42455 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42458 2011-08-17 Andreas Jaeger <aj@suse.de>
42460 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42462 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42463 Ian Lance Taylor <iant@google.com>
42465 * math/libm-test.inc (lround_test): New testcase.
42466 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42468 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42470 * Makefile: Remove support for automatic cvs check-ins.
42471 * Makerules: Likewise.
42472 * config.make.in: Likewise.
42473 * configure.in: Likewise.
42474 * intl/Makefile: Likewise.
42475 * locale/Makefile: Likewise.
42476 * po/Makefile: Likewise.
42477 * posix/Makefile: Likewise.
42478 * sysdeps/gnu/Makefile: Likewise.
42479 * sysdeps/mach/hurd/Makefile: Likewise.
42480 * sysdeps/sparc/sparc32/Makefile: Likewise.
42483 * posix/Makefile (bug-regex32-ENV): Define.
42484 Patch by John Stanley <jpsinthemix@verizon.net>.
42486 * misc/Makefile (headers): Add bits/select2.h.
42487 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42488 * misc/bits/select2.h: New file.
42489 * include/bits/select2.h: New file.
42490 * debug/Makefile (routines): Add fdelt_chk.
42491 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42492 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42494 * debug/fdelt_chk.c: New file.
42496 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42497 * wcsmbs/test-wmemcmp.c: Likewise.
42498 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42499 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42501 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42503 * string/Makefile (strop-tests): Add memcmp.
42504 * string/test-wmemcmp.c: New file.
42505 * string/test-memcmp.c: Add wmemcmp support.
42507 2011-09-08 Roland McGrath <roland@hack.frob.com>
42510 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42513 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42514 garbage value in a __mach_port_mod_refs call in the cases of the
42515 task-self and thread-self ports.
42517 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42519 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42521 2011-09-08 Andreas Schwab <schwab@redhat.com>
42523 * elf/dl-load.c (lose): Check for non-null L.
42525 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42527 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42529 * elf/dl-libc.c (dlerror_run): Pass back error code from
42533 * elf/dl-load.c (lose): Free l_origin if it is valid.
42535 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42537 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42541 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42542 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42544 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42546 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42547 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42548 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42549 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42550 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42551 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42552 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42553 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42554 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42555 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42557 2011-08-15 Alan Modra <amodra@gmail.com>
42560 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42561 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42562 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42563 ppc_mcount to static-only-routines.
42564 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42566 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42567 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42569 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42571 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42572 for finite and infinity parameters.
42574 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42577 and add nop instructions for throughput optimization.
42578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42580 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42583 aligned copy for power7 with vector-scalar instructions.
42584 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42586 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42591 2011-09-07 Andreas Schwab <schwab@redhat.com>
42594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42597 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42599 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42600 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42601 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42602 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42605 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42607 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42608 Forgot to demangle the pointer.
42610 * sysdeps/i386/sysdep.h: Define atom_text_section.
42611 * sysdeps/x86_64/sysdep.h: Likewise.
42612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42613 section with atom_text_section.
42614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42616 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42617 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42618 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42621 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42622 already be defined. Change to take two parameters and don't assign
42623 result to variable. Adjust all users.
42624 Define INTERNAL_GETTIME if not already defined.
42625 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42628 HAVE_CLOCK_GETTIME_VSYSCALL.
42629 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42632 gettimeofday vsyscall, just use time.
42634 2011-09-06 Andreas Schwab <schwab@redhat.com>
42636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42639 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42641 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42645 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42647 syscall if possible.
42649 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42651 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42652 e_ident. Don't pass to find_mapsXX.
42653 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42655 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42658 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42659 * sysdeps/x86_64/multiarch/strchr.S: Update.
42660 Check bit_slow_BSF bit.
42661 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42663 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42665 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42668 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42670 (tryshell): Define.
42671 (__spawni): Change last parameter to be flag. Test
42672 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42673 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42674 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42675 * posix/spawni.c: Likewise.
42676 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42677 * posix/spawnp.c: Likewise. Change normal version to use
42678 SPAWN_XFLAGS_USE_PATH.
42679 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42680 SPAWN_XFLAGS_TRY_SHELL.
42683 * posix/glob.h: Remove gcc 1.x support.
42686 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42688 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42691 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42693 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42694 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42695 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42697 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42698 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42700 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42702 * sysdeps/x86_64/wcscmp.S: New file.
42704 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42705 wcscmp-c wcscmp-sse2
42706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42707 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42708 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42709 * wcsmbs/wcscmp.c: Allow renaming.
42711 2011-09-05 David S. Miller <davem@davemloft.net>
42713 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42714 stack slot, rather than the struct return pointer slot.
42715 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42716 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42718 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42720 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42722 * po/ja.po: Update from translation team.
42725 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42726 kernel in 64-bit binaries.
42728 2011-09-01 David S. Miller <davem@davemloft.net>
42730 * elf/elf.h (HWCAP_SPARC_*): Move to..
42731 * sysdeps/sparc/sysdep.h: this new file and add new values.
42732 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42733 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42734 _DL_HWCAP_COUNT to 24.
42735 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42737 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42738 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42739 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42741 instead of magic constants.
42742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42744 2011-08-31 David S. Miller <davem@davemloft.net>
42746 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42748 Reimplement to do errno handling inline.
42749 (SYSCALL_ERROR_HANDLER): New macro.
42750 (__SYSCALL_STRING): Do not do errno handling in asm.
42751 (__CLONE_SYSCALL_STRING): Delete.
42752 (__INTERNAL_SYSCALL_STRING): Delete.
42753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42754 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42755 (PSEUDO): Reimplement to do errno handling inline.
42756 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42757 (SYSCALL_ERROR_HANDLER): New macro.
42758 (__SYSCALL_STRING): Do not do errno handling in asm.
42759 (__CLONE_SYSCALL_STRING): Delete.
42760 (__INTERNAL_SYSCALL_STRING): Delete.
42761 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42762 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42764 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42765 (inline_syscall*): Add 'err' argument.
42766 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42767 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42768 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42769 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42771 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42772 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42774 2011-08-30 Andreas Schwab <schwab@redhat.com>
42776 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42778 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42780 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42783 2011-08-24 David S. Miller <davem@davemloft.net>
42785 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42787 2011-08-24 Andreas Schwab <schwab@redhat.com>
42789 * elf/Makefile: Add rules to build and run unload8 test.
42790 * elf/unload8.c: New file.
42791 * elf/unload8mod1.c: New file.
42792 * elf/unload8mod1x.c: New file.
42793 * elf/unload8mod2.c: New file.
42794 * elf/unload8mod3.c: New file.
42796 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42799 2011-08-23 David S. Miller <davem@davemloft.net>
42801 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42802 subtract stack bias.
42803 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42804 %sp not %fp in calculations.
42805 (_JMPBUF_UNWINDS_ADJ): Likewise.
42807 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42808 (aio_suspend): Call it to force an exception region around the
42809 AIO_MISC_WAIT() invocation.
42811 2011-08-23 Andreas Schwab <schwab@redhat.com>
42813 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42816 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42818 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42820 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42821 and <dl-machine.h>.
42822 (Elf64_FuncDesc): Remove.
42824 2011-08-22 David S. Miller <davem@davemloft.net>
42826 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42827 sigaltstack check, add missing cfi directives.
42828 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42829 missing cfi directives, and sigaltstack handling.
42831 2011-08-16 Andreas Schwab <schwab@redhat.com>
42834 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42835 object is seen twice.
42836 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42838 * elf/Makefile (distribute): Add tst-initorder2.c.
42839 (tests): Add tst-initorder2.
42840 (modules-names): Add tst-initorder2a tst-initorder2b
42841 tst-initorder2c tst-initorder2d. Add rules to build them.
42842 ($(objpfx)tst-initorder2.out): New rule.
42843 * elf/tst-initorder2.c: New file.
42844 * elf/tst-initorder2.exp: New file.
42846 2011-08-22 Andreas Schwab <schwab@redhat.com>
42848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42850 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42851 dependencies back to end of function.
42853 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42854 $(elfobjdir)/ld.so.
42856 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42858 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42859 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42860 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42861 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42862 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42863 of __vdso_gettimeofday.
42864 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42865 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42867 (_libc_vdso_platform_setup): Remove initialization of
42868 __vdso_gettimeofday and __vdso_time.
42870 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42872 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42873 and fgetc_unlocked.
42874 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42877 * elf/dl-open.c (add_to_global): Report additions to the global scope
42878 for LD_DEBUG=scopes.
42879 (dl_open_worker): Also print scope of newly loaded dependencies.
42880 (_dl_show_scope): Indicate if there is no scope.
42883 * stdio-common/Makefile (tests): Add bug24.
42884 * stdio-common/bug24.c: New file.
42886 2011-08-19 Andreas Jaeger <aj@suse.de>
42889 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42890 non-existant file when using close-on-exec mode.
42892 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42895 the very first instruction.
42897 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42898 the CFI state in the end.
42899 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42900 inclusion of dl-trampoline.h.
42901 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42903 2011-08-19 Andreas Schwab <schwab@redhat.com>
42905 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42906 expectations for long double.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42909 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42911 2011-08-14 David S. Miller <davem@davemloft.net>
42913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42914 artificual limit depends upon the system page size.
42916 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42918 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42919 * resolv/Makefile: Define CFLAGS-libresolv.
42921 2011-08-17 Andreas Schwab <schwab@redhat.com>
42923 * nss/makedb.c (compute_tables): Make variables used in nested
42926 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42928 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42929 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42930 if buffer was too small.
42932 * elf/pldd.c (main): Attach to all threads in the process.
42933 Rewrite /proc handling to use *at functions.
42935 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42937 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42938 specifies first scope to show.
42939 (dl_open_worker): Update callers. Move printing scope of new
42940 object to before the relocation.
42941 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42942 * sysdeps/generic/ldsodefs.h: Update declaration.
42944 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42945 string for the scope number.
42947 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42949 * nscd/servicescache.c (cache_addserv): Make sure written is always
42952 2011-08-14 Roland McGrath <roland@hack.frob.com>
42954 * sysdeps/i386/i486/bits/atomic.h
42955 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42956 statement expression, so as to suppress "set but not used" warning.
42957 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42959 * string/strncat.c (STRNCAT): Use prototype definition.
42961 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42962 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42964 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42965 (localedef-modules): Add localedef.
42966 (locale-modules): Add locale.
42968 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42969 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42970 to avoid a warning.
42972 2011-08-14 David S. Miller <davem@davemloft.net>
42974 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42975 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42977 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42979 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42980 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42981 * elf/rtld.c (dl_main): Set l_name of vDSO.
42982 Call _dl_show_scope when DL_DEBUG_SCOPES.
42983 (process_dl_debug): Recognize scopes flag and also set it for all.
42984 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42985 Declare _dl_show_scope.
42987 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42988 (do_dlopen): Pass caller_dlopen to dl_open.
42989 (__libc_dlopen_mode): Initialize caller_dlopen.
42991 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42992 of libc. Make tolower call locale-independent. Optimize a bit by
42993 using isdigit instead of isalnum.
42994 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42996 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42998 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42999 was a dependency or dynamically loaded.
43001 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43003 * intl/l10nflist.c: Allow architecture-specific pop function.
43004 * sysdeps/x86_64/l10nflist.c: New file.
43006 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43009 2011-08-10 Andreas Schwab <schwab@redhat.com>
43011 * include/dirent.h: Add libc_hidden_proto for scandirat and
43012 scandirat64. Don't declare __scandirat64.
43013 * dirent/scandirat.c: Add libc_hidden_def.
43014 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43015 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43017 2011-08-10 David S. Miller <davem@davemloft.net>
43019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43025 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43027 * Versions.def [libc]: Add GLIBC_2.15.
43028 * dirent/Makefile (routines): Add scandirat and scandirat64.
43029 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43031 * dirent/dirent.h: Declare scandirat and scandirat64.
43032 * dirent/scandirat.c: New file.
43033 * dirent/scandirat64.c: New file.
43034 * sysdeps/wordsize-64/scandirat.c: New file.
43035 * sysdeps/wordsize-64/scandirat64.c: New file.
43036 * dirent/opendir.c: Define opendirat.
43037 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43039 * dirent/scandir64.c: Adjust for scandir.c change.
43040 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43041 __scandirat64, and __scandir_cancel_handler.
43042 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43043 additional parameter and use openat instead of open (outside of ld.so).
43044 Add new __opendir as wrapper around __opendirat.
43045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43046 here without requiring old scandirat implementation.
43048 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43050 * dirent/scandir.c (cancel_handler): Renamed to
43051 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43052 defined. Adjust users.
43053 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43054 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43056 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43058 * string/test-string.h (IMPL): Use __STRING to expand name and then
43061 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43064 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43066 * string/Makefile: Update.
43067 (strop-tests): Append strncat.
43068 * string/test-wcscmp.c: New file.
43069 New comprehensive test for wcscmp.
43070 * string/test-strcmp.c: Update.
43071 (WIDE): New define.
43073 2011-07-22 Andreas Schwab <schwab@redhat.com>
43075 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43078 2011-07-26 Andreas Schwab <schwab@redhat.com>
43080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43081 encoding to ACE if AI_IDN.
43083 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43085 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43086 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43088 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43091 Fix overflow bug in strncat.
43092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43094 * string/test-strncat.c: Update.
43095 Add new tests for checking overflow bugs.
43097 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43100 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43101 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43102 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43104 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43105 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43106 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43107 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43109 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43110 (USE_AS_STRCAT): Define.
43111 Add strcat and strncat support.
43112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43114 2011-07-25 Andreas Schwab <schwab@redhat.com>
43116 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43117 __n bigger than INT_MAX+1.
43118 (__strncmp_g): Likewise.
43120 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43122 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43123 * libio/stido.h: Likewise.
43125 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43130 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43137 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43142 (_dl_x86_64_save_sse): Likewise.
43144 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43148 (_dl_x86_64_save_sse): Likewise.
43150 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43152 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43154 2011-07-21 Andreas Schwab <schwab@redhat.com>
43156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43158 (_dl_x86_64_save_sse): Use correct AVX check.
43160 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43162 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43163 bug in strncpy/strncat.
43164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43166 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43168 * string/tester.c (test_strcat): Add tests for different alignments
43169 of source and destination.
43170 (test_strncat): Likewise.
43172 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43175 * posix/glob.c (glob): Check passed in values before using them in
43176 expressions to avoid some overflows.
43177 (glob_in_dir): Likewise.
43180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43181 check for AVX enablement so that we don't crash with old kernels and
43183 * elf/tst-audit4.c: Add same checks here.
43184 * elf/tst-audit6.c: Likewise.
43186 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43188 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43190 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43192 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43194 * po/cs.po: Update from translation team.
43195 * po/bg.po: Likewise.
43197 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43199 * misc/sys/cdefs.h: Add support for const attribute.
43200 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43201 to gnu_dev_{major,minor,makedev} functions.
43203 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43205 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43207 2011-07-20 Andreas Schwab <schwab@redhat.com>
43209 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43212 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43214 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43215 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43216 register in order to avoid conflicts with the soft frame pointer
43217 being held in r11 when necessary.
43218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43219 (INTERNAL_VSYSCALL_NCS): Likewise.
43221 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43223 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43224 * elf/dl-fini.c (_dl_fini): Adjust caller.
43225 * elf/dl-close.c (_dl_close_worker): Likewise.
43226 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43228 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43230 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43231 "aux_cache->nlibs < 0".
43233 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43234 in the reload-count case.
43236 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43239 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43240 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43241 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43242 * sysdeps/x86_64/multiarch/strcat.S: New file.
43243 * sysdeps/x86_64/multiarch/strncat.S: New file.
43244 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43245 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43246 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43247 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43249 (USE_AS_STRCAT): Define.
43250 Add strcat and strncat support.
43251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43252 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43254 * string/strncat.c: Update.
43255 (USE_AS_STRNCAT): Define.
43256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43257 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43259 * sysdeps/x86_64/multiarch/init-arch.h
43260 (bit_Prefer_PMINUB_for_stringop): New.
43261 (index_Prefer_PMINUB_for_stringop): Likewise.
43262 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43263 bit_Prefer_PMINUB_for_stringop.
43265 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43267 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43269 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43270 of casting of buffer.
43271 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43272 buffer32 and buffer64.
43273 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43274 writes instead of casting of buffer.
43275 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43277 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43280 2011-07-19 Andreas Schwab <schwab@redhat.com>
43282 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43284 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43286 * nscd/nscd.c (termination_handler): Don't do anything for a database
43287 if it has not yet been initialized.
43289 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43291 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43293 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43295 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43297 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43299 * po/nl.po: Update from translation team.
43300 * po/sv.po: Likewise.
43302 2011-07-16 Roland McGrath <roland@hack.frob.com>
43304 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43305 now disallowed by GCC.
43307 * configure.in (use-default-link): Default to yes if a test -shared
43308 link meets our qualifications.
43309 * configure: Regenerated.
43311 * config.make.in (output-format): New variable.
43312 * configure.in: Check for ld --print-output-format support.
43313 * configure: Regenerated.
43314 * Makerules ($(common-objpfx)format.lds)
43315 [$(output-format) != unknown]: Just use $(output-format),
43316 instead of the linker-script munging.
43318 2011-07-14 Roland McGrath <roland@hack.frob.com>
43320 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43321 of $(common-objpfx)shlib.lds.
43322 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43324 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43325 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43327 * configure.in (-z relro check): Adjust test code to add a large
43328 writable data section after it.
43329 * configure: Regenerated.
43331 2011-07-11 Roland McGrath <roland@hack.frob.com>
43333 * configure.in (-z relro check): Fix test code to make the variable
43335 * configure: Regenerated.
43337 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43339 * nscd/nscd.h (struct traced_file): Define.
43340 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43341 elements. Add traced_files.
43342 (inotify_fd): Declare.
43343 (register_traced_file): Declare.
43344 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43345 (inotify_fd): Export.
43346 (resolv_conf_descr): Remove.
43347 (nscd_init): Move inotify descriptor creation to main.
43348 Don't register files for notification here.
43349 (register_traced_file): New function.
43350 (invalidate_cache): Don't use reset_res to determine whether to call
43351 res_init, go through the list of registered files.
43352 (main_loop_poll): The inotify descriptors are now stored in the
43353 structures for the traced files.
43354 (main_loop_epoll): Likewise
43355 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43356 to __nss_disable_nscd.
43357 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43358 for a database anymore. Check the records for all the registered
43360 * nss/Makefile (libnss_files-routines): Add files-init.
43361 (libnss_db-routines): Add db-init.
43362 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43363 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43364 * nss/nss_db/db-init.c: New file.
43365 * nss/nss_files/files-init.c: New file.
43366 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43367 __nss_lookup_function.
43368 (__nss_lookup_function): Call nss_load_library.
43369 (nss_load_all_libraries): New function.
43370 (__nss_disable_nscd): Take parameter with callback function for files
43371 to register. Set is_nscd. Load all the DSOs for the NSS modules
43372 used for the cached services.
43373 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43374 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43375 options for features to all the files in nscd.
43377 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43379 2011-07-10 Roland McGrath <roland@hack.frob.com>
43381 * csu/elf-init.c (__libc_csu_init): Comment typo.
43383 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43385 * po/pl.po: Update from translation team.
43386 * po/ja.po: Likewise.
43387 * po/ru.po: Likewise.
43388 * po/ko.po: Likewise.
43389 * po/fr.po: Likewise.
43391 2011-07-09 Roland McGrath <roland@hack.frob.com>
43393 * configure.in (.ctors/.dtors header and trailer check):
43394 Use an empirical test on a built program.
43395 * configure: Regenerated.
43397 * configure.in (-z relro check): Use an empirical test on a built DSO.
43398 Detect, but do not require, on ia64.
43399 * configure: Regenerated.
43401 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43402 Update tests that use readelf to use $READELF instead.
43403 * configure: Regenerated.
43405 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43407 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43408 if the result is not used.
43410 2011-07-05 Andreas Jaeger <aj@suse.de>
43413 * stdlib/tst-strtod.c: Add testcase.
43415 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43417 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43418 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43419 The latter has a higher limit. Take additional parameter to pass to
43421 (__pathconf): Pass file to __statfs_link_max.
43422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43424 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43428 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43431 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43432 (__statfs_filesize_max): Likewise.
43433 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43435 2011-07-05 Andreas Jaeger <aj@suse.de>
43437 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43439 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43441 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43446 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43448 * Makefile (strop-tests): Add strncat.
43449 * string/test-strncat.c: New file.
43451 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43453 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43455 2011-06-21 Andreas Jaeger <aj@suse.de>
43457 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43458 Copy rule from iconvdata/Makefile.
43460 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43463 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43464 but no long options are defined, just return 'W'.
43466 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43469 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43471 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43473 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43475 (innetgr): Likewise.
43477 2011-07-05 Roland McGrath <roland@hack.frob.com>
43479 * config.make.in (install_root): Default to $(DESTDIR).
43481 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43483 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43485 2011-07-02 Roland McGrath <roland@hack.frob.com>
43487 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43489 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43490 containing directory rather than embedding absolute directory names.
43492 * scripts/check-local-headers.sh: Rewritten using awk.
43493 Match by word, not by line. Print error messages for matches.
43494 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43496 * Makerules [shlib-lds-flags empty]:
43497 ($(common-objpfx)libc_pic.opts): New target.
43498 ($(common-objpfx)libc_pic.os.clean): New target.
43499 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43501 * config.make.in (OBJCOPY): New variable.
43502 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43503 * configure: Regenerated.
43505 * config.make.in (use-default-link): New variable.
43506 * configure.in (use_default_link): Grok --with-default-link to set it.
43507 * configure: Regenerated.
43508 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43509 (shlib-lds, shlib-lds-flags): Define to empty.
43511 * Makerules (shlib-lds): New variable.
43512 (shlib-lds-flags): New variable.
43513 (build-shlib, build-moduile, build-module-asneeded): Use it.
43514 ($(common-objpfx)libc.so): Use $(shlib-lds).
43515 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43516 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43518 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43519 DT_FLAGS/DT_FLAGS_1 with zero flags.
43521 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43522 linker script munging.
43524 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43526 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43528 * crypt/sha512.c (sha512_process_block): Perform total addition using
43529 128-bit if possible.
43530 (__sha512_finish_ctx): Likewise.
43531 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43533 * crypt/sha256.c (SWAP64): Define.
43534 (sha256_process_block): Perform total addition using 64-bit if
43536 (__sha256_finish_ctx): Likewise.
43538 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43540 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43542 * nscd/hstcache.c (cache_addhst): Likewise.
43543 * nscd/grpcache.c (cache_addgr): Likewise.
43544 * nscd/aicache.c (addhstaiX): Likewise
43545 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43547 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43549 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43551 * nscd/hstcache.c (cache_addhst): Likewise.
43552 * nscd/grpcache.c (cache_addgr): Likewise.
43553 * nscd/aicache.c (addhstaiX): Likewise
43555 2011-07-01 Andreas Schwab <schwab@redhat.com>
43557 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43558 domain only when needed.
43560 2011-06-30 Andreas Schwab <schwab@redhat.com>
43562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43563 is always restored.
43565 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43567 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43568 are re-adding the entry.
43569 * nscd/servicescache.c (cache_addserv): Likewise.
43571 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43573 * sysdeps/generic/dl-irel.h: fix protection against multiple
43575 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43577 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43580 * malloc/memusage.sh: Fix quoting in message.
43581 * debug/xtrace.sh: Likewise.
43583 * configure.in: Remove support for --experimental-malloc option, make
43585 * config.make.in: Likewise.
43586 * malloc/Makefile: Likewise.
43588 2011-06-27 Andreas Schwab <schwab@redhat.com>
43590 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43591 two-byte characters.
43593 2011-06-27 Roland McGrath <roland@hack.frob.com>
43595 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43596 AC_CACHE_CHECK invocation.
43597 * configure: Regenerated.
43599 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43601 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43604 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43605 bit from old_res_options.
43607 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43609 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43610 value type for setfct.
43612 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43615 __gettimeofday instead of gettimeofday.
43617 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43619 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43621 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43623 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43625 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43628 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43631 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43632 strcpy-sse2-unaligned strncpy-sse2-unaligned
43633 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43634 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43635 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43636 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43637 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43639 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43640 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43641 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43642 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43643 (STRCPY): Support SSE2 and SSSE3 versions.
43645 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43649 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43650 kernels which artificially limit size of requests.
43652 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43655 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43656 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43657 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43658 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43659 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43660 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43661 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43663 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43664 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43665 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43666 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43667 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43668 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43670 Enable unaligned load optimization for Intel Core i3, i5 and i7
43672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43674 (index_Fast_Unaligned_Load): Define.
43675 (HAS_FAST_UNALIGNED_LOAD): Define.
43677 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43679 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43681 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43685 until it is clear that the information is realy needed.
43686 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43688 2011-06-22 Andreas Schwab <schwab@redhat.com>
43690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43692 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43694 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43695 /sys/devices/system/cpu/online if it is usable.
43697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43698 reading the information from the /proc filesystem to once a second.
43700 2011-06-21 Andreas Jaeger <aj@suse.de>
43702 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43703 NULL after inclusion of kernel headers.
43705 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43707 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43708 calls to internal_setent.
43711 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43712 addresses using gethostbyname4_r ignore IPv4 addresses.
43714 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43715 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43717 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43719 2011-06-20 David S. Miller <davem@davemloft.net>
43721 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43723 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43725 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43726 (elf_irel): Use it.
43727 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43728 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43729 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43730 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43731 * sysdeps/x86_64/dl-irel.h: Likewise.
43733 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43734 * elf/dl-sym.c: Likewise.
43736 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43738 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43739 need to dereference resplen2.
43741 2011-06-14 Andreas Schwab <schwab@redhat.com>
43743 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43745 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43747 * Makeconfig: Define vardbdir and inst_vardbdir.
43748 * nss/Makefile: Add rules to install db-Makefile.
43750 * nss/nss_db/db-XXX.c: Cleanup.
43752 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43753 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43755 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43756 * nss/makedb.c: Implement -g option to specify that value strings
43757 are generated and should not be added to table iterated over for
43759 * nss/nss_db/db-initgroups.c: New file.
43761 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43764 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43765 (internal_getgrouplist): Adjust to name change.
43766 Update use_initgroups_entry if this is not the first call.
43767 * nss/databases.def: Add initgroups entry.
43769 * nss/makedb.c (compute_tables): Check result of multiple hash table
43770 sizes to minimize maximum chain length.
43772 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43774 * Versions.def: Add entry for libnss_db.
43775 * shlib-versions: Likewise.
43776 * nss/Makefile: Add rules to build libnss_db.
43777 * nss/Versions: Add libnss_db information. Organize libnss_files
43779 * nss/db-Makefile: Add gshadow support. Change rules for the new
43780 makedb progra. Some minor improvements to generate smaller files.
43781 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43783 * nss/makedb.c: ...here.
43784 Improve database format to be smaller and require less memory at
43786 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43788 * nss/nss_db/db-netgrp.c: Likewise.
43789 * nss/nss_db/db-open.c: Likewise.
43790 * nss/nss_files/flies-XXX.x: Adjust comments.
43791 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43792 * nss/nss_files/files-grp.c: Likewise.
43793 * nss/nss_files/files-hosts.c: Likewise.
43794 * nss/nss_files/files-network.c: Likewise.
43795 * nss/nss_files/files-proto.c: Likewise.
43796 * nss/nss_files/files-pwd.c: Likewise.
43797 * nss/nss_files/files-rpc.c: Likewise.
43798 * nss/nss_files/files-service.c: Likewise.
43799 * nss/nss_files/files-sgrp.c: Likewise.
43800 * nss/nss_files/files-spwd.c: Likewise.
43801 * nss/nss_db/db-alias.c: Removed.
43802 * nss/nss_db/dummy-db.h: Removed.
43804 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43806 * nss/makedb.c: Rewritten to not use database library.
43807 * nss/Makefile: Update to build new makedb program.
43809 2011-06-14 Andreas Jaeger <aj@suse.de>
43811 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43812 memset declaration.
43814 2011-06-10 Andreas Schwab <schwab@redhat.com>
43816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43819 2011-06-10 Roland McGrath <roland@hack.frob.com>
43821 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43822 * elf/Makefile ($(objpfx)ld.so): Likewise.
43824 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43825 Don't list ld.so twice in dependencies.
43827 * posix/bug-regex31.c: Include <stdlib.h>.
43829 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43831 * nis/nss_compat/compat-spwd.c
43832 (getspent_next_nss_netgr): Remove unused variable.
43833 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43835 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43836 nonmembers" output to use the right array.
43838 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43840 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43842 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43843 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43844 * catgets/gencat.c (read_input_file): Likewise.
43845 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43847 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43848 variable definition inside #if's controlling its use.
43850 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43852 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43854 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43856 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43859 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43861 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43862 * configure: Regenerated.
43864 * Makerules: Revert last change.
43865 * elf/Makefile: Likewise.
43867 2011-06-09 Roland McGrath <roland@hack.frob.com>
43869 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43870 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43871 (reloc-link): Likewise.
43873 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43875 * elf/Makefile: Add rules to build pldd.
43876 * elf/pldd.c: New file.
43877 * elf/pldd-xx.c: New file.
43879 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43881 * version.h: Update for 2.15 development version.
43883 2011-06-07 David S. Miller <davem@davemloft.net>
43885 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43887 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43888 elf_machine_lazy_rel): Likewise.
43889 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43891 elf_machine_lazy_rel): Likewise.
43892 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43893 dl_hwcap via passed in argument.
43894 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43897 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43899 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43901 2011-06-06 Roland McGrath <roland@hack.frob.com>
43904 * manual/fdl-1.1.texi: New file, verbatim from:
43905 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43906 * manual/lgpl-2.1.texi: New file, verbatim from:
43907 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43908 * manual/Makefile (licenses): New variable, list those new file names.
43910 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43912 * manual/fdl.texi: File removed.
43913 * manual/lesser.texi: File removed.
43914 * manual/libc.texinfo (Copying, Documentation License):
43915 Use new @include file names, put @appendix directive before @include.
43917 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43920 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43921 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43922 (mq_open): Add __NTH.
43924 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43927 Assume Intel Core i3/i5/i7 processor if AVX is available.
43929 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43934 2011-05-31 Andreas Schwab <schwab@redhat.com>
43936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43937 memory. Use alloca_account. Fix memory leak when retrying.
43939 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43941 * version.h (RELEASE): Bump for 2.14 release.
43942 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43944 * config.make.in (RANLIB): Remove entry.
43946 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43948 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43949 (libc.pot): Work around missing support for .ksh extension in xgettext.
43952 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43953 if both request failed.
43954 (send_dg): In case of server errors clear resplen or *resplen2.
43957 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43958 when there are multiple maps.
43959 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43960 (_dl_fini): Remove test here.
43962 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43964 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43967 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43968 bit from old_res_options.
43969 (gaih_inet): Likewise.
43972 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43975 * resolv/res_init.c (res_setoptions): Make the code more compact.
43978 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43982 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43984 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43987 * malloc/malloc.h: Declare malloc hook variables as volatile.
43989 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43993 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43994 raise in the comment.
43995 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43997 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43999 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44002 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44003 grow the buffers more if it already has to be sufficient.
44004 (build_wcs_upper_buffer): Likewise.
44005 * posix/regexec.c (check_matching): Likewise.
44006 (clean_state_log_if_needed): Likewise.
44007 (extend_buffers): Don't enlarge buffers beyond size of the input
44009 Patches mostly by Emil Wojak <emil@wojak.eu>.
44010 * posix/bug-regex32.c: New file.
44011 * posix/Makefile (tests): Add bug-regex32.
44013 * locale/findlocale.c (_nl_find_locale): Return right away if
44014 _nl_explode_name failed.
44015 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44017 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44019 * debug/xtrace.sh: Unify messages.
44020 * malloc/memusage.sh: Likewise.
44023 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44024 time symbol from vDSO. Substitute with vsyscall if not available.
44025 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44028 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44029 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44030 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44031 Add sendmmsg and internal_sendmmsg.
44032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44033 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44036 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44037 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44040 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44043 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44044 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44050 * iconvdata/Makefile (tests): Add bug-iconv9.
44051 * iconvdata/bug-iconv9.c: New file.
44053 2011-05-27 Andreas Schwab <schwab@redhat.com>
44056 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44058 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44061 (struct user_regs_struct): Change intcs field back to cs.
44063 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44065 * po/ja.po: Update from translation team.
44067 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44070 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44071 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44073 2011-05-20 Andreas Schwab <schwab@redhat.com>
44075 * stdlib/longlong.h: Update from GCC.
44077 2011-05-23 Andreas Schwab <schwab@redhat.com>
44079 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44081 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44082 Add parameter name.
44083 (__sysconf): Pass it down.
44085 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44088 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44090 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44091 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44092 add in in __libc_use_alloca calls. Adjust callers.
44093 (glob): Use malloc in some situations.
44095 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44096 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44099 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44101 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44102 and CLOCK_BOOTTIME_ALARM.
44105 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44108 * string/_strerror.c (__strerror_r): Print negative errors as signed
44112 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44113 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44114 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44116 * configure.in: Fix typo in redirection and correct removal of test
44117 files in two cases.
44120 * locale/setlocale.c (new_composite_name): Fix test to check for
44121 identical name of all categories.
44124 * libio/filedoalloc.c (local_isatty): New function.
44125 (_IO_file_doallocate): Use local_isatty.
44126 * stdio-common/perror.c (perror): In case a new stream is used
44127 forward the stream error.
44128 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44131 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44136 * include/alloca.h (extend_alloca_account): Define.
44139 * posix/regex.h: Fix comments with documentation of user-accessible
44140 fields after compilation and describe correct free'ing of pattern
44141 after re_compile_pattern.
44142 Patch by Reuben Thomas <rrt@sc3d.org>.
44144 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44146 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44147 and -mno-altivec to prevent the compiler from using Altivec and/or
44148 VSX instructions when the corresponding registers are not available.
44150 2011-05-19 Andreas Schwab <schwab@redhat.com>
44152 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44154 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44156 * libio/freopen.c (freopen): Use __dup2, not dup2.
44157 * libio/freopen64.c (freopen64): Likewise.
44159 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44162 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44163 * math/Makefile (tests): Add test-powl.
44164 (CFLAGS-test-powl.c): Define.
44165 * math/test-powl.c: New file.
44167 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44169 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44171 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44174 * iconvdata/gb18030.c: Update to GB18020-2005.
44176 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44178 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44179 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44180 Patch by Aharon Robbins <arnold@skeeve.com>.
44183 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44187 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44188 through underflows.
44191 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44192 point to strings before performing equality test for error_one_per_line
44196 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44200 (struct user_fpregs_struct): Avoid __uint*_t types.
44203 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44204 symbol info. Use it instead of calling _dl_addr locally.
44205 (lock_and_info): New function.
44206 (tr_freehook): Call lock_and_info and pass symbol info as additional
44207 parameter to tr_where.
44208 (tr_mallochook): Likewise.
44209 (tr_reallochook): Likewise.
44210 (tr_memalignhook): Likewise.
44212 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44213 used and couldn't be at all thread-safe.
44215 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44217 * libio/freopen.c (freopen): Don't close old file descriptor
44218 before the new one is opened. Instead dup the new file descriptor
44219 to the old one after the new stream is created.
44220 * libio/freopen64.c (freopen64): Likewise.
44221 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44222 * libio/fileops.c (_IO_new_file_close_it): Handle new
44223 _IO_FLAGS2_NOCLOSE flag.
44224 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44225 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44226 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44227 _IO_FLAGS2_NOCLOSE flag.
44228 * include/unistd.h: Add hidden_proto for dup3.
44229 Define __have_dup3.
44230 * io/dup3.c: Define hidden symbol.
44231 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44234 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44235 when an incomplete long option is used.
44236 * posix/tst-getopt_long1.c: New file.
44237 * posix/Makefile (tests): Add tst-getopt_long1.
44240 * scripts/config.guess: Update from autoconf-2.68.
44241 * scripts/config.sub: Likewise.
44244 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44246 (has_cpuclock): ...this. New function.
44247 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44248 macro here based on has_cpuclock code.
44251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44252 First byte (not low byte) is now always NUL.
44253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44256 Use non-cancelable interfaces.
44259 * locale/iso-639.def: Add entry for Sorani.
44262 * include/stdlib.h: Move include protection to the right place.
44263 Define abort_msg_s. Declare __abort_msg with it.
44264 * stdlib/abort.c (__abort_msg): Adjust type.
44265 * assert/assert.c (__assert_fail_base): New function. Majority
44266 of code from __assert_fail. Allocate memory for __abort_msg with
44268 (__assert_fail): Now call __assert_fail_base.
44269 * assert/assert-perr.c: Remove bulk of implementation. Use
44270 __assert_fail_base.
44271 * include/assert.hL Declare __assert_fail_base.
44272 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44274 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44276 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44280 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44281 until all modules are registered in the DTV.
44282 * elf/Makefile: Add rules to build and run tst-tls19.
44283 * elf/tst-tls19.c: New file.
44284 * elf/tst-tls19mod1.c: New file.
44285 * elf/tst-tls19mod2.c: New file.
44286 * elf/tst-tls19mod3.c: New file.
44287 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44290 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44294 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44295 two-byte sequence errors.
44296 * iconvdata/Makefile (tests): Add bug-iconv8.
44297 * iconvdata/bug-iconv8.c: New file.
44300 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44303 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44306 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44307 (dummy_getcfa): New function.
44308 (init): Get _Unwind_GetCFA address, use dummy if not found.
44309 (backtrace_helper): In recursion check, also check whether CFA changes.
44310 (__backtrace): Completely initialize arg.
44312 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44313 storing incomplete byte sequence in state object. Avoid testing for
44314 guaranteed too small input if we know there is enough data available.
44316 2011-05-11 Andreas Schwab <schwab@redhat.com>
44318 * Makeconfig (+link-pie): Indent.
44319 * Rules (binaries-pie): Define if $(have-fpie) and
44321 (binaries-shared): Also filter out $(binaries-pie).
44322 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44323 * nscd/Makefile (others-pie): Add nscd.
44324 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44325 ($(objpfx)nscd): Remove command override.
44326 * login/Makefile (others-pie): Add pt_chown.
44327 ($(objpfx)pt_chown): Remove command override.
44328 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44329 remove command overrides.
44331 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44333 * libio/tst_putwc.c: Fix error messages.
44336 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44337 currently writing and seek to current position when not.
44338 * libio/Makefile (tests): Add bug-fclose1.
44339 * libio/bug-fclose1.c: New file.
44341 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44344 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44345 don't set DF_1_NODELETE here.
44346 (do_lookup_x): When entering new entry test for copy relocation
44347 and if necessary set DF_1_NODELETE flag.
44348 * elf/tst-unique4.cc: New file.
44349 * elf/tst-unique4.h: New file.
44350 * elf/tst-unique4lib.cc: New file.
44351 * elf/Makefile: Add rules to build and run tst-unique4.
44352 Patch by Piotr Bury <pbury@goahead.com>.
44354 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44357 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44360 * misc/mntent_r.c (addmntent): Flush the stream after the output
44363 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44364 (is_trusted_path_normalize): Skip initial colon. Append slash
44365 to empty buffer. Duplicate is_trusted_path code but allow
44366 constructed patch to be prefix.
44367 (is_dst): Allow $ORIGIN followed by /.
44368 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44369 Correct testing of result of is_trusted_path_normalize
44370 (decompose_rpath): Fix warning.
44372 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44375 * grp/initgroups.c (internal_getgrouplist): When we found the service
44376 list through the initgroups entry in nsswitch.conf do not always
44377 continue on a successful lookup. Don't always use the
44378 __nss_group_database value if it is set.
44379 * nss/nsswitch.conf (initgroups): Change action for successful db
44380 lookup to continue for compatibility.
44382 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44385 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44387 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44389 * iconvdata/tst-tables.sh: Likewise.
44390 * iconvdata/cp770.c: New file.
44391 * iconvdata/cp771.c: New file.
44392 * iconvdata/cp772.c: New file.
44393 * iconvdata/cp773.c: New file.
44394 * iconvdata/cp774.c: New file.
44395 * iconvdata/testdata/CP770: New file.
44396 * iconvdata/testdata/CP770..UTF8: New file.
44397 * iconvdata/testdata/CP771: New file.
44398 * iconvdata/testdata/CP771..UTF8: New file.
44399 * iconvdata/testdata/CP772: New file.
44400 * iconvdata/testdata/CP772..UTF8: New file.
44401 * iconvdata/testdata/CP773: New file.
44402 * iconvdata/testdata/CP773..UTF8: New file.
44403 * iconvdata/testdata/CP774: New file.
44404 * iconvdata/testdata/CP774..UTF8: New file.
44406 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44408 * iconvdata/gen-8bit-gap.sh: Likewise.
44409 * iconvdata/gen-8bit.sh: Likewise.
44411 * locale/iso-639.def: Add ary entry.
44414 * locale/C-translit.h.in: Add U20A1 transliteration.
44417 * locale/iso-639.def: Add wae entry.
44418 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44421 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44425 * locale/C-translit.h.in: Add entry for U20B9.
44426 Patch by pravin.d.s@gmail.com.
44428 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44431 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44432 ENAMETOOLONG use generic getcwd.
44433 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44434 in rtld. Use *stat64.
44435 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44436 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44437 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44438 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44439 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44440 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44441 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44442 __fstatat64 macros.
44443 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44444 * dirent/rewinddir.c: Add libc_hidden_def.
44445 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44446 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44448 * include/dirent.h (__alloc_dir): Add flags parameter.
44449 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44450 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44452 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44453 from fdopendir if O_CLOEXEC is already set.
44455 2011-03-15 Alan Modra <amodra@gmail.com>
44457 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44458 l_tls_firstbyte_offset non-zero. Save padding offset in
44459 l_tls_firstbyte_offset for later use.
44460 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44461 freeing static tls block.
44463 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44465 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44466 where #ifdef was intended. The intent is to prevent ARG_MAX from
44467 being defined by the kernel headers.
44469 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44472 * resolv/resolv.h: Define RES_NOTLDQUERY.
44473 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44474 no-tld-query and set RES_NOTLDQUERY.
44475 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44476 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44477 modern BIND to search name as TLD unless forbidden.
44479 2011-05-07 Petr Baudis <pasky@suse.cz>
44480 Ulrich Drepper <drepper@gmail.com>
44483 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44484 (is_trusted_path): ...to here.
44485 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44486 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44487 using is_trusted_path_normalize() in setuid scripts.
44489 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44491 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44492 __BEGIN/__END_DECLS.
44494 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44497 NSS_STATUS_NOTFOUND if no record was found.
44499 2011-05-05 Andreas Schwab <schwab@redhat.com>
44501 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44502 (headers-not-in-tirpc): Remove rpc/netdb.h
44503 * resolv/netdb.h: Revert last change.
44505 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44507 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44508 circular dependency between libgcc.a and libc.a.
44510 2011-05-05 Andreas Schwab <schwab@redhat.com>
44512 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44513 * nis/Makefile: Don't install rpcsvc/*.
44514 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44515 instead of <rpc/types.h>.
44516 (MAXHOSTNAMELEN): Define.
44518 2011-05-03 Andreas Schwab <schwab@redhat.com>
44520 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44522 2011-04-28 Maciej Babinski <mbabinski@google.com>
44525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44526 gethostbyname4_r when IPv6 results are possible.
44528 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44531 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44532 _PC_PIPE_BUF handling.
44534 2011-04-30 Bruno Haible <bruno@clisp.org>
44537 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44538 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44540 * inet/getnameinfo.c (getnameinfo): Likewise.
44542 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44544 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44545 to groups setting in database lookup.
44546 * nss/nsswitch.conf: Add initgroups entry.
44548 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44551 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44553 Patch by Eric Blake <eblake@redhat.com>.
44555 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44557 * sunrpc/Makefile (need-export-routines): Add svc_run.
44558 (routines): Remove svc_run.
44559 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44560 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44561 * sunrpc/svc_run.c (svc_run): Likewise.
44562 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44564 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44567 problem in reallocation in last patch.
44569 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44571 * sunrpc/Makefile: Move inclusion of Rules.
44573 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44575 * nss/nss_files/files-initgroups.c: New file.
44576 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44577 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44578 _nss_files_initgroups_dyn.
44580 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44582 * elf/elf.h (R_ARM_IRELATIVE): Define.
44584 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44586 * po/ru.po: Update from translation team.
44588 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44590 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44593 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44596 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44597 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44599 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44600 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44602 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44604 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44610 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44613 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44615 * stdlib/bug-getcontext.c: New file.
44616 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44618 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44620 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44621 instructions into .machine "z9-109".
44622 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44623 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44625 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44627 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44628 between environment variables and auxiliary vector.
44630 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44632 * Makefile: Add rules to build linkobj/libc.so.
44633 * include/libc-symbols.h: Define libc_hidden_nolink.
44634 * include/rpc/auth.h: Mark functions which are to be hidden.
44635 * include/rpc/auth_des.h: Likewise.
44636 * include/rpc/auth_unix.h: Likewise.
44637 * include/rpc/clnt.h: Likewise.
44638 * include/rpc/des_crypt.h: Likewise.
44639 * include/rpc/key_prot.h: Likewise.
44640 * include/rpc/pmap_clnt.h: Likewise.
44641 * include/rpc/pmap_prot.h: Likewise.
44642 * include/rpc/pmap_rmt.h: Likewise.
44643 * include/rpc/rpc_msg.h: Likewise.
44644 * include/rpc/svc.h: Likewise.
44645 * include/rpc/svc_auth.h: Likewise.
44646 * include/rpc/xdr.h: Likewise.
44647 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44648 * nss/Makefile: Likewise.
44649 * sunrpc/Makefile: Don't install headers. Build library with normal
44650 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44651 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44652 for the compat linking library. Remove use of INTDEF/INTUSE.
44653 * sunrpc/auth_none.c: Likewise.
44654 * sunrpc/auth_unix.c: Likewise.
44655 * sunrpc/authdes_prot.c: Likewise.
44656 * sunrpc/authuxprot.c: Likewise.
44657 * sunrpc/clnt_gen.c: Likewise.
44658 * sunrpc/clnt_perr.c: Likewise.
44659 * sunrpc/clnt_raw.c: Likewise.
44660 * sunrpc/clnt_simp.c: Likewise.
44661 * sunrpc/clnt_tcp.c: Likewise.
44662 * sunrpc/clnt_udp.c: Likewise.
44663 * sunrpc/clnt_unix.c: Likewise.
44664 * sunrpc/des_crypt.c: Likewise.
44665 * sunrpc/des_soft.c: Likewise.
44666 * sunrpc/get_myaddr.c: Likewise.
44667 * sunrpc/key_call.c: Likewise.
44668 * sunrpc/key_prot.c: Likewise.
44669 * sunrpc/netname.c: Likewise.
44670 * sunrpc/pm_getmaps.c: Likewise.
44671 * sunrpc/pm_getport.c: Likewise.
44672 * sunrpc/pmap_clnt.c: Likewise.
44673 * sunrpc/pmap_prot.c: Likewise.
44674 * sunrpc/pmap_prot2.c: Likewise.
44675 * sunrpc/pmap_rmt.c: Likewise.
44676 * sunrpc/publickey.c: Likewise.
44677 * sunrpc/rpc_cmsg.c: Likewise.
44678 * sunrpc/rpc_common.c: Likewise.
44679 * sunrpc/rpc_dtable.c: Likewise.
44680 * sunrpc/rpc_prot.c: Likewise.
44681 * sunrpc/rpc_thread.c: Likewise.
44682 * sunrpc/rtime.c: Likewise.
44683 * sunrpc/svc.c: Likewise.
44684 * sunrpc/svc_auth.c: Likewise.
44685 * sunrpc/svc_authux.c: Likewise.
44686 * sunrpc/svc_raw.c: Likewise.
44687 * sunrpc/svc_run.c: Likewise.
44688 * sunrpc/svc_simple.c: Likewise.
44689 * sunrpc/svc_tcp.c: Likewise.
44690 * sunrpc/svc_udp.c: Likewise.
44691 * sunrpc/svc_unix.c: Likewise.
44692 * sunrpc/svcauth_des.c: Likewise.
44693 * sunrpc/xcrypt.c: Likewise.
44694 * sunrpc/xdr.c: Likewise.
44695 * sunrpc/xdr_array.c: Likewise.
44696 * sunrpc/xdr_float.c: Likewise.
44697 * sunrpc/xdr_intXX_t.c: Likewise.
44698 * sunrpc/xdr_mem.c: Likewise.
44699 * sunrpc/xdr_rec.c: Likewise.
44700 * sunrpc/xdr_ref.c: Likewise.
44701 * sunrpc/xdr_sizeof.c: Likewise.
44702 * sunrpc/xdr_stdio.c: Likewise.
44704 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44707 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44708 * sysdeps/ia64/dl-tls.h: Likewise.
44709 * sysdeps/powerpc/dl-tls.h: Likewise.
44710 * sysdeps/s390/dl-tls.h: Likewise.
44711 * sysdeps/sh/dl-tls.h: Likewise.
44712 * sysdeps/sparc/dl-tls.h: Likewise.
44713 * sysdeps/x86_64/dl-tls.h: Likewise.
44714 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44716 2011-03-14 Andreas Schwab <schwab@redhat.com>
44718 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44719 rpath element also skip the following colon.
44720 (expand_dynamic_string_token): Add is_path parameter and pass
44721 down to DL_DST_REQUIRED and _dl_dst_substitute.
44722 (decompose_rpath): Call expand_dynamic_string_token with
44723 non-zero is_path. Ignore empty rpaths.
44724 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44727 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44732 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44735 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44736 Patch by Filipe David Manana <fdmanana@apache.org>.
44738 2011-04-07 Andreas Schwab <schwab@redhat.com>
44740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44741 Maintain aligned stack.
44742 (CHECK_RSP): Remove unused macro.
44744 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44746 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44747 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44749 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44751 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44753 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44755 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44758 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44759 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44760 * sysdeps/x86_64/memmove.c: New file.
44761 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44762 (memcpy): Renamed to ...
44763 (__new_memcpy): This.
44764 (memcpy): Provide GLIBC_2_14 memcpy.
44765 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44766 (memcpy): Provide GLIBC_2_2_5 memcpy.
44768 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44771 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44773 2011-03-30 Andreas Schwab <schwab@redhat.com>
44775 * misc/syncfs.c: New file.
44776 * misc/Makefile (routines): Add syncfs.
44777 * posix/unistd.h: Declare syncfs.
44778 * sysdeps/unix/syscalls.list: Add syncfs.
44780 2011-04-01 Andreas Schwab <schwab@redhat.com>
44782 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44789 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44792 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44794 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44795 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44796 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44798 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44800 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44802 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44803 sync_file_range.c with -fexceptions.
44804 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44805 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44806 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44807 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44808 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44811 sync_file_range as cancellation point
44812 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44813 now a wrapper around __call_sync_file_range with cancellation handling.
44814 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44815 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44816 function name to __call_sync_file_range.
44817 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44818 Add call_sync_file_range.
44820 2011-04-01 Andreas Schwab <schwab@redhat.com>
44822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44825 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44827 * iconv/iconv.h: Fix typo in comment.
44828 * io/fcntl.h: Likewise.
44829 * libio/stdio.h: Likewise.
44830 * posix/spawn.h: Likewise.
44831 * posix/unistd.h: Likewise.
44832 * stdlib/stdlib.h: Likewise.
44833 * time/time.h: Likewise.
44834 * wcsmbs/wchar.h: Likewise.
44836 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44837 open_by_handle): Add.
44838 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44839 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44840 Augment a few comments.
44841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44845 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44846 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44849 * io/fcntl.h (AT_EMPTY_PATH): Define.
44851 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44853 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44854 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44855 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44857 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44858 * Versions.def: Add GLIBC_2.14.
44859 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44862 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44868 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44871 * string/test-strncmp.c (do_page_test): New function.
44872 (check2): Likewise.
44873 (test_main): Call check2.
44874 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44876 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44879 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44880 Handle cache information in CPU leaf 4.
44881 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44883 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44886 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44887 character representation.
44888 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44890 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44892 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44893 END(__isnan) to END(__isnanf) to match function entry point/label
44894 EALIGN(__isnanf,...).
44896 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44898 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44900 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44903 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44904 copy from the symbol referenced in the relocation to initialize the
44906 Patch by Piotr Bury <pbury@goahead.com>.
44907 * elf/Makefile: Add rules to build and tst-unique3.
44908 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44909 * elf/tst-unique3.cc: New file.
44910 * elf/tst-unique3.h: New file.
44911 * elf/tst-unique3lib.cc: New file.
44912 * elf/tst-unique3lib2.cc: New file.
44914 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44916 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44918 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44919 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44922 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44924 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44925 to-be-loaded object along a path to loader is ld.so.
44927 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44928 Ulrich Drepper <drepper@gmail.com>
44930 * sysdeps/x86_64/memset.S: After aligning destination, code
44931 branches to different locations depending on the value of
44932 misalignment, when multiarch is enabled. Fix this.
44934 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44936 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44937 Set _x86_64_preferred_memory_instruction for AMD processsors.
44938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44939 Set bit_Prefer_SSE_for_memop for AMD processors.
44941 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44943 * libio/fmemopen.c (fmemopen): Optimize a bit.
44945 2011-03-03 Andreas Schwab <schwab@redhat.com>
44947 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44949 2011-03-03 Roland McGrath <roland@redhat.com>
44951 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44953 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44955 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44956 __bzero_ultra1 instead of __memset_ultra1.
44958 2011-02-23 Andreas Schwab <schwab@redhat.com>
44959 Ulrich Drepper <drepper@gmail.com>
44962 * include/link.h (struct link_map): Add l_orig_initfini.
44963 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44964 returning unsuccessfully.
44965 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44966 close of a file loaded at startup, restore the original l_initfini
44968 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44969 list, store the pointer.
44970 * elf/Makefile ($(objpfx)noload-mem): New rule.
44971 (noload-ENV): Define.
44972 (tests): Add $(objpfx)noload-mem.
44973 * elf/noload.c: Include <memcheck.h>.
44974 (main): Call mtrace. Close all opened handles.
44976 2011-02-17 Andreas Schwab <schwab@redhat.com>
44979 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44980 dependencies are missing.
44982 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44984 Fix __if_freereq crash: Unlike the generic version which uses free,
44986 * sysdeps/mach/hurd/ifreq.h: New file.
44988 2011-01-27 Petr Baudis <pasky@suse.cz>
44989 Ulrich Drepper <drepper@gmail.com>
44992 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44993 to extend_alloca().
44994 * stdio-common/bug23.c: New file.
44995 * stdio-common/Makefile (tests): Add bug23.
44997 2010-09-28 Andreas Schwab <schwab@redhat.com>
44998 Ulrich Drepper <drepper@gmail.com>
45001 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45002 before performing relro protection. At old place add assertion
45003 to make sure nothing changed.
45005 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45006 Glauber de Oliveira Costa <glommer@gmail.com>
45008 * elf/elf.h: Add new ARM TLS relocs.
45010 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45013 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45015 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45017 * sysdeps/wordsize-64/tst-writev.c: New file.
45019 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45021 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45022 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45023 insns in _dl_start to prevent a TOC reference before relocs are
45026 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45029 * Makeconfig: Remove RANLIB definition.
45030 * Makerules: Don't use RANLIB.
45031 * aclocal.m4: Remove ranlib test.
45032 * configure.in: No need to check for ranlib.
45033 * elf/rtld-Rules: Don't use RANLIB.
45035 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45037 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45039 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45040 inclusion protection macro.
45042 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45043 SIGRTMIN and SIGRTMAX and print information in that case only when
45044 SIGRTMIN is defined.
45046 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45048 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45049 arginfo fn returning -1.
45051 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45052 and thousands string is zero terminated.
45054 2011-02-03 Andreas Schwab <schwab@redhat.com>
45056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45057 sysdeps/unix/sysv/linux/bits/socket.h.
45059 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45061 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45062 (__CPU_COUNT): Remove old macros.
45063 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45064 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45065 (__CPU_ALLOC, __CPU_FREE): Add macros.
45066 (__sched_cpualloc, __sched_cpufree): Add declarations.
45068 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45070 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45071 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45072 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45073 (readdhstai): Return value of addhstaiX call.
45074 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45075 (addgrbyX): Return value returned by cache_addgr.
45076 (readdgrbyname): Return value returned by addgrbyX.
45077 (readdgrbygid): Likewise.
45078 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45079 (addpwbyX): Return value returned by cache_addpw.
45080 (readdpwbyname): Return value returned by addhstbyX.
45081 (readdpwbyuid): Likewise.
45082 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45083 (addservbyX): Return value returned by cache_addserv.
45084 (readdservbyname): Return value returned by addservbyX:
45085 (readdservbyport): Likewise.
45086 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45087 (addhstbyX): Return value returned by cache_addhst.
45088 (readdhstbyname): Return value returned by addhstbyX.
45089 (readdhstbyaddr): Likewise.
45090 (readdhstbynamev6): Likewise.
45091 (readdhstbyaddrv6): Likewise.
45092 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45093 (readdinitgroups): Return value returned by addinitgroupsX.
45094 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45095 (prune_cache): Keep track of timeout value of re-added entries.
45096 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45097 * nscd/nscd.h: Adjust prototypes of readd* functions.
45099 2011-02-04 Roland McGrath <roland@redhat.com>
45101 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45102 (nis_stats): Likewise.
45103 * nis/nis_modify.c (nis_modify): Likewise.
45104 * nis/nis_remove.c (nis_remove): Likewise.
45105 * nis/nis_add.c (nis_add): Likewise.
45107 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45109 * posix/fnmatch_loop.c: Add some consts.
45111 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45113 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45116 * config.make.in (config-cflags-novzeroupper): Define.
45117 * configure.in: Substitute libc_cv_cc_novzeroupper.
45118 * elf/Makefile (AVX-CFLAGS): Define.
45119 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45120 (CFLAGS-tst-auditmod4a.c): Likewise.
45121 (CFLAGS-tst-auditmod4b.c): Likewise.
45122 (CFLAGS-tst-auditmod6b.c): Likewise.
45123 (CFLAGS-tst-auditmod6c.c): Likewise.
45124 (CFLAGS-tst-auditmod7b.c): Likewise.
45125 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45127 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45129 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45130 function to the callback.
45131 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45133 2011-02-02 Andreas Schwab <schwab@redhat.com>
45135 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45138 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45141 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45143 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45145 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45148 * elf/Makefile: Add rules to build and run new test.
45149 * elf/tst-initorder.c: New file.
45150 * elf/tst-initorder.exp: New file.
45151 * elf/tst-initordera1.c: New file.
45152 * elf/tst-initordera2.c: New file.
45153 * elf/tst-initordera3.c: New file.
45154 * elf/tst-initordera4.c: New file.
45155 * elf/tst-initorderb1.c: New file.
45156 * elf/tst-initorderb2.c: New file.
45157 * elf/tst-order-a1.c: New file.
45158 * elf/tst-order-a2.c: New file.
45159 * elf/tst-order-a3.c: New file.
45160 * elf/tst-order-a4.c: New file.
45161 * elf/tst-order-b1.c: New file.
45162 * elf/tst-order-b2.c: New file.
45163 * elf/tst-order-main.c: New file.
45164 New test case by George Gensure <werkt0@gmail.com>.
45166 2010-10-01 Andreas Schwab <schwab@redhat.com>
45168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45169 decoding ACE if AI_CANONIDN.
45171 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45173 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45175 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45177 * version.h (RELEASE): Bump for 2.13 release.
45178 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45180 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45182 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45184 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45185 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45189 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45191 * posix/getconf.c: Update copyright year.
45192 * catgets/gencat.c: Likewise.
45193 * csu/version.c: Likewise.
45194 * debug/catchsegv.sh: Likewise.
45195 * debug/xtrace.sh: Likewise.
45196 * elf/ldconfig.c: Likewise.
45197 * elf/ldd.bash.in: Likewise.
45198 * elf/sprof.c (print_version): Likewise.
45199 * iconv/iconv_prog.c: Likewise.
45200 * iconv/iconvconfig.c: Likewise.
45201 * locale/programs/locale.c: Likewise.
45202 * locale/programs/localedef.c: Likewise.
45203 * malloc/memusage.sh: Likewise.
45204 * malloc/mtrace.pl: Likewise.
45205 * nscd/nscd.c (print_version): Likewise.
45206 * nss/getent.c: Likewise.
45208 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45209 PF_CAIF, and PF_ALG.
45210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45212 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45214 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45215 (modules-names): Use them.
45216 (ifunc-test-modules, ifunc-pie-tests): Define.
45217 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45218 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45219 (test-extras): Likewise.
45220 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45221 $(compile-command.c).
45222 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45223 (all-built-dso): Define.
45224 (check-textrel.out, check-execstack.out): Depend on it.
45226 * configure.in: Don't override --enable-multi-arch.
45228 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45231 * nscd/hstcache.c (tryagain): Define.
45232 (cache_addhst): Return tryagain not notfound for temporary errors.
45233 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45236 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45239 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45240 to make the syscall.
45241 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45244 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45245 and fall back to matching as normal character if the string ends before
45246 the matching ']' is found. This is what POSIX requires.
45247 * posix/testfnm.c: Adjust test result.
45248 * posix/globtest.sh: Adjust test result. Add new test.
45249 * posix/tst-fnmatch.input: Likewise.
45250 * posix/tst-fnmatch2.c: Add new test.
45252 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45254 * elf/Makefile (check-execstack): Revert last change. Depend on
45256 (check-execstack.h): New target.
45257 (generated): Add check-execstack.h.
45258 * elf/check-execstack.c: Include "check-execstack.h".
45259 (main): Revert last change.
45260 (handle_file): Return zero if GNU_STACK is absent and
45261 DEFAULT_STACK_PERMS doesn't include PF_X.
45263 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45265 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45266 in child fails because the descriptor is already closed.
45267 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45268 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45272 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45276 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45277 temporary buffer used to handle multi lookups locally.
45278 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45280 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45282 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45285 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45287 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45288 alignment for SSE2.
45290 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45293 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45294 characters. When rounding increased number of integer digits recompute
45296 * stdio-common/tst-grouping.c: New file.
45297 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45299 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45301 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45302 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45304 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45306 * bits/select.h: Likewise.
45308 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45310 * po/ja.po: Update from translation team.
45312 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45315 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45316 implementation just like for lxstat, fxstatat, et al.
45318 2010-12-27 Jim Meyering <meyering@redhat.com>
45321 * posix/regexec.c (build_trtable): Return failure indication upon
45322 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45324 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45327 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45328 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45329 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45330 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45333 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45336 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45337 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45339 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45341 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45342 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45343 script has SORT_BY_INIT_PRIORITY.
45344 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45345 NO_CTORS_DTORS_SECTIONS is defined.
45346 * elf/soinit.c: Likewise.
45347 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45348 NO_CTORS_DTORS_SECTIONS is defined.
45349 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45350 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45351 * sysdeps/sh/init-first.c: Likewise.
45352 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45354 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45356 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45357 always use the slow path.
45359 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45361 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45362 similar rule which adds the sysdep directories to the header search in
45363 order to pick up the correct platform stackinfo.h.
45364 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45365 perform test if it is, otherwise return successfully without testing.
45366 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45367 DEFAULT_STACK_PERMS define in stackinfo.h.
45368 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45369 defined in stackinfo.h.
45370 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45371 DEFAULT_STACK_PERMS defined in stackinfo.h.
45372 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45373 * sysdeps/ia64/stackinfo.h: Likewise.
45374 * sysdeps/s390/stackinfo.h: Likewise.
45375 * sysdeps/sh/stackinfo.h: Likewise.
45376 * sysdeps/sparc/stackinfo.h: Likewise.
45377 * sysdeps/x86_64/stackinfo.h: Likewise.
45378 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45379 PF_X for powerpc64. Retain PF_X for powerpc32.
45381 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45383 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45385 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45386 GETDENTS_64BIT_ALIGNED.
45388 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45390 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45392 2010-12-10 Andreas Schwab <schwab@redhat.com>
45394 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45397 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45398 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45400 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45401 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45403 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45406 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45409 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45411 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45413 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45415 * po/it.po: Update from translation team.
45417 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45422 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45424 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45426 2010-11-24 Andreas Schwab <schwab@redhat.com>
45428 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45430 (gaih_getanswer_slice): Likewise.
45432 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45436 2010-05-31 Petr Baudis <pasky@suse.cz>
45439 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45440 silently even in the chroot mode.
45442 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45444 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45445 last patch a bit. Pretty printing
45447 2010-05-31 Petr Baudis <pasky@suse.cz>
45450 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45451 initialization of skip_initgroups_dyn.
45453 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45458 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45460 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45462 2010-11-11 Andreas Schwab <schwab@redhat.com>
45464 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45465 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45466 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45467 ($(objpfx)tst-fnmatch-mem): New rule.
45468 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45469 * posix/tst-fnmatch.c (main): Call mtrace.
45471 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45474 Support Intel processor model 6 and model 0x2c.
45476 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45478 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45481 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45484 * string/test-strncasecmp.c (check_result): New function.
45485 (do_one_test): Use it.
45486 (check1): New function.
45487 (test_main): Use it.
45488 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45489 Support strcasecmp and strncasecmp.
45491 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45494 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45495 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45497 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45499 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45503 * sysdeps/x86_64/multiarch/bzero.S: New file.
45504 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45505 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45506 * sysdeps/x86_64/multiarch/memset.S: New file.
45507 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45509 Set bit_Prefer_SSE_for_memop for Intel processors.
45510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45512 (index_Prefer_SSE_for_memop): Define.
45513 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45515 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45517 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45518 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45520 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45523 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45524 (__x86_64_raw_data_cache_size_half): Likewise.
45525 (__x86_64_raw_shared_cache_size): Likewise.
45526 (__x86_64_raw_shared_cache_size_half): Likewise.
45528 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45529 (__x86_64_raw_data_cache_size_half): Likewise.
45530 (__x86_64_raw_shared_cache_size): Likewise.
45531 (__x86_64_raw_shared_cache_size_half): Likewise.
45532 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45533 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45534 and __x86_64_raw_shared_cache_size_half. Round
45535 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45536 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45537 to multiple of 256 bytes.
45539 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45542 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45543 of inacessible symlinks. Verify result of symlink before returning it.
45544 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45545 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45547 2010-10-28 Erich Ritz <erichritz@gmail.com>
45549 * math/math.h (isinf): Fix typo in comment.
45551 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45553 * po/da.po: Update from translation team.
45555 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45557 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45558 is added to the list.
45560 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45561 Ulrich Drepper <drepper@gmail.com>
45563 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45564 the global list here. Move code to...
45565 (_dl_add_to_namespace_list): ...here. New function.
45566 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45567 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45568 * elf/dl-load.c (lose): Don't remove the element from the list.
45569 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45570 (_dl_map_object): Likewise.
45572 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45575 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45576 into all bytes of SSE register.
45577 Patch by Richard Li <richardpku@gmail.com>.
45579 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45582 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45585 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45587 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45588 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45589 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45590 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45595 2010-10-22 Andreas Schwab <schwab@redhat.com>
45597 * include/dlfcn.h (__RTLD_SECURE): Define.
45598 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45599 mode & __RTLD_SECURE instead.
45600 (open_path): Rename preloaded parameter to secure.
45601 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45602 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45603 * elf/dl-deps.c (openaux): Likewise.
45604 * elf/rtld.c (struct map_args): Remove is_preloaded.
45605 (map_doit): Don't use it.
45606 (dl_main): Likewise.
45607 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45608 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45610 2010-09-09 Andreas Schwab <schwab@redhat.com>
45612 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45613 (sysd-rules-targets): Remove duplicates.
45614 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45615 rtld-%.$o dependency.
45617 2010-10-18 Andreas Schwab <schwab@redhat.com>
45619 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45620 _dl_map_object do it.
45622 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45624 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45625 fast fma builtins, define the macros in the C99 standard.
45626 (FP_FAST_FMAF): Likewise.
45627 (FP_FAST_FMAL): Likewise.
45628 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45630 * bits/mathdef.h: Update copyright year.
45631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45633 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45635 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45636 builtins, define the macros in the C99 standard.
45637 (FP_FAST_FMAF): Likewise.
45638 (FP_FAST_FMAL): Likewise.
45639 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45641 (FP_FAST_FMAF): Likewise.
45643 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45646 * math/libm-test.inc (fma_test): Some new testcases.
45647 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45648 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45649 y and infinite z. Do multiplication by C already in long double.
45650 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45652 y and infinite z. Do bitwise or of inexact bit into u.d.
45653 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45654 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45655 * sysdeps/i386/fpu/s_fma.S: Removed.
45656 * sysdeps/i386/fpu/s_fmal.S: Removed.
45658 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45661 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45662 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45663 computation is not scheduled after fetestexcept. Fix value
45664 of minimum denormal long double.
45666 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45669 * math/libm-test.inc (fma_test): Add some more tests.
45670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45673 2010-10-15 Andreas Schwab <schwab@redhat.com>
45675 * scripts/data/localplt-s390-linux-gnu.data: New file.
45676 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45678 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45681 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45682 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45684 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45686 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45688 if one of x and y is very large and the other is subnormal.
45689 * sysdeps/s390/fpu/s_fmaf.c: New file.
45690 * sysdeps/s390/fpu/s_fma.c: New file.
45691 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45692 * sysdeps/powerpc/fpu/s_fma.S: New file.
45693 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45694 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45695 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45697 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45700 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45703 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45704 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45705 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45706 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45707 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45708 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45710 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45713 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45714 * posix/bug-regex31.input: Add test case.
45716 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45718 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45719 * posix/bug-regex31.input: New file.
45722 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45723 (parse_sub_exp): Fix last change, use postorder.
45725 * posix/bug-regex31.c: New file.
45726 * posix/Makefile: Add rules to build and run bug-regex31.
45728 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45731 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45734 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45735 to have entries in sys_siglist.
45738 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45741 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45744 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45745 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45746 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45747 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45748 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45749 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45750 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45751 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45752 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45753 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45754 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45755 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45756 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45757 * math/ftestexcept.c (fetestexcept): Likewise.
45758 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45759 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45760 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45761 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45762 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45763 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45764 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45766 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45769 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45772 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45774 * string/bug-strstr1.c: New file.
45775 * string/Makefile: Add rules to build and run bug-strstr1.
45777 2010-10-05 Eric Blake <eblake@redhat.com>
45780 * string/str-two-way.h (two_way_long_needle): Always clear memory
45781 when skipping input due to the shift table.
45783 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45786 * malloc/mcheck.c: Handle large requests.
45789 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45790 for strncmp and strncasecmp.
45791 * string/stratcliff.c: Add tests for strcmp and strncmp.
45792 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45794 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45796 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45799 2010-09-30 Andreas Jaeger <aj@suse.de>
45801 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45802 (CGROUP_SUPER_MAGIC): Define.
45803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45804 Handle btrfs and cgroup file systems.
45805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45808 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45810 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45811 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45813 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45816 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45817 trying to locate the ELF header.
45819 2010-09-27 Andreas Schwab <schwab@redhat.com>
45822 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45823 Mask out sign-bit copies when constructing f_fsid.
45825 2010-09-24 Petr Baudis <pasky@suse.cz>
45827 * debug/stack_chk_fail_local.c: Add missing licence exception.
45828 * debug/warning-nop.c: Likewise.
45830 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45832 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45833 implementing getdents64 using getdents syscall, set d_type if
45834 __ASSUME_GETDENTS32_D_TYPE.
45836 2010-09-16 Andreas Schwab <schwab@redhat.com>
45838 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45839 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45841 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45844 * posix/unistd.h: Undo change of feature selection for ftruncate from
45847 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45849 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45852 2010-09-20 Andreas Schwab <schwab@redhat.com>
45854 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45856 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45858 2010-09-14 Andreas Schwab <schwab@redhat.com>
45860 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45861 variables after CHECK_SP call.
45862 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45864 2010-09-13 Andreas Schwab <schwab@redhat.com>
45865 Ulrich Drepper <drepper@redhat.com>
45867 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45868 re-relocationg ld.so.
45869 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45870 _dl_init_paths call.
45871 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45874 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45876 * resolv/res_init.c (__res_vinit): Count the default server we added.
45878 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45879 Ulrich Drepper <drepper@redhat.com>
45882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45883 (____longjmp_chk): Use %ebx for saving value across system call.
45886 2010-09-06 Andreas Schwab <schwab@redhat.com>
45888 * manual/Makefile: Don't mix pattern rules with normal rules.
45890 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45892 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45894 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45895 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45896 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45897 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45901 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45904 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45905 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45907 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45909 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45910 * sysdeps/x86_64/addmul_1.S: Likewise.
45911 * sysdeps/x86_64/lshift.S: Likewise.
45912 * sysdeps/x86_64/mul_1.S: Likewise.
45913 * sysdeps/x86_64/rshift.S: Likewise.
45914 * sysdeps/x86_64/sub_n.S: Likewise.
45915 * sysdeps/x86_64/submul_1.S: Likewise.
45917 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45919 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45920 Define __sched_param instead of SCHED_* and sched_param when
45921 <bits/sched.h> is included with __need_schedparam defined.
45922 * bits/sched.h [__need_schedparam]
45923 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45924 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45925 (__defined_schedparam): Define to 1.
45926 (__sched_param): New structure, identical to sched_param.
45927 (__need_schedparam): Undefine.
45929 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45932 (epoll_create1): Declare.
45934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45936 2010-08-31 Andreas Schwab <schwab@redhat.com>
45939 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45940 shifting retval into place.
45942 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45944 * nis/rpcsvc/nis.h: Update copyright notice.
45945 * nis/rpcsvc/nis.x: Likewise.
45946 * nis/rpcsvc/nis_callback.h: Likewise.
45947 * nis/rpcsvc/nis_callback.x: Likewise.
45948 * nis/rpcsvc/nis_object.x: Likewise.
45949 * nis/rpcsvc/nis_tags.h: Likewise.
45950 * nis/rpcsvc/yp.h: Likewise.
45951 * nis/rpcsvc/yp.x: Likewise.
45952 * nis/rpcsvc/ypupd.h: Likewise.
45953 * nis/yp_xdr.c: Likewise.
45954 * nis/ypupdate_xdr.c: Likewise.
45956 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45957 mainly the body of pmap_getport. Add parameters to specify timeouts.
45958 (pmap_getport): Use __libc_rpc_getport.
45959 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45960 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45961 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45963 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45968 2010-08-27 Roland McGrath <roland@redhat.com>
45970 * sysdeps/i386/i686/multiarch/Makefile
45971 (CFLAGS-varshift.c): New variable.
45973 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45975 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45976 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45978 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45980 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45982 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45984 * sysdeps/x86_64/strlen.S: Unroll the loop.
45985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45986 strlen-sse2 strlen-sse2-bsf.
45987 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45988 __strlen_no_bsf if bit_Slow_BSF is set.
45989 (__strlen_sse42): Removed.
45990 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45991 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45993 2010-08-25 Roland McGrath <roland@redhat.com>
45995 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45996 * sysdeps/x86_64/multiarch/varshift.c: New file.
45997 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45998 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45999 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46000 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46002 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46005 strlen-sse2 strlen-sse2-bsf.
46006 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46007 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46008 (__strlen_sse2): Removed.
46009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46010 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46012 bit_Slow_BSF for Atom.
46013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46014 (index_Slow_BSF): Define.
46015 (HAS_SLOW_BSF): Define.
46017 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46020 * resolv/res_init.c (__res_vinit): When no server address at all
46021 is given default to loopback.
46023 2010-08-24 Roland McGrath <roland@redhat.com>
46025 * configure.in: Remove config-name.h generation.
46026 * configure: Regenerated.
46027 * config-name.in: File removed.
46028 * scripts/config-uname.sh: New file.
46029 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46030 ($(objdir)config-name.h): New target.
46032 * sunrpc/rpc_parse.h: Avoid nested comment.
46034 2010-08-24 Richard Henderson <rth@redhat.com>
46035 Ulrich Drepper <drepper@redhat.com>
46036 H.J. Lu <hongjiu.lu@intel.com>
46038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46040 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46041 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46042 _mm_alignr_epi8 with _mm_loadu_si128.
46043 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46044 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46045 (__m128i_shift_right): Removed.
46046 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46047 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46048 * sysdeps/x86_64/multiarch/varshift.h: New file.
46049 * sysdeps/x86_64/multiarch/varshift.S: New file.
46051 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46053 * configure.in: Move assembler checks to before sysdep dir checking.
46055 2010-08-20 Petr Baudis <pasky@suse.cz>
46057 * LICENSES: Sync the sunrpc license.
46059 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46061 * sunrpc/auth_des.c: Update copyright notice once again.
46062 * sunrpc/auth_none.c: Likewise.
46063 * sunrpc/auth_unix.c: Likewise.
46064 * sunrpc/authdes_prot.c: Likewise.
46065 * sunrpc/authuxprot.c: Likewise.
46066 * sunrpc/bindrsvprt.c: Likewise.
46067 * sunrpc/clnt_gen.c: Likewise.
46068 * sunrpc/clnt_perr.c: Likewise.
46069 * sunrpc/clnt_raw.c: Likewise.
46070 * sunrpc/clnt_simp.c: Likewise.
46071 * sunrpc/clnt_tcp.c: Likewise.
46072 * sunrpc/clnt_udp.c: Likewise.
46073 * sunrpc/clnt_unix.c: Likewise.
46074 * sunrpc/des_crypt.c: Likewise.
46075 * sunrpc/des_soft.c: Likewise.
46076 * sunrpc/get_myaddr.c: Likewise.
46077 * sunrpc/getrpcport.c: Likewise.
46078 * sunrpc/key_call.c: Likewise.
46079 * sunrpc/key_prot.c: Likewise.
46080 * sunrpc/openchild.c: Likewise.
46081 * sunrpc/pm_getmaps.c: Likewise.
46082 * sunrpc/pm_getport.c: Likewise.
46083 * sunrpc/pmap_clnt.c: Likewise.
46084 * sunrpc/pmap_prot.c: Likewise.
46085 * sunrpc/pmap_prot2.c: Likewise.
46086 * sunrpc/pmap_rmt.c: Likewise.
46087 * sunrpc/rpc/auth.h: Likewise.
46088 * sunrpc/rpc/auth_unix.h: Likewise.
46089 * sunrpc/rpc/clnt.h: Likewise.
46090 * sunrpc/rpc/des_crypt.h: Likewise.
46091 * sunrpc/rpc/key_prot.h: Likewise.
46092 * sunrpc/rpc/netdb.h: Likewise.
46093 * sunrpc/rpc/pmap_clnt.h: Likewise.
46094 * sunrpc/rpc/pmap_prot.h: Likewise.
46095 * sunrpc/rpc/pmap_rmt.h: Likewise.
46096 * sunrpc/rpc/rpc.h: Likewise.
46097 * sunrpc/rpc/rpc_des.h: Likewise.
46098 * sunrpc/rpc/rpc_msg.h: Likewise.
46099 * sunrpc/rpc/svc.h: Likewise.
46100 * sunrpc/rpc/svc_auth.h: Likewise.
46101 * sunrpc/rpc/types.h: Likewise.
46102 * sunrpc/rpc/xdr.h: Likewise.
46103 * sunrpc/rpc_clntout.c: Likewise.
46104 * sunrpc/rpc_cmsg.c: Likewise.
46105 * sunrpc/rpc_common.c: Likewise.
46106 * sunrpc/rpc_cout.c: Likewise.
46107 * sunrpc/rpc_dtable.c: Likewise.
46108 * sunrpc/rpc_hout.c: Likewise.
46109 * sunrpc/rpc_main.c: Likewise.
46110 * sunrpc/rpc_parse.c: Likewise.
46111 * sunrpc/rpc_parse.h: Likewise.
46112 * sunrpc/rpc_prot.c: Likewise.
46113 * sunrpc/rpc_sample.c: Likewise.
46114 * sunrpc/rpc_scan.c: Likewise.
46115 * sunrpc/rpc_scan.h: Likewise.
46116 * sunrpc/rpc_svcout.c: Likewise.
46117 * sunrpc/rpc_tblout.c: Likewise.
46118 * sunrpc/rpc_util.c: Likewise.
46119 * sunrpc/rpc_util.h: Likewise.
46120 * sunrpc/rpcinfo.c: Likewise.
46121 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46122 * sunrpc/rpcsvc/key_prot.x: Likewise.
46123 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46124 * sunrpc/rpcsvc/mount.x: Likewise.
46125 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46126 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46127 * sunrpc/rpcsvc/rex.x: Likewise.
46128 * sunrpc/rpcsvc/rstat.x: Likewise.
46129 * sunrpc/rpcsvc/rusers.x: Likewise.
46130 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46131 * sunrpc/rpcsvc/spray.x: Likewise.
46132 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46133 * sunrpc/rtime.c: Likewise.
46134 * sunrpc/svc.c: Likewise.
46135 * sunrpc/svc_auth.c: Likewise.
46136 * sunrpc/svc_authux.c: Likewise.
46137 * sunrpc/svc_raw.c: Likewise.
46138 * sunrpc/svc_run.c: Likewise.
46139 * sunrpc/svc_simple.c: Likewise.
46140 * sunrpc/svc_tcp.c: Likewise.
46141 * sunrpc/svc_udp.c: Likewise.
46142 * sunrpc/svc_unix.c: Likewise.
46143 * sunrpc/svcauth_des.c: Likewise.
46144 * sunrpc/xcrypt.c: Likewise.
46145 * sunrpc/xdr.c: Likewise.
46146 * sunrpc/xdr_array.c: Likewise.
46147 * sunrpc/xdr_float.c: Likewise.
46148 * sunrpc/xdr_mem.c: Likewise.
46149 * sunrpc/xdr_rec.c: Likewise.
46150 * sunrpc/xdr_ref.c: Likewise.
46151 * sunrpc/xdr_sizeof.c: Likewise.
46152 * sunrpc/xdr_stdio.c: Likewise.
46154 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46157 2010-08-19 Andreas Schwab <schwab@redhat.com>
46159 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46161 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46163 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46164 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46166 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46167 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46168 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46169 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46170 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46171 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46172 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46173 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46174 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46175 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46176 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46178 2010-07-26 Anton Blanchard <anton@samba.org>
46180 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46181 * malloc/arena.c (heap_trim): Likewise.
46183 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46185 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46188 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46190 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46192 * sysdeps/i386/elf/Makefile: New file.
46194 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46196 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46197 from fanotify_init.
46198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46201 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46203 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46205 * sysdeps/multiarch/strcmp.S: Likewise.
46207 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46209 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46210 strncase_l-nonascii.
46211 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46212 Add strncase_l-ssse3.
46213 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46214 * sysdeps/x86_64/strcmp.S: Likewise.
46215 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46216 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46217 * sysdeps/x86_64/strncase.S: New file.
46218 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46219 * sysdeps/x86_64/strncase_l.S: New file.
46220 * string/Makefile (strop-tests): Add strncasecmp.
46221 * string/test-strncasecmp.c: New file.
46223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46226 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46227 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46229 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46231 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46233 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46235 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46236 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46237 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46239 2010-05-01 Alan Modra <amodra@gmail.com>
46241 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46242 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46243 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46244 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46245 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46246 tidying. Don't tail-call __sigjmp_save for static lib.
46247 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46249 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46250 (CALL_MCOUNT): Add eh info, and nop after bl.
46251 (TAIL_CALL_SYSCALL_ERROR): New macro.
46252 (PSEUDO_RET): Use it.
46253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46254 Correct save location of integer regs and cr.
46255 (_dl_profile_resolve): Correct cr save location. Delete nops
46256 after bl when SHARED. Reduce cfi size a little by better
46257 placement of cfi directives.
46258 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46259 make a stack frame. Instead use parm save area as a temp.
46260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46261 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46263 Don't make a stack frame for parent, use parm save area.
46264 Increase child stack frame to 112 bytes. Don't save unused reg,
46265 and adjust reg usage. Set up cfi on error recovery and
46266 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46268 (__makecontext): Add dummy nop after jump to exit.
46269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46270 Use correct parm save area and cr save, reduce stack frame.
46271 Correct cfi for possible PSEUDO_RET frame setup.
46272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46273 Branch to local label emitted by PSEUDO_RET rather than
46276 2010-08-12 Andreas Schwab <schwab@redhat.com>
46279 * locale/programs/locale.c (print_assignment): New function.
46280 (show_locale_vars): Use it.
46282 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46284 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46286 (struct statfs64): Likewise.
46287 (_STATFS_F_FLAGS): Define.
46288 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46290 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46291 (ST_VALID): Define locally.
46292 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46293 __statvfs_getflags, use the provided value.
46294 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46295 __ASSUME_STATFS_F_FLAGS.
46297 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46300 Add sys/fanotify.h.
46301 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46302 fanotify_mask for GLIBC_2.13.
46303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46304 fanotify_init and fanotify_mark.
46305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46306 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46308 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46310 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46311 prlimit64 for GLIBC_2.13.
46312 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46318 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46322 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46325 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46326 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46328 * nss/Makefile: Add rules to build and run tst-nss-test1.
46329 * shlib-versions: Add entry for libnss_test1.
46330 * nss/nss_test1.c: New file.
46331 * nss/tst-nss-test1.c: New file.
46333 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46334 (__nss_configure_lookup): Set appropriate entry in
46335 __nss_configure_lookup to true.
46336 * nss/nsswitch.h: Define enum with indeces of databases in
46337 databases and __nss_database_custom arrays. Declare
46338 __nss_database_custom.
46339 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46340 to avoid using nscd when custom rules are installed.
46341 * nss/getXXbyYY_r.c: Likewise.
46342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46344 * nss/nss_files/files-parse.c: Whitespace fixes.
46346 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46349 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46350 * posix/fnmatch_loop.c: Likewise.
46352 2010-07-17 Andi Kleen <ak@linux.intel.com>
46354 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46355 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46356 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46357 * Versions.def [GLIBC_2.13]: Add.
46359 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46361 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46362 Also fail if tpwd after pwuid call is NULL.
46364 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46366 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46367 when converting to ms.
46369 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46371 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46372 EOPNOTSUPP errors with ENOTTY.
46373 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46374 EOPNOTSUPP errors with ENOTTY.
46376 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46378 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46379 Add strcasecmp_l-ssse3.
46380 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46382 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46383 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46384 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46386 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46388 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46390 * string/Makefile (strop-tests): Add strcasecmp.
46391 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46392 strcasecmp_l-nonascii.
46393 (gen-as-const-headers): Add locale-defines.sym.
46394 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46395 * sysdeps/x86_64/strcasecmp.S: New file.
46396 * sysdeps/x86_64/strcasecmp_l.S: New file.
46397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46398 * sysdeps/x86_64/locale-defines.sym: New file.
46399 * string/test-strcasecmp.c: New file.
46401 * string/test-strcasestr.c: Test both ends of the range of characters.
46402 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46404 2010-07-29 Roland McGrath <roland@redhat.com>
46407 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46409 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46411 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46414 2010-07-27 Andreas Schwab <schwab@redhat.com>
46416 * manual/memory.texi (Malloc Tunable Parameters): Document
46419 2010-07-26 Roland McGrath <roland@redhat.com>
46422 * configure.in (-fgnu89-inline check): Set and substitute
46423 gnu89_inline, not libc_cv_gnu89_inline.
46424 * configure: Regenerated.
46425 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46427 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46429 * string/test-strnlen.c: New file.
46430 * string/Makefile (strop-tests): Add strnlen.
46431 * string/tester.c (test_strnlen): Add a few more test cases.
46432 * string/tst-strlen.c: Better error reporting.
46434 * sysdeps/x86_64/strnlen.S: New file.
46436 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46438 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46439 lower-latency instructions.
46441 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46443 * string/test-strcasestr.c: New file.
46444 * string/test-strstr.c: New file.
46445 * string/Makefile (strop-tests): Add strstr and strcasestr.
46446 * string/str-two-way.h: Don't undefine MAX.
46447 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46449 2010-07-21 Andreas Schwab <schwab@redhat.com>
46451 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46452 strcasestr-nonascii.
46453 (CFLAGS-strcasestr-nonascii.c): Define.
46454 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46455 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46456 Remove unused attribute.
46458 2010-07-20 Roland McGrath <roland@redhat.com>
46460 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46461 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46462 ld.so.cache was broken. With it, there is no way to disable dsocaps
46463 like LD_HWCAP_MASK can disable hwcaps.
46465 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46467 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46469 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46471 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46472 call in strcasestr.
46473 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46474 __strcasestr_sse42_nonascii.
46475 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46476 strcasestr-nonascii.c.
46477 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46479 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46481 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46486 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46488 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46491 2010-07-06 Andreas Schwab <schwab@redhat.com>
46494 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46497 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46500 _PC_PIPE_BUF using F_GETPIPE_SZ.
46502 2010-07-05 Roland McGrath <roland@redhat.com>
46504 * manual/arith.texi (Rounding Functions): Fix rint description
46505 implicit in round description.
46507 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46509 * elf/Makefile: Fix linking for a few tests to make recent linker
46512 2010-06-30 Andreas Schwab <schwab@redhat.com>
46514 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46515 $(common-objpfx)libc_nonshared.a.
46517 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46519 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46520 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46521 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46522 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46523 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46524 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46525 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46526 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46541 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46542 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46543 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46544 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46545 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46546 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46547 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46548 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46549 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46550 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46551 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46552 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46568 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46570 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46571 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46572 * string/memmove.c (memmove): Renamed to ...
46573 (MEMMOVE): ...this. Default to memmove.
46574 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46575 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46578 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46579 mempcpy-ssse3-back memmove-ssse3-back.
46580 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46581 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46583 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46584 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46585 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46586 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46587 * sysdeps/x86_64/multiarch/memmove.c: New file.
46588 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46589 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46590 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46591 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46592 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46593 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46595 (index_Fast_Copy_Backward): Define.
46596 (HAS_ARCH_FEATURE): Define.
46597 (HAS_FAST_REP_STRING): Define.
46598 (HAS_FAST_COPY_BACKWARD): Define.
46600 2010-06-21 Andreas Schwab <schwab@redhat.com>
46602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46603 Restore proper fallback handling.
46605 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46608 * posix/group_member.c (__group_member): Correct checking loop.
46610 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46611 OOM in getpwuid_r correctly. Return error number when the caller
46612 should return, otherwise -1.
46613 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46614 call returning > 0 value.
46615 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46617 2010-06-07 Andreas Schwab <schwab@redhat.com>
46619 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46620 libc_nonshared.a from targets in modules-names.
46622 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46624 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46627 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46629 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46630 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46634 2010-06-02 Andreas Schwab <schwab@redhat.com>
46636 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46638 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46640 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46649 2010-06-14 Roland McGrath <roland@redhat.com>
46651 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46653 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46655 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46656 __REDIRECT followed by __THROW.
46657 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46658 * posix/getopt.h (getopt): Likewise.
46660 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46662 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46663 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46664 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46666 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46667 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46669 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46673 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46677 Properly check family and model.
46679 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46681 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46683 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46685 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46687 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46689 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46692 2010-05-19 Andreas Schwab <schwab@redhat.com>
46694 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46697 2010-05-21 Andreas Schwab <schwab@redhat.com>
46699 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46700 and internal_recvmmsg.
46701 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46702 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46703 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46704 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46706 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46707 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46708 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46710 2010-05-20 Andreas Schwab <schwab@redhat.com>
46712 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46714 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46716 POWER7 optimizations.
46717 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46718 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46720 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46722 * version.h: Update for 2.13 development version.
46724 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46726 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46727 exceptions. Return 0.
46729 2010-05-07 Roland McGrath <roland@redhat.com>
46731 * elf/ldconfig.c (main): Add a const.
46733 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46735 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46736 (args_options): Add no-idn option.
46737 (ahosts_keys_int): Add idn_flags to ai_flags.
46738 (parse_option): Handle 'i' option to clear idn_flags.
46740 * malloc/malloc.c (_int_free): Possible race in the most recently
46741 added check. Only act on the data if no current modification
46744 See ChangeLog.17 for earlier changes.